コード例 #1
0
ファイル: ProducerHub.cs プロジェクト: buildersoftdev/andyx
 public ProducerHub(ILogger <ProducerHub> logger,
                    IProducerHubRepository producerHubRepository,
                    ITenantRepository tenantRepository,
                    ITenantFactory tenantFactory,
                    IProducerFactory producerFactory,
                    IStorageHubService storageHubService,
                    IConsumerHubService consumerHubService)
 {
     this.logger = logger;
     this.producerHubRepository = producerHubRepository;
     this.tenantRepository      = tenantRepository;
     this.tenantFactory         = tenantFactory;
     this.producerFactory       = producerFactory;
     this.storageHubService     = storageHubService;
     this.consumerHubService    = consumerHubService;
 }
コード例 #2
0
 public StorageHub(ILogger <StorageHub> logger,
                   CredentialsConfiguration credentialsConfiguration,
                   IStorageHubRepository storageHubRepository,
                   ITenantRepository tenantMemoryRepository,
                   IStorageFactory storageFactory,
                   IAgentFactory agentFactory,
                   IConsumerHubService consumerHubService,
                   IProducerHubService producerHubService)
 {
     this.logger = logger;
     this.credentialsConfiguration = credentialsConfiguration;
     this.storageHubRepository     = storageHubRepository;
     this.tenantMemoryRepository   = tenantMemoryRepository;
     this.storageFactory           = storageFactory;
     this.agentFactory             = agentFactory;
     this.consumerHubService       = consumerHubService;
     this.producerHubService       = producerHubService;
 }