public App() { _singletonApp = new SingletonApp("OPSCallCenterCRM"); GalaSoft.MvvmLight.Ioc.SimpleIoc.Default.Register<IDialogService>(() => new DialogService()); GalaSoft.MvvmLight.Ioc.SimpleIoc.Default.Register<IGenericSettingsRepository<AppPreferences>>(() => new SettingsRepository()); GalaSoft.MvvmLight.Ioc.SimpleIoc.Default.Register<IUserInfoSettingsRepository>(() => new UserInfoSettingsRepository()); }
public App() { _singletonApp = new SingletonApp("OPSCallCenterCRMServer"); SimpleIoc.Default.Register<IDialogService>(() => new DialogService()); SimpleIoc.Default.Register<IDatabaseClient<CrmEntry>>(() => new DatabaseClient<CrmEntry>()); SimpleIoc.Default.Register<IUserInfoSettingsRepository>(() => new UserInfoSettingsRepository()); SimpleIoc.Default.Register<IClient>(() => new Client()); SimpleIoc.Default.Register<IGenericSettingsRepository<AppPreferences>>(() => new GenericSettingsRepository<AppPreferences>()); }
public App() { _singletonApp = new SingletonApp("OPSAgentDialer"); InitDependencies(); }
public App() { singletonApp = new SingletonApp("OPSEmailSender"); InitDependencies(); }
public App() { _singletonApp = new SingletonApp("OPSIVRStudio"); InitDependencies(); }