Share via


MapWhenOptions.PredicateAsync Property

 

The async user callback that determines if the branch should be taken.

Namespace:   Microsoft.Owin.Mapping
Assembly:  Microsoft.Owin (in Microsoft.Owin.dll)

Syntax

public Func<IOwinContext, Task<bool>> PredicateAsync { get; set; }
public:
property Func<IOwinContext^, Task<bool>^>^ PredicateAsync {
    Func<IOwinContext^, Task<bool>^>^ get();
    void set(Func<IOwinContext^, Task<bool>^>^ value);
}
member PredicateAsync : Func<IOwinContext, Task<bool>> with get, set
Public Property PredicateAsync As Func(Of IOwinContext, Task(Of Boolean))

Property Value

Type: System.Func<IOwinContext, Task<Boolean>>

Returns Func<T, TResult>.

See Also

MapWhenOptions Class
Microsoft.Owin.Mapping Namespace

Return to top