protected DataDecrementingEventArgs OnDecrementing(string name, string member, ICondition condition, int interval = 1, bool cancel = false) { var args = new DataDecrementingEventArgs(name, member, condition, interval, cancel); this.OnDecrementing(args); return(args); }
protected virtual void OnDecrementing(DataDecrementingEventArgs args) { var e = this.Decrementing; if (e != null) { e(this, args); } }