This commit is contained in:
Ryan Brandenburg 2018-06-13 10:53:25 -07:00
Родитель 9100dbaaa6
Коммит 01ee9cbc80
1 изменённых файлов: 69 добавлений и 1 удалений

Просмотреть файл

@ -1,5 +1,5 @@
{ {
"AssemblyIdentity": "Microsoft.AspNetCore.Cors, Version=2.0.2.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", "AssemblyIdentity": "Microsoft.AspNetCore.Cors, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60",
"Types": [ "Types": [
{ {
"Name": "Microsoft.AspNetCore.Builder.CorsMiddlewareExtensions", "Name": "Microsoft.AspNetCore.Builder.CorsMiddlewareExtensions",
@ -10,6 +10,21 @@
"Sealed": true, "Sealed": true,
"ImplementedInterfaces": [], "ImplementedInterfaces": [],
"Members": [ "Members": [
{
"Kind": "Method",
"Name": "UseCors",
"Parameters": [
{
"Name": "app",
"Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder"
}
],
"ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder",
"Static": true,
"Extension": true,
"Visibility": "Public",
"GenericParameter": []
},
{ {
"Kind": "Method", "Kind": "Method",
"Name": "UseCors", "Name": "UseCors",
@ -106,6 +121,13 @@
"Visibility": "Public", "Visibility": "Public",
"GenericParameter": [] "GenericParameter": []
}, },
{
"Kind": "Constructor",
"Name": ".ctor",
"Parameters": [],
"Visibility": "Public",
"GenericParameter": []
},
{ {
"Kind": "Constructor", "Kind": "Constructor",
"Name": ".ctor", "Name": ".ctor",
@ -262,6 +284,26 @@
"Visibility": "Public", "Visibility": "Public",
"GenericParameter": [] "GenericParameter": []
}, },
{
"Kind": "Constructor",
"Name": ".ctor",
"Parameters": [
{
"Name": "next",
"Type": "Microsoft.AspNetCore.Http.RequestDelegate"
},
{
"Name": "corsService",
"Type": "Microsoft.AspNetCore.Cors.Infrastructure.ICorsService"
},
{
"Name": "policyProvider",
"Type": "Microsoft.AspNetCore.Cors.Infrastructure.ICorsPolicyProvider"
}
],
"Visibility": "Public",
"GenericParameter": []
},
{ {
"Kind": "Constructor", "Kind": "Constructor",
"Name": ".ctor", "Name": ".ctor",
@ -336,6 +378,32 @@
"Visibility": "Public", "Visibility": "Public",
"GenericParameter": [] "GenericParameter": []
}, },
{
"Kind": "Method",
"Name": "AddDefaultPolicy",
"Parameters": [
{
"Name": "policy",
"Type": "Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy"
}
],
"ReturnType": "System.Void",
"Visibility": "Public",
"GenericParameter": []
},
{
"Kind": "Method",
"Name": "AddDefaultPolicy",
"Parameters": [
{
"Name": "configurePolicy",
"Type": "System.Action<Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder>"
}
],
"ReturnType": "System.Void",
"Visibility": "Public",
"GenericParameter": []
},
{ {
"Kind": "Method", "Kind": "Method",
"Name": "AddPolicy", "Name": "AddPolicy",