public BlogsCommentService(ICommentRepository commentRepository, IBlogsCommentRepository blogsCommentRepository, IPostRepository postRepository, ILanguageRepository languageRepository, ILocalizationRepository localizationRepository, IMessageOutboundRepository messageOutboundRepository, AbsolutePathHelper absolutePathHelper, 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.absolutePathHelper = absolutePathHelper; this.validator = validator; this.pluginEngine = pluginEngine; this.cache = modules.GetModules <IOxiteCacheModule>().Reverse().First(); this.context = context; }