public PostService(IPostRepository repository, ILocalizationRepository localizationRepository, ITrackbackOutboundRepository trackbackOutboundRepository, IMessageOutboundRepository messageOutboundRepository, AbsolutePathHelper absolutePathHelper, Site site, IValidationService validator) { this.repository = repository; this.localizationRepository = localizationRepository; this.trackbackOutboundRepository = trackbackOutboundRepository; this.messageOutboundRepository = messageOutboundRepository; this.absolutePathHelper = absolutePathHelper; this.site = site; this.validator = validator; }
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 TrackbackOutboundService(ITrackbackOutboundRepository repository) { this.repository = repository; }