Beispiel #1
0
        /// <inheritdoc />
        public IPipelineProfile <TRequest, TResponse> AddNext(IRequestPipelineHandler <TRequest, TResponse> pipeline)
        {
            if (pipeline == null)
            {
                throw new ArgumentNullException(nameof(pipeline));
            }

            return(AddNextInner(() => pipeline));
        }
Beispiel #2
0
 /// <inheritdoc />
 public IPipelineProfile <TRequest, TResponse> AddOptionNext(
     IRequestPipelineHandler <TRequest, TResponse>?pipeline)
 {
     return(pipeline == null ? this : AddNextInner(() => pipeline));
 }