示例#1
0
        protected bool OnExisted(string name, ICondition condition, bool result)
        {
            var args = new DataExistedEventArgs(name, condition, result);

            this.OnExisted(args);
            return(args.Result);
        }
示例#2
0
        protected virtual void OnExisted(DataExistedEventArgs args)
        {
            var e = this.Existed;

            if (e != null)
            {
                e(this, args);
            }
        }