コード例 #1
0
 public NotificationsHub(IProviderOrganizationRepository providerOrganizationRepository,
                         ConnectionCounter connectionCounter, GlobalSettings globalSettings)
 {
     _providerOrganizationRepository = providerOrganizationRepository;
     _connectionCounter = connectionCounter;
     _globalSettings    = globalSettings;
 }
コード例 #2
0
ファイル: ClientStore.cs プロジェクト: DavidSSL/server
 public ClientStore(
     IInstallationRepository installationRepository,
     IOrganizationRepository organizationRepository,
     IUserRepository userRepository,
     GlobalSettings globalSettings,
     StaticClientStore staticClientStore,
     ILicensingService licensingService,
     ICurrentContext currentContext,
     IOrganizationUserRepository organizationUserRepository,
     IProviderUserRepository providerUserRepository,
     IProviderOrganizationRepository providerOrganizationRepository,
     IOrganizationApiKeyRepository organizationApiKeyRepository)
 {
     _installationRepository         = installationRepository;
     _organizationRepository         = organizationRepository;
     _userRepository                 = userRepository;
     _globalSettings                 = globalSettings;
     _staticClientStore              = staticClientStore;
     _licensingService               = licensingService;
     _currentContext                 = currentContext;
     _organizationUserRepository     = organizationUserRepository;
     _providerUserRepository         = providerUserRepository;
     _providerOrganizationRepository = providerOrganizationRepository;
     _organizationApiKeyRepository   = organizationApiKeyRepository;
 }
コード例 #3
0
        public ProviderOrganizationService(IProviderOrganizationRepository providerOrganizationRepository,
                                           IStorageService storageService, IOrganizationService organizationService, IArticlePurchaseService articlePurchaseService)
        {
            this.providerOrganizationRepository = providerOrganizationRepository;

            this.articlePriceService = IoCContainer.Resolve <IArticlePriceService>();

            this.organizationService    = organizationService;
            this.storageService         = storageService;
            this.articlePurchaseService = articlePurchaseService;
        }
コード例 #4
0
 public ProviderOrganizationsController(
     IProviderOrganizationRepository providerOrganizationRepository,
     IProviderService providerService,
     IUserService userService,
     ICurrentContext currentContext)
 {
     _providerOrganizationRepository = providerOrganizationRepository;
     _providerService = providerService;
     _userService     = userService;
     _currentContext  = currentContext;
 }
コード例 #5
0
 public ProvidersController(IProviderRepository providerRepository, IProviderUserRepository providerUserRepository,
                            IProviderOrganizationRepository providerOrganizationRepository, IProviderService providerService,
                            GlobalSettings globalSettings, IApplicationCacheService applicationCacheService)
 {
     _providerRepository             = providerRepository;
     _providerUserRepository         = providerUserRepository;
     _providerOrganizationRepository = providerOrganizationRepository;
     _providerService         = providerService;
     _globalSettings          = globalSettings;
     _applicationCacheService = applicationCacheService;
 }
コード例 #6
0
ファイル: ProfileService.cs プロジェクト: DavidSSL/server
 public ProfileService(
     IUserService userService,
     IOrganizationUserRepository organizationUserRepository,
     IProviderUserRepository providerUserRepository,
     IProviderOrganizationRepository providerOrganizationRepository,
     ILicensingService licensingService,
     ICurrentContext currentContext)
 {
     _userService = userService;
     _organizationUserRepository     = organizationUserRepository;
     _providerUserRepository         = providerUserRepository;
     _providerOrganizationRepository = providerOrganizationRepository;
     _licensingService = licensingService;
     _currentContext   = currentContext;
 }
コード例 #7
0
 public ProviderService(IProviderRepository providerRepository, IProviderUserRepository providerUserRepository,
                        IProviderOrganizationRepository providerOrganizationRepository, IUserRepository userRepository,
                        IUserService userService, IOrganizationService organizationService, IMailService mailService,
                        IDataProtectionProvider dataProtectionProvider, IEventService eventService, GlobalSettings globalSettings)
 {
     _providerRepository             = providerRepository;
     _providerUserRepository         = providerUserRepository;
     _providerOrganizationRepository = providerOrganizationRepository;
     _userRepository      = userRepository;
     _userService         = userService;
     _organizationService = organizationService;
     _mailService         = mailService;
     _eventService        = eventService;
     _globalSettings      = globalSettings;
     _dataProtector       = dataProtectionProvider.CreateProtector("ProviderServiceDataProtector");
 }
コード例 #8
0
 public CurrentContext(IProviderOrganizationRepository providerOrganizationRepository)
 {
     _providerOrganizationRepository = providerOrganizationRepository;
 }
コード例 #9
0
 public EnterprisePortalCurrentContext(IProviderOrganizationRepository providerOrganizationRepository,
                                       IServiceProvider serviceProvider) : base(providerOrganizationRepository)
 {
     _serviceProvider = serviceProvider;
 }