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

'Declaration
Public Property PredicateAsync As Func(Of IOwinContext, Task(Of Boolean))
    Get 
    Set
'Usage
Dim instance As MapWhenOptions 
Dim value As Func(Of IOwinContext, Task(Of Boolean))

value = instance.PredicateAsync

instance.PredicateAsync = value
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
function get PredicateAsync () : Func<IOwinContext, Task<boolean>>
function set PredicateAsync (value : Func<IOwinContext, Task<boolean>>)

Property Value

Type: System.Func<IOwinContext, Task<Boolean>>
Returns Func<T, TResult>.

See Also

Reference

MapWhenOptions Class

Microsoft.Owin.Mapping Namespace