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