public static void ClassInitialize(TestContext tContext) { svc = (SheetReader <Order>)TestServerClientFactory.GetServiceProvider().GetService(typeof(SheetReader <Order>)); }
public static void ClassInitialize(TestContext tContext) { db = (ExcelDbContext)TestServerClientFactory.GetServiceProvider().GetService(typeof(DbContext)); svc = (ExcelService)TestServerClientFactory.GetServiceProvider().GetService(typeof(ExcelService)); queryable = (IExcelQueryable)TestServerClientFactory.GetServiceProvider().GetService(typeof(IExcelQueryable)); }