AttributeBasedPolicyProviderFactory Class

 

An implementation of ICorsPolicyProviderFactory that returns the ICorsPolicyProvider from the controller or action attribute.

Namespace:   System.Web.Http.Cors
Assembly:  System.Web.Http.Cors (in System.Web.Http.Cors.dll)

System::Object
  System.Web.Http.Cors::AttributeBasedPolicyProviderFactory

public ref class AttributeBasedPolicyProviderFactory : ICorsPolicyProviderFactory

NameDescription
System_CAPS_pubmethodAttributeBasedPolicyProviderFactory()

Initializes a new instance of the AttributeBasedPolicyProviderFactory class.

NameDescription
System_CAPS_pubpropertyDefaultPolicyProvider

Gets or sets the default ICorsPolicyProvider.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetCorsPolicyProvider(HttpRequestMessage^)

Gets the ICorsPolicyProvider for the request.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: