Owin.Builder.AppBuilder.Build C# (CSharp) Method

Build() public method

The Build is called at the point when all of the middleware should be chained together. This is typically done by the hosting component which created the app builder, and does not need to be called by the startup method if the IAppBuilder is passed in.
public Build ( Type returnType ) : object
returnType System.Type /// The Type argument indicates which calling convention should be returned, and /// is typically typeof() for the OWIN /// calling convention. ///
return object
        public object Build(Type returnType)
        {
            return BuildInternal(returnType);
        }

Usage Example

Ejemplo n.º 1
0
 private void Call(Action<IAppBuilder> pipe, Request request)
 {
     var builder = new AppBuilder();
     pipe(builder);
     var app = (AppFunc)builder.Build(typeof(AppFunc));
     app(request.Environment).Wait();
 }
All Usage Examples Of Owin.Builder.AppBuilder::Build