コード例 #1
0
        /// <summary>
        /// Invokes the pipeline synchronously.
        /// </summary>
        /// <param name="executionContext">Request context</param>
        /// <returns>Response context</returns>
        public IResponseContext InvokeSync(IExecutionContext executionContext)
        {
            ThrowIfDisposed();

            _handler.InvokeSync(executionContext);
            return(executionContext.ResponseContext);
        }
コード例 #2
0
 /// <summary>
 /// Invokes the pipeline synchronously.
 /// </summary>
 /// <param name="executionContext">Request context</param>
 /// <returns>Response context</returns>
 public IResponseContext InvokeSync(IExecutionContext executionContext)
 {
     _handler.InvokeSync(executionContext);
     return(executionContext.ResponseContext);
 }