Ejemplo n.º 1
0
 public AccountController(
     IAuthenticationService authenticationService,
     IMembershipService membershipService,
     IUserService userService,
     IOrchardServices orchardServices,
     IShapeFactory shapeFactory,
     IContentManager contentManager,
     IFrontEndProfileService frontEndProfileService,
     ShellSettings shellSetting,
     IUserEventHandler userEventHandler,
     IAccountValidationService accountValidationService)
 {
     _authenticationService = authenticationService;
     _membershipService     = membershipService;
     _userService           = userService;
     _orchardServices       = orchardServices;
     Logger                    = NullLogger.Instance;
     T                         = NullLocalizer.Instance;
     Shape                     = shapeFactory;
     _contentManager           = contentManager;
     _frontEndProfileService   = frontEndProfileService;
     _shellSettings            = shellSetting;
     _userEventHandler         = userEventHandler;
     _accountValidationService = accountValidationService;
 }
Ejemplo n.º 2
0
        public ViewProfileUserManagementActionsProvider(
            IAuthorizer authorizer,
            IFrontEndProfileService frontEndProfileService)
        {
            _authorizer             = authorizer;
            _frontEndProfileService = frontEndProfileService;

            T = NullLocalizer.Instance;
        }
Ejemplo n.º 3
0
        public ProfileFrontEndPlacementStrategy(
            Work <IContentDefinitionManager> contentDefinitionManager,
            IFrontEndProfileService frontEndProfileService,
            IWorkContextAccessor workContextAccessor)
        {
            _contentDefinitionManager = contentDefinitionManager;
            _frontEndProfileService   = frontEndProfileService;
            _workContextAccessor      = workContextAccessor;

            Logger = NullLogger.Instance;
        }
Ejemplo n.º 4
0
        public HomeController(IOrchardServices services,
                              IMembershipService membershipService,
                              IContentManager contentManager,
                              IFrontEndProfileService frontEndProfileService)
        {
            _membershipService      = membershipService;
            _contentManager         = contentManager;
            _frontEndProfileService = frontEndProfileService;

            Services = services;
        }
        public ProfileFrontEndEditorEvents(
            IContentDefinitionManager contentDefinitionManager,
            Lazy <IEnumerable <IShellSettingsManagerEventHandler> > settingsManagerEventHandlers,
            ShellSettings shellSettings,
            IContentManager contentManager,
            IShapeFactory shapeFactory,
            IEnumerable <IContentPartDriver> contentPartDrivers,
            IEnumerable <IContentFieldDriver> contentFieldDrivers,
            IFrontEndProfileService frontEndProfileService)
        {
            _contentDefinitionManager     = contentDefinitionManager;
            _settingsManagerEventHandlers = settingsManagerEventHandlers;
            _contentManager         = contentManager;
            _shapeFactory           = shapeFactory;
            _contentPartDrivers     = contentPartDrivers;
            _contentFieldDrivers    = contentFieldDrivers;
            _frontEndProfileService = frontEndProfileService;

            _shellSettings = shellSettings;
        }