Beispiel #1
0
 public SomeOtherClass(IMySharedService sharedService)
 {
     _sharedService              = sharedService;
     _sharedService.DataArrived += OnNewData;
 }
 public SomeClass(IMySharedService sharedService)
 {
     _sharedService = sharedService;
 }
Beispiel #3
0
 public ViewCViewModel(IMyService myService, IMySharedService mySharedService)
 {
     //this.Message = myService.GetMessage("ViewC [ModuleB]");
     this.Message = mySharedService.GetMessage("ViewC [ModuleB]");
 }