Skip to content
This repository was archived by the owner on Dec 19, 2018. It is now read-only.

Commit e127224

Browse files
committed
Update API check baselines to 2.0
1 parent 941a6eb commit e127224

File tree

10 files changed

+2484
-327
lines changed

10 files changed

+2484
-327
lines changed

src/Microsoft.AspNetCore.Hosting.Abstractions/baseline.netcore.json

Lines changed: 226 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"AssemblyIdentity": "Microsoft.AspNetCore.Hosting.Abstractions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60",
2+
"AssemblyIdentity": "Microsoft.AspNetCore.Hosting.Abstractions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60",
33
"Types": [
44
{
55
"Name": "Microsoft.AspNetCore.Hosting.EnvironmentName",
@@ -205,6 +205,44 @@
205205
"Visibility": "Public",
206206
"GenericParameter": []
207207
},
208+
{
209+
"Kind": "Method",
210+
"Name": "PreferHostingUrls",
211+
"Parameters": [
212+
{
213+
"Name": "hostBuilder",
214+
"Type": "Microsoft.AspNetCore.Hosting.IWebHostBuilder"
215+
},
216+
{
217+
"Name": "preferHostingUrls",
218+
"Type": "System.Boolean"
219+
}
220+
],
221+
"ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder",
222+
"Static": true,
223+
"Extension": true,
224+
"Visibility": "Public",
225+
"GenericParameter": []
226+
},
227+
{
228+
"Kind": "Method",
229+
"Name": "UseShutdownTimeout",
230+
"Parameters": [
231+
{
232+
"Name": "hostBuilder",
233+
"Type": "Microsoft.AspNetCore.Hosting.IWebHostBuilder"
234+
},
235+
{
236+
"Name": "timeout",
237+
"Type": "System.TimeSpan"
238+
}
239+
],
240+
"ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder",
241+
"Static": true,
242+
"Extension": true,
243+
"Visibility": "Public",
244+
"GenericParameter": []
245+
},
208246
{
209247
"Kind": "Method",
210248
"Name": "Start",
@@ -304,6 +342,37 @@
304342
],
305343
"GenericParameters": []
306344
},
345+
{
346+
"Name": "Microsoft.AspNetCore.Hosting.HostingStartupAttribute",
347+
"Visibility": "Public",
348+
"Kind": "Class",
349+
"Sealed": true,
350+
"BaseType": "System.Attribute",
351+
"ImplementedInterfaces": [],
352+
"Members": [
353+
{
354+
"Kind": "Method",
355+
"Name": "get_HostingStartupType",
356+
"Parameters": [],
357+
"ReturnType": "System.Type",
358+
"Visibility": "Public",
359+
"GenericParameter": []
360+
},
361+
{
362+
"Kind": "Constructor",
363+
"Name": ".ctor",
364+
"Parameters": [
365+
{
366+
"Name": "hostingStartupType",
367+
"Type": "System.Type"
368+
}
369+
],
370+
"Visibility": "Public",
371+
"GenericParameter": []
372+
}
373+
],
374+
"GenericParameters": []
375+
},
307376
{
308377
"Name": "Microsoft.AspNetCore.Hosting.IApplicationLifetime",
309378
"Visibility": "Public",
@@ -466,6 +535,28 @@
466535
],
467536
"GenericParameters": []
468537
},
538+
{
539+
"Name": "Microsoft.AspNetCore.Hosting.IHostingStartup",
540+
"Visibility": "Public",
541+
"Kind": "Interface",
542+
"Abstract": true,
543+
"ImplementedInterfaces": [],
544+
"Members": [
545+
{
546+
"Kind": "Method",
547+
"Name": "Configure",
548+
"Parameters": [
549+
{
550+
"Name": "builder",
551+
"Type": "Microsoft.AspNetCore.Hosting.IWebHostBuilder"
552+
}
553+
],
554+
"ReturnType": "System.Void",
555+
"GenericParameter": []
556+
}
557+
],
558+
"GenericParameters": []
559+
},
469560
{
470561
"Name": "Microsoft.AspNetCore.Hosting.IStartup",
471562
"Visibility": "Public",
@@ -551,6 +642,32 @@
551642
"Parameters": [],
552643
"ReturnType": "System.Void",
553644
"GenericParameter": []
645+
},
646+
{
647+
"Kind": "Method",
648+
"Name": "StartAsync",
649+
"Parameters": [
650+
{
651+
"Name": "cancellationToken",
652+
"Type": "System.Threading.CancellationToken",
653+
"DefaultValue": "default(System.Threading.CancellationToken)"
654+
}
655+
],
656+
"ReturnType": "System.Threading.Tasks.Task",
657+
"GenericParameter": []
658+
},
659+
{
660+
"Kind": "Method",
661+
"Name": "StopAsync",
662+
"Parameters": [
663+
{
664+
"Name": "cancellationToken",
665+
"Type": "System.Threading.CancellationToken",
666+
"DefaultValue": "default(System.Threading.CancellationToken)"
667+
}
668+
],
669+
"ReturnType": "System.Threading.Tasks.Task",
670+
"GenericParameter": []
554671
}
555672
],
556673
"GenericParameters": []
@@ -571,11 +688,11 @@
571688
},
572689
{
573690
"Kind": "Method",
574-
"Name": "UseLoggerFactory",
691+
"Name": "ConfigureAppConfiguration",
575692
"Parameters": [
576693
{
577-
"Name": "loggerFactory",
578-
"Type": "Microsoft.Extensions.Logging.ILoggerFactory"
694+
"Name": "configureDelegate",
695+
"Type": "System.Action<Microsoft.AspNetCore.Hosting.WebHostBuilderContext, Microsoft.Extensions.Configuration.IConfigurationBuilder>"
579696
}
580697
],
581698
"ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder",
@@ -595,16 +712,28 @@
595712
},
596713
{
597714
"Kind": "Method",
598-
"Name": "ConfigureLogging",
715+
"Name": "ConfigureServices",
599716
"Parameters": [
600717
{
601-
"Name": "configureLogging",
602-
"Type": "System.Action<Microsoft.Extensions.Logging.ILoggerFactory>"
718+
"Name": "configureServices",
719+
"Type": "System.Action<Microsoft.AspNetCore.Hosting.WebHostBuilderContext, Microsoft.Extensions.DependencyInjection.IServiceCollection>"
603720
}
604721
],
605722
"ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder",
606723
"GenericParameter": []
607724
},
725+
{
726+
"Kind": "Method",
727+
"Name": "GetSetting",
728+
"Parameters": [
729+
{
730+
"Name": "key",
731+
"Type": "System.String"
732+
}
733+
],
734+
"ReturnType": "System.String",
735+
"GenericParameter": []
736+
},
608737
{
609738
"Kind": "Method",
610739
"Name": "UseSetting",
@@ -620,17 +749,63 @@
620749
],
621750
"ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder",
622751
"GenericParameter": []
752+
}
753+
],
754+
"GenericParameters": []
755+
},
756+
{
757+
"Name": "Microsoft.AspNetCore.Hosting.WebHostBuilderContext",
758+
"Visibility": "Public",
759+
"Kind": "Class",
760+
"ImplementedInterfaces": [],
761+
"Members": [
762+
{
763+
"Kind": "Method",
764+
"Name": "get_HostingEnvironment",
765+
"Parameters": [],
766+
"ReturnType": "Microsoft.AspNetCore.Hosting.IHostingEnvironment",
767+
"Visibility": "Public",
768+
"GenericParameter": []
623769
},
624770
{
625771
"Kind": "Method",
626-
"Name": "GetSetting",
772+
"Name": "set_HostingEnvironment",
627773
"Parameters": [
628774
{
629-
"Name": "key",
630-
"Type": "System.String"
775+
"Name": "value",
776+
"Type": "Microsoft.AspNetCore.Hosting.IHostingEnvironment"
631777
}
632778
],
633-
"ReturnType": "System.String",
779+
"ReturnType": "System.Void",
780+
"Visibility": "Public",
781+
"GenericParameter": []
782+
},
783+
{
784+
"Kind": "Method",
785+
"Name": "get_Configuration",
786+
"Parameters": [],
787+
"ReturnType": "Microsoft.Extensions.Configuration.IConfiguration",
788+
"Visibility": "Public",
789+
"GenericParameter": []
790+
},
791+
{
792+
"Kind": "Method",
793+
"Name": "set_Configuration",
794+
"Parameters": [
795+
{
796+
"Name": "value",
797+
"Type": "Microsoft.Extensions.Configuration.IConfiguration"
798+
}
799+
],
800+
"ReturnType": "System.Void",
801+
"Visibility": "Public",
802+
"GenericParameter": []
803+
},
804+
{
805+
"Kind": "Constructor",
806+
"Name": ".ctor",
807+
"Parameters": [],
808+
"Visibility": "Public",
634809
"GenericParameter": []
635810
}
636811
],
@@ -665,6 +840,16 @@
665840
"Visibility": "Public",
666841
"GenericParameter": []
667842
},
843+
{
844+
"Kind": "Field",
845+
"Name": "HostingStartupAssembliesKey",
846+
"Parameters": [],
847+
"ReturnType": "System.String",
848+
"Static": true,
849+
"ReadOnly": true,
850+
"Visibility": "Public",
851+
"GenericParameter": []
852+
},
668853
{
669854
"Kind": "Field",
670855
"Name": "DetailedErrorsKey",
@@ -724,6 +909,36 @@
724909
"ReadOnly": true,
725910
"Visibility": "Public",
726911
"GenericParameter": []
912+
},
913+
{
914+
"Kind": "Field",
915+
"Name": "PreferHostingUrlsKey",
916+
"Parameters": [],
917+
"ReturnType": "System.String",
918+
"Static": true,
919+
"ReadOnly": true,
920+
"Visibility": "Public",
921+
"GenericParameter": []
922+
},
923+
{
924+
"Kind": "Field",
925+
"Name": "PreventHostingStartupKey",
926+
"Parameters": [],
927+
"ReturnType": "System.String",
928+
"Static": true,
929+
"ReadOnly": true,
930+
"Visibility": "Public",
931+
"GenericParameter": []
932+
},
933+
{
934+
"Kind": "Field",
935+
"Name": "ShutdownTimeoutKey",
936+
"Parameters": [],
937+
"ReturnType": "System.String",
938+
"Static": true,
939+
"ReadOnly": true,
940+
"Visibility": "Public",
941+
"GenericParameter": []
727942
}
728943
],
729944
"GenericParameters": []

src/Microsoft.AspNetCore.Hosting.Abstractions/breakingchanges.netcore.json

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)