草庐IT

dataSourceID

全部标签

c# - 我可以在 C# 中组合构造函数吗

我有以下代码:publicAccountService(ModelStateDictionarymodelStateDictionary,stringdataSourceID){this._modelState=modelStateDictionary;this._accountRepository=StorageHelper.GetTable(dataSourceID);this._productRepository=StorageHelper.GetTable(dataSourceID);}publicAccountService(stringdataSourceID){this.