protected int OnCounted(ICondition condition, string includes, int result) { var args = new DataCountedEventArgs(this.Name, condition, includes, result); this.OnCounted(args); return(args.Result); }
protected virtual void OnCounted(DataCountedEventArgs args) { var e = this.Counted; if (e != null) { e(this, args); } }