DisableCorsAttribute Класс

Определение

Интерфейс, который можно использовать для идентификации типа, предоставляющего метданные для отключения cors для ресурса.

public ref class DisableCorsAttribute : Attribute, Microsoft::AspNetCore::Cors::Infrastructure::IDisableCorsAttribute
public ref class DisableCorsAttribute : Attribute, Microsoft::AspNetCore::Cors::Infrastructure::ICorsMetadata, Microsoft::AspNetCore::Cors::Infrastructure::IDisableCorsAttribute
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)]
public class DisableCorsAttribute : Attribute, Microsoft.AspNetCore.Cors.Infrastructure.IDisableCorsAttribute
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)]
public class DisableCorsAttribute : Attribute, Microsoft.AspNetCore.Cors.Infrastructure.ICorsMetadata, Microsoft.AspNetCore.Cors.Infrastructure.IDisableCorsAttribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)>]
type DisableCorsAttribute = class
    inherit Attribute
    interface IDisableCorsAttribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)>]
type DisableCorsAttribute = class
    inherit Attribute
    interface ICorsMetadata
    interface IDisableCorsAttribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)>]
type DisableCorsAttribute = class
    inherit Attribute
    interface IDisableCorsAttribute
    interface ICorsMetadata
Public Class DisableCorsAttribute
Inherits Attribute
Implements IDisableCorsAttribute
Public Class DisableCorsAttribute
Inherits Attribute
Implements ICorsMetadata, IDisableCorsAttribute
Наследование
DisableCorsAttribute
Атрибуты
Реализации

Конструкторы

DisableCorsAttribute()

Интерфейс, который можно использовать для идентификации типа, предоставляющего метданные для отключения cors для ресурса.

Методы

ToString()

Интерфейс, который можно использовать для идентификации типа, предоставляющего метданные для отключения cors для ресурса.

Применяется к