RunExtensions RunExtensions Class

Extension methods for adding terminal middleware.

Syntax

Declaration

public static class RunExtensionsPublic Module RunExtensions

Inheritance Hierarchy

  • System.Object
    System.Object
  • RunExtensions
    RunExtensions

Inherited Members

ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Methods summary

Adds a terminal middleware delegate to the application's request pipeline.

Methods

  • Run(IApplicationBuilder, RequestDelegate)
    Run(IApplicationBuilder, RequestDelegate)
    Adds a terminal middleware delegate to the application's request pipeline.
    public static void Run(this IApplicationBuilder app, RequestDelegate handler)<ExtensionAttribute>
    Public Shared Sub Run(app As IApplicationBuilder, handler As RequestDelegate)

    Parameters

Details

Assembly

Microsoft.AspNetCore.Http.Abstractions.dll