public ExecutionFilterComposite(IExecutionFilter filter, Services.IPredication predication) { if (filter == null) { throw new ArgumentNullException("filter"); } _filter = filter; _predication = predication; }
public ExecutionPipeline Add(IExecutionHandler handler, Services.IPredication predication = null) { if (handler == null) { throw new ArgumentNullException("handler"); } var item = new ExecutionPipeline(handler, predication); base.Add(item); return(item); }
public ExecutionFilterComposite Add(IExecutionFilter filter, Services.IPredication predication) { if (filter == null) { throw new ArgumentNullException("filter"); } var result = new ExecutionFilterComposite(filter, predication); base.Add(result); return(result); }
public ExecutionPipeline(IExecutionHandler handler, Services.IPredication predication = null) { _handler = handler; _predication = predication; }