void IExecutionFilter.OnExecuting(IExecutionContext context) { var predication = this.Predication; if (predication == null || predication.Predicate(context)) { _filter.OnExecuting(context); } }
protected virtual void OnFilterExecuting(IExecutionFilter filter, IExecutionContext context) { filter.OnExecuting(context); }