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