Example #1
0
        protected override IGetCacheVersionService RealCreate()
        {
            IConfigurationService  configurationService   = ConfigurationServiceFactory.Get();
            GetCacheVersionService getCacheVersionService = new GetCacheVersionService(configurationService);

            return(getCacheVersionService);
        }
Example #2
0
        protected override IWorkflowContextService RealCreate()
        {
            var paUserRepository     = PAUserRepositoryFactory.Get();
            var configurationService = ConfigurationServiceFactory.Get();
            WorkflowContextService workflowContextService = new WorkflowContextService(configurationService, paUserRepository);

            return(workflowContextService);
        }
Example #3
0
        protected override IPluginContextService RealCreate()
        {
            var paUserRepository     = PAUserRepositoryFactory.Get();
            var configurationService = ConfigurationServiceFactory.Get();
            PluginContextService pluginContextService = new PluginContextService(configurationService, paUserRepository);

            return(pluginContextService);
        }
Example #4
0
        protected override ILanguageTranslateService RealCreate()
        {
            //throw new Exception();
            IPAWebResourceRepository paWebResourceRepository  = PAWebResourceRepositoryFactory.Get();
            IConfigurationService    configurationService     = ConfigurationServiceFactory.Get();
            LanguageTranslateService languageTranslateService = new LanguageTranslateService(paWebResourceRepository, configurationService);

            return(languageTranslateService);
        }