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

Commit

Permalink
Update API check baselines to 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
javiercn committed Sep 23, 2017
1 parent 941a6eb commit e127224
Show file tree
Hide file tree
Showing 10 changed files with 2,484 additions and 327 deletions.
237 changes: 226 additions & 11 deletions src/Microsoft.AspNetCore.Hosting.Abstractions/baseline.netcore.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"AssemblyIdentity": "Microsoft.AspNetCore.Hosting.Abstractions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60",
"AssemblyIdentity": "Microsoft.AspNetCore.Hosting.Abstractions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60",
"Types": [
{
"Name": "Microsoft.AspNetCore.Hosting.EnvironmentName",
Expand Down Expand Up @@ -205,6 +205,44 @@
"Visibility": "Public",
"GenericParameter": []
},
{
"Kind": "Method",
"Name": "PreferHostingUrls",
"Parameters": [
{
"Name": "hostBuilder",
"Type": "Microsoft.AspNetCore.Hosting.IWebHostBuilder"
},
{
"Name": "preferHostingUrls",
"Type": "System.Boolean"
}
],
"ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder",
"Static": true,
"Extension": true,
"Visibility": "Public",
"GenericParameter": []
},
{
"Kind": "Method",
"Name": "UseShutdownTimeout",
"Parameters": [
{
"Name": "hostBuilder",
"Type": "Microsoft.AspNetCore.Hosting.IWebHostBuilder"
},
{
"Name": "timeout",
"Type": "System.TimeSpan"
}
],
"ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder",
"Static": true,
"Extension": true,
"Visibility": "Public",
"GenericParameter": []
},
{
"Kind": "Method",
"Name": "Start",
Expand Down Expand Up @@ -304,6 +342,37 @@
],
"GenericParameters": []
},
{
"Name": "Microsoft.AspNetCore.Hosting.HostingStartupAttribute",
"Visibility": "Public",
"Kind": "Class",
"Sealed": true,
"BaseType": "System.Attribute",
"ImplementedInterfaces": [],
"Members": [
{
"Kind": "Method",
"Name": "get_HostingStartupType",
"Parameters": [],
"ReturnType": "System.Type",
"Visibility": "Public",
"GenericParameter": []
},
{
"Kind": "Constructor",
"Name": ".ctor",
"Parameters": [
{
"Name": "hostingStartupType",
"Type": "System.Type"
}
],
"Visibility": "Public",
"GenericParameter": []
}
],
"GenericParameters": []
},
{
"Name": "Microsoft.AspNetCore.Hosting.IApplicationLifetime",
"Visibility": "Public",
Expand Down Expand Up @@ -466,6 +535,28 @@
],
"GenericParameters": []
},
{
"Name": "Microsoft.AspNetCore.Hosting.IHostingStartup",
"Visibility": "Public",
"Kind": "Interface",
"Abstract": true,
"ImplementedInterfaces": [],
"Members": [
{
"Kind": "Method",
"Name": "Configure",
"Parameters": [
{
"Name": "builder",
"Type": "Microsoft.AspNetCore.Hosting.IWebHostBuilder"
}
],
"ReturnType": "System.Void",
"GenericParameter": []
}
],
"GenericParameters": []
},
{
"Name": "Microsoft.AspNetCore.Hosting.IStartup",
"Visibility": "Public",
Expand Down Expand Up @@ -551,6 +642,32 @@
"Parameters": [],
"ReturnType": "System.Void",
"GenericParameter": []
},
{
"Kind": "Method",
"Name": "StartAsync",
"Parameters": [
{
"Name": "cancellationToken",
"Type": "System.Threading.CancellationToken",
"DefaultValue": "default(System.Threading.CancellationToken)"
}
],
"ReturnType": "System.Threading.Tasks.Task",
"GenericParameter": []
},
{
"Kind": "Method",
"Name": "StopAsync",
"Parameters": [
{
"Name": "cancellationToken",
"Type": "System.Threading.CancellationToken",
"DefaultValue": "default(System.Threading.CancellationToken)"
}
],
"ReturnType": "System.Threading.Tasks.Task",
"GenericParameter": []
}
],
"GenericParameters": []
Expand All @@ -571,11 +688,11 @@
},
{
"Kind": "Method",
"Name": "UseLoggerFactory",
"Name": "ConfigureAppConfiguration",
"Parameters": [
{
"Name": "loggerFactory",
"Type": "Microsoft.Extensions.Logging.ILoggerFactory"
"Name": "configureDelegate",
"Type": "System.Action<Microsoft.AspNetCore.Hosting.WebHostBuilderContext, Microsoft.Extensions.Configuration.IConfigurationBuilder>"
}
],
"ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder",
Expand All @@ -595,16 +712,28 @@
},
{
"Kind": "Method",
"Name": "ConfigureLogging",
"Name": "ConfigureServices",
"Parameters": [
{
"Name": "configureLogging",
"Type": "System.Action<Microsoft.Extensions.Logging.ILoggerFactory>"
"Name": "configureServices",
"Type": "System.Action<Microsoft.AspNetCore.Hosting.WebHostBuilderContext, Microsoft.Extensions.DependencyInjection.IServiceCollection>"
}
],
"ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder",
"GenericParameter": []
},
{
"Kind": "Method",
"Name": "GetSetting",
"Parameters": [
{
"Name": "key",
"Type": "System.String"
}
],
"ReturnType": "System.String",
"GenericParameter": []
},
{
"Kind": "Method",
"Name": "UseSetting",
Expand All @@ -620,17 +749,63 @@
],
"ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder",
"GenericParameter": []
}
],
"GenericParameters": []
},
{
"Name": "Microsoft.AspNetCore.Hosting.WebHostBuilderContext",
"Visibility": "Public",
"Kind": "Class",
"ImplementedInterfaces": [],
"Members": [
{
"Kind": "Method",
"Name": "get_HostingEnvironment",
"Parameters": [],
"ReturnType": "Microsoft.AspNetCore.Hosting.IHostingEnvironment",
"Visibility": "Public",
"GenericParameter": []
},
{
"Kind": "Method",
"Name": "GetSetting",
"Name": "set_HostingEnvironment",
"Parameters": [
{
"Name": "key",
"Type": "System.String"
"Name": "value",
"Type": "Microsoft.AspNetCore.Hosting.IHostingEnvironment"
}
],
"ReturnType": "System.String",
"ReturnType": "System.Void",
"Visibility": "Public",
"GenericParameter": []
},
{
"Kind": "Method",
"Name": "get_Configuration",
"Parameters": [],
"ReturnType": "Microsoft.Extensions.Configuration.IConfiguration",
"Visibility": "Public",
"GenericParameter": []
},
{
"Kind": "Method",
"Name": "set_Configuration",
"Parameters": [
{
"Name": "value",
"Type": "Microsoft.Extensions.Configuration.IConfiguration"
}
],
"ReturnType": "System.Void",
"Visibility": "Public",
"GenericParameter": []
},
{
"Kind": "Constructor",
"Name": ".ctor",
"Parameters": [],
"Visibility": "Public",
"GenericParameter": []
}
],
Expand Down Expand Up @@ -665,6 +840,16 @@
"Visibility": "Public",
"GenericParameter": []
},
{
"Kind": "Field",
"Name": "HostingStartupAssembliesKey",
"Parameters": [],
"ReturnType": "System.String",
"Static": true,
"ReadOnly": true,
"Visibility": "Public",
"GenericParameter": []
},
{
"Kind": "Field",
"Name": "DetailedErrorsKey",
Expand Down Expand Up @@ -724,6 +909,36 @@
"ReadOnly": true,
"Visibility": "Public",
"GenericParameter": []
},
{
"Kind": "Field",
"Name": "PreferHostingUrlsKey",
"Parameters": [],
"ReturnType": "System.String",
"Static": true,
"ReadOnly": true,
"Visibility": "Public",
"GenericParameter": []
},
{
"Kind": "Field",
"Name": "PreventHostingStartupKey",
"Parameters": [],
"ReturnType": "System.String",
"Static": true,
"ReadOnly": true,
"Visibility": "Public",
"GenericParameter": []
},
{
"Kind": "Field",
"Name": "ShutdownTimeoutKey",
"Parameters": [],
"ReturnType": "System.String",
"Static": true,
"ReadOnly": true,
"Visibility": "Public",
"GenericParameter": []
}
],
"GenericParameters": []
Expand Down

This file was deleted.

Loading

0 comments on commit e127224

Please sign in to comment.