Skip to content

Commit 61ced27

Browse files
Set 2.1 baselines
1 parent ebe067f commit 61ced27

File tree

4 files changed

+223
-99
lines changed

4 files changed

+223
-99
lines changed

src/Microsoft.AspNetCore.Localization.Routing/baseline.netcore.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"AssemblyIdentity": "Microsoft.AspNetCore.Localization.Routing, Version=2.0.2.0, Culture=neutral, PublicKeyToken=adb9793829ddae60",
2+
"AssemblyIdentity": "Microsoft.AspNetCore.Localization.Routing, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60",
33
"Types": [
44
{
55
"Name": "Microsoft.AspNetCore.Localization.Routing.RouteDataRequestCultureProvider",
@@ -8,6 +8,22 @@
88
"BaseType": "Microsoft.AspNetCore.Localization.RequestCultureProvider",
99
"ImplementedInterfaces": [],
1010
"Members": [
11+
{
12+
"Kind": "Method",
13+
"Name": "DetermineProviderCultureResult",
14+
"Parameters": [
15+
{
16+
"Name": "httpContext",
17+
"Type": "Microsoft.AspNetCore.Http.HttpContext"
18+
}
19+
],
20+
"ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Localization.ProviderCultureResult>",
21+
"Virtual": true,
22+
"Override": true,
23+
"ImplementedInterface": "Microsoft.AspNetCore.Localization.IRequestCultureProvider",
24+
"Visibility": "Public",
25+
"GenericParameter": []
26+
},
1127
{
1228
"Kind": "Method",
1329
"Name": "get_RouteDataStringKey",
@@ -50,22 +66,6 @@
5066
"Visibility": "Public",
5167
"GenericParameter": []
5268
},
53-
{
54-
"Kind": "Method",
55-
"Name": "DetermineProviderCultureResult",
56-
"Parameters": [
57-
{
58-
"Name": "httpContext",
59-
"Type": "Microsoft.AspNetCore.Http.HttpContext"
60-
}
61-
],
62-
"ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Localization.ProviderCultureResult>",
63-
"Virtual": true,
64-
"Override": true,
65-
"ImplementedInterface": "Microsoft.AspNetCore.Localization.IRequestCultureProvider",
66-
"Visibility": "Public",
67-
"GenericParameter": []
68-
},
6969
{
7070
"Kind": "Constructor",
7171
"Name": ".ctor",

src/Microsoft.AspNetCore.Localization/baseline.netcore.json

Lines changed: 145 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"AssemblyIdentity": "Microsoft.AspNetCore.Localization, Version=2.0.2.0, Culture=neutral, PublicKeyToken=adb9793829ddae60",
2+
"AssemblyIdentity": "Microsoft.AspNetCore.Localization, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60",
33
"Types": [
44
{
55
"Name": "Microsoft.AspNetCore.Builder.ApplicationBuilderExtensions",
@@ -43,6 +43,45 @@
4343
"Extension": true,
4444
"Visibility": "Public",
4545
"GenericParameter": []
46+
},
47+
{
48+
"Kind": "Method",
49+
"Name": "UseRequestLocalization",
50+
"Parameters": [
51+
{
52+
"Name": "app",
53+
"Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder"
54+
},
55+
{
56+
"Name": "optionsAction",
57+
"Type": "System.Action<Microsoft.AspNetCore.Builder.RequestLocalizationOptions>"
58+
}
59+
],
60+
"ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder",
61+
"Static": true,
62+
"Extension": true,
63+
"Visibility": "Public",
64+
"GenericParameter": []
65+
},
66+
{
67+
"Kind": "Method",
68+
"Name": "UseRequestLocalization",
69+
"Parameters": [
70+
{
71+
"Name": "app",
72+
"Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder"
73+
},
74+
{
75+
"Name": "cultures",
76+
"Type": "System.String[]",
77+
"IsParams": true
78+
}
79+
],
80+
"ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder",
81+
"Static": true,
82+
"Extension": true,
83+
"Visibility": "Public",
84+
"GenericParameter": []
4685
}
4786
],
4887
"GenericParameters": []
@@ -179,6 +218,47 @@
179218
"Visibility": "Public",
180219
"GenericParameter": []
181220
},
221+
{
222+
"Kind": "Method",
223+
"Name": "AddSupportedCultures",
224+
"Parameters": [
225+
{
226+
"Name": "cultures",
227+
"Type": "System.String[]",
228+
"IsParams": true
229+
}
230+
],
231+
"ReturnType": "Microsoft.AspNetCore.Builder.RequestLocalizationOptions",
232+
"Visibility": "Public",
233+
"GenericParameter": []
234+
},
235+
{
236+
"Kind": "Method",
237+
"Name": "AddSupportedUICultures",
238+
"Parameters": [
239+
{
240+
"Name": "uiCultures",
241+
"Type": "System.String[]",
242+
"IsParams": true
243+
}
244+
],
245+
"ReturnType": "Microsoft.AspNetCore.Builder.RequestLocalizationOptions",
246+
"Visibility": "Public",
247+
"GenericParameter": []
248+
},
249+
{
250+
"Kind": "Method",
251+
"Name": "SetDefaultCulture",
252+
"Parameters": [
253+
{
254+
"Name": "defaultCulture",
255+
"Type": "System.String"
256+
}
257+
],
258+
"ReturnType": "Microsoft.AspNetCore.Builder.RequestLocalizationOptions",
259+
"Visibility": "Public",
260+
"GenericParameter": []
261+
},
182262
{
183263
"Kind": "Constructor",
184264
"Name": ".ctor",
@@ -196,6 +276,22 @@
196276
"BaseType": "Microsoft.AspNetCore.Localization.RequestCultureProvider",
197277
"ImplementedInterfaces": [],
198278
"Members": [
279+
{
280+
"Kind": "Method",
281+
"Name": "DetermineProviderCultureResult",
282+
"Parameters": [
283+
{
284+
"Name": "httpContext",
285+
"Type": "Microsoft.AspNetCore.Http.HttpContext"
286+
}
287+
],
288+
"ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Localization.ProviderCultureResult>",
289+
"Virtual": true,
290+
"Override": true,
291+
"ImplementedInterface": "Microsoft.AspNetCore.Localization.IRequestCultureProvider",
292+
"Visibility": "Public",
293+
"GenericParameter": []
294+
},
199295
{
200296
"Kind": "Method",
201297
"Name": "get_MaximumAcceptLanguageHeaderValuesToTry",
@@ -217,22 +313,6 @@
217313
"Visibility": "Public",
218314
"GenericParameter": []
219315
},
220-
{
221-
"Kind": "Method",
222-
"Name": "DetermineProviderCultureResult",
223-
"Parameters": [
224-
{
225-
"Name": "httpContext",
226-
"Type": "Microsoft.AspNetCore.Http.HttpContext"
227-
}
228-
],
229-
"ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Localization.ProviderCultureResult>",
230-
"Virtual": true,
231-
"Override": true,
232-
"ImplementedInterface": "Microsoft.AspNetCore.Localization.IRequestCultureProvider",
233-
"Visibility": "Public",
234-
"GenericParameter": []
235-
},
236316
{
237317
"Kind": "Constructor",
238318
"Name": ".ctor",
@@ -250,6 +330,22 @@
250330
"BaseType": "Microsoft.AspNetCore.Localization.RequestCultureProvider",
251331
"ImplementedInterfaces": [],
252332
"Members": [
333+
{
334+
"Kind": "Method",
335+
"Name": "DetermineProviderCultureResult",
336+
"Parameters": [
337+
{
338+
"Name": "httpContext",
339+
"Type": "Microsoft.AspNetCore.Http.HttpContext"
340+
}
341+
],
342+
"ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Localization.ProviderCultureResult>",
343+
"Virtual": true,
344+
"Override": true,
345+
"ImplementedInterface": "Microsoft.AspNetCore.Localization.IRequestCultureProvider",
346+
"Visibility": "Public",
347+
"GenericParameter": []
348+
},
253349
{
254350
"Kind": "Method",
255351
"Name": "get_CookieName",
@@ -271,22 +367,6 @@
271367
"Visibility": "Public",
272368
"GenericParameter": []
273369
},
274-
{
275-
"Kind": "Method",
276-
"Name": "DetermineProviderCultureResult",
277-
"Parameters": [
278-
{
279-
"Name": "httpContext",
280-
"Type": "Microsoft.AspNetCore.Http.HttpContext"
281-
}
282-
],
283-
"ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Localization.ProviderCultureResult>",
284-
"Virtual": true,
285-
"Override": true,
286-
"ImplementedInterface": "Microsoft.AspNetCore.Localization.IRequestCultureProvider",
287-
"Visibility": "Public",
288-
"GenericParameter": []
289-
},
290370
{
291371
"Kind": "Method",
292372
"Name": "MakeCookieValue",
@@ -507,6 +587,22 @@
507587
"BaseType": "Microsoft.AspNetCore.Localization.RequestCultureProvider",
508588
"ImplementedInterfaces": [],
509589
"Members": [
590+
{
591+
"Kind": "Method",
592+
"Name": "DetermineProviderCultureResult",
593+
"Parameters": [
594+
{
595+
"Name": "httpContext",
596+
"Type": "Microsoft.AspNetCore.Http.HttpContext"
597+
}
598+
],
599+
"ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Localization.ProviderCultureResult>",
600+
"Virtual": true,
601+
"Override": true,
602+
"ImplementedInterface": "Microsoft.AspNetCore.Localization.IRequestCultureProvider",
603+
"Visibility": "Public",
604+
"GenericParameter": []
605+
},
510606
{
511607
"Kind": "Method",
512608
"Name": "get_QueryStringKey",
@@ -549,22 +645,6 @@
549645
"Visibility": "Public",
550646
"GenericParameter": []
551647
},
552-
{
553-
"Kind": "Method",
554-
"Name": "DetermineProviderCultureResult",
555-
"Parameters": [
556-
{
557-
"Name": "httpContext",
558-
"Type": "Microsoft.AspNetCore.Http.HttpContext"
559-
}
560-
],
561-
"ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Localization.ProviderCultureResult>",
562-
"Virtual": true,
563-
"Override": true,
564-
"ImplementedInterface": "Microsoft.AspNetCore.Localization.IRequestCultureProvider",
565-
"Visibility": "Public",
566-
"GenericParameter": []
567-
},
568648
{
569649
"Kind": "Constructor",
570650
"Name": ".ctor",
@@ -714,6 +794,22 @@
714794
"Microsoft.AspNetCore.Localization.IRequestCultureProvider"
715795
],
716796
"Members": [
797+
{
798+
"Kind": "Method",
799+
"Name": "DetermineProviderCultureResult",
800+
"Parameters": [
801+
{
802+
"Name": "httpContext",
803+
"Type": "Microsoft.AspNetCore.Http.HttpContext"
804+
}
805+
],
806+
"ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Localization.ProviderCultureResult>",
807+
"Virtual": true,
808+
"Abstract": true,
809+
"ImplementedInterface": "Microsoft.AspNetCore.Localization.IRequestCultureProvider",
810+
"Visibility": "Public",
811+
"GenericParameter": []
812+
},
717813
{
718814
"Kind": "Method",
719815
"Name": "get_Options",
@@ -735,22 +831,6 @@
735831
"Visibility": "Public",
736832
"GenericParameter": []
737833
},
738-
{
739-
"Kind": "Method",
740-
"Name": "DetermineProviderCultureResult",
741-
"Parameters": [
742-
{
743-
"Name": "httpContext",
744-
"Type": "Microsoft.AspNetCore.Http.HttpContext"
745-
}
746-
],
747-
"ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Localization.ProviderCultureResult>",
748-
"Virtual": true,
749-
"Abstract": true,
750-
"ImplementedInterface": "Microsoft.AspNetCore.Localization.IRequestCultureProvider",
751-
"Visibility": "Public",
752-
"GenericParameter": []
753-
},
754834
{
755835
"Kind": "Constructor",
756836
"Name": ".ctor",

src/Microsoft.Extensions.Localization.Abstractions/baseline.netcore.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"AssemblyIdentity": "Microsoft.Extensions.Localization.Abstractions, Version=2.0.2.0, Culture=neutral, PublicKeyToken=adb9793829ddae60",
2+
"AssemblyIdentity": "Microsoft.Extensions.Localization.Abstractions, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60",
33
"Types": [
44
{
55
"Name": "Microsoft.Extensions.Localization.IStringLocalizer",
@@ -322,21 +322,6 @@
322322
"Microsoft.Extensions.Localization.IStringLocalizer<T0>"
323323
],
324324
"Members": [
325-
{
326-
"Kind": "Method",
327-
"Name": "WithCulture",
328-
"Parameters": [
329-
{
330-
"Name": "culture",
331-
"Type": "System.Globalization.CultureInfo"
332-
}
333-
],
334-
"ReturnType": "Microsoft.Extensions.Localization.IStringLocalizer",
335-
"Virtual": true,
336-
"ImplementedInterface": "Microsoft.Extensions.Localization.IStringLocalizer",
337-
"Visibility": "Public",
338-
"GenericParameter": []
339-
},
340325
{
341326
"Kind": "Method",
342327
"Name": "get_Item",
@@ -388,6 +373,21 @@
388373
"Visibility": "Public",
389374
"GenericParameter": []
390375
},
376+
{
377+
"Kind": "Method",
378+
"Name": "WithCulture",
379+
"Parameters": [
380+
{
381+
"Name": "culture",
382+
"Type": "System.Globalization.CultureInfo"
383+
}
384+
],
385+
"ReturnType": "Microsoft.Extensions.Localization.IStringLocalizer",
386+
"Virtual": true,
387+
"ImplementedInterface": "Microsoft.Extensions.Localization.IStringLocalizer",
388+
"Visibility": "Public",
389+
"GenericParameter": []
390+
},
391391
{
392392
"Kind": "Constructor",
393393
"Name": ".ctor",

0 commit comments

Comments
 (0)