mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-24 23:16:28 +00:00
20 lines
367 B
C#
20 lines
367 B
C#
|
using Example.UWP.ViewModels;
|
||
|
using MvvmCross.IoC;
|
||
|
using MvvmCross.ViewModels;
|
||
|
|
||
|
namespace Example.UWP
|
||
|
{
|
||
|
public class CoreApp : MvxApplication
|
||
|
{
|
||
|
public override void Initialize()
|
||
|
{
|
||
|
CreatableTypes()
|
||
|
.EndingWith("Service")
|
||
|
.AsInterfaces()
|
||
|
.RegisterAsLazySingleton();
|
||
|
|
||
|
RegisterAppStart<LoginViewModel>();
|
||
|
}
|
||
|
}
|
||
|
}
|