예제 #1
0
        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());
        }
예제 #2
0
        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>());
        }
예제 #3
0
 public App()
 {
     _singletonApp = new SingletonApp("OPSAgentDialer");
     InitDependencies();
 }
예제 #4
0
 public App()
 {
     singletonApp = new SingletonApp("OPSEmailSender");
     InitDependencies();
 }
예제 #5
0
 public App()
 {
     _singletonApp = new SingletonApp("OPSIVRStudio");
     InitDependencies();
 }