public ManageController(
     SiteContext currentSite,
     SiteUserManager <SiteUser> userManager,
     SignInManager <SiteUser> signInManager,
     IAccountService accountService,
     //ISmsSender smsSender,
     IStringLocalizer <CloudscribeCore> localizer,
     ITimeZoneIdResolver timeZoneIdResolver,
     ITimeZoneHelper timeZoneHelper,
     IHandleCustomUserInfo customUserInfo,
     ILogger <ManageController> logger,
     UrlEncoder urlEncoder
     )
 {
     CurrentSite        = currentSite;
     UserManager        = userManager;
     SignInManager      = signInManager;
     AccountService     = accountService;
     StringLocalizer    = localizer;
     TimeZoneIdResolver = timeZoneIdResolver;
     TimeZoneHelper     = timeZoneHelper;
     CustomUserInfo     = customUserInfo;
     Log        = logger;
     UrlEncoder = urlEncoder;
 }
 public UpdateTemplatedPageHandler(
     IProjectService projectService,
     IPageService pageService,
     ITreeCache treeCache,
     IContentHistoryCommands historyCommands,
     ITimeZoneHelper timeZoneHelper,
     ITimeZoneIdResolver timeZoneIdResolver,
     IEnumerable <IModelSerializer> serializers,
     IEnumerable <IParseModelFromForm> formParsers,
     IEnumerable <IValidateTemplateModel> modelValidators,
     ViewRenderer viewRenderer,
     IStringLocalizer <cloudscribe.SimpleContent.Web.SimpleContent> localizer,
     ILogger <UpdateTemplatedPageHandler> logger
     )
 {
     _projectService     = projectService;
     _pageService        = pageService;
     _navigationCache    = treeCache;
     _historyCommands    = historyCommands;
     _timeZoneHelper     = timeZoneHelper;
     _timeZoneIdResolver = timeZoneIdResolver;
     _serializers        = serializers;
     _formParsers        = formParsers;
     _modelValidators    = modelValidators;
     _viewRenderer       = viewRenderer;
     _localizer          = localizer;
     _log = logger;
 }
예제 #3
0
 public SystemLogController(
     LogManager logManager,
     ITimeZoneIdResolver timeZoneIdResolver)
 {
     this.logManager         = logManager;
     this.timeZoneIdResolver = timeZoneIdResolver;
 }
예제 #4
0
 public UpdateTemplatedPostHandler(
     IProjectService projectService,
     IBlogService blogService,
     IOptions <BlogEditOptions> configOptionsAccessor,
     IContentHistoryCommands historyCommands,
     ITimeZoneHelper timeZoneHelper,
     ITimeZoneIdResolver timeZoneIdResolver,
     ITeaserService teaserService,
     IEnumerable <IModelSerializer> serializers,
     IEnumerable <IParseModelFromForm> formParsers,
     IEnumerable <IValidateTemplateModel> modelValidators,
     ViewRenderer viewRenderer,
     IStringLocalizer <cloudscribe.SimpleContent.Web.SimpleContent> localizer,
     ILogger <UpdateTemplatedPostHandler> logger
     )
 {
     _projectService     = projectService;
     _blogService        = blogService;
     _editOptions        = configOptionsAccessor.Value;
     _historyCommands    = historyCommands;
     _timeZoneHelper     = timeZoneHelper;
     _timeZoneIdResolver = timeZoneIdResolver;
     _teaserService      = teaserService;
     _serializers        = serializers;
     _formParsers        = formParsers;
     _modelValidators    = modelValidators;
     _viewRenderer       = viewRenderer;
     _localizer          = localizer;
     _log = logger;
 }
예제 #5
0
 public SiteTimeZoneService(
     ITimeZoneHelper timeZoneHelper,
     ITimeZoneIdResolver timeZoneIdResolver
     )
 {
     _timeZoneHelper     = timeZoneHelper;
     _timeZoneIdResolver = timeZoneIdResolver;
 }
예제 #6
0
 public ManageController(
     SiteContext currentSite,
     SiteUserManager <SiteUser> userManager,
     SiteSignInManager <SiteUser> signInManager,
     ISmsSender smsSender,
     IStringLocalizer <CloudscribeCore> localizer,
     ITimeZoneIdResolver timeZoneIdResolver,
     ITimeZoneHelper timeZoneHelper
     )
 {
     Site               = currentSite;
     this.userManager   = userManager;
     this.signInManager = signInManager;
     this.smsSender     = smsSender;
     sr = localizer;
     this.timeZoneIdResolver = timeZoneIdResolver;
     tzHelper = timeZoneHelper;
 }
예제 #7
0
 public UserAdminController(
     SiteManager siteManager,
     SiteUserManager <SiteUser> userManager,
     ISiteMessageEmailSender emailSender,
     IOptions <UIOptions> uiOptionsAccessor,
     IStringLocalizer <CloudscribeCore> localizer,
     ITimeZoneIdResolver timeZoneIdResolver,
     ITimeZoneHelper timeZoneHelper
     )
 {
     UserManager      = userManager;
     this.siteManager = siteManager;
     this.emailSender = emailSender;
     uiOptions        = uiOptionsAccessor.Value;
     sr = localizer;
     this.timeZoneIdResolver = timeZoneIdResolver;
     tzHelper = timeZoneHelper;
 }
예제 #8
0
 public CreateOrUpdatePageHandler(
     IProjectService projectService,
     IPageService pageService,
     ITimeZoneHelper timeZoneHelper,
     ITimeZoneIdResolver timeZoneIdResolver,
     IContentHistoryCommands historyCommands,
     IStringLocalizer <cloudscribe.SimpleContent.Web.SimpleContent> localizer,
     ILogger <CreateOrUpdatePageHandler> logger
     )
 {
     _projectService     = projectService;
     _pageService        = pageService;
     _historyCommands    = historyCommands;
     _timeZoneHelper     = timeZoneHelper;
     _timeZoneIdResolver = timeZoneIdResolver;
     _localizer          = localizer;
     _log = logger;
 }
예제 #9
0
 public ManageController(
     SiteContext currentSite,
     SiteUserManager<SiteUser> userManager,
     SiteSignInManager<SiteUser> signInManager,
     ISmsSender smsSender,
     IStringLocalizer<CloudscribeCore> localizer,
     ITimeZoneIdResolver timeZoneIdResolver,
     ITimeZoneHelper timeZoneHelper
     )
 {
     Site = currentSite; 
     this.userManager = userManager;
     this.signInManager = signInManager;
     this.smsSender = smsSender;
     sr = localizer;
     this.timeZoneIdResolver = timeZoneIdResolver;
     tzHelper = timeZoneHelper;
 }
예제 #10
0
 public UserAdminController(
     SiteManager siteManager,
     SiteUserManager<SiteUser> userManager,
     ISiteMessageEmailSender emailSender,
     IOptions<UIOptions> uiOptionsAccessor,
     IStringLocalizer<CloudscribeCore> localizer,
     ITimeZoneIdResolver timeZoneIdResolver,
     ITimeZoneHelper timeZoneHelper
     )
 {
    
     UserManager = userManager;
     this.siteManager = siteManager;
     this.emailSender = emailSender;
     uiOptions = uiOptionsAccessor.Value;
     sr = localizer;
     this.timeZoneIdResolver = timeZoneIdResolver;
     tzHelper = timeZoneHelper;
 }
예제 #11
0
 public UserAdminController(
     SiteManager siteManager,
     SiteUserManager <SiteUser> userManager,
     ISiteMessageEmailSender emailSender,
     IOptions <UIOptions> uiOptionsAccessor,
     IStringLocalizer <CloudscribeCore> localizer,
     ITimeZoneIdResolver timeZoneIdResolver,
     ITimeZoneHelper timeZoneHelper,
     IHandleCustomUserInfoAdmin customUserEdit
     )
 {
     _userManager        = userManager;
     _siteManager        = siteManager;
     _emailSender        = emailSender;
     _uiOptions          = uiOptionsAccessor.Value;
     _sr                 = localizer;
     _timeZoneIdResolver = timeZoneIdResolver;
     _tzHelper           = timeZoneHelper;
     _customUserInfo     = customUserEdit;
 }
예제 #12
0
 public CreateOrUpdatePostHandler(
     IProjectService projectService,
     IBlogService blogService,
     IContentHistoryCommands historyCommands,
     ITimeZoneHelper timeZoneHelper,
     ITimeZoneIdResolver timeZoneIdResolver,
     IOptions <BlogEditOptions> configOptionsAccessor,
     IStringLocalizer <SimpleContent> localizer,
     ILogger <CreateOrUpdatePostHandler> logger
     )
 {
     _projectService     = projectService;
     _blogService        = blogService;
     _historyCommands    = historyCommands;
     _timeZoneHelper     = timeZoneHelper;
     _timeZoneIdResolver = timeZoneIdResolver;
     _editOptions        = configOptionsAccessor.Value;
     _localizer          = localizer;
     _log = logger;
 }
예제 #13
0
 public ManageController(
     SiteContext currentSite,
     SiteUserManager <SiteUser> userManager,
     SignInManager <SiteUser> signInManager,
     //ISmsSender smsSender,
     IStringLocalizer <CloudscribeCore> localizer,
     ITimeZoneIdResolver timeZoneIdResolver,
     ITimeZoneHelper timeZoneHelper,
     IHandleCustomUserInfo customUserInfo,
     ILogger <ManageController> logger,
     UrlEncoder urlEncoder
     )
 {
     _currentSite        = currentSite;
     _userManager        = userManager;
     _signInManager      = signInManager;
     _sr                 = localizer;
     _timeZoneIdResolver = timeZoneIdResolver;
     _tzHelper           = timeZoneHelper;
     _customUserInfo     = customUserInfo;
     _logger             = logger;
     _urlEncoder         = urlEncoder;
 }