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; }
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; }
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; }
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; }
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; }
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; }
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; }
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; }
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; }
public EventService(IEventRepository repository, IModulesLoaded modules, OxiteContext context) { this.repository = repository; this.cache = modules.GetModules <IOxiteCacheModule>().Reverse().First(); this.context = context; }
public ExhibitorService(IExhibitorRepository repository, IOxiteCacheModule cache, OxiteContext context) { this.repository = repository; this.cache = cache; this.context = context; }