MapOptions Class

Options for the Microsoft.AspNetCore.Builder.Extensions.MapMiddleware.

Namespace
Microsoft.AspNetCore.Builder.Extensions
Assemblies
  • Microsoft.AspNetCore.Http.Abstractions

Syntax

public class MapOptions
class Microsoft.AspNetCore.Builder.Extensions.MapOptions

Properties

Microsoft.AspNetCore.Builder.Extensions.MapOptions.Branch

The branch taken for a positive match.

Return type:Microsoft.AspNetCore.Http.RequestDelegate
public RequestDelegate Branch { get; set; }
Microsoft.AspNetCore.Builder.Extensions.MapOptions.PathMatch

The path to match.

Return type:Microsoft.AspNetCore.Http.PathString
public PathString PathMatch { get; set; }