protected void NotifyViewChanged(YamsterViewChangeType changeType, YamsterModel model) { if (ViewChanged != null) { ViewChanged(this, new ViewChangedEventArgs(changeType, model)); } }
public ViewChangedEventArgs(YamsterViewChangeType changeType, YamsterModel model) { this.ChangeType = changeType; this.Model = model; }