コード例 #1
0
 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;
 }
コード例 #2
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;
 }
コード例 #3
0
 public TrackbackOutboundService(ITrackbackOutboundRepository repository)
 {
     this.repository = repository;
 }