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
| Name | Type | Access | In Ring |
|---|---|---|---|
Policy | CorsPolicy | read | o.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
| Method | Ring call | .NET overloads |
|---|---|---|
ToString | callMethod("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
| Name | Type | Access | In Ring |
|---|---|---|---|
PolicyName | string | read, write | o.PolicyName o.PolicyName = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ToString | callMethod("ToString",[]) | string ToString() |
Members of the base class are inherited.