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

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

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

            return(pluginContextService);
        }
示例#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);
        }