DisableCorsAttribute Classe

Definição

Uma interface que pode ser usada para identificar um tipo que fornece metdata para desabilitar cors para um recurso.

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
Herança
DisableCorsAttribute
Atributos
Implementações

Construtores

DisableCorsAttribute()

Uma interface que pode ser usada para identificar um tipo que fornece metdata para desabilitar cors para um recurso.

Métodos

ToString()

Uma interface que pode ser usada para identificar um tipo que fornece metdata para desabilitar cors para um recurso.

Aplica-se a