public BlogController(IAtomPubService atompub, IAnnotateService annotate, IBlogService blog)
   : base()
 {
   AtomPubService = atompub;
   AnnotateService = annotate;
   BlogService = blog;
 }
 public AdditionalWidgetsController(IAtomPubService atompub, IAnnotateService annotate, IAppServiceRepository svcRepo, IAtomEntryRepository entryRepo)
     : base()
 {
     AtomPubService = atompub;
     AnnotateService = annotate;
     AppServiceRepository = svcRepo;
     AtomEntryRepository = entryRepo;
 }
 public AdminController(IUserRepository userRepo, IAtomPubService atompub, IAnnotateService annotate,
   IAtomEntryRepository atomRepo, AdminService admin, IThemeService theme)
 {
   AdminService = admin;
   UserRepository = userRepo;
   AtomPubService = atompub;
   AnnotateService = annotate;
   AtomEntryRepository = atomRepo;
   ThemeService = theme;
 }
 public BlogMLService(IAppServiceRepository svcRepo, IAtomPubService atompub, IAnnotateService annotate,
   IUserRepository usersRepo, IAuthorizeService auth, ILogService logger)
 {
   AppServiceRepository = svcRepo;
   AtomPubService = atompub;
   AnnotateService = annotate;
   UserRepository = usersRepo;
   AuthorizeService = auth;
   LogService = logger;
   progress = new Progress();
 }
 public AdminService(IAtomPubService atompub, IAnnotateService anno, IAuthorizeService auth,
   ILogService logger, IRouteService route, IThemeService themeSvc, IAppServiceRepository svcRepo)
 {
   AtomPubService = atompub;
   AnnotateService = anno;
   AuthorizeService = auth;
   RouteService = route;
   LogService = logger;
   ThemeService = themeSvc;
   AppServiceRepository = svcRepo;
   atompub.SettingEntryLinks += (e) => SetLinks(e);
 }
    public TrackbackService(IAppServiceRepository svcRepo, IAtomPubService atompub,
      IAnnotateService annotate, IAtomEntryRepository entryRepo,
      IContainer container, ILogService logger)
    {
      LogService = logger;
      AppService = svcRepo.GetService();
      Container = container;
      AnnotateService = annotate;
      AtomEntryRepository = entryRepo;

      atompub.EntryCreated += AutoPing;
      atompub.EntryUpdated += AutoPing;
    }
 public BlogService(IAtomPubService atompub, IAnnotateService annotate,
   IAppServiceRepository svcRepo, IContainer container,
     IAtomEntryRepository entryRepo, IAuthorizeService auth, ILogService logger,
   ICleanContentService cleaner)
 {
   this.AppService = svcRepo.GetService();
   this.AppServiceRepository = svcRepo;
   this.AtomEntryRepository = entryRepo;
   this.Container = container;
   this.AnnotateService = annotate;
   this.AuthorizeService = auth;
   this.LogService = logger;
   this.CleanContentService = cleaner;
   atompub.CreatingEntry += OnModifyEntry;
   atompub.UpdatingEntry += OnModifyEntry;
   annotate.AnnotatingEntry += OnAnnotateEntry;
   atompub.SettingEntryLinks += (e) => SetLinks(e);
   atompub.SettingFeedLinks += (f) => SetLinks(f);
 }
 public ContactController(IAtomPubService atompub, IAnnotateService annotate, ILogService logService)
 {
   AtomPubService = atompub;
   AnnotateService = annotate;
   LogService = logService;
 }
 public AnnotateController(IAnnotateService anno, IAtomPubService atompub)
   : base()
 {
   this.AnnotateService = anno;
   this.AtomPubService = atompub;
 }
Ejemplo n.º 10
0
 public TwitterController(IAtomPubService atompub, IAnnotateService annotate, IBlogService blog)
     : base()
 {
     AtomPubService = atompub;
 }