auto-creamapi-2/auto-creamapi/Core/MainApplication.cs

20 lines
505 B
C#
Raw Normal View History

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