Exemple #1
0
        public AdminController(
            IHtmlLocalizer <AdminController> htmlLocalizer,
            IStringLocalizer <AdminController> stringLocalizer,
            IViewProviderManager <FileSetting> settingsViewProvider,
            IFileViewIncrementer <File> fileViewIncrementer,
            IViewProviderManager <File> indexViewProvider,
            IAuthorizationService authorizationService,
            IBreadCrumbManager breadCrumbManager,
            IPlatoRoleStore platoRoleStore,
            IContextFacade contextFacade,
            IFeatureFacade featureFacade,
            IFileStore <File> fileStore,
            IFileManager fileManager,
            IAlerter alerter)
        {
            _authorizationService = authorizationService;
            _settingsViewProvider = settingsViewProvider;
            _fileViewIncrementer  = fileViewIncrementer;
            _adminViewProvider    = indexViewProvider;
            _breadCrumbManager    = breadCrumbManager;
            _platoRoleStore       = platoRoleStore;
            _featureFacade        = featureFacade;
            _contextFacade        = contextFacade;
            _fileManager          = fileManager;
            _fileStore            = fileStore;
            _alerter = alerter;

            T = htmlLocalizer;
            S = stringLocalizer;
        }
Exemple #2
0
 public HomeController(
     IFileViewIncrementer <File> fileViewIncrementer,
     IEntityFileStore <EntityFile> entityFileStore,
     IAuthorizationService authorizationService,
     IEntityService <Question> entityService,
     IFileStore <File> fileStore)
 {
     _authorizationService = authorizationService;
     _fileViewIncrementer  = fileViewIncrementer;
     _entityFileStore      = entityFileStore;
     _entityService        = entityService;
     _fileStore            = fileStore;
 }
Exemple #3
0
        public HomeController(
            IStringLocalizer <AdminController> stringLocalizer,
            IHtmlLocalizer <AdminController> htmlLocalizer,
            IFileViewIncrementer <File> fileViewIncrementer,
            IFileInviteStore <FileInvite> fileInviteStore,
            IAuthorizationService authorizationService,
            IEmailFileInviteService shareInviteService,
            IContextFacade contextFacade,
            IFileStore <File> fileStore,
            IAlerter alerter)
        {
            _authorizationService = authorizationService;
            _fileViewIncrementer  = fileViewIncrementer;
            _shareInviteService   = shareInviteService;
            _fileInviteStore      = fileInviteStore;
            _contextFacade        = contextFacade;
            _fileStore            = fileStore;
            _alerter = alerter;

            T = htmlLocalizer;
            S = stringLocalizer;
        }