Beispiel #1
0
 public ExPostValidator(IBEntityRepository ibEntityRepository, IAService iaService)
 {
     if (ibEntityRepository == null)
     {
         throw new ArgumentNullException(nameof(ibEntityRepository));
     }
     if (iaService == null)
     {
         throw new ArgumentNullException(nameof(iaService));
     }
 }
 public IndexModel(IAService aservice)
 {
 }
 public Controller(IAService service)
 {
     this.service = service;
 }
Beispiel #4
0
 public TienController(IAService aService, IConfiguration config)
 {
     this._aService = aService;
     this._config   = config;
 }
Beispiel #5
0
 public ValuesController(IAService aService)
 {
     _aService = aService;
 }
Beispiel #6
0
 public BService(IAService aService)
 {
 }
Beispiel #7
0
 public void AddService(string name, IAService service)
 {
     _services.Add(name, service);
 }
 public BService(IAService aService)
 {
     Console.WriteLine("**** B SERVICE ****");
     _aService = aService;
 }
Beispiel #9
0
 public BService(IDALService dalService, IAService aService)
 {
     DAL = dalService;
     A   = aService;
 }
Beispiel #10
0
 public async Task <string> A([FromServices] IAService aService)
 {
     return(await aService.GetAsync());
 }
Beispiel #11
0
 public WebServce(IAService aService, IBService bService)
 {
     a = aService;
     b = bService;
 }
	public void AddService(string name, IAService service)
	{
		_services.Add(name, service);
	}