示例#1
0
 public SignalApiController(IOrchardServices orchardServices, IActivityServices activityServices, ICsrfTokenHelper csrfTokenHelper, IUtilsServices utilsServices)
 {
     _orchardServices  = orchardServices;
     _activityServices = activityServices;
     _csrfTokenHelper  = csrfTokenHelper;
     _utilsServices    = utilsServices;
 }
示例#2
0
 public ContentController(
     ShellSettings shellSettings,
     ICsrfTokenHelper csrfTokenHelper,
     IOrchardServices orchardServices,
     IAuthenticationService authenticationService,
     IContentExtensionsServices contentExtensionsServices,
     Lazy <IAutorouteService> autorouteService,
     ILocalizationService localizationService,
     ICultureManager cultureManager,
     IUtilsServices utilsServices,
     IContentDefinitionManager contentDefinitionManager,
     ITaxonomyService taxonomyService,
     ILocalizedStringManager localizedStringManager,
     IRazorTemplateManager razorTemplateManager,
     IRazorBaseService razorService)
 {
     _localizedStringManager   = localizedStringManager;
     _taxonomyService          = taxonomyService;
     _contentDefinitionManager = contentDefinitionManager;
     _shellSettings            = shellSettings;
     _csrfTokenHelper          = csrfTokenHelper;
     _orchardServices          = orchardServices;
     T = NullLocalizer.Instance;
     _authenticationService     = authenticationService;
     _contentExtensionsServices = contentExtensionsServices;
     _autorouteService          = autorouteService;
     _localizationService       = localizationService;
     _cultureManager            = cultureManager;
     _utilsServices             = utilsServices;
     Logger = NullLogger.Instance;
     _razorTemplateManager = razorTemplateManager;
     _razorService         = razorService;
 }
示例#3
0
        //       private readonly ILocalizedStringManager _localizedStringManager;

        //     public ILogger Log { get; set; }

        public testpostController(
            ShellSettings shellSettings,
            ICsrfTokenHelper csrfTokenHelper,
            IOrchardServices orchardServices,
            //    ITaxonomyService taxonomyService,
            //    ILocalizedStringManager localizedStringManager,
            IAuthenticationService authenticationService,
            IContentExtensionsServices contentExtensionsServices,
            Lazy <IAutorouteService> autorouteService,
            ILocalizationService localizationService,
            ICultureManager cultureManager,
            IUtilsServices utilsServices
            )
        {
            _shellSettings   = shellSettings;
            _csrfTokenHelper = csrfTokenHelper;
            _orchardServices = orchardServices;
            //      _taxonomyService = taxonomyService;
            T = NullLocalizer.Instance;
            //     _localizedStringManager = localizedStringManager;
            //       Log = NullLogger.Instance;
            _authenticationService     = authenticationService;
            _contentExtensionsServices = contentExtensionsServices;
            _autorouteService          = autorouteService;
            _localizationService       = localizationService;
            _cultureManager            = cultureManager;
            _utilsServices             = utilsServices;

            //  _context = context;
            Logger = NullLogger.Instance;
        }
示例#4
0
 public GameRanking(IOrchardServices orchardServices, ICsrfTokenHelper csrfTokenHelper, IQuestionnairesServices questionnairesServices, IUtilsServices utilsServices)
 {
     Logger                  = NullLogger.Instance;
     _orchardServices        = orchardServices;
     _csrfTokenHelper        = csrfTokenHelper;
     _questionnairesServices = questionnairesServices;
     _utilsServices          = utilsServices;
 }
 public PoliciesApiController(IOrchardServices orchardServices, IPolicyServices policySerivces, ICsrfTokenHelper csrfTokenHelper, IUtilsServices utilsServices)
 {
     _policySerivces  = policySerivces;
     _csrfTokenHelper = csrfTokenHelper;
     _orchardServices = orchardServices;
     T              = NullLocalizer.Instance;
     Log            = NullLogger.Instance;
     _utilsServices = utilsServices;
 }
 public UploadFileController(IOrchardServices orchardServices, ShellSettings settings, IMediaLibraryService mediaLibraryService, IContentExtensionService contentExtensionsServices, INotifier notifier, ICsrfTokenHelper csrfTokenHelper, IUtilsServices utilsServices)
 {
     _notifier = notifier;
     _contentExtensionsServices = contentExtensionsServices;
     _settings            = settings;
     _orchardServices     = orchardServices;
     _mediaLibraryService = mediaLibraryService;
     _utilsServices       = utilsServices;
     T = NullLocalizer.Instance;
     _csrfTokenHelper = csrfTokenHelper;
 }
 public ProfileApiController(
     IUtilsServices utilsServices,
     IOrchardServices orchardServices,
     ICsrfTokenHelper csrfTokenHelper,
     IUserProfilingService userProfilingService)
 {
     _utilsServices        = utilsServices;
     _orchardServices      = orchardServices;
     _csrfTokenHelper      = csrfTokenHelper;
     _userProfilingService = userProfilingService;
 }
 public UserActionMethods(IOrchardServices orchardServices, ICsrfTokenHelper csrfTokenHelper, IUsersExtensionsServices usersExtensionsServices, IUserService userService,
                          IUtilsServices utilsServices, IEnumerable <IIdentityProvider> identityProviders)
 {
     _csrfTokenHelper         = csrfTokenHelper;
     _usersExtensionsServices = usersExtensionsServices;
     _orchardServices         = orchardServices;
     _userService             = userService;
     _identityProviders       = identityProviders;
     T              = NullLocalizer.Instance;
     Log            = NullLogger.Instance;
     _utilsServices = utilsServices;
 }
 public TaxonomiePushController(
     IOrchardServices orchardServices,
     ITaxonomyService taxonomyService,
     IAuthenticationService authenticationService,
     ICsrfTokenHelper csrfTokenHelper,
     IUtilsServices utilsServices)
 {
     _orchardServices       = orchardServices;
     _taxonomyService       = taxonomyService;
     _authenticationService = authenticationService;
     T = NullLocalizer.Instance;
     _csrfTokenHelper = csrfTokenHelper;
     _utilsServices   = utilsServices;
 }
示例#10
0
        public ContentItemController(
            ShellSettings shellSettings,
            INotifier notifier,
            ICsrfTokenHelper csrfTokenHelper,
            IOrchardServices orchardServices,
            IAuthenticationService authenticationService,
            IContentExtensionService contentExtensionService,
            Lazy <IAutorouteService> autorouteService,
            ILocalizationService localizationService,
            ICultureManager cultureManager,
            IUtilsServices utilsServices,
            IContentDefinitionManager contentDefinitionManager,
            ITaxonomyService taxonomyService,
            ILocalizedStringManager localizedStringManager,
            ITransactionManager transactionManager,
            Lazy <IEnumerable <IContentHandler> > handlers,
            IRazorTemplateManager razorTemplateManager,
            IRazorBaseService razorService,
            IContentManager contentManager,
            IAuthorizer authorizer
            )
        {
            _razorTemplateManager     = razorTemplateManager;
            _localizedStringManager   = localizedStringManager;
            _taxonomyService          = taxonomyService;
            _contentDefinitionManager = contentDefinitionManager;
            _shellSettings            = shellSettings;
            _csrfTokenHelper          = csrfTokenHelper;
            _orchardServices          = orchardServices;
            _authenticationService    = authenticationService;
            _contentExtensionService  = contentExtensionService;
            _autorouteService         = autorouteService;
            _localizationService      = localizationService;
            _cultureManager           = cultureManager;
            _utilsServices            = utilsServices;
            _transactionManager       = transactionManager;
            _handlers       = handlers;
            _notifier       = notifier;
            _razorService   = razorService;
            _contentManager = contentManager;
            _authorizer     = authorizer;

            T      = NullLocalizer.Instance;
            Logger = NullLogger.Instance;
        }
示例#11
0
        public JsonController(IOrchardServices orchardServices,
                              IProjectionManager projectionManager,
                              ShellSettings shellSetting,
                              IUtilsServices utilsServices,
                              ICsrfTokenHelper csrfTokenHelper,
                              IAuthenticationService authenticationService,
                              IEnumerable <IDumperService> dumperServices)
        {
            _orchardServices       = orchardServices;
            _projectionManager     = projectionManager;
            _shellSetting          = shellSetting;
            _utilsServices         = utilsServices;
            _csrfTokenHelper       = csrfTokenHelper;
            _authenticationService = authenticationService;
            _dumperServices        = dumperServices;

            Logger = NullLogger.Instance;
        }
 public BaseUserActionsController(
     IOrchardServices orchardServices,
     IUtilsServices utilsServices,
     IUsersExtensionsServices usersExtensionsServices,
     IEnumerable <IIdentityProvider> identityProviders,
     IUserService userService,
     IUserEventHandler userEventHandler,
     ICsrfTokenHelper csrfTokenHelper)
 {
     OrchardServices          = orchardServices;
     UtilsServices            = utilsServices;
     _usersExtensionsServices = usersExtensionsServices;
     _identityProviders       = identityProviders;
     _userService             = userService;
     _userEventHandler        = userEventHandler;
     CsrfTokenHelper          = csrfTokenHelper;
     T = NullLocalizer.Instance;
 }
 public AKUserActionsController(
     IOrchardServices orchardServices,
     IUsersExtensionsServices usersExtensionsServices,
     IUserService userService,
     IUtilsServices utilsServices,
     IUserEventHandler userEventHandler,
     IEnumerable <IIdentityProvider> identityProviders,
     ICsrfTokenHelper csrfTokenHelper
     ) : base(
         orchardServices,
         utilsServices,
         usersExtensionsServices,
         identityProviders,
         userService,
         userEventHandler,
         csrfTokenHelper
         )
 {
 }
示例#14
0
 public QuestionnaireResponseController(
     IQuestionnairesServices questionnairesServices
     , IContentManager contentManager
     , IOrchardServices orchardServices
     , ICsrfTokenHelper csrfTokenHelper
     , IRepository <QuestionRecord> repositoryQuestions
     , IRepository <AnswerRecord> repositoryAnswer
     , IUtilsServices utilsServices
     )
 {
     _questionnairesServices = questionnairesServices;
     _contentManager         = contentManager;
     _orchardServices        = orchardServices;
     _csrfTokenHelper        = csrfTokenHelper;
     _repositoryQuestions    = repositoryQuestions;
     _repositoryAnswer       = repositoryAnswer;
     Logger         = NullLogger.Instance;
     _utilsServices = utilsServices;
 }
        //
        // GET: /Json/
        public JsonController(IOrchardServices orchardServices,
                              IProjectionManager projectionManager,
                              ITaxonomyService taxonomyService,
                              ShellSettings shellSetting,
                              IUtilsServices utilsServices,
                              ICsrfTokenHelper csrfTokenHelper,
                              IAuthenticationService authenticationService)
        {
            _request = System.Web.HttpContext.Current.Request;

            _orchardServices       = orchardServices;
            _projectionManager     = projectionManager;
            _taxonomyService       = taxonomyService;
            _shellSetting          = shellSetting;
            Logger                 = NullLogger.Instance;
            _utilsServices         = utilsServices;
            _csrfTokenHelper       = csrfTokenHelper;
            _authenticationService = authenticationService;
        }
 public UserController(
     ICsrfTokenHelper csrfTokenHelper,
     IOrchardServices orchardServices,
     ITaxonomyService taxonomyService,
     ILocalizedStringManager localizedStringManager,
     IAuthenticationService authenticationService,
     IContentExtensionsServices contentExtensionsServices,
     IUtilsServices utilsServices,
     IContactRelatedEventHandler contactEventHandler)
 {
     _csrfTokenHelper = csrfTokenHelper;
     _orchardServices = orchardServices;
     _taxonomyService = taxonomyService;
     T = NullLocalizer.Instance;
     _localizedStringManager = localizedStringManager;
     Log = NullLogger.Instance;
     _authenticationService     = authenticationService;
     _contentExtensionsServices = contentExtensionsServices;
     _utilsServices             = utilsServices;
     _contactEventHandler       = contactEventHandler;
 }
 // GET: /Json/
 public WebApiController(IOrchardServices orchardServices,
                         IProjectionManager projectionManager,
                         ITaxonomyService taxonomyService,
                         ShellSettings shellSetting,
                         IUtilsServices utilsServices,
                         ICsrfTokenHelper csrfTokenHelper,
                         IAuthenticationService authenticationService,
                         ICommonsServices commonServices,
                         IContentSerializationServices contentSerializationServices)
 {
     _request                      = System.Web.HttpContext.Current.Request;
     _commonServices               = commonServices;
     _orchardServices              = orchardServices;
     _projectionManager            = projectionManager;
     _taxonomyService              = taxonomyService;
     _shellSetting                 = shellSetting;
     Logger                        = NullLogger.Instance;
     _utilsServices                = utilsServices;
     _csrfTokenHelper              = csrfTokenHelper;
     _authenticationService        = authenticationService;
     _contentSerializationServices = contentSerializationServices;
     processedItems                = new List <string>();
 }