示例#1
0
        protected long OnIncremented(string name, string member, ICondition condition, int interval, long result)
        {
            var args = new DataIncrementedEventArgs(name, member, condition, interval, result);

            this.OnIncremented(args);
            return(args.Result);
        }
示例#2
0
        protected virtual void OnIncremented(DataIncrementedEventArgs args)
        {
            var e = this.Incremented;

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