Пример #1
0
 protected void NotifyViewChanged(YamsterViewChangeType changeType, YamsterModel model)
 {
     if (ViewChanged != null)
     {
         ViewChanged(this, new ViewChangedEventArgs(changeType, model));
     }
 }
Пример #2
0
 public ViewChangedEventArgs(YamsterViewChangeType changeType, YamsterModel model)
 {
     this.ChangeType = changeType;
     this.Model      = model;
 }