Share via


IEnableCorsAttribute Interface

Definition

An interface which can be used to identify a type which provides metadata needed for enabling CORS support.

public interface class IEnableCorsAttribute
public interface class IEnableCorsAttribute : Microsoft::AspNetCore::Cors::Infrastructure::ICorsMetadata
public interface IEnableCorsAttribute
public interface IEnableCorsAttribute : Microsoft.AspNetCore.Cors.Infrastructure.ICorsMetadata
type IEnableCorsAttribute = interface
type IEnableCorsAttribute = interface
    interface ICorsMetadata
Public Interface IEnableCorsAttribute
Public Interface IEnableCorsAttribute
Implements ICorsMetadata
Derived
Implements

Properties

PolicyName

The name of the policy which needs to be applied.

Applies to