protected bool OnExisted(string name, ICondition condition, bool result) { var args = new DataExistedEventArgs(name, condition, result); this.OnExisted(args); return(args.Result); }
protected virtual void OnExisted(DataExistedEventArgs args) { var e = this.Existed; if (e != null) { e(this, args); } }