CorsPolicy.IsOriginAllowed Propiedad

Definición

Obtiene o establece una función que evalúa si se permite un origen.

public:
 property Func<System::String ^, bool> ^ IsOriginAllowed { Func<System::String ^, bool> ^ get(); void set(Func<System::String ^, bool> ^ value); };
public Func<string,bool> IsOriginAllowed { get; set; }
member this.IsOriginAllowed : Func<string, bool> with get, set
Public Property IsOriginAllowed As Func(Of String, Boolean)

Valor de propiedad

Se aplica a