Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
        protected virtual void OnDecrementing(DataDecrementingEventArgs args)
        {
            var e = this.Decrementing;

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