public IoTHubResourceBus( ITokenDto tokenDto, IIoTHubResourceDto ioTHubResourceDto, IConfiguration configuration) { this._tokenDto = tokenDto; this._ioTHubResourceDto = ioTHubResourceDto; this._configuration = configuration; //this._accountModel = accountModel; }
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; }