示例#1
0
 public CarroService(
     ICarroRepository carroRepository,
     CallCountScoped callCountScoped,
     CallCountSingleton callCountSingleton,
     CallCountTransient callCountTransient)
 {
     callCountScoped.Count++;
     callCountSingleton.Count++;
     callCountTransient.Count++;
     _carroRepository = carroRepository;
 }
示例#2
0
 public PessoaService(
     IPessoaRepository pessoaRepository,
     ICarroService carroService,
     CallCountScoped callCountScoped,
     CallCountSingleton callCountSingleton,
     CallCountTransient callCountTransient)
 {
     callCountScoped.Count++;
     callCountSingleton.Count++;
     callCountTransient.Count++;
     _pessoaRepository = pessoaRepository;
     _carroService     = carroService;
 }