Пример #1
0
 public OrchardOpenAuthClientProvider(IProviderConfigurationService providerConfigurationService,
                                      IEnumerable <IExternalAuthenticationClient> openAuthAuthenticationClients)
 {
     _providerConfigurationService  = providerConfigurationService;
     _openAuthAuthenticationClients = openAuthAuthenticationClients;
     Logger = NullLogger.Instance;
 }
 public TwitterService(ShellSettings shellsettings, IStorageProvider storageProvider, IOrchardServices orchardServices, INotifier notifier, IWorkContextAccessor workContext, IProviderConfigurationService providerConfigurationService)
 {
     _shellsettings = shellsettings;
     _providerConfigurationService = providerConfigurationService;
     _storageProvider = storageProvider;
     _orchardServices = orchardServices;
     _notifier        = notifier;
     T            = NullLocalizer.Instance;
     _workContext = workContext;
     Logger       = NullLogger.Instance;
 }
 public AdminController(IOrchardServices orchardServices,
                        IProviderConfigurationService providerConfigurationService,
                        IExternalAuthenticationClient externalAuthenticationClient,
                        IList <IExternalAuthenticationClient> externalAuthenticationClients,
                        IUtilsServices utilServices)
 {
     _orchardServices = orchardServices;
     _providerConfigurationService  = providerConfigurationService;
     _externalAuthenticationClient  = externalAuthenticationClient;
     _externalAuthenticationClients = externalAuthenticationClients;
     _utilServices = utilServices;
 }
Пример #4
0
 public TwitterAccountController(
     IOrchardServices orchardServices,
     INotifier notifier,
     IContentManager contentManager
     , IProviderConfigurationService providerConfigurationService
     , ShellSettings shellSettings
     )
 {
     _orchardServices = orchardServices;
     _contentManager  = contentManager;
     _notifier        = notifier;
     T = NullLocalizer.Instance;
     _providerConfigurationService = providerConfigurationService;
     _shellSettings = shellSettings;
 }
Пример #5
0
 public FacebookAccountController(
     ShellSettings shellSettings,
     IStorageProvider storageProvider,
     IOrchardServices orchardServices,
     INotifier notifier,
     IContentManager contentManager,
     IProviderConfigurationService providerConfigurationService)
 {
     _orchardServices = orchardServices;
     _contentManager  = contentManager;
     _notifier        = notifier;
     T = NullLocalizer.Instance;
     _providerConfigurationService = providerConfigurationService;
     _storageProvider = storageProvider;
     _shellSettings   = shellSettings;
 }
Пример #6
0
 public TwitterPostDriver(IImageProfileManager imageProfileManager, IStorageProvider storageProvider, IOrchardServices orchardServices, ITwitterService TwitterService,
                          IProviderConfigurationService providerConfigurationService, ITokenizer tokenizer,
                          IHttpContextAccessor httpContextAccessor, IControllerContextAccessor controllerContextAccessor,
                          ShellSettings shellSettings, IContentManager contentManager)
 {
     _storageProvider           = storageProvider;
     _imageProfileManager       = imageProfileManager;
     _httpContextAccessor       = httpContextAccessor;
     _controllerContextAccessor = controllerContextAccessor;
     _tokenizer       = tokenizer;
     _orchardServices = orchardServices;
     _TwitterService  = TwitterService;
     _providerConfigurationService = providerConfigurationService;
     _shellSettings = shellSettings;
     Logger         = NullLogger.Instance;
     T = NullLocalizer.Instance;
     _contentManager = contentManager;
 }
Пример #7
0
 public AdminController(IOrchardServices orchardServices,
                        IProviderConfigurationService providerConfigurationService)
 {
     _orchardServices = orchardServices;
     _providerConfigurationService = providerConfigurationService;
 }
 public AdminController(IOrchardServices orchardServices,
     IProviderConfigurationService providerConfigurationService) {
     _orchardServices = orchardServices;
     _providerConfigurationService = providerConfigurationService;
 }