IEnableCorsAttribute Interface  
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An interface which can be used to identify a type which provides metadata needed for enabling CORS support.
public interface class IEnableCorsAttributepublic interface class IEnableCorsAttribute : Microsoft::AspNetCore::Cors::Infrastructure::ICorsMetadatapublic interface IEnableCorsAttributepublic interface IEnableCorsAttribute : Microsoft.AspNetCore.Cors.Infrastructure.ICorsMetadatatype IEnableCorsAttribute = interfacetype IEnableCorsAttribute = interface
    interface ICorsMetadataPublic Interface IEnableCorsAttributePublic Interface IEnableCorsAttribute
Implements ICorsMetadata- Derived
- Implements
Properties
| PolicyName | The name of the policy which needs to be applied. |