public DataChangedEventArgs(Ttype changedEntity, DataChangedMode mode) { this.ChangedEntity = changedEntity; this.Mode = mode; }
private void RaiseDataChanged(T entity, DataChangedMode mode) { var handler = DataChanged; handler?.Invoke(new DataChangedEventArgs <T>(entity, mode)); }