Exemplo n.º 1
0
 public MyService(IMyOtherService myOtherService)
 {
     _myOtherService = myOtherService;
 }
Exemplo n.º 2
0
 public MyService(IMyOtherService other)
 {
 }
Exemplo n.º 3
0
 public Counter(IMyOtherService myOtherService)
 {
     Console.WriteLine("Counter.Counter");
     _myOtherService = myOtherService;
 }
Exemplo n.º 4
0
 public MyService(IMyOtherService otherService, HttpClient httpClient)
 {
     _otherService = otherService;
     _httpClient   = httpClient;
 }
Exemplo n.º 5
0
 public MyService(IMyOtherService other)
 {
     this._other = other;
 }
Exemplo n.º 6
0
 public MyService(IMyOtherService otherService)
 {
     _otherService = otherService;
 }
Exemplo n.º 7
0
 public MyService(IMyOtherService other) => _other = other;
Exemplo n.º 8
0
 public MyService(IMyOtherService other) { }