示例#1
0
 public BaseTest()
 {
     this.ApiInit      = AutofacExt.GetFromFac <Api_Init>();
     this.DataInit     = AutofacExt.GetFromFac <Data_Init>();
     this.DatabaseInit = AutofacExt.GetFromFac <Database_Init>();
     this.FormInit     = AutofacExt.GetFromFac <Form_Init>();
 }
示例#2
0
 public API_Test()
 {
     this._apiService = AutofacExt.GetFromFac <ApiService>();
 }
示例#3
0
 public DbServiceTests()
 {
     _dbTableService = AutofacExt.GetFromFac <DbTableService>();
     _dbColService   = AutofacExt.GetFromFac <DbColumnService>();
 }