RingDotNetfor Ring

Microsoft.AspNetCore.Cors

3 wrapped types. Load them with using { "Microsoft.AspNetCore.Cors" }. Click a class to open it.

CorsPolicyMetadata class

Microsoft.AspNetCore.Cors.CorsPolicyMetadata · assembly Microsoft.AspNetCore.Cors

Constructors

new CorsPolicyMetadata(CorsPolicy policy)

Ring: new CorsPolicyMetadata(args) uses one constructor; the others are chosen by the parameter names: new CorsPolicyMetadata().@New([ :param = value ]) or dnNew("CorsPolicyMetadata",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
PolicyCorsPolicyreado.Policy
DisableCorsAttribute class · extends Attribute

Microsoft.AspNetCore.Cors.DisableCorsAttribute · assembly Microsoft.AspNetCore.Cors

Constructors

new DisableCorsAttribute()

Ring: new DisableCorsAttribute(args) uses one constructor; the others are chosen by the parameter names: new DisableCorsAttribute().@New([ :param = value ]) or dnNew("DisableCorsAttribute",[ :param = value ]).

Methods

MethodRing call.NET overloads
ToStringcallMethod("ToString",[])string ToString()

Members of the base class are inherited.

EnableCorsAttribute class · extends Attribute

Microsoft.AspNetCore.Cors.EnableCorsAttribute · assembly Microsoft.AspNetCore.Cors

Constructors

new EnableCorsAttribute()
new EnableCorsAttribute(string policyName)

Ring: new EnableCorsAttribute(args) uses one constructor; the others are chosen by the parameter names: new EnableCorsAttribute().@New([ :param = value ]) or dnNew("EnableCorsAttribute",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
PolicyNamestringread, writeo.PolicyName o.PolicyName = v

Methods

MethodRing call.NET overloads
ToStringcallMethod("ToString",[])string ToString()

Members of the base class are inherited.