Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class Microsoft.​AspNetCore.​Builder.​Extensions.​MapWhenOptions
Assembly: Microsoft.AspNetCore.Http.Abstractions
Inheritance: object → MapWhenOptions
Options for the <see cref="T:Microsoft.AspNetCore.Builder.Extensions.MapWhenMiddleware" /> .
Properties
public
System.​Func<​Http.​HttpContext, bool>
Predicate
The user callback that determines if the branch should be taken.
Branch
The branch taken for a positive match.
Methods
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object