CorsPolicyProvider.PolicyResolver Property
A pluggable callback that will be used to select the CORS policy for the given requests.
Namespace: Microsoft.Owin.Cors
Assembly: Microsoft.Owin.Cors (in Microsoft.Owin.Cors.dll)
Syntax
public Func<IOwinRequest, Task<CorsPolicy>> PolicyResolver { get; set; }
public:
property Func<IOwinRequest^, Task<CorsPolicy^>^>^ PolicyResolver {
Func<IOwinRequest^, Task<CorsPolicy^>^>^ get();
void set(Func<IOwinRequest^, Task<CorsPolicy^>^>^ value);
}
member PolicyResolver : Func<IOwinRequest, Task<CorsPolicy>> with get, set
Public Property PolicyResolver As Func(Of IOwinRequest, Task(Of CorsPolicy))
Property Value
Type: System.Func<IOwinRequest, Task<CorsPolicy>>
Returns Func<T, TResult>.
See Also
CorsPolicyProvider Class
Microsoft.Owin.Cors Namespace
Return to top