auto-creamapi-2/auto-creamapi/Core/MainApplication.cs
2023-12-23 20:51:30 +01:00

20 lines
505 B
C#

using auto_creamapi.ViewModels;
using MvvmCross.IoC;
using MvvmCross.ViewModels;
namespace auto_creamapi.Core
{
public class MainApplication : MvxApplication
{
public override void Initialize()
{
//Mvx.IoCProvider.RegisterType<ICacheService, CacheService>();
CreatableTypes()
.EndingWith("Service")
.AsInterfaces()
.RegisterAsLazySingleton();
RegisterAppStart<MainViewModel>();
}
}
}