示例#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)
 {
 }
示例#3
0
 public Controller(IAService service)
 {
     this.service = service;
 }
示例#4
0
 public TienController(IAService aService, IConfiguration config)
 {
     this._aService = aService;
     this._config   = config;
 }
示例#5
0
 public ValuesController(IAService aService)
 {
     _aService = aService;
 }
示例#6
0
 public BService(IAService aService)
 {
 }
示例#7
0
 public void AddService(string name, IAService service)
 {
     _services.Add(name, service);
 }
 public BService(IAService aService)
 {
     Console.WriteLine("**** B SERVICE ****");
     _aService = aService;
 }
示例#9
0
 public BService(IDALService dalService, IAService aService)
 {
     DAL = dalService;
     A   = aService;
 }
示例#10
0
 public async Task <string> A([FromServices] IAService aService)
 {
     return(await aService.GetAsync());
 }
示例#11
0
 public WebServce(IAService aService, IBService bService)
 {
     a = aService;
     b = bService;
 }
	public void AddService(string name, IAService service)
	{
		_services.Add(name, service);
	}