Пример #1
0
 private void OnGateCampAdded(GateCampMessageModel gatecamp)
 {
     lock (this)
     {
         _gateCamps.Add(gatecamp);
     }
     Application.Current.Dispatcher.BeginInvoke(new Action(() => { GateCampAdded?.Invoke(gatecamp); }));
 }
Пример #2
0
 private void OnGateCampAdded(GateCamp gatecamp)
 {
     GateCampAdded?.Invoke(gatecamp);
 }