Esempio n. 1
0
 //public string ManageResource = "https://management.chinacloudapi.cn";
 //public string LogAnalyResource = "https://api.loganalytics.azure.cn";
 public ResourceGroupBus(IResourceGroupDto resourceGroupDto,
                         IConfiguration configuration,
                         ITokenDto tokenDto,
                         ISubscriptionDto subscriptionDto,
                         IAccountDao accountDao,
                         IOptions <TokenResourceModel> tokenResource)
 {
     this._resourceGroupDto = resourceGroupDto;
     this._configuration    = configuration;
     this._tokenDto         = tokenDto;
     this._subscriptionDto  = subscriptionDto;
     _tokenResource         = tokenResource;
     //this.subid = "6273fbea-8a11-498b-8218-02b6f4398e12";
 }
Esempio n. 2
0
        public IoTHubResourceBus(
            ITokenDto tokenDto,
            ISubscriptionDto subscriptionDto,
            IIoTHubResourceDto ioTHubResourceDto,
            IConfiguration configuration,
            IAccountDao accountDao,
            IOptions <TokenResourceModel> tokenResource)
        {
            _accountDao             = accountDao;
            this._tokenDto          = tokenDto;
            this._ioTHubResourceDto = ioTHubResourceDto;
            this._configuration     = configuration;
            _subscriptionDto        = subscriptionDto;
            _tokenResource          = tokenResource;
            //this.subid= "6273fbea-8a11-498b-8218-02b6f4398e12";

            //this._accountModel = accountModel;
        }