public App()
{
Mvx.RegisterSingleton(() => UserDialogs.Instance);
Mvx.LazyConstructAndRegisterSingleton<IAppConfigurationEndpointService>(() => new AppConfigurationEndpointService(new AppConfigurationRoutingModel()
{
BaseUrl = "http://fnmservices-dev.azurewebsites.net",
Prefix = "test1",
Controller = "configuration"
}));
Mvx.LazyConstructAndRegisterSingleton<INetworkService, NetworkService>();
Mvx.LazyConstructAndRegisterSingleton<IFileCacheService, FileCacheService>();
Mvx.LazyConstructAndRegisterSingleton<IUserDialogService, UserDialogService>();
Mvx.LazyConstructAndRegisterSingleton<IAppConfigurationServiceSetup>(() => new AppConfigurationServiceSetup()
{
CacheExpirationTime = new TimeSpan(0, 0, 10)
});
Mvx.LazyConstructAndRegisterSingleton<IAppConfigurationService, AppConfigurationService>();
Mvx.LazyConstructAndRegisterSingleton<IAppConfigurationRequiredServices, AppConfigurationRequiredServices>();
InitAppConfig();
Mvx.RegisterSingleton<IMvxAppStart>(new MvxAppStart<MainViewModel>());
}