public ApplicationService_Validation_Tests()
 {
     _myAppService = ServiceProvider.GetRequiredService <IMyAppService>();
 }
Exemplo n.º 2
0
 public Validation_Tests()
 {
     LocalIocManager.Register <IMyAppService, MyAppService>(DependencyLifeStyle.Transient);
     _myAppService = LocalIocManager.Resolve <IMyAppService>();
 }
 public DataItemController(IMyAppService appservice)
 {
     _appservice = appservice;
 }
 public ApplicationWithoutDb_Tests()
 {
     LocalIocManager.Register <IMyAppService, MyAppService>(DependencyLifeStyle.Transient);
     _myAppService = Resolve <IMyAppService>();
 }
Exemplo n.º 5
0
 public DemoController(IMyAppService appservice)
 {
     _appservice = appservice;
 }
Exemplo n.º 6
0
 public MyDataController(IMyAppService appservice)
 {
     _appservice = appservice;
 }
 public ServiceWithDifferentInputs_Tests()
 {
     LocalIocManager.Register <IMyAppService, MyAppService>(DependencyLifeStyle.Transient);
     _appService = Resolve <IMyAppService>();
 }
 public Validation_Tests()
 {
     LocalIocManager.Register<IMyAppService, MyAppService>(DependencyLifeStyle.Transient);
     _myAppService = LocalIocManager.Resolve<IMyAppService>();
 }
Exemplo n.º 9
0
 public ApplicationWithoutDb_Tests()
 {
     LocalIocManager.Register<IMyAppService, MyAppService>(DependencyLifeStyle.Transient);
     _myAppService = Resolve<IMyAppService>();
 }