Exemplo n.º 1
0
 public void ReportToAllListeners(string serviceKey, IPlatformModelBase model)
 {
     foreach (var listener in OnPlatformServiceCallBack)
     {
         listener?.Invoke(serviceKey, model);
     }
 }
 void SetPlatformModelAndReportToAllListeners(BonsaiPlatformServiceRegistrationStruct platformService, IPlatformModelBase platformModel)
 {
     _MasterRepo.DataSource.PlatformModel = platformModel;
     _MasterRepo.ReportToAllListeners(platformService.PlatformHarness.ServiceKey, platformModel);
 }