MapWhenOptions.Predicate Property

The 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 Predicate As Func(Of IOwinContext, Boolean)
    Get 
    Set
'Usage
Dim instance As MapWhenOptions 
Dim value As Func(Of IOwinContext, Boolean)

value = instance.Predicate

instance.Predicate = value
public Func<IOwinContext, bool> Predicate { get; set; }
public:
property Func<IOwinContext^, bool>^ Predicate {
    Func<IOwinContext^, bool>^ get ();
    void set (Func<IOwinContext^, bool>^ value);
}
member Predicate : Func<IOwinContext, bool> with get, set
function get Predicate () : Func<IOwinContext, boolean>
function set Predicate (value : Func<IOwinContext, boolean>)

Property Value

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

See Also

Reference

MapWhenOptions Class

Microsoft.Owin.Mapping Namespace