コード例 #1
0
 public SearchResultService(ISearchResultRepository repository, IPluginEngine pluginEngine, IModulesLoaded modules, OxiteContext context)
 {
     this.repository = repository;
     this.pluginEngine = pluginEngine;
     this.cache = modules.GetModules<IOxiteCacheModule>().Reverse().First();
     this.context = context;
 }
コード例 #2
0
 public BlogService(IBlogRepository repository, IValidationService validator, IPluginEngine pluginEngine, IModulesLoaded modules, OxiteContext context)
 {
     this.repository   = repository;
     this.validator    = validator;
     this.pluginEngine = pluginEngine;
     this.cache        = modules.GetModules <IOxiteCacheModule>().Reverse().First();
     this.context      = context;
 }
コード例 #3
0
 public ScheduleItemService(IScheduleItemRepository repository, ITagService tagService, ICommentService commentService, IModulesLoaded modules, OxiteContext context)
 {
     this.repository     = repository;
     this.tagService     = tagService;
     this.commentService = commentService;
     cache        = modules.GetModules <IOxiteCacheModule>().Reverse().First();
     this.context = context;
 }
コード例 #4
0
ファイル: SiteService.cs プロジェクト: ljvblfz/MicrosoftOxite
        public SiteService(ISiteRepository repository, IValidationService validator, IModulesLoaded modulesLoaded, OxiteConfigurationSection config)
        {
            IEnumerable <IOxiteCacheModule> modules = modulesLoaded.GetModules <IOxiteCacheModule>();

            this.repository = repository;
            this.validator  = validator;
            this.cache      = modules != null && modules.Count() > 0 ? modules.Reverse().First() : null;
            this.config     = config;
        }
コード例 #5
0
ファイル: SiteService.cs プロジェクト: ljvblfz/MicrosoftOxite
        public SiteService(ISiteRepository repository, IValidationService validator, IModulesLoaded modulesLoaded, AppSettingsHelper appSettings)
        {
            IEnumerable <IOxiteCacheModule> modules = modulesLoaded.GetModules <IOxiteCacheModule>();

            this.repository  = repository;
            this.validator   = validator;
            this.cache       = modules != null && modules.Count() > 0 ? modules.Reverse().First() : null;
            this.appSettings = appSettings;
        }
コード例 #6
0
 public PluginService(IPluginRepository repository, IValidationService validator, IPluginEngine pluginEngine, IModulesLoaded modules, PluginTemplateRegistry pluginTemplateRegistry, PluginStyleRegistry pluginStyleRegistry, PluginScriptRegistry pluginScriptRegistry, OxiteContext context)
 {
     this.repository             = repository;
     this.validator              = validator;
     this.pluginEngine           = pluginEngine;
     this.cache                  = modules.GetModules <IOxiteCacheModule>().Reverse().First();
     this.modules                = modules;
     this.pluginTemplateRegistry = pluginTemplateRegistry;
     this.pluginStyleRegistry    = pluginStyleRegistry;
     this.pluginScriptRegistry   = pluginScriptRegistry;
     this.context                = context;
 }
コード例 #7
0
ファイル: PostService.cs プロジェクト: ljvblfz/MicrosoftOxite
 public PostService(IPostRepository repository, ITrackbackOutboundRepository trackbackOutboundRepository, UrlHelper urlHelper, IRegularExpressions expressions, IValidationService validator, IPluginEngine pluginEngine, ITagService tagService, ICommentService commentService, IModulesLoaded modules, OxiteContext context)
 {
     this.repository = repository;
     this.trackbackOutboundRepository = trackbackOutboundRepository;
     this.urlHelper      = urlHelper;
     this.expressions    = expressions;
     this.validator      = validator;
     this.pluginEngine   = pluginEngine;
     this.tagService     = tagService;
     this.commentService = commentService;
     this.cache          = modules.GetModules <IOxiteCacheModule>().Reverse().First();
     this.context        = context;
 }
コード例 #8
0
 public ConferencesCommentService(IConferencesCommentRepository conferencesCommentRepository, ICommentRepository commentRepository, IScheduleItemRepository scheduleItemRepository, IMessageOutboundRepository messageOutboundRepository, ILanguageRepository languageRepository, ILocalizationRepository localizationRepository, AbsolutePathHelper absolutePathHelper, IValidationService validator, IPluginEngine pluginEngine, IModulesLoaded modules, OxiteContext context)
 {
     this.conferencesCommentRepository = conferencesCommentRepository;
     this.commentRepository            = commentRepository;
     this.scheduleItemRepository       = scheduleItemRepository;
     this.messageOutboundRepository    = messageOutboundRepository;
     this.languageRepository           = languageRepository;
     this.localizationRepository       = localizationRepository;
     this.absolutePathHelper           = absolutePathHelper;
     this.validator    = validator;
     this.pluginEngine = pluginEngine;
     this.cache        = modules.GetModules <IOxiteCacheModule>().Reverse().First();
     this.context      = context;
 }
コード例 #9
0
 public BlogsCommentService(ICommentRepository commentRepository, IBlogsCommentRepository blogsCommentRepository, IPostRepository postRepository, ILanguageRepository languageRepository, ILocalizationRepository localizationRepository, IMessageOutboundRepository messageOutboundRepository, UrlHelper urlHelper, IValidationService validator, IPluginEngine pluginEngine, IModulesLoaded modules, OxiteContext context)
 {
     this.commentRepository         = commentRepository;
     this.blogsCommentRepository    = blogsCommentRepository;
     this.postRepository            = postRepository;
     this.languageRepository        = languageRepository;
     this.localizationRepository    = localizationRepository;
     this.messageOutboundRepository = messageOutboundRepository;
     this.urlHelper    = urlHelper;
     this.validator    = validator;
     this.pluginEngine = pluginEngine;
     this.cache        = modules.GetModules <IOxiteCacheModule>().Reverse().First();
     this.context      = context;
 }
コード例 #10
0
 public EventService(IEventRepository repository, IModulesLoaded modules, OxiteContext context)
 {
     this.repository = repository;
     this.cache      = modules.GetModules <IOxiteCacheModule>().Reverse().First();
     this.context    = context;
 }
コード例 #11
0
 public ExhibitorService(IExhibitorRepository repository, IOxiteCacheModule cache, OxiteContext context)
 {
     this.repository = repository;
     this.cache      = cache;
     this.context    = context;
 }