diff --git a/.azure/pipelines/ci.yml b/.azure/pipelines/ci.yml
index 3961ab44ad..2d305a7e03 100644
--- a/.azure/pipelines/ci.yml
+++ b/.azure/pipelines/ci.yml
@@ -297,7 +297,7 @@ jobs:
agentOs: Windows
isTestingJob: true
buildScript: ./eng/scripts/cibuild.cmd
- buildArgs: -test "/p:SkipIISBackwardsCompatibilityTests=true /p:SkipIISTests=true /p:SkipIISExpressTests=true /p:SkipIISForwardsCompatibilityTests=true /p:RunTemplateTests=false"
+ buildArgs: -test "/p:SkipIISBackwardsCompatibilityTests=true /p:SkipIISTests=true /p:SkipIISExpressTests=true /p:SkipIISForwardsCompatibilityTests=true /p:RunTemplateTests=false /p:BuildSiteExtensions=false"
beforeBuild:
- powershell: "& ./src/Servers/IIS/tools/UpdateIISExpressCertificate.ps1; & ./src/Servers/IIS/tools/update_schema.ps1"
displayName: Setup IISExpress test certificates and schema
@@ -318,7 +318,7 @@ jobs:
agentOs: Windows
isTestingJob: true
buildScript: ./src/ProjectTemplates/build.cmd
- buildArgs: -ci -test -NoRestore -NoBuild -NoBuilddeps "/p:RunTemplateTests=true"
+ buildArgs: -ci -test -NoRestore -NoBuild -NoBuilddeps "/p:RunTemplateTests=true /p:BuildSiteExtensions=false"
beforeBuild:
- powershell: ./eng/scripts/cibuild.cmd
displayName: Build Repo
diff --git a/.azure/pipelines/signalr-daily-tests.yml b/.azure/pipelines/signalr-daily-tests.yml
index 2e74597f73..3269ced228 100644
--- a/.azure/pipelines/signalr-daily-tests.yml
+++ b/.azure/pipelines/signalr-daily-tests.yml
@@ -14,4 +14,7 @@ jobs:
agentOs: Windows
jobName: SignalRDailyTests
jobDisplayName: "SignalR Daily Tests"
-
+ artifacts:
+ - name: Windows_Logs
+ path: ../../artifacts/logs/
+ publishOnError: true
diff --git a/Directory.Build.targets b/Directory.Build.targets
index e90a905671..212c9878c2 100644
--- a/Directory.Build.targets
+++ b/Directory.Build.targets
@@ -71,7 +71,6 @@
false
- $(IsImplementationProject)
true
false
diff --git a/NuGet.config b/NuGet.config
index f56f587302..ec4b3c5a33 100644
--- a/NuGet.config
+++ b/NuGet.config
@@ -4,11 +4,9 @@
-
-
diff --git a/THIRD-PARTY-NOTICES.txt b/THIRD-PARTY-NOTICES.txt
index 5e6431e7c6..96dcfb8ae7 100644
--- a/THIRD-PARTY-NOTICES.txt
+++ b/THIRD-PARTY-NOTICES.txt
@@ -95,3 +95,72 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+License notice for MessagePack-CSharp
+-------------------------------------
+
+MessagePack for C#
+
+MIT License
+
+Copyright (c) 2017 Yoshifumi Kawai
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+---
+
+lz4net
+
+Copyright (c) 2013-2017, Milosz Krajewski
+
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+
+Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
+
+Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+License notice for Nerdbank.Streams
+-----------------------------------
+
+The MIT License (MIT)
+
+Copyright (c) Andrew Arnott
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/build/repo.props b/build/repo.props
index 1452299ad8..53ad942288 100644
--- a/build/repo.props
+++ b/build/repo.props
@@ -8,7 +8,7 @@
true
true
false
- true
+ true
false
diff --git a/build/sources.props b/build/sources.props
index 29a3b61a6d..51b729797d 100644
--- a/build/sources.props
+++ b/build/sources.props
@@ -14,18 +14,23 @@
https://dotnetfeed.blob.core.windows.net/aspnet-entityframeworkcore/index.json;
https://dotnetfeed.blob.core.windows.net/aspnet-aspnetcore-tooling/index.json;
https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json;
+ https://grpc.jfrog.io/grpc/api/nuget/v3/grpc-nuget-dev;
https://api.nuget.org/v3/index.json;
- https://dotnet.myget.org/F/aspnetcore-dev/api/v3/index.json;
- https://dotnet.myget.org/F/aspnetcore-master/api/v3/index.json;
+
+
+
+ $(RestoreSources);
https://dotnet.myget.org/F/aspnetcore-tools/api/v3/index.json;
- https://dotnet.myget.org/F/blazor-dev/api/v3/index.json;
- https://dotnet.myget.org/F/dotnet-core/api/v3/index.json;
- https://dotnet.myget.org/F/nuget-build/api/v3/index.json;
+
+
+
+ $(RestoreSources);
+ https://dotnet.myget.org/F/aspnetcore-dev/api/v3/index.json;
+
+
+
+ $(RestoreSources);
https://dotnet.myget.org/F/roslyn-tools/api/v3/index.json;
- https://dotnet.myget.org/F/roslyn/api/v3/index.json;
- https://vside.myget.org/F/devcore/api/v3/index.json;
- https://vside.myget.org/F/vsmac/api/v3/index.json;
- https://vside.myget.org/F/vssdk/api/v3/index.json;
diff --git a/eng/Dependencies.props b/eng/Dependencies.props
index 8cfcf96d7f..b4da0223e5 100644
--- a/eng/Dependencies.props
+++ b/eng/Dependencies.props
@@ -42,7 +42,6 @@ and are generated based on the last package release.
-
@@ -99,6 +98,7 @@ and are generated based on the last package release.
+
@@ -157,9 +157,9 @@ and are generated based on the last package release.
+
-
diff --git a/eng/SharedFramework.External.props b/eng/SharedFramework.External.props
index 71db8f8a2a..c5030e8e43 100644
--- a/eng/SharedFramework.External.props
+++ b/eng/SharedFramework.External.props
@@ -40,6 +40,7 @@
+
@@ -70,6 +71,7 @@
-->
<_TransitiveExternalAspNetCoreAppReference Include="System.Security.Cryptography.Pkcs" Version="$(SystemSecurityCryptographyPkcsPackageVersion)" />
<_TransitiveExternalAspNetCoreAppReference Include="System.Security.Permissions" Version="$(SystemSecurityPermissionsPackageVersion)" />
+ <_TransitiveExternalAspNetCoreAppReference Include="System.Diagnostics.EventLog" Version="$(SystemDiagnosticsEventLogPackageVersion)" />
@@ -89,6 +91,7 @@
<_CompilationOnlyReference Include="System.Buffers" />
<_CompilationOnlyReference Include="System.ComponentModel.Annotations" />
<_CompilationOnlyReference Include="System.Runtime.CompilerServices.Unsafe" />
+ <_CompilationOnlyReference Include="System.Text.Json" />
-
+
https://github.com/aspnet/AspNetCore-Tooling
- 9de59ed2540d3067a481763239809024bfee0886
+ 01d322edb2abb69f04184b47812bb08ea17d3d9e
-
+
https://github.com/aspnet/AspNetCore-Tooling
- 9de59ed2540d3067a481763239809024bfee0886
+ 01d322edb2abb69f04184b47812bb08ea17d3d9e
-
+
https://github.com/aspnet/AspNetCore-Tooling
- 9de59ed2540d3067a481763239809024bfee0886
+ 01d322edb2abb69f04184b47812bb08ea17d3d9e
-
+
https://github.com/aspnet/AspNetCore-Tooling
- 9de59ed2540d3067a481763239809024bfee0886
+ 01d322edb2abb69f04184b47812bb08ea17d3d9e
-
+
https://github.com/aspnet/EntityFrameworkCore
- a3a487481629868f83744591ac2918173e239953
+ 08edd86216be4857b45b47bf0a9b29e98e525c05
-
+
https://github.com/aspnet/EntityFrameworkCore
- a3a487481629868f83744591ac2918173e239953
+ 08edd86216be4857b45b47bf0a9b29e98e525c05
-
+
https://github.com/aspnet/EntityFrameworkCore
- a3a487481629868f83744591ac2918173e239953
+ 08edd86216be4857b45b47bf0a9b29e98e525c05
-
+
https://github.com/aspnet/EntityFrameworkCore
- a3a487481629868f83744591ac2918173e239953
+ 08edd86216be4857b45b47bf0a9b29e98e525c05
-
+
https://github.com/aspnet/EntityFrameworkCore
- a3a487481629868f83744591ac2918173e239953
+ 08edd86216be4857b45b47bf0a9b29e98e525c05
-
+
https://github.com/aspnet/EntityFrameworkCore
- a3a487481629868f83744591ac2918173e239953
+ 08edd86216be4857b45b47bf0a9b29e98e525c05
-
+
https://github.com/aspnet/EntityFrameworkCore
- a3a487481629868f83744591ac2918173e239953
+ 08edd86216be4857b45b47bf0a9b29e98e525c05
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
+ https://github.com/aspnet/Extensions
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
+
+
https://github.com/dotnet/corefx
- d06ce9d2116cb4bda528822e63d32ce3735ea653
+ 3728c9618debe640c22d7469fe4aa937f4a774b7
-
+
https://github.com/dotnet/corefx
- d06ce9d2116cb4bda528822e63d32ce3735ea653
+ 3728c9618debe640c22d7469fe4aa937f4a774b7
-
+
https://github.com/dotnet/corefx
- d06ce9d2116cb4bda528822e63d32ce3735ea653
+ 3728c9618debe640c22d7469fe4aa937f4a774b7
-
+
https://github.com/dotnet/corefx
- d06ce9d2116cb4bda528822e63d32ce3735ea653
+ 3728c9618debe640c22d7469fe4aa937f4a774b7
-
+
https://github.com/dotnet/corefx
- d06ce9d2116cb4bda528822e63d32ce3735ea653
+ 3728c9618debe640c22d7469fe4aa937f4a774b7
-
+
https://github.com/dotnet/corefx
- d06ce9d2116cb4bda528822e63d32ce3735ea653
+ 3728c9618debe640c22d7469fe4aa937f4a774b7
-
+
https://github.com/dotnet/corefx
- d06ce9d2116cb4bda528822e63d32ce3735ea653
+ 3728c9618debe640c22d7469fe4aa937f4a774b7
-
+
https://github.com/dotnet/corefx
- d06ce9d2116cb4bda528822e63d32ce3735ea653
+ 3728c9618debe640c22d7469fe4aa937f4a774b7
-
+
https://github.com/dotnet/corefx
- d06ce9d2116cb4bda528822e63d32ce3735ea653
+ 3728c9618debe640c22d7469fe4aa937f4a774b7
-
+
https://github.com/dotnet/corefx
- d06ce9d2116cb4bda528822e63d32ce3735ea653
+ 3728c9618debe640c22d7469fe4aa937f4a774b7
-
+
https://github.com/dotnet/corefx
- d06ce9d2116cb4bda528822e63d32ce3735ea653
+ 3728c9618debe640c22d7469fe4aa937f4a774b7
-
+
https://github.com/dotnet/corefx
- d06ce9d2116cb4bda528822e63d32ce3735ea653
+ 3728c9618debe640c22d7469fe4aa937f4a774b7
-
+
https://github.com/dotnet/corefx
- d06ce9d2116cb4bda528822e63d32ce3735ea653
+ 3728c9618debe640c22d7469fe4aa937f4a774b7
-
+
https://github.com/dotnet/corefx
- d06ce9d2116cb4bda528822e63d32ce3735ea653
+ 3728c9618debe640c22d7469fe4aa937f4a774b7
-
+
https://github.com/dotnet/corefx
- d06ce9d2116cb4bda528822e63d32ce3735ea653
+ 3728c9618debe640c22d7469fe4aa937f4a774b7
-
+
https://github.com/dotnet/corefx
- d06ce9d2116cb4bda528822e63d32ce3735ea653
+ 3728c9618debe640c22d7469fe4aa937f4a774b7
-
+
https://github.com/dotnet/corefx
- d06ce9d2116cb4bda528822e63d32ce3735ea653
+ 3728c9618debe640c22d7469fe4aa937f4a774b7
-
+
https://github.com/dotnet/corefx
- d06ce9d2116cb4bda528822e63d32ce3735ea653
+ 3728c9618debe640c22d7469fe4aa937f4a774b7
-
+
https://github.com/dotnet/corefx
- d06ce9d2116cb4bda528822e63d32ce3735ea653
+ 3728c9618debe640c22d7469fe4aa937f4a774b7
-
+
https://github.com/dotnet/core-setup
- 61f30f5a23af498908cadd9cc282d4d67d71f522
+ 2882fcdfd1846578a0c0336e1ba387ab0a1b602f
-
+
https://github.com/dotnet/core-setup
- 61f30f5a23af498908cadd9cc282d4d67d71f522
+ 2882fcdfd1846578a0c0336e1ba387ab0a1b602f
-
+
https://github.com/dotnet/corefx
- d06ce9d2116cb4bda528822e63d32ce3735ea653
+ 3728c9618debe640c22d7469fe4aa937f4a774b7
-
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
-
+
https://github.com/dotnet/arcade
- 5e7ce5b394f3477bb0a485a4b761b7742e95be37
+ ed63a7faf2d119829dd971be91bb46b6ebaa1dd2
-
+
+ https://github.com/dotnet/arcade
+ ed63a7faf2d119829dd971be91bb46b6ebaa1dd2
+
+
https://github.com/aspnet/Extensions
- 37c9491d952d3276519817f3d959432847aa3e4a
+ 1b1558ebc1f33a70c76736f6a26d907b6dcca270
diff --git a/eng/Versions.props b/eng/Versions.props
index 1dddbd2614..2ae50f6f34 100644
--- a/eng/Versions.props
+++ b/eng/Versions.props
@@ -17,106 +17,107 @@
-->
- 1.0.0-beta.19218.7
+ 1.0.0-beta.19252.2
- 3.0.0-preview5-27626-15
- 3.0.0-preview5-27626-15
+ 3.0.0-preview6-27702-07
+ 3.0.0-preview6-27702-07
- 4.6.0-preview5.19224.8
- 4.6.0-preview5.19224.8
- 4.6.0-preview5.19224.8
- 4.6.0-preview5.19224.8
- 4.7.0-preview5.19224.8
- 4.6.0-preview5.19224.8
- 4.6.0-preview5.19224.8
- 4.6.0-preview5.19224.8
- 4.6.0-preview5.19224.8
- 1.7.0-preview5.19224.8
- 4.6.0-preview5.19224.8
- 4.6.0-preview5.19224.8
- 4.6.0-preview5.19224.8
- 4.6.0-preview5.19224.8
- 4.6.0-preview5.19224.8
- 4.6.0-preview5.19224.8
- 4.6.0-preview5.19224.8
- 4.6.0-preview5.19224.8
- 4.6.0-preview5.19224.8
+ 4.6.0-preview6.19252.1
+ 4.6.0-preview6.19252.1
+ 4.6.0-preview6.19252.1
+ 4.7.0-preview6.19252.1
+ 4.6.0-preview6.19252.1
+ 4.6.0-preview6.19252.1
+ 4.6.0-preview6.19252.1
+ 4.6.0-preview6.19252.1
+ 1.7.0-preview6.19252.1
+ 4.6.0-preview6.19252.1
+ 4.6.0-preview6.19252.1
+ 4.6.0-preview6.19252.1
+ 4.6.0-preview6.19252.1
+ 4.6.0-preview6.19252.1
+ 4.6.0-preview6.19252.1
+ 4.6.0-preview6.19252.1
+ 4.6.0-preview6.19252.1
+ 4.6.0-preview6.19252.1
+ 4.6.0-preview6.19252.1
- 3.0.0-preview5.19224.8
+ 3.0.0-preview6.19252.1
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
- 3.0.0-preview5.19227.9
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
+ 3.0.0-preview6.19252.7
- 3.0.0-preview5.19227.1
- 3.0.0-preview5.19227.1
- 3.0.0-preview5.19227.1
- 3.0.0-preview5.19227.1
- 3.0.0-preview5.19227.1
- 3.0.0-preview5.19227.1
- 3.0.0-preview5.19227.1
+ 3.0.0-preview6.19252.4
+ 3.0.0-preview6.19252.4
+ 3.0.0-preview6.19252.4
+ 3.0.0-preview6.19252.4
+ 3.0.0-preview6.19252.4
+ 3.0.0-preview6.19252.4
+ 3.0.0-preview6.19252.4
- 3.0.0-preview5.19227.1
- 3.0.0-preview5.19227.1
- 3.0.0-preview5.19227.1
- 3.0.0-preview5.19227.1
+ 3.0.0-preview6.19252.6
+ 3.0.0-preview6.19252.6
+ 3.0.0-preview6.19252.6
+ 3.0.0-preview6.19252.6
$(KoreBuildVersion)
- 3.0.0-build-20190219.1
+ 3.0.0-build-20190430.1
1.0.0-alpha-004
15.9.0
1.0.0-beta2-18618-05
@@ -174,7 +175,7 @@
4.2.1
4.2.1
3.7.0
- 0.1.20-pre1
+ 0.1.21-dev201905010701
1.20.0-pre3
3.0.0-preview3.4
3.0.0-preview3.4
@@ -194,7 +195,6 @@
4.0.0
2.0.513
3.1.1
- 1.3.7
2.0.3
0.10.0
2.4.1
diff --git a/eng/helix/helix.proj b/eng/helix/helix.proj
index 7bfe5d8708..9e27f2ac56 100644
--- a/eng/helix/helix.proj
+++ b/eng/helix/helix.proj
@@ -1,13 +1,10 @@
-
-
-
-
+
-
+
diff --git a/eng/scripts/CodeCheck.ps1 b/eng/scripts/CodeCheck.ps1
index 0289fb699d..05902d24b6 100644
--- a/eng/scripts/CodeCheck.ps1
+++ b/eng/scripts/CodeCheck.ps1
@@ -45,6 +45,7 @@ try {
Write-Host "Checking that Versions.props and Version.Details.xml match"
[xml] $versionProps = Get-Content "$repoRoot/eng/Versions.props"
[xml] $versionDetails = Get-Content "$repoRoot/eng/Version.Details.xml"
+ $globalJson = Get-Content $repoRoot/global.json | ConvertFrom-Json
$versionVars = New-Object 'System.Collections.Generic.HashSet[string]'
foreach ($vars in $versionProps.SelectNodes("//PropertyGroup[`@Label=`"Automated`"]/*")) {
@@ -53,24 +54,38 @@ try {
foreach ($dep in $versionDetails.SelectNodes('//Dependency')) {
Write-Verbose "Found $dep"
- $varName = $dep.Name -replace '\.',''
- $varName = $varName -replace '\-',''
- $varName = "${varName}PackageVersion"
- $versionVar = $versionProps.SelectSingleNode("//PropertyGroup[`@Label=`"Automated`"]/$varName")
- if (-not $versionVar) {
- LogError "Missing version variable '$varName' in the 'Automated' property group in $repoRoot/eng/Versions.props"
- continue
- }
-
- $versionVars.Remove($varName) | Out-Null
$expectedVersion = $dep.Version
- $actualVersion = $versionVar.InnerText
- if ($expectedVersion -ne $actualVersion) {
- LogError `
- "Version variable '$varName' does not match the value in Version.Details.xml. Expected '$expectedVersion', actual '$actualVersion'" `
- -filepath "$repoRoot\eng\Versions.props"
+ if ($dep.Name -in $globalJson.'msbuild-sdks'.PSObject.Properties.Name) {
+
+ $actualVersion = $globalJson.'msbuild-sdks'.($dep.Name)
+
+ if ($expectedVersion -ne $actualVersion) {
+ LogError `
+ "MSBuild SDK version '$($dep.Name)' in global.json does not match the value in Version.Details.xml. Expected '$expectedVersion', actual '$actualVersion'" `
+ -filepath "$repoRoot\global.json"
+ }
+ }
+ else {
+ $varName = $dep.Name -replace '\.',''
+ $varName = $varName -replace '\-',''
+ $varName = "${varName}PackageVersion"
+
+ $versionVar = $versionProps.SelectSingleNode("//PropertyGroup[`@Label=`"Automated`"]/$varName")
+ $actualVersion = $versionVar.InnerText
+ $versionVars.Remove($varName) | Out-Null
+
+ if (-not $versionVar) {
+ LogError "Missing version variable '$varName' in the 'Automated' property group in $repoRoot/eng/Versions.props"
+ continue
+ }
+
+ if ($expectedVersion -ne $actualVersion) {
+ LogError `
+ "Version variable '$varName' does not match the value in Version.Details.xml. Expected '$expectedVersion', actual '$actualVersion'" `
+ -filepath "$repoRoot\eng\Versions.props"
+ }
}
}
@@ -143,7 +158,7 @@ try {
if ($changedFiles) {
foreach ($file in $changedFiles) {
$filePath = Resolve-Path "${repoRoot}/${file}"
- LogError "Generated code is not up to date in $file." -filepath $filePath
+ LogError "Generated code is not up to date in $file. You might need to regenerate the reference assemblies or project list (see docs/ReferenceAssemblies.md and docs/ReferenceResolution.md)" -filepath $filePath
& git --no-pager diff --ignore-space-at-eol $filePath
}
}
diff --git a/eng/targets/Helix.Common.props b/eng/targets/Helix.Common.props
index 8c335657a0..09fdfee74f 100644
--- a/eng/targets/Helix.Common.props
+++ b/eng/targets/Helix.Common.props
@@ -1,27 +1,28 @@
-
-
- true
-
-
+
+
+ true
+
+
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
diff --git a/eng/targets/Helix.props b/eng/targets/Helix.props
index 25f48377ff..c4723b3a34 100644
--- a/eng/targets/Helix.props
+++ b/eng/targets/Helix.props
@@ -25,7 +25,7 @@
-
+
diff --git a/eng/targets/Helix.targets b/eng/targets/Helix.targets
index d60460b8b4..40887fadd7 100644
--- a/eng/targets/Helix.targets
+++ b/eng/targets/Helix.targets
@@ -30,7 +30,7 @@
- <_HelixProjectTargetQueue Include="%(HelixAvailibleTargetQueue.Identity)" Condition="'$(_SelectedPlatforms.Contains(%(Platform)))' == 'true' AND '%(EnableByDefault)' == 'true'" />
+ <_HelixProjectTargetQueue Include="%(HelixAvailableTargetQueue.Identity)" Condition="'$(_SelectedPlatforms.Contains(%(Platform)))' == 'true' AND '%(EnableByDefault)' == 'true'" />
<_HelixProjectTargetQueue Include="%(HelixProjectTargetQueue.Identity)" />
diff --git a/eng/targets/Npm.Common.targets b/eng/targets/Npm.Common.targets
index fde4fece5c..b8dadce6c5 100644
--- a/eng/targets/Npm.Common.targets
+++ b/eng/targets/Npm.Common.targets
@@ -18,7 +18,7 @@
-
+
diff --git a/global.json b/global.json
index 339c8c9e4c..6f3d1c6843 100644
--- a/global.json
+++ b/global.json
@@ -1,8 +1,9 @@
{
"sdk": {
- "version": "3.0.100-preview4-011136"
+ "version": "3.0.100-preview5-011568"
},
"msbuild-sdks": {
- "Yarn.MSBuild": "1.13.0"
+ "Yarn.MSBuild": "1.13.0",
+ "Microsoft.DotNet.Helix.Sdk": "2.0.0-beta.19252.2"
}
}
diff --git a/korebuild-lock.txt b/korebuild-lock.txt
index 33e6e58016..43ce1017d3 100644
--- a/korebuild-lock.txt
+++ b/korebuild-lock.txt
@@ -1,2 +1,2 @@
-version:3.0.0-build-20190412.2
-commithash:0e543fb8761394491250585d3811bdbb62e350e8
+version:3.0.0-build-20190502.5
+commithash:4889b4d995a0c0fddf132332540bcb2ccc6e90f1
diff --git a/src/Antiforgery/src/Internal/DefaultAntiforgeryTokenStore.cs b/src/Antiforgery/src/Internal/DefaultAntiforgeryTokenStore.cs
index 63f3be4236..e30fe0df4d 100644
--- a/src/Antiforgery/src/Internal/DefaultAntiforgeryTokenStore.cs
+++ b/src/Antiforgery/src/Internal/DefaultAntiforgeryTokenStore.cs
@@ -73,7 +73,7 @@ namespace Microsoft.AspNetCore.Antiforgery
if (_options.Cookie.Path != null)
{
- options.Path = _options.Cookie.Path.ToString();
+ options.Path = _options.Cookie.Path;
}
else
{
diff --git a/src/Antiforgery/src/baseline.netcore.json b/src/Antiforgery/src/baseline.netcore.json
deleted file mode 100644
index eaa03254ea..0000000000
--- a/src/Antiforgery/src/baseline.netcore.json
+++ /dev/null
@@ -1,456 +0,0 @@
-{
- "AssemblyIdentity": "Microsoft.AspNetCore.Antiforgery, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60",
- "Types": [
- {
- "Name": "Microsoft.Extensions.DependencyInjection.AntiforgeryServiceCollectionExtensions",
- "Visibility": "Public",
- "Kind": "Class",
- "Abstract": true,
- "Static": true,
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "AddAntiforgery",
- "Parameters": [
- {
- "Name": "services",
- "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection"
- }
- ],
- "ReturnType": "Microsoft.Extensions.DependencyInjection.IServiceCollection",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "AddAntiforgery",
- "Parameters": [
- {
- "Name": "services",
- "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection"
- },
- {
- "Name": "setupAction",
- "Type": "System.Action"
- }
- ],
- "ReturnType": "Microsoft.Extensions.DependencyInjection.IServiceCollection",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Antiforgery.AntiforgeryOptions",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_Cookie",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.Http.CookieBuilder",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_Cookie",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Microsoft.AspNetCore.Http.CookieBuilder"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_FormFieldName",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_FormFieldName",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_HeaderName",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_HeaderName",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_SuppressXFrameOptionsHeader",
- "Parameters": [],
- "ReturnType": "System.Boolean",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_SuppressXFrameOptionsHeader",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Boolean"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_CookieName",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_CookieName",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_CookiePath",
- "Parameters": [],
- "ReturnType": "System.Nullable",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_CookiePath",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Nullable"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_CookieDomain",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_CookieDomain",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_RequireSsl",
- "Parameters": [],
- "ReturnType": "System.Boolean",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_RequireSsl",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Boolean"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Field",
- "Name": "DefaultCookiePrefix",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "ReadOnly": true,
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Antiforgery.AntiforgeryTokenSet",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_RequestToken",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_FormFieldName",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_HeaderName",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_CookieToken",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "requestToken",
- "Type": "System.String"
- },
- {
- "Name": "cookieToken",
- "Type": "System.String"
- },
- {
- "Name": "formFieldName",
- "Type": "System.String"
- },
- {
- "Name": "headerName",
- "Type": "System.String"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Antiforgery.AntiforgeryValidationException",
- "Visibility": "Public",
- "Kind": "Class",
- "BaseType": "System.Exception",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "message",
- "Type": "System.String"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "message",
- "Type": "System.String"
- },
- {
- "Name": "innerException",
- "Type": "System.Exception"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Antiforgery.IAntiforgery",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "GetAndStoreTokens",
- "Parameters": [
- {
- "Name": "httpContext",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Antiforgery.AntiforgeryTokenSet",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetTokens",
- "Parameters": [
- {
- "Name": "httpContext",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Antiforgery.AntiforgeryTokenSet",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "IsRequestValidAsync",
- "Parameters": [
- {
- "Name": "httpContext",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ValidateRequestAsync",
- "Parameters": [
- {
- "Name": "httpContext",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "SetCookieTokenAndHeader",
- "Parameters": [
- {
- "Name": "httpContext",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- }
- ],
- "ReturnType": "System.Void",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Antiforgery.IAntiforgeryAdditionalDataProvider",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "GetAdditionalData",
- "Parameters": [
- {
- "Name": "context",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- }
- ],
- "ReturnType": "System.String",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ValidateAdditionalData",
- "Parameters": [
- {
- "Name": "context",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- },
- {
- "Name": "additionalData",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Boolean",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- }
- ]
-}
\ No newline at end of file
diff --git a/src/Azure/AzureAD/Authentication.AzureAD.UI/src/baseline.netcore.json b/src/Azure/AzureAD/Authentication.AzureAD.UI/src/baseline.netcore.json
deleted file mode 100644
index 8683c112ba..0000000000
--- a/src/Azure/AzureAD/Authentication.AzureAD.UI/src/baseline.netcore.json
+++ /dev/null
@@ -1,505 +0,0 @@
-{
- "AssemblyIdentity": "Microsoft.AspNetCore.Authentication.AzureAD.UI, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60",
- "Types": [
- {
- "Name": "Microsoft.AspNetCore.Authentication.AzureADAuthenticationBuilderExtensions",
- "Visibility": "Public",
- "Kind": "Class",
- "Abstract": true,
- "Static": true,
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "AddAzureADBearer",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder"
- },
- {
- "Name": "configureOptions",
- "Type": "System.Action"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "AddAzureADBearer",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder"
- },
- {
- "Name": "scheme",
- "Type": "System.String"
- },
- {
- "Name": "jwtBearerScheme",
- "Type": "System.String"
- },
- {
- "Name": "configureOptions",
- "Type": "System.Action"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "AddAzureAD",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder"
- },
- {
- "Name": "configureOptions",
- "Type": "System.Action"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "AddAzureAD",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder"
- },
- {
- "Name": "scheme",
- "Type": "System.String"
- },
- {
- "Name": "openIdConnectScheme",
- "Type": "System.String"
- },
- {
- "Name": "cookieScheme",
- "Type": "System.String"
- },
- {
- "Name": "displayName",
- "Type": "System.String"
- },
- {
- "Name": "configureOptions",
- "Type": "System.Action"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Authentication.AzureAD.UI.AzureADDefaults",
- "Visibility": "Public",
- "Kind": "Class",
- "Abstract": true,
- "Static": true,
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Field",
- "Name": "OpenIdScheme",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "ReadOnly": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Field",
- "Name": "CookieScheme",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "ReadOnly": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Field",
- "Name": "BearerAuthenticationScheme",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "ReadOnly": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Field",
- "Name": "JwtBearerAuthenticationScheme",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "ReadOnly": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Field",
- "Name": "AuthenticationScheme",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "ReadOnly": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Field",
- "Name": "DisplayName",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "ReadOnly": true,
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Authentication.AzureAD.UI.AzureADOptions",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_OpenIdConnectSchemeName",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_OpenIdConnectSchemeName",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_CookieSchemeName",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_CookieSchemeName",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_JwtBearerSchemeName",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_ClientId",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_ClientId",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_ClientSecret",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_ClientSecret",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_TenantId",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_TenantId",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Instance",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_Instance",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Domain",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_Domain",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_CallbackPath",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_CallbackPath",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_SignedOutCallbackPath",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_SignedOutCallbackPath",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_AllSchemes",
- "Parameters": [],
- "ReturnType": "System.String[]",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Authentication.AzureAD.UI.AzureADSchemeOptions+AzureADOpenIDSchemeMapping",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_OpenIdConnectScheme",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_OpenIdConnectScheme",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_CookieScheme",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_CookieScheme",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Authentication.AzureAD.UI.AzureADSchemeOptions+JwtBearerSchemeMapping",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_JwtBearerScheme",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_JwtBearerScheme",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- }
- ]
-}
\ No newline at end of file
diff --git a/src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/AzureAdB2COpenIDConnectEventHandlers.cs b/src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/AzureAdB2COpenIDConnectEventHandlers.cs
index 2a78868c02..d8d8b1c268 100644
--- a/src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/AzureAdB2COpenIDConnectEventHandlers.cs
+++ b/src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/AzureAdB2COpenIDConnectEventHandlers.cs
@@ -1,4 +1,4 @@
-// Copyright (c) .NET Foundation. All rights reserved.
+// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.using Microsoft.AspNetCore.Authorization;
using System;
@@ -65,7 +65,7 @@ namespace Microsoft.AspNetCore.Authentication.AzureADB2C.UI
if (context.Failure is OpenIdConnectProtocolException && context.Failure.Message.Contains("AADB2C90118"))
{
// If the user clicked the reset password link, redirect to the reset password route
- context.Response.Redirect($"/AzureADB2C/Account/ResetPassword/{SchemeName}");
+ context.Response.Redirect($"{context.Request.PathBase}/AzureADB2C/Account/ResetPassword/{SchemeName}");
}
// Access denied errors happen when a user cancels an action on the Azure Active Directory B2C UI. We just redirect back to
// the main page in that case.
@@ -75,11 +75,11 @@ namespace Microsoft.AspNetCore.Authentication.AzureADB2C.UI
// ', error_uri: 'error_uri is null'.
else if (context.Failure is OpenIdConnectProtocolException && context.Failure.Message.Contains("access_denied"))
{
- context.Response.Redirect("/");
+ context.Response.Redirect($"{context.Request.PathBase}/");
}
else
{
- context.Response.Redirect("/AzureADB2C/Account/Error");
+ context.Response.Redirect($"{context.Request.PathBase}/AzureADB2C/Account/Error");
}
return Task.CompletedTask;
diff --git a/src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/baseline.netcore.json b/src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/baseline.netcore.json
deleted file mode 100644
index 19949c8ecf..0000000000
--- a/src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/baseline.netcore.json
+++ /dev/null
@@ -1,565 +0,0 @@
-{
- "AssemblyIdentity": "Microsoft.AspNetCore.Authentication.AzureADB2C.UI, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60",
- "Types": [
- {
- "Name": "Microsoft.AspNetCore.Authentication.AzureADB2CAuthenticationBuilderExtensions",
- "Visibility": "Public",
- "Kind": "Class",
- "Abstract": true,
- "Static": true,
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "AddAzureADB2CBearer",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder"
- },
- {
- "Name": "configureOptions",
- "Type": "System.Action"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "AddAzureADB2CBearer",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder"
- },
- {
- "Name": "scheme",
- "Type": "System.String"
- },
- {
- "Name": "jwtBearerScheme",
- "Type": "System.String"
- },
- {
- "Name": "configureOptions",
- "Type": "System.Action"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "AddAzureADB2C",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder"
- },
- {
- "Name": "configureOptions",
- "Type": "System.Action"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "AddAzureADB2C",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder"
- },
- {
- "Name": "scheme",
- "Type": "System.String"
- },
- {
- "Name": "openIdConnectScheme",
- "Type": "System.String"
- },
- {
- "Name": "cookieScheme",
- "Type": "System.String"
- },
- {
- "Name": "displayName",
- "Type": "System.String"
- },
- {
- "Name": "configureOptions",
- "Type": "System.Action"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Authentication.AzureADB2C.UI.AzureADB2CDefaults",
- "Visibility": "Public",
- "Kind": "Class",
- "Abstract": true,
- "Static": true,
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Field",
- "Name": "PolicyKey",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "ReadOnly": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Field",
- "Name": "OpenIdScheme",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "ReadOnly": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Field",
- "Name": "CookieScheme",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "ReadOnly": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Field",
- "Name": "BearerAuthenticationScheme",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "ReadOnly": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Field",
- "Name": "JwtBearerAuthenticationScheme",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "ReadOnly": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Field",
- "Name": "AuthenticationScheme",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "ReadOnly": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Field",
- "Name": "DisplayName",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "ReadOnly": true,
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Authentication.AzureADB2C.UI.AzureADB2COptions",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_OpenIdConnectSchemeName",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_OpenIdConnectSchemeName",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_CookieSchemeName",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_CookieSchemeName",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_JwtBearerSchemeName",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_ClientId",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_ClientId",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_ClientSecret",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_ClientSecret",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Instance",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_Instance",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Domain",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_Domain",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_EditProfilePolicyId",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_EditProfilePolicyId",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_SignUpSignInPolicyId",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_SignUpSignInPolicyId",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_ResetPasswordPolicyId",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_ResetPasswordPolicyId",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_CallbackPath",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_CallbackPath",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_SignedOutCallbackPath",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_SignedOutCallbackPath",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_DefaultPolicy",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_AllSchemes",
- "Parameters": [],
- "ReturnType": "System.String[]",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Authentication.AzureADB2C.UI.AzureADB2CSchemeOptions+AzureADB2COpenIDSchemeMapping",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_OpenIdConnectScheme",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_OpenIdConnectScheme",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_CookieScheme",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_CookieScheme",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Authentication.AzureADB2C.UI.AzureADB2CSchemeOptions+JwtBearerSchemeMapping",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_JwtBearerScheme",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_JwtBearerScheme",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- }
- ]
-}
\ No newline at end of file
diff --git a/src/Azure/AzureAppServices.HostingStartup/src/baseline.netcore.json b/src/Azure/AzureAppServices.HostingStartup/src/baseline.netcore.json
deleted file mode 100644
index e294148f6c..0000000000
--- a/src/Azure/AzureAppServices.HostingStartup/src/baseline.netcore.json
+++ /dev/null
@@ -1,39 +0,0 @@
-{
- "AssemblyIdentity": "Microsoft.AspNetCore.AzureAppServices.HostingStartup, Version=2.0.2.0, Culture=neutral, PublicKeyToken=adb9793829ddae60",
- "Types": [
- {
- "Name": "Microsoft.AspNetCore.AzureAppServices.HostingStartup.AzureAppServicesHostingStartup",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.Hosting.IHostingStartup"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "Configure",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "Microsoft.AspNetCore.Hosting.IWebHostBuilder"
- }
- ],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Hosting.IHostingStartup",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- }
- ]
-}
\ No newline at end of file
diff --git a/src/Azure/AzureAppServices.HostingStartup/src/baseline.netframework.json b/src/Azure/AzureAppServices.HostingStartup/src/baseline.netframework.json
deleted file mode 100644
index 8aa1ebedab..0000000000
--- a/src/Azure/AzureAppServices.HostingStartup/src/baseline.netframework.json
+++ /dev/null
@@ -1,39 +0,0 @@
-{
- "AssemblyIdentity": "Microsoft.AspNetCore.AzureAppServices.HostingStartup, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60",
- "Types": [
- {
- "Name": "Microsoft.AspNetCore.AzureAppServices.HostingStartup.AzureAppServicesHostingStartup",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.Hosting.IHostingStartup"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "Configure",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "Microsoft.AspNetCore.Hosting.IWebHostBuilder"
- }
- ],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Hosting.IHostingStartup",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- }
- ]
-}
\ No newline at end of file
diff --git a/src/Azure/AzureAppServicesIntegration/src/baseline.netcore.json b/src/Azure/AzureAppServicesIntegration/src/baseline.netcore.json
deleted file mode 100644
index 8a54cb63db..0000000000
--- a/src/Azure/AzureAppServicesIntegration/src/baseline.netcore.json
+++ /dev/null
@@ -1,32 +0,0 @@
-{
- "AssemblyIdentity": "Microsoft.AspNetCore.AzureAppServicesIntegration, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60",
- "Types": [
- {
- "Name": "Microsoft.AspNetCore.Hosting.AppServicesWebHostBuilderExtensions",
- "Visibility": "Public",
- "Kind": "Class",
- "Abstract": true,
- "Static": true,
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "UseAzureAppServices",
- "Parameters": [
- {
- "Name": "hostBuilder",
- "Type": "Microsoft.AspNetCore.Hosting.IWebHostBuilder"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- }
- ]
-}
\ No newline at end of file
diff --git a/src/Components/Blazor/Blazor/ref/Microsoft.AspNetCore.Blazor.netstandard2.0.cs b/src/Components/Blazor/Blazor/ref/Microsoft.AspNetCore.Blazor.netstandard2.0.cs
index 3659af2888..b0df2bf3d5 100644
--- a/src/Components/Blazor/Blazor/ref/Microsoft.AspNetCore.Blazor.netstandard2.0.cs
+++ b/src/Components/Blazor/Blazor/ref/Microsoft.AspNetCore.Blazor.netstandard2.0.cs
@@ -41,9 +41,9 @@ namespace Microsoft.AspNetCore.Blazor.Http
{
public enum FetchCredentialsOption
{
- Include = 2,
Omit = 0,
SameOrigin = 1,
+ Include = 2,
}
public partial class WebAssemblyHttpMessageHandler : System.Net.Http.HttpMessageHandler
{
diff --git a/src/Components/Blazor/Build/test/ComponentRenderingRazorIntegrationTest.cs b/src/Components/Blazor/Build/test/ComponentRenderingRazorIntegrationTest.cs
index 36b06ac2ce..ae8bb7b26d 100644
--- a/src/Components/Blazor/Build/test/ComponentRenderingRazorIntegrationTest.cs
+++ b/src/Components/Blazor/Build/test/ComponentRenderingRazorIntegrationTest.cs
@@ -350,7 +350,7 @@ namespace Test
// Assert: Captured ChildContent frames are correct
var childFrames = GetFrames((RenderFragment)frames[2].AttributeValue);
Assert.Collection(
- childFrames,
+ childFrames.AsEnumerable(),
frame => AssertFrame.Text(frame, "Some text", 3),
frame => AssertFrame.Element(frame, "some-child", 4, 4),
frame => AssertFrame.Attribute(frame, "a", "1", 5),
@@ -393,7 +393,7 @@ namespace Test
// correct relative to each other (i.e., incrementing) within the nesting level.
// As an implementation detail, it happens that they do follow on from the parent
// level, but we could change that part of the implementation if we wanted.
- var innerFrames = GetFrames((RenderFragment)frames[1].AttributeValue).ToArray();
+ var innerFrames = GetFrames((RenderFragment)frames[1].AttributeValue).AsEnumerable().ToArray();
Assert.Collection(
innerFrames,
frame => AssertFrame.Component(frame, "Test.MyComponent", 2, 2),
@@ -401,7 +401,7 @@ namespace Test
// Assert: second level of ChildContent is correct
Assert.Collection(
- GetFrames((RenderFragment)innerFrames[1].AttributeValue),
+ GetFrames((RenderFragment)innerFrames[1].AttributeValue).AsEnumerable(),
frame => AssertFrame.Text(frame, "Some text", 4));
}
@@ -547,7 +547,7 @@ namespace Test
// Assert: Captured ChildContent frames are correct
var childFrames = GetFrames((RenderFragment)frames[6].AttributeValue);
Assert.Collection(
- childFrames,
+ childFrames.AsEnumerable(),
frame => AssertFrame.MarkupWhitespace(frame, 7),
frame => AssertFrame.Markup(frame, "
\n ", 8),
frame => AssertFrame.Element(frame, "div", 2, 9),
diff --git a/src/Components/Blazor/Build/test/RazorIntegrationTestBase.cs b/src/Components/Blazor/Build/test/RazorIntegrationTestBase.cs
index 14077baac5..f8fa9ed4b2 100644
--- a/src/Components/Blazor/Build/test/RazorIntegrationTestBase.cs
+++ b/src/Components/Blazor/Build/test/RazorIntegrationTestBase.cs
@@ -457,7 +457,7 @@ namespace Microsoft.AspNetCore.Blazor.Build.Test
protected override Task UpdateDisplayAsync(in RenderBatch renderBatch)
{
- LatestBatchReferenceFrames = renderBatch.ReferenceFrames.ToArray();
+ LatestBatchReferenceFrames = renderBatch.ReferenceFrames.AsEnumerable().ToArray();
return Task.CompletedTask;
}
}
diff --git a/src/Components/Blazor/Build/test/RenderingRazorIntegrationTest.cs b/src/Components/Blazor/Build/test/RenderingRazorIntegrationTest.cs
index 7480fb3748..4aea4cf230 100644
--- a/src/Components/Blazor/Build/test/RenderingRazorIntegrationTest.cs
+++ b/src/Components/Blazor/Build/test/RenderingRazorIntegrationTest.cs
@@ -244,22 +244,6 @@ namespace Microsoft.AspNetCore.Blazor.Build.Test
frame => AssertFrame.Attribute(frame, "attr", "Hello, WORLD with number 246!", 1));
}
- // This test exercises the case where two IntermediateTokens are part of the same expression.
- // In these case they are split by a comment.
- [Fact]
- public void SupportsAttributesWithInterpolatedStringExpressionValues_SplitByComment()
- {
- // Arrange/Act
- var component = CompileToComponent(
- "@{ var myValue = \"world\"; var myNum=123; }"
- + "");
-
- // Assert
- Assert.Collection(GetRenderTree(component),
- frame => AssertFrame.Element(frame, "elem", 2, 0),
- frame => AssertFrame.Attribute(frame, "attr", "Hello, WORLD with number 246!", 1));
- }
-
[Fact]
public void SupportsAttributesWithInterpolatedTernaryExpressionValues()
{
diff --git a/src/Components/Components/ref/Microsoft.AspNetCore.Components.netstandard2.0.cs b/src/Components/Components/ref/Microsoft.AspNetCore.Components.netstandard2.0.cs
index 5687e9678f..37431bbb56 100644
--- a/src/Components/Components/ref/Microsoft.AspNetCore.Components.netstandard2.0.cs
+++ b/src/Components/Components/ref/Microsoft.AspNetCore.Components.netstandard2.0.cs
@@ -726,14 +726,12 @@ namespace Microsoft.AspNetCore.Components.Rendering
namespace Microsoft.AspNetCore.Components.RenderTree
{
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
- public readonly partial struct ArrayRange : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable
+ public readonly partial struct ArrayRange
{
public readonly T[] Array;
public readonly int Count;
public ArrayRange(T[] array, int count) { throw null; }
public Microsoft.AspNetCore.Components.RenderTree.ArrayRange Clone() { throw null; }
- System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; }
- System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; }
}
public partial class RenderTreeBuilder
{
@@ -765,6 +763,7 @@ namespace Microsoft.AspNetCore.Components.RenderTree
public void OpenComponent(int sequence, System.Type componentType) { }
public void OpenComponent(int sequence) where TComponent : Microsoft.AspNetCore.Components.IComponent { }
public void OpenElement(int sequence, string elementName) { }
+ public void SetKey(object value) { }
}
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
public readonly partial struct RenderTreeDiff
@@ -783,31 +782,31 @@ namespace Microsoft.AspNetCore.Components.RenderTree
public enum RenderTreeEditType
{
PrependFrame = 1,
- RemoveAttribute = 4,
RemoveFrame = 2,
SetAttribute = 3,
+ RemoveAttribute = 4,
+ UpdateText = 5,
StepIn = 6,
StepOut = 7,
UpdateMarkup = 8,
- UpdateText = 5,
}
public enum RenderTreeFrameType
{
+ Element = 1,
+ Text = 2,
Attribute = 3,
Component = 4,
- ComponentReferenceCapture = 7,
- Element = 1,
- ElementReferenceCapture = 6,
- Markup = 8,
Region = 5,
- Text = 2,
+ ElementReferenceCapture = 6,
+ ComponentReferenceCapture = 7,
+ Markup = 8,
}
}
namespace Microsoft.AspNetCore.Components.Routing
{
public enum NavLinkMatch
{
- All = 1,
Prefix = 0,
+ All = 1,
}
}
diff --git a/src/Components/Components/src/RenderTree/ArrayRange.cs b/src/Components/Components/src/RenderTree/ArrayRange.cs
index 3b6e5457f1..ec113dbdb8 100644
--- a/src/Components/Components/src/RenderTree/ArrayRange.cs
+++ b/src/Components/Components/src/RenderTree/ArrayRange.cs
@@ -1,17 +1,13 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
-using System;
-using System.Collections;
-using System.Collections.Generic;
-
namespace Microsoft.AspNetCore.Components.RenderTree
{
///
/// Represents a range of elements in an array that are in use.
///
/// The array item type.
- public readonly struct ArrayRange : IEnumerable, IEnumerable
+ public readonly struct ArrayRange
{
///
/// Gets the underlying array instance.
@@ -34,14 +30,6 @@ namespace Microsoft.AspNetCore.Components.RenderTree
Count = count;
}
- ///
- IEnumerator IEnumerable.GetEnumerator()
- => ((IEnumerable)new ArraySegment(Array, 0, Count)).GetEnumerator();
-
- ///
- IEnumerator IEnumerable.GetEnumerator()
- => ((IEnumerable)new ArraySegment(Array, 0, Count)).GetEnumerator();
-
///
/// Creates a shallow clone of the instance.
///
diff --git a/src/Components/Components/src/RenderTree/RenderTreeBuilder.cs b/src/Components/Components/src/RenderTree/RenderTreeBuilder.cs
index 29ba31268c..24f07042c4 100644
--- a/src/Components/Components/src/RenderTree/RenderTreeBuilder.cs
+++ b/src/Components/Components/src/RenderTree/RenderTreeBuilder.cs
@@ -448,6 +448,21 @@ namespace Microsoft.AspNetCore.Components.RenderTree
OpenComponentUnchecked(sequence, componentType);
}
+ ///
+ /// Assigns the specified key value to the current element or component.
+ ///
+ /// The value for the key.
+ public void SetKey(object value)
+ {
+ // This is just a placeholder to enable work in parallel in the
+ // aspnetcore-tooling repo.
+ //
+ // The real implementation will involve multiple overloads, likely:
+ // SetKey(int value) -- underlying logic
+ // SetKey(T value) where T: struct -- avoids boxing 'value' before calling .GetHashCode()
+ // SetKey(object value) -- performs null check before calling .GetHashCode()
+ }
+
private void OpenComponentUnchecked(int sequence, Type componentType)
{
_openElementIndices.Push(_entries.Count);
diff --git a/src/Components/Components/test/RenderTreeBuilderTest.cs b/src/Components/Components/test/RenderTreeBuilderTest.cs
index fe535c793c..75a7616b1e 100644
--- a/src/Components/Components/test/RenderTreeBuilderTest.cs
+++ b/src/Components/Components/test/RenderTreeBuilderTest.cs
@@ -32,7 +32,7 @@ namespace Microsoft.AspNetCore.Components.Test
// Assert
var frames = builder.GetFrames();
Assert.NotNull(frames.Array);
- Assert.Empty(frames);
+ Assert.Empty(frames.AsEnumerable());
}
[Fact]
@@ -49,7 +49,7 @@ namespace Microsoft.AspNetCore.Components.Test
// Assert
var frames = builder.GetFrames();
- Assert.Collection(frames,
+ Assert.Collection(frames.AsEnumerable(),
frame => AssertFrame.Text(frame, "First item"),
frame => AssertFrame.Text(frame, string.Empty),
frame => AssertFrame.Text(frame, "Second item"));
@@ -69,7 +69,7 @@ namespace Microsoft.AspNetCore.Components.Test
// Assert
var frames = builder.GetFrames();
- Assert.Collection(frames,
+ Assert.Collection(frames.AsEnumerable(),
frame => AssertFrame.Element(frame, "some elem", 3),
frame => AssertFrame.Markup(frame, "Blah"),
frame => AssertFrame.Markup(frame, string.Empty));
@@ -90,7 +90,7 @@ namespace Microsoft.AspNetCore.Components.Test
// Assert
var frames = builder.GetFrames();
- Assert.Collection(frames,
+ Assert.Collection(frames.AsEnumerable(),
frame => AssertFrame.Markup(frame, "Some markup"),
frame => AssertFrame.Markup(frame, string.Empty));
}
@@ -106,7 +106,7 @@ namespace Microsoft.AspNetCore.Components.Test
// Assert
var frames = builder.GetFrames();
- Assert.Collection(frames,
+ Assert.Collection(frames.AsEnumerable(),
frame => AssertFrame.Markup(frame, string.Empty));
}
@@ -123,7 +123,7 @@ namespace Microsoft.AspNetCore.Components.Test
// Assert
var frames = builder.GetFrames();
- Assert.Collection(frames,
+ Assert.Collection(frames.AsEnumerable(),
frame => AssertFrame.Text(frame, "1234"),
frame => AssertFrame.Text(frame, string.Empty));
}
@@ -138,7 +138,7 @@ namespace Microsoft.AspNetCore.Components.Test
builder.OpenElement(0, "my element");
// Assert
- var frame = builder.GetFrames().Single();
+ var frame = builder.GetFrames().AsEnumerable().Single();
AssertFrame.Element(frame, "my element", 0);
}
@@ -203,7 +203,7 @@ namespace Microsoft.AspNetCore.Components.Test
builder.AddContent(0, "standalone text 2"); // 11: standalone text 2
// Assert
- Assert.Collection(builder.GetFrames(),
+ Assert.Collection(builder.GetFrames().AsEnumerable(),
frame => AssertFrame.Text(frame, "standalone text 1"),
frame => AssertFrame.Element(frame, "root", 10),
frame => AssertFrame.Text(frame, "root text 1"),
@@ -236,7 +236,7 @@ namespace Microsoft.AspNetCore.Components.Test
builder.CloseElement(); //
// Assert
- Assert.Collection(builder.GetFrames(),
+ Assert.Collection(builder.GetFrames().AsEnumerable(),
frame => AssertFrame.Element(frame, "myelement", 6),
frame => AssertFrame.Attribute(frame, "attribute1", "value 1"),
frame => AssertFrame.Attribute(frame, "attribute2", "123"),
@@ -363,7 +363,7 @@ namespace Microsoft.AspNetCore.Components.Test
builder.CloseElement(); //
// Assert
- Assert.Collection(builder.GetFrames(),
+ Assert.Collection(builder.GetFrames().AsEnumerable(),
frame => AssertFrame.Element(frame, "parent", 6),
frame => AssertFrame.Component(frame),
frame => AssertFrame.Attribute(frame, "child1attribute1", "A"),
@@ -391,7 +391,7 @@ namespace Microsoft.AspNetCore.Components.Test
builder.CloseElement(); //
// Assert
- Assert.Collection(builder.GetFrames(),
+ Assert.Collection(builder.GetFrames().AsEnumerable(),
frame => AssertFrame.Element(frame, "parent", 6),
frame => AssertFrame.Component(frame),
frame => AssertFrame.Attribute(frame, "child1attribute1", "A"),
@@ -419,7 +419,7 @@ namespace Microsoft.AspNetCore.Components.Test
builder.CloseElement(); //
// Assert
- Assert.Collection(builder.GetFrames(),
+ Assert.Collection(builder.GetFrames().AsEnumerable(),
frame => AssertFrame.Element(frame, "parent", 6, 10),
frame => AssertFrame.Region(frame, 5, 11),
frame => AssertFrame.Text(frame, "Hello", 3),
@@ -447,7 +447,7 @@ namespace Microsoft.AspNetCore.Components.Test
builder.CloseElement();
// Assert
- Assert.Collection(builder.GetFrames(),
+ Assert.Collection(builder.GetFrames().AsEnumerable(),
frame => AssertFrame.Element(frame, "parent", 5, 10),
frame => AssertFrame.Region(frame, 4, 11),
frame => AssertFrame.Text(frame, "Hello from the fragment", 0),
@@ -470,7 +470,7 @@ namespace Microsoft.AspNetCore.Components.Test
builder.CloseElement(); //
// Assert
- Assert.Collection(builder.GetFrames(),
+ Assert.Collection(builder.GetFrames().AsEnumerable(),
frame => AssertFrame.Element(frame, "myelement", 4, 0),
frame => AssertFrame.Attribute(frame, "attribute2", "123", 1),
frame => AssertFrame.ElementReferenceCapture(frame, referenceCaptureAction, 2),
@@ -538,7 +538,7 @@ namespace Microsoft.AspNetCore.Components.Test
builder.CloseElement();
// Assert
- Assert.Collection(builder.GetFrames(),
+ Assert.Collection(builder.GetFrames().AsEnumerable(),
frame => AssertFrame.Element(frame, "myelement", 3),
frame => AssertFrame.ElementReferenceCapture(frame, referenceCaptureAction1),
frame => AssertFrame.ElementReferenceCapture(frame, referenceCaptureAction2));
@@ -559,7 +559,7 @@ namespace Microsoft.AspNetCore.Components.Test
builder.CloseComponent(); //
// Assert
- Assert.Collection(builder.GetFrames(),
+ Assert.Collection(builder.GetFrames().AsEnumerable(),
frame => AssertFrame.Component(frame, 4, 0),
frame => AssertFrame.Attribute(frame, "attribute2", 123, 1),
frame => AssertFrame.ComponentReferenceCapture(frame, myAction, 2),
@@ -627,7 +627,7 @@ namespace Microsoft.AspNetCore.Components.Test
builder.CloseComponent();
// Assert
- Assert.Collection(builder.GetFrames(),
+ Assert.Collection(builder.GetFrames().AsEnumerable(),
frame => AssertFrame.Component(frame, 3),
frame => AssertFrame.ComponentReferenceCapture(frame, referenceCaptureAction1),
frame => AssertFrame.ComponentReferenceCapture(frame, referenceCaptureAction2));
@@ -647,7 +647,7 @@ namespace Microsoft.AspNetCore.Components.Test
builder.Clear();
// Assert
- Assert.Empty(builder.GetFrames());
+ Assert.Empty(builder.GetFrames().AsEnumerable());
}
[Fact]
@@ -663,7 +663,7 @@ namespace Microsoft.AspNetCore.Components.Test
// Assert
Assert.Collection(
- builder.GetFrames(),
+ builder.GetFrames().AsEnumerable(),
frame => AssertFrame.Element(frame, "elem", 2, 0),
frame => AssertFrame.Attribute(frame, "attr", true, 1));
}
@@ -681,7 +681,7 @@ namespace Microsoft.AspNetCore.Components.Test
// Assert
Assert.Collection(
- builder.GetFrames(),
+ builder.GetFrames().AsEnumerable(),
frame => AssertFrame.Element(frame, "elem", 1, 0));
}
@@ -700,7 +700,7 @@ namespace Microsoft.AspNetCore.Components.Test
// Assert
Assert.Collection(
- builder.GetFrames(),
+ builder.GetFrames().AsEnumerable(),
frame => AssertFrame.Component(frame, 2, 0),
frame => AssertFrame.Attribute(frame, "attr", value, 1));
}
@@ -718,7 +718,7 @@ namespace Microsoft.AspNetCore.Components.Test
// Assert
Assert.Collection(
- builder.GetFrames(),
+ builder.GetFrames().AsEnumerable(),
frame => AssertFrame.Element(frame, "elem", 2, 0),
frame => AssertFrame.Attribute(frame, "attr", "hi", 1));
}
@@ -736,7 +736,7 @@ namespace Microsoft.AspNetCore.Components.Test
// Assert
Assert.Collection(
- builder.GetFrames(),
+ builder.GetFrames().AsEnumerable(),
frame => AssertFrame.Element(frame, "elem", 1, 0));
}
@@ -755,7 +755,7 @@ namespace Microsoft.AspNetCore.Components.Test
// Assert
Assert.Collection(
- builder.GetFrames(),
+ builder.GetFrames().AsEnumerable(),
frame => AssertFrame.Component(frame, 2, 0),
frame => AssertFrame.Attribute(frame, "attr", value, 1));
}
@@ -775,7 +775,7 @@ namespace Microsoft.AspNetCore.Components.Test
// Assert
Assert.Collection(
- builder.GetFrames(),
+ builder.GetFrames().AsEnumerable(),
frame => AssertFrame.Element(frame, "elem", 2, 0),
frame => AssertFrame.Attribute(frame, "attr", value, 1));
}
@@ -793,7 +793,7 @@ namespace Microsoft.AspNetCore.Components.Test
// Assert
Assert.Collection(
- builder.GetFrames(),
+ builder.GetFrames().AsEnumerable(),
frame => AssertFrame.Element(frame, "elem", 1, 0));
}
@@ -812,7 +812,7 @@ namespace Microsoft.AspNetCore.Components.Test
// Assert
Assert.Collection(
- builder.GetFrames(),
+ builder.GetFrames().AsEnumerable(),
frame => AssertFrame.Element(frame, "elem", 2, 0),
frame => AssertFrame.Attribute(frame, "attr", value, 1));
}
@@ -830,7 +830,7 @@ namespace Microsoft.AspNetCore.Components.Test
// Assert
Assert.Collection(
- builder.GetFrames(),
+ builder.GetFrames().AsEnumerable(),
frame => AssertFrame.Element(frame, "elem", 1, 0));
}
@@ -854,7 +854,7 @@ namespace Microsoft.AspNetCore.Components.Test
// Assert
Assert.Collection(
- builder.GetFrames(),
+ builder.GetFrames().AsEnumerable(),
frame => AssertFrame.Component(frame, 2, 0),
frame => AssertFrame.Attribute(frame, "attr", value, 1));
}
@@ -872,7 +872,7 @@ namespace Microsoft.AspNetCore.Components.Test
// Assert
Assert.Collection(
- builder.GetFrames(),
+ builder.GetFrames().AsEnumerable(),
frame => AssertFrame.Element(frame, "elem", 2, 0),
frame => AssertFrame.Attribute(frame, "attr", true, 1));
}
@@ -890,7 +890,7 @@ namespace Microsoft.AspNetCore.Components.Test
// Assert
Assert.Collection(
- builder.GetFrames(),
+ builder.GetFrames().AsEnumerable(),
frame => AssertFrame.Element(frame, "elem", 1, 0));
}
@@ -909,7 +909,7 @@ namespace Microsoft.AspNetCore.Components.Test
// Assert
Assert.Collection(
- builder.GetFrames(),
+ builder.GetFrames().AsEnumerable(),
frame => AssertFrame.Component(frame, 2, 0),
frame => AssertFrame.Attribute(frame, "attr", value, 1));
}
@@ -927,7 +927,7 @@ namespace Microsoft.AspNetCore.Components.Test
// Assert
Assert.Collection(
- builder.GetFrames(),
+ builder.GetFrames().AsEnumerable(),
frame => AssertFrame.Element(frame, "elem", 2, 0),
frame => AssertFrame.Attribute(frame, "attr", "hi", 1));
}
@@ -945,7 +945,7 @@ namespace Microsoft.AspNetCore.Components.Test
// Assert
Assert.Collection(
- builder.GetFrames(),
+ builder.GetFrames().AsEnumerable(),
frame => AssertFrame.Component(frame, 2, 0),
frame => AssertFrame.Attribute(frame, "attr", "hi", 1));
}
@@ -965,7 +965,7 @@ namespace Microsoft.AspNetCore.Components.Test
// Assert
Assert.Collection(
- builder.GetFrames(),
+ builder.GetFrames().AsEnumerable(),
frame => AssertFrame.Element(frame, "elem", 2, 0),
frame => AssertFrame.Attribute(frame, "attr", value, 1));
}
@@ -985,7 +985,7 @@ namespace Microsoft.AspNetCore.Components.Test
// Assert
Assert.Collection(
- builder.GetFrames(),
+ builder.GetFrames().AsEnumerable(),
frame => AssertFrame.Component(frame, 2, 0),
frame => AssertFrame.Attribute(frame, "attr", value, 1));
}
@@ -1005,7 +1005,7 @@ namespace Microsoft.AspNetCore.Components.Test
// Assert
Assert.Collection(
- builder.GetFrames(),
+ builder.GetFrames().AsEnumerable(),
frame => AssertFrame.Element(frame, "elem", 2, 0),
frame => AssertFrame.Attribute(frame, "attr", value, 1));
}
@@ -1025,7 +1025,7 @@ namespace Microsoft.AspNetCore.Components.Test
// Assert
Assert.Collection(
- builder.GetFrames(),
+ builder.GetFrames().AsEnumerable(),
frame => AssertFrame.Component(frame, 2, 0),
frame => AssertFrame.Attribute(frame, "attr", value, 1));
}
@@ -1043,7 +1043,7 @@ namespace Microsoft.AspNetCore.Components.Test
// Assert
Assert.Collection(
- builder.GetFrames(),
+ builder.GetFrames().AsEnumerable(),
frame => AssertFrame.Element(frame, "elem", 1, 0));
}
diff --git a/src/Components/Components/test/RenderTreeDiffBuilderTest.cs b/src/Components/Components/test/RenderTreeDiffBuilderTest.cs
index 2c477d0893..caafa7c7d5 100644
--- a/src/Components/Components/test/RenderTreeDiffBuilderTest.cs
+++ b/src/Components/Components/test/RenderTreeDiffBuilderTest.cs
@@ -486,7 +486,7 @@ namespace Microsoft.AspNetCore.Components.Test
Assert.NotEqual(0, removedEventHandlerFrame.AttributeEventHandlerId);
Assert.Equal(
new[] { removedEventHandlerFrame.AttributeEventHandlerId },
- batch.DisposedEventHandlerIDs);
+ batch.DisposedEventHandlerIDs.AsEnumerable());
}
[Fact]
@@ -1114,7 +1114,7 @@ namespace Microsoft.AspNetCore.Components.Test
var renderBatch = GetRenderedBatch();
// Assert
- var diff = renderBatch.UpdatedComponents.Single();
+ var diff = renderBatch.UpdatedComponents.AsEnumerable().Single();
Assert.Collection(diff.Edits,
entry => AssertEdit(entry, RenderTreeEditType.StepIn, 1),
entry =>
@@ -1145,7 +1145,7 @@ namespace Microsoft.AspNetCore.Components.Test
// Act
var renderBatch = GetRenderedBatch();
- var componentInstance = newTree.GetFrames().First().Component as FakeComponent;
+ var componentInstance = newTree.GetFrames().AsEnumerable().First().Component as FakeComponent;
// Assert
Assert.Equal(1, renderBatch.UpdatedComponents.Count);
@@ -1216,7 +1216,7 @@ namespace Microsoft.AspNetCore.Components.Test
AssertFrame.Attribute(newAttributeFrame, "ontest", retainedHandler);
Assert.NotEqual(0, oldAttributeFrame.AttributeEventHandlerId);
Assert.Equal(oldAttributeFrame.AttributeEventHandlerId, newAttributeFrame.AttributeEventHandlerId);
- Assert.Empty(batch.DisposedEventHandlerIDs);
+ Assert.Empty(batch.DisposedEventHandlerIDs.AsEnumerable());
}
[Fact]
@@ -1243,7 +1243,7 @@ namespace Microsoft.AspNetCore.Components.Test
AssertFrame.Attribute(newAttributeFrame, "ontest", retainedHandler);
Assert.NotEqual(0, oldAttributeFrame.AttributeEventHandlerId);
Assert.Equal(oldAttributeFrame.AttributeEventHandlerId, newAttributeFrame.AttributeEventHandlerId);
- Assert.Empty(batch.DisposedEventHandlerIDs);
+ Assert.Empty(batch.DisposedEventHandlerIDs.AsEnumerable());
}
[Fact]
@@ -1503,7 +1503,7 @@ namespace Microsoft.AspNetCore.Components.Test
var batch = GetRenderedBatch(initializeFromFrames);
var diffsInBatch = batch.UpdatedComponents;
Assert.Equal(1, diffsInBatch.Count);
- return (diffsInBatch.Array[0], batch.ReferenceFrames.ToArray(), batch);
+ return (diffsInBatch.Array[0], batch.ReferenceFrames.AsEnumerable().ToArray(), batch);
}
private RenderBatch GetRenderedBatch(bool initializeFromFrames = false)
diff --git a/src/Components/README.md b/src/Components/README.md
index 5a8e4b05be..6eacb16cda 100644
--- a/src/Components/README.md
+++ b/src/Components/README.md
@@ -1,98 +1,17 @@
-# Components
+# Blazor
**Build modern, interactive web-based UIs with C# and Razor.**
-This folder contains the underlying *components* programming model that powers both server-side [Razor Components](#razor-components) and client-side [Blazor](#blazor) applications.
+This folder contains the underlying *components* programming model that powers both server-side and client-side [Blazor](#blazor) applications.
-Features of the components programming model include:
+Blazor is a component based web UI framework. Blazor apps can run client-side in browser on WebAssembly or server-side as part of an ASP.NET Core app. Blazor is a full single-page application (SPA) framework inspired by the latest JavaScript SPA frameworks, featuring support for offline/PWA applications, app size trimming, and browser-based debugging.
-- [A powerful model for building composable UI](https://blazor.net/docs/components/index.html)
-- [Routing](https://blazor.net/docs/routing.html)
-- [Layouts](https://blazor.net/docs/layouts.html)
-- Forms and validation
-- [Dependency injection](https://blazor.net/docs/dependency-injection.html)
-- [JavaScript interop](https://blazor.net/docs/javascript-interop.html)
-- Live reloading in the browser during development
-- Server-side rendering
-- Full .NET debugging
-- Rich IntelliSense and tooling
-
-## Razor Components
-
-Razor Components is a built-in feature of ASP.NET Core 3.0. It provides a convenient and powerful way to create sophisticated UIs that update in real-time, while keeping all your code in .NET running on the server.
-
-## Blazor
-
-Blazor is a project to run Razor Components truly client-side, in any browser, on WebAssembly. It's a full single-page application (SPA) framework inspired by the latest JavaScript SPA frameworks, featuring support for offline/PWA applications, app size trimming, and browser-based debugging.
-
-Blazor uses only the latest web standards. No plugins or transpilation needed. It runs in the browser on a real .NET runtime ([Mono](http://www.mono-project.com/news/2017/08/09/hello-webassembly/)) implemented in [WebAssembly](http://webassembly.org) that executes normal .NET assemblies.
+Blazor uses only the latest web standards. No plugins or transpilation needed. It runs in the browser on a real .NET runtime implemented in [WebAssembly](http://webassembly.org) that executes normal .NET assemblies.
[](https://gitter.im/aspnet/Blazor?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
-> Note: client-side Blazor is an *experimental* project. It's not yet a committed product . This is to allow time to fully investigate the technical issues associated with running .NET in the browser and to ensure we can build something that developers love and can be productive with. During this experimental phase, we expect to engage deeply with early Blazor adopters like you to hear your feedback and suggestions.
-
-To see Blazor in action, check out [Steve Sanderson's demo at NDC London](https://www.youtube.com/watch?v=Qe8UW5543-s). You can also try out a [simple live Blazor app](https://blazor-demo.github.io/).
+You can learn more about Blazor at https://blazor.net.
## Getting Started
-To get started and build your first web app check out our [getting started guide](https://go.microsoft.com/fwlink/?linkid=870449).
-
-## Building from source
-
-See [these instructions](/docs/BuildFromSource.md) for more details on how to build this project on your own.
-
-## Developing the Blazor VS Tooling
-
-To do local development of the Blazor tooling experience in VS, select the `Microsoft.VisualStudio.BlazorExtension`
-project and launch the debugger.
-
-The Blazor Visual Studio tooling will build as part of the command line build when on Windows.
-
-## Using CI Builds of Blazor
-
-To use a nightly or developer CI build of the Blazor package, ensure that you have the Blazor package feed configured, and update your package version numbers. You should use developer builds only with the expectation that things will break and change without any sort of announcement.
-
-Update your projects to include the Blazor development feed (`https://dotnet.myget.org/f/blazor-dev/api/v3/index.json`). You can do this in a project file with MSBuild:
-
-```xml
-
- https://dotnet.myget.org/f/blazor-dev/api/v3/index.json;
-
-```
-
-Or in a NuGet.config in the same directory as the solution file:
-
-```xml
-
-
-
-
-
-
-
-
-```
-
-You can browse https://dotnet.myget.org/gallery/blazor-dev to find the current versions of packages. We recommend picking a specific version of the packages and using it across your projects.
-
-```xml
-
-
-
-
-
-```
-
-To install a developer CI build of the Blazor Language Service extension for Visual Studio, add https://dotnet.myget.org/F/blazor-dev/vsix/ as an additional extension gallery by going to Tools -> Options -> Environment -> Extensions and Updates:
-
-
-
-You should then be able to install or update the Blazor Language Service extension from the developer CI feed using the Extensions and Updates dialog.
-
-## Contributing
-
-There are lots of ways that you can contribute to Blazor! Read our [contributing guide](https://github.com/aspnet/Blazor/blob/master/CONTRIBUTING.md) to learn about our development process and how to propose bug fixes and improvements.
-
-## Still got questions?
-
-Check out our [FAQ](https://github.com/aspnet/Blazor/wiki/FAQ) or open an [issue](https://github.com/aspnet/Blazor/issues).
+To get started with Blazor and build your first web app check out our [getting started guide](https://go.microsoft.com/fwlink/?linkid=870449).
diff --git a/src/Components/Server/ref/Microsoft.AspNetCore.Components.Server.netcoreapp3.0.cs b/src/Components/Server/ref/Microsoft.AspNetCore.Components.Server.netcoreapp3.0.cs
index ae723ee3cc..17c98463a6 100644
--- a/src/Components/Server/ref/Microsoft.AspNetCore.Components.Server.netcoreapp3.0.cs
+++ b/src/Components/Server/ref/Microsoft.AspNetCore.Components.Server.netcoreapp3.0.cs
@@ -5,15 +5,14 @@ namespace Microsoft.AspNetCore.Builder
{
public static partial class ComponentEndpointConventionBuilderExtensions
{
- public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder AddComponent(this Microsoft.AspNetCore.Builder.IEndpointConventionBuilder builder, System.Type componentType, string selector) { throw null; }
- public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder AddComponent(this Microsoft.AspNetCore.Builder.IEndpointConventionBuilder builder, string selector) { throw null; }
+ public static TBuilder AddComponent(this TBuilder builder, System.Type componentType, string selector) where TBuilder : Microsoft.AspNetCore.SignalR.IHubEndpointConventionBuilder { throw null; }
}
public static partial class ComponentEndpointRouteBuilderExtensions
{
- public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder MapBlazorHub(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints) { throw null; }
- public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder MapBlazorHub(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, System.Type componentType, string selector, string path) { throw null; }
- public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder MapBlazorHub(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string selector) where TComponent : Microsoft.AspNetCore.Components.IComponent { throw null; }
- public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder MapBlazorHub(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string selector, string path) where TComponent : Microsoft.AspNetCore.Components.IComponent { throw null; }
+ public static Microsoft.AspNetCore.Components.Server.ComponentEndpointConventionBuilder MapBlazorHub(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints) { throw null; }
+ public static Microsoft.AspNetCore.Components.Server.ComponentEndpointConventionBuilder MapBlazorHub(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, System.Type componentType, string selector, string path) { throw null; }
+ public static Microsoft.AspNetCore.Components.Server.ComponentEndpointConventionBuilder MapBlazorHub(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string selector) where TComponent : Microsoft.AspNetCore.Components.IComponent { throw null; }
+ public static Microsoft.AspNetCore.Components.Server.ComponentEndpointConventionBuilder MapBlazorHub(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string selector, string path) where TComponent : Microsoft.AspNetCore.Components.IComponent { throw null; }
}
}
namespace Microsoft.AspNetCore.Components.Browser.Rendering
@@ -31,6 +30,11 @@ namespace Microsoft.AspNetCore.Components.Server
public System.TimeSpan DisconnectedCircuitRetentionPeriod { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
public int MaxRetainedDisconnectedCircuits { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
}
+ public sealed partial class ComponentEndpointConventionBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder, Microsoft.AspNetCore.SignalR.IHubEndpointConventionBuilder
+ {
+ internal ComponentEndpointConventionBuilder() { }
+ public void Add(System.Action convention) { }
+ }
public sealed partial class ComponentHub : Microsoft.AspNetCore.SignalR.Hub
{
public ComponentHub(System.IServiceProvider services, Microsoft.Extensions.Logging.ILogger logger) { }
diff --git a/src/Components/Server/src/BlazorPack/NativeDateTimeFormatter.cs b/src/Components/Server/src/BlazorPack/NativeDateTimeFormatter.cs
deleted file mode 100644
index f45c61926c..0000000000
--- a/src/Components/Server/src/BlazorPack/NativeDateTimeFormatter.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-// Copyright (c) .NET Foundation. All rights reserved.
-// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
-
-namespace MessagePack.Formatters
-{
- internal class NativeDateTimeFormatter
- {
- }
-}
diff --git a/src/Components/Server/src/BlazorPack/Requires.cs b/src/Components/Server/src/BlazorPack/Requires.cs
new file mode 100644
index 0000000000..4a7532d78f
--- /dev/null
+++ b/src/Components/Server/src/BlazorPack/Requires.cs
@@ -0,0 +1,35 @@
+// Copyright (c) Andrew Arnott. All rights reserved.
+// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
+
+using System;
+using System.Buffers;
+
+namespace Nerdbank.Streams
+{
+ internal static class Requires
+ {
+ internal static void NotNull(object arg, string paramName)
+ {
+ if (arg == null)
+ {
+ throw new ArgumentNullException(nameof(paramName));
+ }
+ }
+
+ internal static void Argument(bool condition, string paramName, string message)
+ {
+ if (condition)
+ {
+ throw new ArgumentException(message, paramName);
+ }
+ }
+
+ internal static void Range(bool condition, string paramName)
+ {
+ if (condition)
+ {
+ throw new ArgumentOutOfRangeException(paramName);
+ }
+ }
+ }
+}
diff --git a/src/Components/Server/src/BlazorPack/SequenceOfT.cs b/src/Components/Server/src/BlazorPack/SequenceOfT.cs
new file mode 100644
index 0000000000..453d6b42e2
--- /dev/null
+++ b/src/Components/Server/src/BlazorPack/SequenceOfT.cs
@@ -0,0 +1,451 @@
+// Copyright (c) Andrew Arnott. All rights reserved.
+// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
+
+namespace Nerdbank.Streams
+{
+ using System;
+ using System.Buffers;
+ using System.Collections.Generic;
+ using System.ComponentModel;
+ using System.Diagnostics;
+ using System.Reflection;
+ using System.Runtime.CompilerServices;
+ using System.Runtime.InteropServices;
+ using Microsoft;
+
+ ///
+ /// Manages a sequence of elements, readily castable as a .
+ ///
+ /// The type of element stored by the sequence.
+ ///
+ /// Instance members are not thread-safe.
+ ///
+ [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")]
+ internal class Sequence : IBufferWriter, IDisposable
+ {
+ private static readonly int DefaultLengthFromArrayPool = 1 + (4095 / Marshal.SizeOf());
+
+ private readonly Stack segmentPool = new Stack();
+
+ private readonly MemoryPool memoryPool;
+
+ private readonly ArrayPool arrayPool;
+
+ private SequenceSegment first;
+
+ private SequenceSegment last;
+
+ ///
+ /// Initializes a new instance of the class
+ /// that uses a private for recycling arrays.
+ ///
+ public Sequence()
+ : this(ArrayPool.Create())
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// The pool to use for recycling backing arrays.
+ public Sequence(MemoryPool memoryPool)
+ {
+ Requires.NotNull(memoryPool, nameof(memoryPool));
+ this.memoryPool = memoryPool;
+ }
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// The pool to use for recycling backing arrays.
+ public Sequence(ArrayPool arrayPool)
+ {
+ Requires.NotNull(arrayPool, nameof(arrayPool));
+ this.arrayPool = arrayPool;
+ }
+
+ ///
+ /// Gets or sets the minimum length for any array allocated as a segment in the sequence.
+ /// Any non-positive value allows the pool to determine the length of the array.
+ ///
+ /// The default value is 0.
+ ///
+ ///
+ /// Each time or is called,
+ /// previously allocated memory is used if it is large enough to satisfy the length demand.
+ /// If new memory must be allocated, the argument to one of these methods typically dictate
+ /// the length of array to allocate. When the caller uses very small values (just enough for its immediate need)
+ /// but the high level scenario can predict that a large amount of memory will be ultimately required,
+ /// it can be advisable to set this property to a value such that just a few larger arrays are allocated
+ /// instead of many small ones.
+ ///
+ ///
+ /// The in use may itself have a minimum array length as well,
+ /// in which case the higher of the two minimums dictate the minimum array size that will be allocated.
+ ///
+ ///
+ public int MinimumSpanLength { get; set; } = 0;
+
+ ///
+ /// Gets this sequence expressed as a .
+ ///
+ /// A read only sequence representing the data in this object.
+ public ReadOnlySequence AsReadOnlySequence => this;
+
+ ///
+ /// Gets the length of the sequence.
+ ///
+ public long Length => this.AsReadOnlySequence.Length;
+
+ ///
+ /// Gets the value to display in a debugger datatip.
+ ///
+ private string DebuggerDisplay => $"Length: {AsReadOnlySequence.Length}";
+
+ ///
+ /// Expresses this sequence as a .
+ ///
+ /// The sequence to convert.
+ public static implicit operator ReadOnlySequence(Sequence sequence)
+ {
+ return sequence.first != null
+ ? new ReadOnlySequence(sequence.first, sequence.first.Start, sequence.last, sequence.last.End)
+ : ReadOnlySequence.Empty;
+ }
+
+ ///
+ /// Removes all elements from the sequence from its beginning to the specified position,
+ /// considering that data to have been fully processed.
+ ///
+ ///
+ /// The position of the first element that has not yet been processed.
+ /// This is typically after reading all elements from that instance.
+ ///
+ public void AdvanceTo(SequencePosition position)
+ {
+ var firstSegment = (SequenceSegment)position.GetObject();
+ int firstIndex = position.GetInteger();
+
+ // Before making any mutations, confirm that the block specified belongs to this sequence.
+ var current = this.first;
+ while (current != firstSegment && current != null)
+ {
+ current = current.Next;
+ }
+
+ Requires.Argument(current != null, nameof(position), "Position does not represent a valid position in this sequence.");
+
+ // Also confirm that the position is not a prior position in the block.
+ Requires.Argument(firstIndex >= current.Start, nameof(position), "Position must not be earlier than current position.");
+
+ // Now repeat the loop, performing the mutations.
+ current = this.first;
+ while (current != firstSegment)
+ {
+ current = this.RecycleAndGetNext(current);
+ }
+
+ firstSegment.AdvanceTo(firstIndex);
+
+ if (firstSegment.Length == 0)
+ {
+ firstSegment = this.RecycleAndGetNext(firstSegment);
+ }
+
+ this.first = firstSegment;
+
+ if (this.first == null)
+ {
+ this.last = null;
+ }
+ }
+
+ ///
+ /// Advances the sequence to include the specified number of elements initialized into memory
+ /// returned by a prior call to .
+ ///
+ /// The number of elements written into memory.
+ public void Advance(int count)
+ {
+ SequenceSegment last = this.last;
+ Debug.Assert(last != null, "Cannot advance before acquiring memory.");
+ last.Advance(count);
+ }
+
+ ///
+ /// Gets writable memory that can be initialized and added to the sequence via a subsequent call to .
+ ///
+ /// The size of the memory required, or 0 to just get a convenient (non-empty) buffer.
+ /// The requested memory.
+ public Memory GetMemory(int sizeHint) => this.GetSegment(sizeHint).RemainingMemory;
+
+ ///
+ /// Gets writable memory that can be initialized and added to the sequence via a subsequent call to .
+ ///
+ /// The size of the memory required, or 0 to just get a convenient (non-empty) buffer.
+ /// The requested memory.
+ public Span GetSpan(int sizeHint) => this.GetSegment(sizeHint).RemainingSpan;
+
+ ///
+ /// Clears the entire sequence, recycles associated memory into pools,
+ /// and resets this instance for reuse.
+ /// This invalidates any previously produced by this instance.
+ ///
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public void Dispose() => this.Reset();
+
+ ///
+ /// Clears the entire sequence and recycles associated memory into pools.
+ /// This invalidates any previously produced by this instance.
+ ///
+ public void Reset()
+ {
+ var current = this.first;
+ while (current != null)
+ {
+ current = this.RecycleAndGetNext(current);
+ }
+
+ this.first = this.last = null;
+ }
+
+ private SequenceSegment GetSegment(int sizeHint)
+ {
+ Requires.Range(sizeHint >= 0, nameof(sizeHint));
+ int? minBufferSize = null;
+ if (sizeHint == 0)
+ {
+ if (this.last == null || this.last.WritableBytes == 0)
+ {
+ // We're going to need more memory. Take whatever size the pool wants to give us.
+ minBufferSize = -1;
+ }
+ }
+ else
+ {
+ sizeHint = Math.Max(this.MinimumSpanLength, sizeHint);
+ if (this.last == null || this.last.WritableBytes < sizeHint)
+ {
+ minBufferSize = sizeHint;
+ }
+ }
+
+ if (minBufferSize.HasValue)
+ {
+ var segment = this.segmentPool.Count > 0 ? this.segmentPool.Pop() : new SequenceSegment();
+ if (this.arrayPool != null)
+ {
+ segment.Assign(this.arrayPool.Rent(minBufferSize.Value == -1 ? DefaultLengthFromArrayPool : minBufferSize.Value));
+ }
+ else
+ {
+ segment.Assign(this.memoryPool.Rent(minBufferSize.Value));
+ }
+
+ this.Append(segment);
+ }
+
+ return this.last;
+ }
+
+ private void Append(SequenceSegment segment)
+ {
+ if (this.last == null)
+ {
+ this.first = this.last = segment;
+ }
+ else
+ {
+ if (this.last.Length > 0)
+ {
+ // Add a new block.
+ this.last.SetNext(segment);
+ }
+ else
+ {
+ // The last block is completely unused. Replace it instead of appending to it.
+ var current = this.first;
+ if (this.first != this.last)
+ {
+ while (current.Next != this.last)
+ {
+ current = current.Next;
+ }
+ }
+ else
+ {
+ this.first = segment;
+ }
+
+ current.SetNext(segment);
+ this.RecycleAndGetNext(this.last);
+ }
+
+ this.last = segment;
+ }
+ }
+
+ private SequenceSegment RecycleAndGetNext(SequenceSegment segment)
+ {
+ var recycledSegment = segment;
+ segment = segment.Next;
+ recycledSegment.ResetMemory(this.arrayPool);
+ this.segmentPool.Push(recycledSegment);
+ return segment;
+ }
+
+ private class SequenceSegment : ReadOnlySequenceSegment
+ {
+ ///
+ /// A value indicating whether the element is a value type.
+ ///
+ private static readonly bool IsValueTypeElement = typeof(T).GetTypeInfo().IsValueType;
+
+ ///
+ /// Gets the backing array, when using an instead of a .
+ ///
+ private T[] array;
+
+ ///
+ /// Gets the position within where the data starts.
+ ///
+ /// This may be nonzero as a result of calling .
+ internal int Start { get; private set; }
+
+ ///
+ /// Gets the position within where the data ends.
+ ///
+ internal int End { get; private set; }
+
+ ///
+ /// Gets the tail of memory that has not yet been committed.
+ ///
+ internal Memory RemainingMemory => this.AvailableMemory.Slice(this.End);
+
+ ///
+ /// Gets the tail of memory that has not yet been committed.
+ ///
+ internal Span RemainingSpan => this.AvailableMemory.Span.Slice(this.End);
+
+ ///
+ /// Gets the tracker for the underlying array for this segment, which can be used to recycle the array when we're disposed of.
+ /// Will be null if using an array pool, in which case the memory is held by .
+ ///
+ internal IMemoryOwner MemoryOwner { get; private set; }
+
+ ///
+ /// Gets the full memory owned by the .
+ ///
+ internal Memory AvailableMemory => this.array ?? this.MemoryOwner?.Memory ?? default;
+
+ ///
+ /// Gets the number of elements that are committed in this segment.
+ ///
+ internal int Length => this.End - this.Start;
+
+ ///
+ /// Gets the amount of writable bytes in this segment.
+ /// It is the amount of bytes between and .
+ ///
+ internal int WritableBytes => this.AvailableMemory.Length - this.End;
+
+ ///
+ /// Gets or sets the next segment in the singly linked list of segments.
+ ///
+ internal new SequenceSegment Next
+ {
+ get => (SequenceSegment)base.Next;
+ set => base.Next = value;
+ }
+
+ ///
+ /// Assigns this (recyclable) segment a new area in memory.
+ ///
+ /// The memory and a means to recycle it.
+ internal void Assign(IMemoryOwner memoryOwner)
+ {
+ this.MemoryOwner = memoryOwner;
+ this.Memory = memoryOwner.Memory;
+ }
+
+ ///
+ /// Assigns this (recyclable) segment a new area in memory.
+ ///
+ /// An array drawn from an .
+ internal void Assign(T[] array)
+ {
+ this.array = array;
+ this.Memory = array;
+ }
+
+ ///
+ /// Clears all fields in preparation to recycle this instance.
+ ///
+ internal void ResetMemory(ArrayPool arrayPool)
+ {
+ this.ClearReferences(this.Start, this.End);
+ this.Memory = default;
+ this.Next = null;
+ this.RunningIndex = 0;
+ this.Start = 0;
+ this.End = 0;
+ if (this.array != null)
+ {
+ arrayPool.Return(this.array);
+ this.array = null;
+ }
+ else
+ {
+ this.MemoryOwner?.Dispose();
+ this.MemoryOwner = null;
+ }
+ }
+
+ ///
+ /// Adds a new segment after this one.
+ ///
+ /// The next segment in the linked list.
+ internal void SetNext(SequenceSegment segment)
+ {
+ Debug.Assert(segment != null, "Null not allowed.");
+ this.Next = segment;
+ segment.RunningIndex = this.RunningIndex + this.Start + this.Length;
+
+ // When setting Memory, we start with index 0 instead of this.Start because
+ // the first segment has an explicit index set anyway,
+ // and we don't want to double-count it here.
+ this.Memory = this.AvailableMemory.Slice(0, this.Start + this.Length);
+ }
+
+ ///
+ /// Commits more elements as written in this segment.
+ ///
+ /// The number of elements written.
+ internal void Advance(int count)
+ {
+ Requires.Range(count >= 0 && this.End + count <= this.Memory.Length, nameof(count));
+ this.End += count;
+ }
+
+ ///
+ /// Removes some elements from the start of this segment.
+ ///
+ /// The number of elements to ignore from the start of the underlying array.
+ internal void AdvanceTo(int offset)
+ {
+ Debug.Assert(offset >= this.Start, "Trying to rewind.");
+ this.ClearReferences(this.Start, offset - this.Start);
+ this.Start = offset;
+ }
+
+ private void ClearReferences(int startIndex, int length)
+ {
+ // If we store references, clear them to allow the objects to be GC'd.
+ if (!IsValueTypeElement)
+ {
+ this.AvailableMemory.Span.Slice(startIndex, length).Fill(default);
+ }
+ }
+ }
+ }
+}
diff --git a/src/Components/Server/src/Builder/ComponentEndpointConventionBuilder.cs b/src/Components/Server/src/Builder/ComponentEndpointConventionBuilder.cs
new file mode 100644
index 0000000000..284d9fd004
--- /dev/null
+++ b/src/Components/Server/src/Builder/ComponentEndpointConventionBuilder.cs
@@ -0,0 +1,31 @@
+// Copyright (c) .NET Foundation. All rights reserved.
+// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
+
+using System;
+using Microsoft.AspNetCore.Builder;
+using Microsoft.AspNetCore.SignalR;
+
+namespace Microsoft.AspNetCore.Components.Server
+{
+ ///
+ /// Builds conventions that will be used for customization of ComponentHub instances.
+ ///
+ public sealed class ComponentEndpointConventionBuilder : IHubEndpointConventionBuilder
+ {
+ private readonly IEndpointConventionBuilder _endpointConventionBuilder;
+
+ internal ComponentEndpointConventionBuilder(IEndpointConventionBuilder endpointConventionBuilder)
+ {
+ _endpointConventionBuilder = endpointConventionBuilder;
+ }
+
+ ///
+ /// Adds the specified convention to the builder. Conventions are used to customize instances.
+ ///
+ /// The convention to add to the builder.
+ public void Add(Action convention)
+ {
+ _endpointConventionBuilder.Add(convention);
+ }
+ }
+}
diff --git a/src/Components/Server/src/Builder/ComponentEndpointConventionBuilderExtensions.cs b/src/Components/Server/src/Builder/ComponentEndpointConventionBuilderExtensions.cs
index 058a6ea945..f44577bb2c 100644
--- a/src/Components/Server/src/Builder/ComponentEndpointConventionBuilderExtensions.cs
+++ b/src/Components/Server/src/Builder/ComponentEndpointConventionBuilderExtensions.cs
@@ -4,45 +4,24 @@
using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Components.Server;
+using Microsoft.AspNetCore.SignalR;
namespace Microsoft.AspNetCore.Builder
{
///
- /// Extensions for .
+ /// Extensions for .
///
public static class ComponentEndpointConventionBuilderExtensions
{
- ///
- /// Adds to the list of components registered with this instance.
- ///
- /// The component type.
- /// The .
- /// A CSS selector that identifies the DOM element into which the will be placed.
- /// The .
- public static IEndpointConventionBuilder AddComponent(this IEndpointConventionBuilder builder, string selector)
- {
- if (builder == null)
- {
- throw new ArgumentNullException(nameof(builder));
- }
-
- if (selector == null)
- {
- throw new ArgumentNullException(nameof(selector));
- }
-
- return AddComponent(builder, typeof(TComponent), selector);
- }
-
///
/// Adds to the list of components registered with this instance.
/// The selector will default to the component name in lowercase.
///
- /// The .
+ /// The .
/// The component type.
/// The component selector in the DOM for the .
/// The .
- public static IEndpointConventionBuilder AddComponent(this IEndpointConventionBuilder builder, Type componentType, string selector)
+ public static TBuilder AddComponent(this TBuilder builder, Type componentType, string selector) where TBuilder : IHubEndpointConventionBuilder
{
if (builder == null)
{
diff --git a/src/Components/Server/src/Builder/ComponentEndpointRouteBuilderExtensions.cs b/src/Components/Server/src/Builder/ComponentEndpointRouteBuilderExtensions.cs
index dc893a1c3b..f2674d8bcf 100644
--- a/src/Components/Server/src/Builder/ComponentEndpointRouteBuilderExtensions.cs
+++ b/src/Components/Server/src/Builder/ComponentEndpointRouteBuilderExtensions.cs
@@ -5,6 +5,7 @@ using System;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Server;
using Microsoft.AspNetCore.Routing;
+using Microsoft.AspNetCore.SignalR;
namespace Microsoft.AspNetCore.Builder
{
@@ -17,15 +18,15 @@ namespace Microsoft.AspNetCore.Builder
/// Maps the SignalR to the path .
///
/// The .
- /// The .
- public static IEndpointConventionBuilder MapBlazorHub(this IEndpointRouteBuilder endpoints)
+ /// The .
+ public static ComponentEndpointConventionBuilder MapBlazorHub(this IEndpointRouteBuilder endpoints)
{
if (endpoints == null)
{
throw new ArgumentNullException(nameof(endpoints));
}
- return endpoints.MapHub(ComponentHub.DefaultPath);
+ return new ComponentEndpointConventionBuilder(endpoints.MapHub(ComponentHub.DefaultPath));
}
///
@@ -35,8 +36,8 @@ namespace Microsoft.AspNetCore.Builder
/// The first associated with this .
/// The .
/// The selector for the .
- /// The .
- public static IEndpointConventionBuilder MapBlazorHub(
+ /// The .
+ public static ComponentEndpointConventionBuilder MapBlazorHub(
this IEndpointRouteBuilder endpoints,
string selector) where TComponent: IComponent
{
@@ -61,8 +62,8 @@ namespace Microsoft.AspNetCore.Builder
/// The .
/// The selector for the .
/// The path to map to which the will be mapped.
- /// The .
- public static IEndpointConventionBuilder MapBlazorHub(
+ /// The .
+ public static ComponentEndpointConventionBuilder MapBlazorHub(
this IEndpointRouteBuilder endpoints,
string selector,
string path) where TComponent : IComponent
@@ -93,8 +94,8 @@ namespace Microsoft.AspNetCore.Builder
/// The first associated with this .
/// The selector for the .
/// The path to map to which the will be mapped.
- /// The .
- public static IEndpointConventionBuilder MapBlazorHub(
+ /// The .
+ public static ComponentEndpointConventionBuilder MapBlazorHub(
this IEndpointRouteBuilder endpoints,
Type componentType,
string selector,
@@ -120,7 +121,7 @@ namespace Microsoft.AspNetCore.Builder
throw new ArgumentNullException(nameof(selector));
}
- return endpoints.MapHub(path).AddComponent(componentType, selector);
+ return new ComponentEndpointConventionBuilder(endpoints.MapHub(path)).AddComponent(componentType, selector);
}
}
}
diff --git a/src/Components/Server/src/Microsoft.AspNetCore.Components.Server.csproj b/src/Components/Server/src/Microsoft.AspNetCore.Components.Server.csproj
index d4dc401cd7..ffafb4e262 100644
--- a/src/Components/Server/src/Microsoft.AspNetCore.Components.Server.csproj
+++ b/src/Components/Server/src/Microsoft.AspNetCore.Components.Server.csproj
@@ -7,6 +7,8 @@
true
true
true
+ CS0436;$(NoWarn)
+ $(DefineConstants);MESSAGEPACK_INTERNAL
@@ -42,6 +44,7 @@
+
diff --git a/src/Components/Shared/test/ArrayRangeExtensions.cs b/src/Components/Shared/test/ArrayRangeExtensions.cs
new file mode 100644
index 0000000000..7929c2bc6b
--- /dev/null
+++ b/src/Components/Shared/test/ArrayRangeExtensions.cs
@@ -0,0 +1,20 @@
+// Copyright (c) .NET Foundation. All rights reserved.
+// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
+
+using System;
+using System.Collections.Generic;
+using Microsoft.AspNetCore.Components.RenderTree;
+
+namespace Microsoft.AspNetCore.Components
+{
+ internal static class ArrayRangeExtensions
+ {
+ public static IEnumerable AsEnumerable(this ArrayRange source)
+ {
+ // This is very allocatey, hence it only existing in test code.
+ // If we need a way to enumerate ArrayRange in product code, we should
+ // consider adding an AsSpan() method or a struct enumerator.
+ return new ArraySegment(source.Array, 0, source.Count);
+ }
+ }
+}
diff --git a/src/Components/Shared/test/TestRenderer.cs b/src/Components/Shared/test/TestRenderer.cs
index e9ea32b29e..8b0cecd4f9 100644
--- a/src/Components/Shared/test/TestRenderer.cs
+++ b/src/Components/Shared/test/TestRenderer.cs
@@ -97,8 +97,8 @@ namespace Microsoft.AspNetCore.Components.Test.Helpers
}
// Clone other data, as underlying storage will get reused by later batches
- capturedBatch.ReferenceFrames = renderBatch.ReferenceFrames.ToArray();
- capturedBatch.DisposedComponentIDs = renderBatch.DisposedComponentIDs.ToList();
+ capturedBatch.ReferenceFrames = renderBatch.ReferenceFrames.AsEnumerable().ToArray();
+ capturedBatch.DisposedComponentIDs = renderBatch.DisposedComponentIDs.AsEnumerable().ToList();
// This renderer updates the UI synchronously, like the WebAssembly one.
// To test async UI updates, subclass TestRenderer and override UpdateDisplayAsync.
diff --git a/src/Components/test/testassets/TestServer/Startup.cs b/src/Components/test/testassets/TestServer/Startup.cs
index 7d6d635d69..1e06fad17e 100644
--- a/src/Components/test/testassets/TestServer/Startup.cs
+++ b/src/Components/test/testassets/TestServer/Startup.cs
@@ -65,7 +65,7 @@ namespace TestServer
subdirApp.UseEndpoints(endpoints =>
{
- endpoints.MapHub(ComponentHub.DefaultPath).AddComponent(selector: "root");
+ endpoints.MapHub(ComponentHub.DefaultPath).AddComponent(typeof(Index), selector: "root");
});
subdirApp.MapWhen(
diff --git a/src/DataProtection/Abstractions/src/baseline.netcore.json b/src/DataProtection/Abstractions/src/baseline.netcore.json
deleted file mode 100644
index eb6e5030fe..0000000000
--- a/src/DataProtection/Abstractions/src/baseline.netcore.json
+++ /dev/null
@@ -1,231 +0,0 @@
-{
- "AssemblyIdentity": "Microsoft.AspNetCore.DataProtection.Abstractions, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60",
- "Types": [
- {
- "Name": "Microsoft.AspNetCore.DataProtection.DataProtectionCommonExtensions",
- "Visibility": "Public",
- "Kind": "Class",
- "Abstract": true,
- "Static": true,
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "CreateProtector",
- "Parameters": [
- {
- "Name": "provider",
- "Type": "Microsoft.AspNetCore.DataProtection.IDataProtectionProvider"
- },
- {
- "Name": "purposes",
- "Type": "System.Collections.Generic.IEnumerable"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.IDataProtector",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "CreateProtector",
- "Parameters": [
- {
- "Name": "provider",
- "Type": "Microsoft.AspNetCore.DataProtection.IDataProtectionProvider"
- },
- {
- "Name": "purpose",
- "Type": "System.String"
- },
- {
- "Name": "subPurposes",
- "Type": "System.String[]",
- "IsParams": true
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.IDataProtector",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetDataProtectionProvider",
- "Parameters": [
- {
- "Name": "services",
- "Type": "System.IServiceProvider"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.IDataProtectionProvider",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetDataProtector",
- "Parameters": [
- {
- "Name": "services",
- "Type": "System.IServiceProvider"
- },
- {
- "Name": "purposes",
- "Type": "System.Collections.Generic.IEnumerable"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.IDataProtector",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetDataProtector",
- "Parameters": [
- {
- "Name": "services",
- "Type": "System.IServiceProvider"
- },
- {
- "Name": "purpose",
- "Type": "System.String"
- },
- {
- "Name": "subPurposes",
- "Type": "System.String[]",
- "IsParams": true
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.IDataProtector",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Protect",
- "Parameters": [
- {
- "Name": "protector",
- "Type": "Microsoft.AspNetCore.DataProtection.IDataProtector"
- },
- {
- "Name": "plaintext",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.String",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Unprotect",
- "Parameters": [
- {
- "Name": "protector",
- "Type": "Microsoft.AspNetCore.DataProtection.IDataProtector"
- },
- {
- "Name": "protectedData",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.String",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.IDataProtectionProvider",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "CreateProtector",
- "Parameters": [
- {
- "Name": "purpose",
- "Type": "System.String"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.IDataProtector",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.IDataProtector",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.DataProtection.IDataProtectionProvider"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "Protect",
- "Parameters": [
- {
- "Name": "plaintext",
- "Type": "System.Byte[]"
- }
- ],
- "ReturnType": "System.Byte[]",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Unprotect",
- "Parameters": [
- {
- "Name": "protectedData",
- "Type": "System.Byte[]"
- }
- ],
- "ReturnType": "System.Byte[]",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.Infrastructure.IApplicationDiscriminator",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_Discriminator",
- "Parameters": [],
- "ReturnType": "System.String",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- }
- ]
-}
\ No newline at end of file
diff --git a/src/DataProtection/AzureKeyVault/src/Microsoft.AspNetCore.DataProtection.AzureKeyVault.csproj b/src/DataProtection/AzureKeyVault/src/Microsoft.AspNetCore.DataProtection.AzureKeyVault.csproj
index a367382da3..43dd5ee584 100644
--- a/src/DataProtection/AzureKeyVault/src/Microsoft.AspNetCore.DataProtection.AzureKeyVault.csproj
+++ b/src/DataProtection/AzureKeyVault/src/Microsoft.AspNetCore.DataProtection.AzureKeyVault.csproj
@@ -5,7 +5,6 @@
netcoreapp3.0
true
aspnetcore;dataprotection;azure;keyvault
- false
true
diff --git a/src/DataProtection/AzureStorage/src/baseline.netcore.json b/src/DataProtection/AzureStorage/src/baseline.netcore.json
deleted file mode 100644
index 09e208bfef..0000000000
--- a/src/DataProtection/AzureStorage/src/baseline.netcore.json
+++ /dev/null
@@ -1,156 +0,0 @@
-{
- "AssemblyIdentity": "Microsoft.AspNetCore.DataProtection.AzureStorage, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60",
- "Types": [
- {
- "Name": "Microsoft.AspNetCore.DataProtection.AzureDataProtectionBuilderExtensions",
- "Visibility": "Public",
- "Kind": "Class",
- "Abstract": true,
- "Static": true,
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "PersistKeysToAzureBlobStorage",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder"
- },
- {
- "Name": "storageAccount",
- "Type": "Microsoft.WindowsAzure.Storage.CloudStorageAccount"
- },
- {
- "Name": "relativePath",
- "Type": "System.String"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "PersistKeysToAzureBlobStorage",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder"
- },
- {
- "Name": "blobUri",
- "Type": "System.Uri"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "PersistKeysToAzureBlobStorage",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder"
- },
- {
- "Name": "blobReference",
- "Type": "Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "PersistKeysToAzureBlobStorage",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder"
- },
- {
- "Name": "container",
- "Type": "Microsoft.WindowsAzure.Storage.Blob.CloudBlobContainer"
- },
- {
- "Name": "blobName",
- "Type": "System.String"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.AzureStorage.AzureBlobXmlRepository",
- "Visibility": "Public",
- "Kind": "Class",
- "Sealed": true,
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.DataProtection.Repositories.IXmlRepository"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "GetAllElements",
- "Parameters": [],
- "ReturnType": "System.Collections.Generic.IReadOnlyCollection",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.DataProtection.Repositories.IXmlRepository",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "StoreElement",
- "Parameters": [
- {
- "Name": "element",
- "Type": "System.Xml.Linq.XElement"
- },
- {
- "Name": "friendlyName",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.DataProtection.Repositories.IXmlRepository",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "blobRefFactory",
- "Type": "System.Func"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- }
- ]
-}
\ No newline at end of file
diff --git a/src/DataProtection/Cryptography.Internal/src/baseline.netcore.json b/src/DataProtection/Cryptography.Internal/src/baseline.netcore.json
deleted file mode 100644
index 01daa339ee..0000000000
--- a/src/DataProtection/Cryptography.Internal/src/baseline.netcore.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "AssemblyIdentity": "Microsoft.AspNetCore.Cryptography.Internal, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60",
- "Types": []
-}
\ No newline at end of file
diff --git a/src/DataProtection/Cryptography.KeyDerivation/src/baseline.netcore.json b/src/DataProtection/Cryptography.KeyDerivation/src/baseline.netcore.json
deleted file mode 100644
index ceddb40cc2..0000000000
--- a/src/DataProtection/Cryptography.KeyDerivation/src/baseline.netcore.json
+++ /dev/null
@@ -1,78 +0,0 @@
-{
- "AssemblyIdentity": "Microsoft.AspNetCore.Cryptography.KeyDerivation, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60",
- "Types": [
- {
- "Name": "Microsoft.AspNetCore.Cryptography.KeyDerivation.KeyDerivation",
- "Visibility": "Public",
- "Kind": "Class",
- "Abstract": true,
- "Static": true,
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "Pbkdf2",
- "Parameters": [
- {
- "Name": "password",
- "Type": "System.String"
- },
- {
- "Name": "salt",
- "Type": "System.Byte[]"
- },
- {
- "Name": "prf",
- "Type": "Microsoft.AspNetCore.Cryptography.KeyDerivation.KeyDerivationPrf"
- },
- {
- "Name": "iterationCount",
- "Type": "System.Int32"
- },
- {
- "Name": "numBytesRequested",
- "Type": "System.Int32"
- }
- ],
- "ReturnType": "System.Byte[]",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Cryptography.KeyDerivation.KeyDerivationPrf",
- "Visibility": "Public",
- "Kind": "Enumeration",
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Field",
- "Name": "HMACSHA1",
- "Parameters": [],
- "GenericParameter": [],
- "Literal": "0"
- },
- {
- "Kind": "Field",
- "Name": "HMACSHA256",
- "Parameters": [],
- "GenericParameter": [],
- "Literal": "1"
- },
- {
- "Kind": "Field",
- "Name": "HMACSHA512",
- "Parameters": [],
- "GenericParameter": [],
- "Literal": "2"
- }
- ],
- "GenericParameters": []
- }
- ]
-}
\ No newline at end of file
diff --git a/src/DataProtection/DataProtection/ref/Microsoft.AspNetCore.DataProtection.netcoreapp3.0.cs b/src/DataProtection/DataProtection/ref/Microsoft.AspNetCore.DataProtection.netcoreapp3.0.cs
index 4c65c89259..badd03a3ce 100644
--- a/src/DataProtection/DataProtection/ref/Microsoft.AspNetCore.DataProtection.netcoreapp3.0.cs
+++ b/src/DataProtection/DataProtection/ref/Microsoft.AspNetCore.DataProtection.netcoreapp3.0.cs
@@ -92,10 +92,10 @@ namespace Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption
public enum EncryptionAlgorithm
{
AES_128_CBC = 0,
- AES_128_GCM = 3,
AES_192_CBC = 1,
- AES_192_GCM = 4,
AES_256_CBC = 2,
+ AES_128_GCM = 3,
+ AES_192_GCM = 4,
AES_256_GCM = 5,
}
public partial interface IAuthenticatedEncryptor
@@ -369,9 +369,9 @@ namespace Microsoft.AspNetCore.DataProtection.XmlEncryption
[System.FlagsAttribute]
public enum DpapiNGProtectionDescriptorFlags
{
- MachineKey = 32,
- NamedDescriptor = 1,
None = 0,
+ NamedDescriptor = 1,
+ MachineKey = 32,
}
public sealed partial class DpapiNGXmlDecryptor : Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlDecryptor
{
diff --git a/src/DataProtection/DataProtection/src/baseline.netcore.json b/src/DataProtection/DataProtection/src/baseline.netcore.json
deleted file mode 100644
index 6c7f96a387..0000000000
--- a/src/DataProtection/DataProtection/src/baseline.netcore.json
+++ /dev/null
@@ -1,3071 +0,0 @@
-{
- "AssemblyIdentity": "Microsoft.AspNetCore.DataProtection, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60",
- "Types": [
- {
- "Name": "Microsoft.Extensions.DependencyInjection.DataProtectionServiceCollectionExtensions",
- "Visibility": "Public",
- "Kind": "Class",
- "Abstract": true,
- "Static": true,
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "AddDataProtection",
- "Parameters": [
- {
- "Name": "services",
- "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "AddDataProtection",
- "Parameters": [
- {
- "Name": "services",
- "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection"
- },
- {
- "Name": "setupAction",
- "Type": "System.Action"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.DataProtectionBuilderExtensions",
- "Visibility": "Public",
- "Kind": "Class",
- "Abstract": true,
- "Static": true,
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "SetApplicationName",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder"
- },
- {
- "Name": "applicationName",
- "Type": "System.String"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "AddKeyEscrowSink",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder"
- },
- {
- "Name": "sink",
- "Type": "Microsoft.AspNetCore.DataProtection.KeyManagement.IKeyEscrowSink"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "AddKeyEscrowSink",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": [
- {
- "ParameterName": "TImplementation",
- "ParameterPosition": 0,
- "Class": true,
- "BaseTypeOrInterfaces": [
- "Microsoft.AspNetCore.DataProtection.KeyManagement.IKeyEscrowSink"
- ]
- }
- ]
- },
- {
- "Kind": "Method",
- "Name": "AddKeyEscrowSink",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder"
- },
- {
- "Name": "factory",
- "Type": "System.Func"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "AddKeyManagementOptions",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder"
- },
- {
- "Name": "setupAction",
- "Type": "System.Action"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "DisableAutomaticKeyGeneration",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "PersistKeysToFileSystem",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder"
- },
- {
- "Name": "directory",
- "Type": "System.IO.DirectoryInfo"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "PersistKeysToRegistry",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder"
- },
- {
- "Name": "registryKey",
- "Type": "Microsoft.Win32.RegistryKey"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ProtectKeysWithCertificate",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder"
- },
- {
- "Name": "certificate",
- "Type": "System.Security.Cryptography.X509Certificates.X509Certificate2"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ProtectKeysWithCertificate",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder"
- },
- {
- "Name": "thumbprint",
- "Type": "System.String"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "UnprotectKeysWithAnyCertificate",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder"
- },
- {
- "Name": "certificates",
- "Type": "System.Security.Cryptography.X509Certificates.X509Certificate2[]",
- "IsParams": true
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ProtectKeysWithDpapi",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ProtectKeysWithDpapi",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder"
- },
- {
- "Name": "protectToLocalMachine",
- "Type": "System.Boolean"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ProtectKeysWithDpapiNG",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ProtectKeysWithDpapiNG",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder"
- },
- {
- "Name": "protectionDescriptorRule",
- "Type": "System.String"
- },
- {
- "Name": "flags",
- "Type": "Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiNGProtectionDescriptorFlags"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "SetDefaultKeyLifetime",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder"
- },
- {
- "Name": "lifetime",
- "Type": "System.TimeSpan"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "UseCryptographicAlgorithms",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder"
- },
- {
- "Name": "configuration",
- "Type": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AuthenticatedEncryptorConfiguration"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "UseCustomCryptographicAlgorithms",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder"
- },
- {
- "Name": "configuration",
- "Type": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.CngCbcAuthenticatedEncryptorConfiguration"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "UseCustomCryptographicAlgorithms",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder"
- },
- {
- "Name": "configuration",
- "Type": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.CngGcmAuthenticatedEncryptorConfiguration"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "UseCustomCryptographicAlgorithms",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder"
- },
- {
- "Name": "configuration",
- "Type": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.ManagedAuthenticatedEncryptorConfiguration"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "UseEphemeralDataProtectionProvider",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.DataProtectionOptions",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_ApplicationDiscriminator",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_ApplicationDiscriminator",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.DataProtectionUtilityExtensions",
- "Visibility": "Public",
- "Kind": "Class",
- "Abstract": true,
- "Static": true,
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "GetApplicationUniqueIdentifier",
- "Parameters": [
- {
- "Name": "services",
- "Type": "System.IServiceProvider"
- }
- ],
- "ReturnType": "System.String",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.EphemeralDataProtectionProvider",
- "Visibility": "Public",
- "Kind": "Class",
- "Sealed": true,
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.DataProtection.IDataProtectionProvider"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "CreateProtector",
- "Parameters": [
- {
- "Name": "purpose",
- "Type": "System.String"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.IDataProtector",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.DataProtection.IDataProtectionProvider",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "loggerFactory",
- "Type": "Microsoft.Extensions.Logging.ILoggerFactory"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_Services",
- "Parameters": [],
- "ReturnType": "Microsoft.Extensions.DependencyInjection.IServiceCollection",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.IPersistedDataProtector",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.DataProtection.IDataProtector"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "DangerousUnprotect",
- "Parameters": [
- {
- "Name": "protectedData",
- "Type": "System.Byte[]"
- },
- {
- "Name": "ignoreRevocationErrors",
- "Type": "System.Boolean"
- },
- {
- "Name": "requiresMigration",
- "Type": "System.Boolean",
- "Direction": "Out"
- },
- {
- "Name": "wasRevoked",
- "Type": "System.Boolean",
- "Direction": "Out"
- }
- ],
- "ReturnType": "System.Byte[]",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.ISecret",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [
- "System.IDisposable"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_Length",
- "Parameters": [],
- "ReturnType": "System.Int32",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "WriteSecretIntoBuffer",
- "Parameters": [
- {
- "Name": "buffer",
- "Type": "System.ArraySegment"
- }
- ],
- "ReturnType": "System.Void",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.Secret",
- "Visibility": "Public",
- "Kind": "Class",
- "Sealed": true,
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.DataProtection.ISecret"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "Dispose",
- "Parameters": [],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "System.IDisposable",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Length",
- "Parameters": [],
- "ReturnType": "System.Int32",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.DataProtection.ISecret",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Random",
- "Parameters": [
- {
- "Name": "numBytes",
- "Type": "System.Int32"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.Secret",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "WriteSecretIntoBuffer",
- "Parameters": [
- {
- "Name": "buffer",
- "Type": "System.ArraySegment"
- }
- ],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.DataProtection.ISecret",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "WriteSecretIntoBuffer",
- "Parameters": [
- {
- "Name": "buffer",
- "Type": "System.Byte*"
- },
- {
- "Name": "bufferLength",
- "Type": "System.Int32"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.ArraySegment"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Byte[]"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "secret",
- "Type": "System.Byte*"
- },
- {
- "Name": "secretLength",
- "Type": "System.Int32"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "secret",
- "Type": "Microsoft.AspNetCore.DataProtection.ISecret"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.XmlEncryption.CertificateResolver",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.DataProtection.XmlEncryption.ICertificateResolver"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "ResolveCertificate",
- "Parameters": [
- {
- "Name": "thumbprint",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Security.Cryptography.X509Certificates.X509Certificate2",
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.DataProtection.XmlEncryption.ICertificateResolver",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.XmlEncryption.CertificateXmlEncryptor",
- "Visibility": "Public",
- "Kind": "Class",
- "Sealed": true,
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.DataProtection.XmlEncryption.IInternalCertificateXmlEncryptor",
- "Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlEncryptor"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "Encrypt",
- "Parameters": [
- {
- "Name": "plaintextElement",
- "Type": "System.Xml.Linq.XElement"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.XmlEncryption.EncryptedXmlInfo",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlEncryptor",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "thumbprint",
- "Type": "System.String"
- },
- {
- "Name": "certificateResolver",
- "Type": "Microsoft.AspNetCore.DataProtection.XmlEncryption.ICertificateResolver"
- },
- {
- "Name": "loggerFactory",
- "Type": "Microsoft.Extensions.Logging.ILoggerFactory"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "certificate",
- "Type": "System.Security.Cryptography.X509Certificates.X509Certificate2"
- },
- {
- "Name": "loggerFactory",
- "Type": "Microsoft.Extensions.Logging.ILoggerFactory"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiNGProtectionDescriptorFlags",
- "Visibility": "Public",
- "Kind": "Enumeration",
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Field",
- "Name": "None",
- "Parameters": [],
- "GenericParameter": [],
- "Literal": "0"
- },
- {
- "Kind": "Field",
- "Name": "NamedDescriptor",
- "Parameters": [],
- "GenericParameter": [],
- "Literal": "1"
- },
- {
- "Kind": "Field",
- "Name": "MachineKey",
- "Parameters": [],
- "GenericParameter": [],
- "Literal": "32"
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiNGXmlDecryptor",
- "Visibility": "Public",
- "Kind": "Class",
- "Sealed": true,
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlDecryptor"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "Decrypt",
- "Parameters": [
- {
- "Name": "encryptedElement",
- "Type": "System.Xml.Linq.XElement"
- }
- ],
- "ReturnType": "System.Xml.Linq.XElement",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlDecryptor",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "services",
- "Type": "System.IServiceProvider"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiNGXmlEncryptor",
- "Visibility": "Public",
- "Kind": "Class",
- "Sealed": true,
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlEncryptor"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "Encrypt",
- "Parameters": [
- {
- "Name": "plaintextElement",
- "Type": "System.Xml.Linq.XElement"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.XmlEncryption.EncryptedXmlInfo",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlEncryptor",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "protectionDescriptorRule",
- "Type": "System.String"
- },
- {
- "Name": "flags",
- "Type": "Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiNGProtectionDescriptorFlags"
- },
- {
- "Name": "loggerFactory",
- "Type": "Microsoft.Extensions.Logging.ILoggerFactory"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiXmlDecryptor",
- "Visibility": "Public",
- "Kind": "Class",
- "Sealed": true,
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlDecryptor"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "Decrypt",
- "Parameters": [
- {
- "Name": "encryptedElement",
- "Type": "System.Xml.Linq.XElement"
- }
- ],
- "ReturnType": "System.Xml.Linq.XElement",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlDecryptor",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "services",
- "Type": "System.IServiceProvider"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiXmlEncryptor",
- "Visibility": "Public",
- "Kind": "Class",
- "Sealed": true,
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlEncryptor"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "Encrypt",
- "Parameters": [
- {
- "Name": "plaintextElement",
- "Type": "System.Xml.Linq.XElement"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.XmlEncryption.EncryptedXmlInfo",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlEncryptor",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "protectToLocalMachine",
- "Type": "System.Boolean"
- },
- {
- "Name": "loggerFactory",
- "Type": "Microsoft.Extensions.Logging.ILoggerFactory"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.XmlEncryption.EncryptedXmlDecryptor",
- "Visibility": "Public",
- "Kind": "Class",
- "Sealed": true,
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.DataProtection.XmlEncryption.IInternalEncryptedXmlDecryptor",
- "Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlDecryptor"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "Decrypt",
- "Parameters": [
- {
- "Name": "encryptedElement",
- "Type": "System.Xml.Linq.XElement"
- }
- ],
- "ReturnType": "System.Xml.Linq.XElement",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlDecryptor",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "services",
- "Type": "System.IServiceProvider"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.XmlEncryption.EncryptedXmlInfo",
- "Visibility": "Public",
- "Kind": "Class",
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_DecryptorType",
- "Parameters": [],
- "ReturnType": "System.Type",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_EncryptedElement",
- "Parameters": [],
- "ReturnType": "System.Xml.Linq.XElement",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "encryptedElement",
- "Type": "System.Xml.Linq.XElement"
- },
- {
- "Name": "decryptorType",
- "Type": "System.Type"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.XmlEncryption.ICertificateResolver",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "ResolveCertificate",
- "Parameters": [
- {
- "Name": "thumbprint",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Security.Cryptography.X509Certificates.X509Certificate2",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlDecryptor",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "Decrypt",
- "Parameters": [
- {
- "Name": "encryptedElement",
- "Type": "System.Xml.Linq.XElement"
- }
- ],
- "ReturnType": "System.Xml.Linq.XElement",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlEncryptor",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "Encrypt",
- "Parameters": [
- {
- "Name": "plaintextElement",
- "Type": "System.Xml.Linq.XElement"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.XmlEncryption.EncryptedXmlInfo",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.XmlEncryption.NullXmlDecryptor",
- "Visibility": "Public",
- "Kind": "Class",
- "Sealed": true,
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlDecryptor"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "Decrypt",
- "Parameters": [
- {
- "Name": "encryptedElement",
- "Type": "System.Xml.Linq.XElement"
- }
- ],
- "ReturnType": "System.Xml.Linq.XElement",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlDecryptor",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.XmlEncryption.NullXmlEncryptor",
- "Visibility": "Public",
- "Kind": "Class",
- "Sealed": true,
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlEncryptor"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "Encrypt",
- "Parameters": [
- {
- "Name": "plaintextElement",
- "Type": "System.Xml.Linq.XElement"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.XmlEncryption.EncryptedXmlInfo",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlEncryptor",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "services",
- "Type": "System.IServiceProvider"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.DataProtection.Repositories.IXmlRepository"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_DefaultKeyStorageDirectory",
- "Parameters": [],
- "ReturnType": "System.IO.DirectoryInfo",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Directory",
- "Parameters": [],
- "ReturnType": "System.IO.DirectoryInfo",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetAllElements",
- "Parameters": [],
- "ReturnType": "System.Collections.Generic.IReadOnlyCollection",
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.DataProtection.Repositories.IXmlRepository",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "StoreElement",
- "Parameters": [
- {
- "Name": "element",
- "Type": "System.Xml.Linq.XElement"
- },
- {
- "Name": "friendlyName",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.DataProtection.Repositories.IXmlRepository",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "directory",
- "Type": "System.IO.DirectoryInfo"
- },
- {
- "Name": "loggerFactory",
- "Type": "Microsoft.Extensions.Logging.ILoggerFactory"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.Repositories.IXmlRepository",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "GetAllElements",
- "Parameters": [],
- "ReturnType": "System.Collections.Generic.IReadOnlyCollection",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "StoreElement",
- "Parameters": [
- {
- "Name": "element",
- "Type": "System.Xml.Linq.XElement"
- },
- {
- "Name": "friendlyName",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.Repositories.RegistryXmlRepository",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.DataProtection.Repositories.IXmlRepository"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_DefaultRegistryKey",
- "Parameters": [],
- "ReturnType": "Microsoft.Win32.RegistryKey",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_RegistryKey",
- "Parameters": [],
- "ReturnType": "Microsoft.Win32.RegistryKey",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetAllElements",
- "Parameters": [],
- "ReturnType": "System.Collections.Generic.IReadOnlyCollection",
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.DataProtection.Repositories.IXmlRepository",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "StoreElement",
- "Parameters": [
- {
- "Name": "element",
- "Type": "System.Xml.Linq.XElement"
- },
- {
- "Name": "friendlyName",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.DataProtection.Repositories.IXmlRepository",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "registryKey",
- "Type": "Microsoft.Win32.RegistryKey"
- },
- {
- "Name": "loggerFactory",
- "Type": "Microsoft.Extensions.Logging.ILoggerFactory"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.KeyManagement.IKey",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_ActivationDate",
- "Parameters": [],
- "ReturnType": "System.DateTimeOffset",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_CreationDate",
- "Parameters": [],
- "ReturnType": "System.DateTimeOffset",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_ExpirationDate",
- "Parameters": [],
- "ReturnType": "System.DateTimeOffset",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_IsRevoked",
- "Parameters": [],
- "ReturnType": "System.Boolean",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_KeyId",
- "Parameters": [],
- "ReturnType": "System.Guid",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Descriptor",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "CreateEncryptor",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptor",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.KeyManagement.IKeyEscrowSink",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "Store",
- "Parameters": [
- {
- "Name": "keyId",
- "Type": "System.Guid"
- },
- {
- "Name": "element",
- "Type": "System.Xml.Linq.XElement"
- }
- ],
- "ReturnType": "System.Void",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.KeyManagement.IKeyManager",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "CreateNewKey",
- "Parameters": [
- {
- "Name": "activationDate",
- "Type": "System.DateTimeOffset"
- },
- {
- "Name": "expirationDate",
- "Type": "System.DateTimeOffset"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.KeyManagement.IKey",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetAllKeys",
- "Parameters": [],
- "ReturnType": "System.Collections.Generic.IReadOnlyCollection",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetCacheExpirationToken",
- "Parameters": [],
- "ReturnType": "System.Threading.CancellationToken",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "RevokeKey",
- "Parameters": [
- {
- "Name": "keyId",
- "Type": "System.Guid"
- },
- {
- "Name": "reason",
- "Type": "System.String",
- "DefaultValue": "null"
- }
- ],
- "ReturnType": "System.Void",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "RevokeAllKeys",
- "Parameters": [
- {
- "Name": "revocationDate",
- "Type": "System.DateTimeOffset"
- },
- {
- "Name": "reason",
- "Type": "System.String",
- "DefaultValue": "null"
- }
- ],
- "ReturnType": "System.Void",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.KeyManagement.KeyManagementOptions",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_AutoGenerateKeys",
- "Parameters": [],
- "ReturnType": "System.Boolean",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_AutoGenerateKeys",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Boolean"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_NewKeyLifetime",
- "Parameters": [],
- "ReturnType": "System.TimeSpan",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_NewKeyLifetime",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.TimeSpan"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_AuthenticatedEncryptorConfiguration",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AlgorithmConfiguration",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_AuthenticatedEncryptorConfiguration",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AlgorithmConfiguration"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_KeyEscrowSinks",
- "Parameters": [],
- "ReturnType": "System.Collections.Generic.IList",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_XmlRepository",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.Repositories.IXmlRepository",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_XmlRepository",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Microsoft.AspNetCore.DataProtection.Repositories.IXmlRepository"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_XmlEncryptor",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlEncryptor",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_XmlEncryptor",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlEncryptor"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_AuthenticatedEncryptorFactories",
- "Parameters": [],
- "ReturnType": "System.Collections.Generic.IList",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager",
- "Visibility": "Public",
- "Kind": "Class",
- "Sealed": true,
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.DataProtection.KeyManagement.IKeyManager",
- "Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IInternalXmlKeyManager"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "CreateNewKey",
- "Parameters": [
- {
- "Name": "activationDate",
- "Type": "System.DateTimeOffset"
- },
- {
- "Name": "expirationDate",
- "Type": "System.DateTimeOffset"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.KeyManagement.IKey",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.DataProtection.KeyManagement.IKeyManager",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetAllKeys",
- "Parameters": [],
- "ReturnType": "System.Collections.Generic.IReadOnlyCollection",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.DataProtection.KeyManagement.IKeyManager",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetCacheExpirationToken",
- "Parameters": [],
- "ReturnType": "System.Threading.CancellationToken",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.DataProtection.KeyManagement.IKeyManager",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "RevokeAllKeys",
- "Parameters": [
- {
- "Name": "revocationDate",
- "Type": "System.DateTimeOffset"
- },
- {
- "Name": "reason",
- "Type": "System.String",
- "DefaultValue": "null"
- }
- ],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.DataProtection.KeyManagement.IKeyManager",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "RevokeKey",
- "Parameters": [
- {
- "Name": "keyId",
- "Type": "System.Guid"
- },
- {
- "Name": "reason",
- "Type": "System.String",
- "DefaultValue": "null"
- }
- ],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.DataProtection.KeyManagement.IKeyManager",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "keyManagementOptions",
- "Type": "Microsoft.Extensions.Options.IOptions"
- },
- {
- "Name": "activator",
- "Type": "Microsoft.AspNetCore.DataProtection.Internal.IActivator"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "keyManagementOptions",
- "Type": "Microsoft.Extensions.Options.IOptions"
- },
- {
- "Name": "activator",
- "Type": "Microsoft.AspNetCore.DataProtection.Internal.IActivator"
- },
- {
- "Name": "loggerFactory",
- "Type": "Microsoft.Extensions.Logging.ILoggerFactory"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.AuthenticatedEncryptorFactory",
- "Visibility": "Public",
- "Kind": "Class",
- "Sealed": true,
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptorFactory"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "CreateEncryptorInstance",
- "Parameters": [
- {
- "Name": "key",
- "Type": "Microsoft.AspNetCore.DataProtection.KeyManagement.IKey"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptor",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptorFactory",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "loggerFactory",
- "Type": "Microsoft.Extensions.Logging.ILoggerFactory"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.CngCbcAuthenticatedEncryptorFactory",
- "Visibility": "Public",
- "Kind": "Class",
- "Sealed": true,
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptorFactory"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "CreateEncryptorInstance",
- "Parameters": [
- {
- "Name": "key",
- "Type": "Microsoft.AspNetCore.DataProtection.KeyManagement.IKey"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptor",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptorFactory",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "loggerFactory",
- "Type": "Microsoft.Extensions.Logging.ILoggerFactory"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.CngGcmAuthenticatedEncryptorFactory",
- "Visibility": "Public",
- "Kind": "Class",
- "Sealed": true,
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptorFactory"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "CreateEncryptorInstance",
- "Parameters": [
- {
- "Name": "key",
- "Type": "Microsoft.AspNetCore.DataProtection.KeyManagement.IKey"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptor",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptorFactory",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "loggerFactory",
- "Type": "Microsoft.Extensions.Logging.ILoggerFactory"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.EncryptionAlgorithm",
- "Visibility": "Public",
- "Kind": "Enumeration",
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Field",
- "Name": "AES_128_CBC",
- "Parameters": [],
- "GenericParameter": [],
- "Literal": "0"
- },
- {
- "Kind": "Field",
- "Name": "AES_192_CBC",
- "Parameters": [],
- "GenericParameter": [],
- "Literal": "1"
- },
- {
- "Kind": "Field",
- "Name": "AES_256_CBC",
- "Parameters": [],
- "GenericParameter": [],
- "Literal": "2"
- },
- {
- "Kind": "Field",
- "Name": "AES_128_GCM",
- "Parameters": [],
- "GenericParameter": [],
- "Literal": "3"
- },
- {
- "Kind": "Field",
- "Name": "AES_192_GCM",
- "Parameters": [],
- "GenericParameter": [],
- "Literal": "4"
- },
- {
- "Kind": "Field",
- "Name": "AES_256_GCM",
- "Parameters": [],
- "GenericParameter": [],
- "Literal": "5"
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptor",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "Decrypt",
- "Parameters": [
- {
- "Name": "ciphertext",
- "Type": "System.ArraySegment"
- },
- {
- "Name": "additionalAuthenticatedData",
- "Type": "System.ArraySegment"
- }
- ],
- "ReturnType": "System.Byte[]",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Encrypt",
- "Parameters": [
- {
- "Name": "plaintext",
- "Type": "System.ArraySegment"
- },
- {
- "Name": "additionalAuthenticatedData",
- "Type": "System.ArraySegment"
- }
- ],
- "ReturnType": "System.Byte[]",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptorFactory",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "CreateEncryptorInstance",
- "Parameters": [
- {
- "Name": "key",
- "Type": "Microsoft.AspNetCore.DataProtection.KeyManagement.IKey"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptor",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ManagedAuthenticatedEncryptorFactory",
- "Visibility": "Public",
- "Kind": "Class",
- "Sealed": true,
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptorFactory"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "CreateEncryptorInstance",
- "Parameters": [
- {
- "Name": "key",
- "Type": "Microsoft.AspNetCore.DataProtection.KeyManagement.IKey"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptor",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptorFactory",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "loggerFactory",
- "Type": "Microsoft.Extensions.Logging.ILoggerFactory"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ValidationAlgorithm",
- "Visibility": "Public",
- "Kind": "Enumeration",
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Field",
- "Name": "HMACSHA256",
- "Parameters": [],
- "GenericParameter": [],
- "Literal": "0"
- },
- {
- "Kind": "Field",
- "Name": "HMACSHA512",
- "Parameters": [],
- "GenericParameter": [],
- "Literal": "1"
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AlgorithmConfiguration",
- "Visibility": "Public",
- "Kind": "Class",
- "Abstract": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "CreateNewDescriptor",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor",
- "Virtual": true,
- "Abstract": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Protected",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AuthenticatedEncryptorConfiguration",
- "Visibility": "Public",
- "Kind": "Class",
- "Sealed": true,
- "BaseType": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AlgorithmConfiguration",
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IInternalAlgorithmConfiguration"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_EncryptionAlgorithm",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.EncryptionAlgorithm",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_EncryptionAlgorithm",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.EncryptionAlgorithm"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_ValidationAlgorithm",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ValidationAlgorithm",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_ValidationAlgorithm",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ValidationAlgorithm"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "CreateNewDescriptor",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor",
- "Virtual": true,
- "Override": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AuthenticatedEncryptorDescriptor",
- "Visibility": "Public",
- "Kind": "Class",
- "Sealed": true,
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "ExportToXml",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.XmlSerializedDescriptorInfo",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "configuration",
- "Type": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AuthenticatedEncryptorConfiguration"
- },
- {
- "Name": "masterKey",
- "Type": "Microsoft.AspNetCore.DataProtection.ISecret"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AuthenticatedEncryptorDescriptorDeserializer",
- "Visibility": "Public",
- "Kind": "Class",
- "Sealed": true,
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptorDeserializer"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "ImportFromXml",
- "Parameters": [
- {
- "Name": "element",
- "Type": "System.Xml.Linq.XElement"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptorDeserializer",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.CngCbcAuthenticatedEncryptorConfiguration",
- "Visibility": "Public",
- "Kind": "Class",
- "Sealed": true,
- "BaseType": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AlgorithmConfiguration",
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IInternalAlgorithmConfiguration"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_EncryptionAlgorithm",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_EncryptionAlgorithm",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_EncryptionAlgorithmProvider",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_EncryptionAlgorithmProvider",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_EncryptionAlgorithmKeySize",
- "Parameters": [],
- "ReturnType": "System.Int32",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_EncryptionAlgorithmKeySize",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Int32"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_HashAlgorithm",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_HashAlgorithm",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_HashAlgorithmProvider",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_HashAlgorithmProvider",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "CreateNewDescriptor",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor",
- "Virtual": true,
- "Override": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.CngCbcAuthenticatedEncryptorDescriptor",
- "Visibility": "Public",
- "Kind": "Class",
- "Sealed": true,
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "ExportToXml",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.XmlSerializedDescriptorInfo",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "configuration",
- "Type": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.CngCbcAuthenticatedEncryptorConfiguration"
- },
- {
- "Name": "masterKey",
- "Type": "Microsoft.AspNetCore.DataProtection.ISecret"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.CngCbcAuthenticatedEncryptorDescriptorDeserializer",
- "Visibility": "Public",
- "Kind": "Class",
- "Sealed": true,
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptorDeserializer"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "ImportFromXml",
- "Parameters": [
- {
- "Name": "element",
- "Type": "System.Xml.Linq.XElement"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptorDeserializer",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.CngGcmAuthenticatedEncryptorConfiguration",
- "Visibility": "Public",
- "Kind": "Class",
- "Sealed": true,
- "BaseType": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AlgorithmConfiguration",
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IInternalAlgorithmConfiguration"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_EncryptionAlgorithm",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_EncryptionAlgorithm",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_EncryptionAlgorithmProvider",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_EncryptionAlgorithmProvider",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_EncryptionAlgorithmKeySize",
- "Parameters": [],
- "ReturnType": "System.Int32",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_EncryptionAlgorithmKeySize",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Int32"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "CreateNewDescriptor",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor",
- "Virtual": true,
- "Override": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.CngGcmAuthenticatedEncryptorDescriptor",
- "Visibility": "Public",
- "Kind": "Class",
- "Sealed": true,
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "ExportToXml",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.XmlSerializedDescriptorInfo",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "configuration",
- "Type": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.CngGcmAuthenticatedEncryptorConfiguration"
- },
- {
- "Name": "masterKey",
- "Type": "Microsoft.AspNetCore.DataProtection.ISecret"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.CngGcmAuthenticatedEncryptorDescriptorDeserializer",
- "Visibility": "Public",
- "Kind": "Class",
- "Sealed": true,
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptorDeserializer"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "ImportFromXml",
- "Parameters": [
- {
- "Name": "element",
- "Type": "System.Xml.Linq.XElement"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptorDeserializer",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "ExportToXml",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.XmlSerializedDescriptorInfo",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptorDeserializer",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "ImportFromXml",
- "Parameters": [
- {
- "Name": "element",
- "Type": "System.Xml.Linq.XElement"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.ManagedAuthenticatedEncryptorConfiguration",
- "Visibility": "Public",
- "Kind": "Class",
- "Sealed": true,
- "BaseType": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AlgorithmConfiguration",
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IInternalAlgorithmConfiguration"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_EncryptionAlgorithmType",
- "Parameters": [],
- "ReturnType": "System.Type",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_EncryptionAlgorithmType",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Type"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_EncryptionAlgorithmKeySize",
- "Parameters": [],
- "ReturnType": "System.Int32",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_EncryptionAlgorithmKeySize",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Int32"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_ValidationAlgorithmType",
- "Parameters": [],
- "ReturnType": "System.Type",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_ValidationAlgorithmType",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Type"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "CreateNewDescriptor",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor",
- "Virtual": true,
- "Override": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.ManagedAuthenticatedEncryptorDescriptor",
- "Visibility": "Public",
- "Kind": "Class",
- "Sealed": true,
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "ExportToXml",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.XmlSerializedDescriptorInfo",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "configuration",
- "Type": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.ManagedAuthenticatedEncryptorConfiguration"
- },
- {
- "Name": "masterKey",
- "Type": "Microsoft.AspNetCore.DataProtection.ISecret"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.ManagedAuthenticatedEncryptorDescriptorDeserializer",
- "Visibility": "Public",
- "Kind": "Class",
- "Sealed": true,
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptorDeserializer"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "ImportFromXml",
- "Parameters": [
- {
- "Name": "element",
- "Type": "System.Xml.Linq.XElement"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptorDeserializer",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.XmlExtensions",
- "Visibility": "Public",
- "Kind": "Class",
- "Abstract": true,
- "Static": true,
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "MarkAsRequiresEncryption",
- "Parameters": [
- {
- "Name": "element",
- "Type": "System.Xml.Linq.XElement"
- }
- ],
- "ReturnType": "System.Void",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.XmlSerializedDescriptorInfo",
- "Visibility": "Public",
- "Kind": "Class",
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_DeserializerType",
- "Parameters": [],
- "ReturnType": "System.Type",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_SerializedDescriptorElement",
- "Parameters": [],
- "ReturnType": "System.Xml.Linq.XElement",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "serializedDescriptorElement",
- "Type": "System.Xml.Linq.XElement"
- },
- {
- "Name": "deserializerType",
- "Type": "System.Type"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- }
- ]
-}
\ No newline at end of file
diff --git a/src/DataProtection/EntityFrameworkCore/src/baseline.netcore.json b/src/DataProtection/EntityFrameworkCore/src/baseline.netcore.json
deleted file mode 100644
index 9a9a7ebc1c..0000000000
--- a/src/DataProtection/EntityFrameworkCore/src/baseline.netcore.json
+++ /dev/null
@@ -1,203 +0,0 @@
-{
- "AssemblyIdentity": "Microsoft.AspNetCore.DataProtection.EntityFrameworkCore, Version=2.2.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60",
- "Types": [
- {
- "Name": "Microsoft.AspNetCore.DataProtection.EntityFrameworkCoreDataProtectionExtensions",
- "Visibility": "Public",
- "Kind": "Class",
- "Abstract": true,
- "Static": true,
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "PersistKeysToDbContext",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": [
- {
- "ParameterName": "TContext",
- "ParameterPosition": 0,
- "BaseTypeOrInterfaces": [
- "Microsoft.EntityFrameworkCore.DbContext",
- "Microsoft.AspNetCore.DataProtection.EntityFrameworkCore.IDataProtectionKeyContext"
- ]
- }
- ]
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.EntityFrameworkCore.DataProtectionKey",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_Id",
- "Parameters": [],
- "ReturnType": "System.Int32",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_Id",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Int32"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_FriendlyName",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_FriendlyName",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Xml",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_Xml",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.EntityFrameworkCore.EntityFrameworkCoreXmlRepository",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.DataProtection.Repositories.IXmlRepository"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "GetAllElements",
- "Parameters": [],
- "ReturnType": "System.Collections.Generic.IReadOnlyCollection",
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.DataProtection.Repositories.IXmlRepository",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "StoreElement",
- "Parameters": [
- {
- "Name": "element",
- "Type": "System.Xml.Linq.XElement"
- },
- {
- "Name": "friendlyName",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.DataProtection.Repositories.IXmlRepository",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "services",
- "Type": "System.IServiceProvider"
- },
- {
- "Name": "loggerFactory",
- "Type": "Microsoft.Extensions.Logging.ILoggerFactory"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": [
- {
- "ParameterName": "TContext",
- "ParameterPosition": 0,
- "BaseTypeOrInterfaces": [
- "Microsoft.EntityFrameworkCore.DbContext",
- "Microsoft.AspNetCore.DataProtection.EntityFrameworkCore.IDataProtectionKeyContext"
- ]
- }
- ]
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.EntityFrameworkCore.IDataProtectionKeyContext",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_DataProtectionKeys",
- "Parameters": [],
- "ReturnType": "Microsoft.EntityFrameworkCore.DbSet",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- }
- ]
-}
\ No newline at end of file
diff --git a/src/DataProtection/Extensions/src/baseline.netcore.json b/src/DataProtection/Extensions/src/baseline.netcore.json
deleted file mode 100644
index 5bb3088d07..0000000000
--- a/src/DataProtection/Extensions/src/baseline.netcore.json
+++ /dev/null
@@ -1,298 +0,0 @@
-{
- "AssemblyIdentity": "Microsoft.AspNetCore.DataProtection.Extensions, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60",
- "Types": [
- {
- "Name": "Microsoft.AspNetCore.DataProtection.DataProtectionAdvancedExtensions",
- "Visibility": "Public",
- "Kind": "Class",
- "Abstract": true,
- "Static": true,
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "Protect",
- "Parameters": [
- {
- "Name": "protector",
- "Type": "Microsoft.AspNetCore.DataProtection.ITimeLimitedDataProtector"
- },
- {
- "Name": "plaintext",
- "Type": "System.Byte[]"
- },
- {
- "Name": "lifetime",
- "Type": "System.TimeSpan"
- }
- ],
- "ReturnType": "System.Byte[]",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Protect",
- "Parameters": [
- {
- "Name": "protector",
- "Type": "Microsoft.AspNetCore.DataProtection.ITimeLimitedDataProtector"
- },
- {
- "Name": "plaintext",
- "Type": "System.String"
- },
- {
- "Name": "expiration",
- "Type": "System.DateTimeOffset"
- }
- ],
- "ReturnType": "System.String",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Protect",
- "Parameters": [
- {
- "Name": "protector",
- "Type": "Microsoft.AspNetCore.DataProtection.ITimeLimitedDataProtector"
- },
- {
- "Name": "plaintext",
- "Type": "System.String"
- },
- {
- "Name": "lifetime",
- "Type": "System.TimeSpan"
- }
- ],
- "ReturnType": "System.String",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ToTimeLimitedDataProtector",
- "Parameters": [
- {
- "Name": "protector",
- "Type": "Microsoft.AspNetCore.DataProtection.IDataProtector"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.ITimeLimitedDataProtector",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Unprotect",
- "Parameters": [
- {
- "Name": "protector",
- "Type": "Microsoft.AspNetCore.DataProtection.ITimeLimitedDataProtector"
- },
- {
- "Name": "protectedData",
- "Type": "System.String"
- },
- {
- "Name": "expiration",
- "Type": "System.DateTimeOffset",
- "Direction": "Out"
- }
- ],
- "ReturnType": "System.String",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.DataProtectionProvider",
- "Visibility": "Public",
- "Kind": "Class",
- "Abstract": true,
- "Static": true,
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "Create",
- "Parameters": [
- {
- "Name": "applicationName",
- "Type": "System.String"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.IDataProtectionProvider",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Create",
- "Parameters": [
- {
- "Name": "keyDirectory",
- "Type": "System.IO.DirectoryInfo"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.IDataProtectionProvider",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Create",
- "Parameters": [
- {
- "Name": "keyDirectory",
- "Type": "System.IO.DirectoryInfo"
- },
- {
- "Name": "setupAction",
- "Type": "System.Action"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.IDataProtectionProvider",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Create",
- "Parameters": [
- {
- "Name": "applicationName",
- "Type": "System.String"
- },
- {
- "Name": "certificate",
- "Type": "System.Security.Cryptography.X509Certificates.X509Certificate2"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.IDataProtectionProvider",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Create",
- "Parameters": [
- {
- "Name": "keyDirectory",
- "Type": "System.IO.DirectoryInfo"
- },
- {
- "Name": "certificate",
- "Type": "System.Security.Cryptography.X509Certificates.X509Certificate2"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.IDataProtectionProvider",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Create",
- "Parameters": [
- {
- "Name": "keyDirectory",
- "Type": "System.IO.DirectoryInfo"
- },
- {
- "Name": "setupAction",
- "Type": "System.Action"
- },
- {
- "Name": "certificate",
- "Type": "System.Security.Cryptography.X509Certificates.X509Certificate2"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.IDataProtectionProvider",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.DataProtection.ITimeLimitedDataProtector",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.DataProtection.IDataProtector"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "CreateProtector",
- "Parameters": [
- {
- "Name": "purpose",
- "Type": "System.String"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.DataProtection.ITimeLimitedDataProtector",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Protect",
- "Parameters": [
- {
- "Name": "plaintext",
- "Type": "System.Byte[]"
- },
- {
- "Name": "expiration",
- "Type": "System.DateTimeOffset"
- }
- ],
- "ReturnType": "System.Byte[]",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Unprotect",
- "Parameters": [
- {
- "Name": "protectedData",
- "Type": "System.Byte[]"
- },
- {
- "Name": "expiration",
- "Type": "System.DateTimeOffset",
- "Direction": "Out"
- }
- ],
- "ReturnType": "System.Byte[]",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- }
- ]
-}
\ No newline at end of file
diff --git a/src/DefaultBuilder/src/Microsoft.AspNetCore.csproj b/src/DefaultBuilder/src/Microsoft.AspNetCore.csproj
index 23c9ec3852..d02c88f673 100644
--- a/src/DefaultBuilder/src/Microsoft.AspNetCore.csproj
+++ b/src/DefaultBuilder/src/Microsoft.AspNetCore.csproj
@@ -6,7 +6,6 @@
aspnetcore
Microsoft.AspNetCore
true
- false
diff --git a/src/DefaultBuilder/src/baseline.netcore.json b/src/DefaultBuilder/src/baseline.netcore.json
deleted file mode 100644
index 482a58e908..0000000000
--- a/src/DefaultBuilder/src/baseline.netcore.json
+++ /dev/null
@@ -1,136 +0,0 @@
-{
- "AssemblyIdentity": "Microsoft.AspNetCore, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60",
- "Types": [
- {
- "Name": "Microsoft.AspNetCore.WebHost",
- "Visibility": "Public",
- "Kind": "Class",
- "Abstract": true,
- "Static": true,
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "Start",
- "Parameters": [
- {
- "Name": "app",
- "Type": "Microsoft.AspNetCore.Http.RequestDelegate"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHost",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Start",
- "Parameters": [
- {
- "Name": "url",
- "Type": "System.String"
- },
- {
- "Name": "app",
- "Type": "Microsoft.AspNetCore.Http.RequestDelegate"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHost",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Start",
- "Parameters": [
- {
- "Name": "routeBuilder",
- "Type": "System.Action"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHost",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Start",
- "Parameters": [
- {
- "Name": "url",
- "Type": "System.String"
- },
- {
- "Name": "routeBuilder",
- "Type": "System.Action"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHost",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "StartWith",
- "Parameters": [
- {
- "Name": "app",
- "Type": "System.Action"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHost",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "StartWith",
- "Parameters": [
- {
- "Name": "url",
- "Type": "System.String"
- },
- {
- "Name": "app",
- "Type": "System.Action"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHost",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "CreateDefaultBuilder",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "CreateDefaultBuilder",
- "Parameters": [
- {
- "Name": "args",
- "Type": "System.String[]"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- }
- ]
-}
\ No newline at end of file
diff --git a/src/Features/JsonPatch/ref/Microsoft.AspNetCore.JsonPatch.netcoreapp3.0.cs b/src/Features/JsonPatch/ref/Microsoft.AspNetCore.JsonPatch.netcoreapp3.0.cs
index 372e40baf8..f8ba24f51f 100644
--- a/src/Features/JsonPatch/ref/Microsoft.AspNetCore.JsonPatch.netcoreapp3.0.cs
+++ b/src/Features/JsonPatch/ref/Microsoft.AspNetCore.JsonPatch.netcoreapp3.0.cs
@@ -216,8 +216,8 @@ namespace Microsoft.AspNetCore.JsonPatch.Internal
protected enum OperationType
{
Add = 0,
- Get = 2,
Remove = 1,
+ Get = 2,
Replace = 3,
}
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
@@ -230,8 +230,8 @@ namespace Microsoft.AspNetCore.JsonPatch.Internal
}
protected enum PositionType
{
- EndOfList = 1,
Index = 0,
+ EndOfList = 1,
Invalid = 2,
OutOfBounds = 3,
}
@@ -292,12 +292,12 @@ namespace Microsoft.AspNetCore.JsonPatch.Operations
public enum OperationType
{
Add = 0,
- Copy = 4,
- Invalid = 6,
- Move = 3,
Remove = 1,
Replace = 2,
+ Move = 3,
+ Copy = 4,
Test = 5,
+ Invalid = 6,
}
public partial class Operation : Microsoft.AspNetCore.JsonPatch.Operations.Operation where TModel : class
{
diff --git a/src/Features/JsonPatch/src/baseline.netcore.json b/src/Features/JsonPatch/src/baseline.netcore.json
deleted file mode 100644
index 3d90a8f017..0000000000
--- a/src/Features/JsonPatch/src/baseline.netcore.json
+++ /dev/null
@@ -1,1985 +0,0 @@
-{
- "AssemblyIdentity": "Microsoft.AspNetCore.JsonPatch, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60",
- "Types": [
- {
- "Name": "Microsoft.AspNetCore.JsonPatch.JsonPatchProperty",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_Property",
- "Parameters": [],
- "ReturnType": "Newtonsoft.Json.Serialization.JsonProperty",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_Property",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Newtonsoft.Json.Serialization.JsonProperty"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Parent",
- "Parameters": [],
- "ReturnType": "System.Object",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_Parent",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Object"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "property",
- "Type": "Newtonsoft.Json.Serialization.JsonProperty"
- },
- {
- "Name": "parent",
- "Type": "System.Object"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.JsonPatch.IJsonPatchDocument",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_ContractResolver",
- "Parameters": [],
- "ReturnType": "Newtonsoft.Json.Serialization.IContractResolver",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_ContractResolver",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Newtonsoft.Json.Serialization.IContractResolver"
- }
- ],
- "ReturnType": "System.Void",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetOperations",
- "Parameters": [],
- "ReturnType": "System.Collections.Generic.IList",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.JsonPatch.JsonPatchDocument",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.JsonPatch.IJsonPatchDocument"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_Operations",
- "Parameters": [],
- "ReturnType": "System.Collections.Generic.List",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_ContractResolver",
- "Parameters": [],
- "ReturnType": "Newtonsoft.Json.Serialization.IContractResolver",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.JsonPatch.IJsonPatchDocument",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_ContractResolver",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Newtonsoft.Json.Serialization.IContractResolver"
- }
- ],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.JsonPatch.IJsonPatchDocument",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Add",
- "Parameters": [
- {
- "Name": "path",
- "Type": "System.String"
- },
- {
- "Name": "value",
- "Type": "System.Object"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.JsonPatch.JsonPatchDocument",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Remove",
- "Parameters": [
- {
- "Name": "path",
- "Type": "System.String"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.JsonPatch.JsonPatchDocument",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Replace",
- "Parameters": [
- {
- "Name": "path",
- "Type": "System.String"
- },
- {
- "Name": "value",
- "Type": "System.Object"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.JsonPatch.JsonPatchDocument",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Test",
- "Parameters": [
- {
- "Name": "path",
- "Type": "System.String"
- },
- {
- "Name": "value",
- "Type": "System.Object"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.JsonPatch.JsonPatchDocument",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Move",
- "Parameters": [
- {
- "Name": "from",
- "Type": "System.String"
- },
- {
- "Name": "path",
- "Type": "System.String"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.JsonPatch.JsonPatchDocument",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Copy",
- "Parameters": [
- {
- "Name": "from",
- "Type": "System.String"
- },
- {
- "Name": "path",
- "Type": "System.String"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.JsonPatch.JsonPatchDocument",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ApplyTo",
- "Parameters": [
- {
- "Name": "objectToApplyTo",
- "Type": "System.Object"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ApplyTo",
- "Parameters": [
- {
- "Name": "objectToApplyTo",
- "Type": "System.Object"
- },
- {
- "Name": "logErrorAction",
- "Type": "System.Action"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ApplyTo",
- "Parameters": [
- {
- "Name": "objectToApplyTo",
- "Type": "System.Object"
- },
- {
- "Name": "adapter",
- "Type": "Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "operations",
- "Type": "System.Collections.Generic.List"
- },
- {
- "Name": "contractResolver",
- "Type": "Newtonsoft.Json.Serialization.IContractResolver"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.JsonPatch.JsonPatchDocument",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.JsonPatch.IJsonPatchDocument"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_Operations",
- "Parameters": [],
- "ReturnType": "System.Collections.Generic.List>",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_ContractResolver",
- "Parameters": [],
- "ReturnType": "Newtonsoft.Json.Serialization.IContractResolver",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.JsonPatch.IJsonPatchDocument",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_ContractResolver",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Newtonsoft.Json.Serialization.IContractResolver"
- }
- ],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.JsonPatch.IJsonPatchDocument",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Add",
- "Parameters": [
- {
- "Name": "path",
- "Type": "System.Linq.Expressions.Expression>"
- },
- {
- "Name": "value",
- "Type": "T0"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.JsonPatch.JsonPatchDocument",
- "Visibility": "Public",
- "GenericParameter": [
- {
- "ParameterName": "TProp",
- "ParameterPosition": 0,
- "BaseTypeOrInterfaces": []
- }
- ]
- },
- {
- "Kind": "Method",
- "Name": "Add",
- "Parameters": [
- {
- "Name": "path",
- "Type": "System.Linq.Expressions.Expression>>"
- },
- {
- "Name": "value",
- "Type": "T0"
- },
- {
- "Name": "position",
- "Type": "System.Int32"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.JsonPatch.JsonPatchDocument",
- "Visibility": "Public",
- "GenericParameter": [
- {
- "ParameterName": "TProp",
- "ParameterPosition": 0,
- "BaseTypeOrInterfaces": []
- }
- ]
- },
- {
- "Kind": "Method",
- "Name": "Add",
- "Parameters": [
- {
- "Name": "path",
- "Type": "System.Linq.Expressions.Expression>>"
- },
- {
- "Name": "value",
- "Type": "T0"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.JsonPatch.JsonPatchDocument",
- "Visibility": "Public",
- "GenericParameter": [
- {
- "ParameterName": "TProp",
- "ParameterPosition": 0,
- "BaseTypeOrInterfaces": []
- }
- ]
- },
- {
- "Kind": "Method",
- "Name": "Remove",
- "Parameters": [
- {
- "Name": "path",
- "Type": "System.Linq.Expressions.Expression>"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.JsonPatch.JsonPatchDocument",
- "Visibility": "Public",
- "GenericParameter": [
- {
- "ParameterName": "TProp",
- "ParameterPosition": 0,
- "BaseTypeOrInterfaces": []
- }
- ]
- },
- {
- "Kind": "Method",
- "Name": "Remove",
- "Parameters": [
- {
- "Name": "path",
- "Type": "System.Linq.Expressions.Expression>>"
- },
- {
- "Name": "position",
- "Type": "System.Int32"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.JsonPatch.JsonPatchDocument",
- "Visibility": "Public",
- "GenericParameter": [
- {
- "ParameterName": "TProp",
- "ParameterPosition": 0,
- "BaseTypeOrInterfaces": []
- }
- ]
- },
- {
- "Kind": "Method",
- "Name": "Remove",
- "Parameters": [
- {
- "Name": "path",
- "Type": "System.Linq.Expressions.Expression>>"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.JsonPatch.JsonPatchDocument",
- "Visibility": "Public",
- "GenericParameter": [
- {
- "ParameterName": "TProp",
- "ParameterPosition": 0,
- "BaseTypeOrInterfaces": []
- }
- ]
- },
- {
- "Kind": "Method",
- "Name": "Replace",
- "Parameters": [
- {
- "Name": "path",
- "Type": "System.Linq.Expressions.Expression>"
- },
- {
- "Name": "value",
- "Type": "T0"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.JsonPatch.JsonPatchDocument",
- "Visibility": "Public",
- "GenericParameter": [
- {
- "ParameterName": "TProp",
- "ParameterPosition": 0,
- "BaseTypeOrInterfaces": []
- }
- ]
- },
- {
- "Kind": "Method",
- "Name": "Replace",
- "Parameters": [
- {
- "Name": "path",
- "Type": "System.Linq.Expressions.Expression>>"
- },
- {
- "Name": "value",
- "Type": "T0"
- },
- {
- "Name": "position",
- "Type": "System.Int32"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.JsonPatch.JsonPatchDocument",
- "Visibility": "Public",
- "GenericParameter": [
- {
- "ParameterName": "TProp",
- "ParameterPosition": 0,
- "BaseTypeOrInterfaces": []
- }
- ]
- },
- {
- "Kind": "Method",
- "Name": "Replace",
- "Parameters": [
- {
- "Name": "path",
- "Type": "System.Linq.Expressions.Expression>>"
- },
- {
- "Name": "value",
- "Type": "T0"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.JsonPatch.JsonPatchDocument",
- "Visibility": "Public",
- "GenericParameter": [
- {
- "ParameterName": "TProp",
- "ParameterPosition": 0,
- "BaseTypeOrInterfaces": []
- }
- ]
- },
- {
- "Kind": "Method",
- "Name": "Test",
- "Parameters": [
- {
- "Name": "path",
- "Type": "System.Linq.Expressions.Expression>"
- },
- {
- "Name": "value",
- "Type": "T0"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.JsonPatch.JsonPatchDocument",
- "Visibility": "Public",
- "GenericParameter": [
- {
- "ParameterName": "TProp",
- "ParameterPosition": 0,
- "BaseTypeOrInterfaces": []
- }
- ]
- },
- {
- "Kind": "Method",
- "Name": "Test",
- "Parameters": [
- {
- "Name": "path",
- "Type": "System.Linq.Expressions.Expression>>"
- },
- {
- "Name": "value",
- "Type": "T0"
- },
- {
- "Name": "position",
- "Type": "System.Int32"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.JsonPatch.JsonPatchDocument",
- "Visibility": "Public",
- "GenericParameter": [
- {
- "ParameterName": "TProp",
- "ParameterPosition": 0,
- "BaseTypeOrInterfaces": []
- }
- ]
- },
- {
- "Kind": "Method",
- "Name": "Test",
- "Parameters": [
- {
- "Name": "path",
- "Type": "System.Linq.Expressions.Expression>>"
- },
- {
- "Name": "value",
- "Type": "T0"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.JsonPatch.JsonPatchDocument",
- "Visibility": "Public",
- "GenericParameter": [
- {
- "ParameterName": "TProp",
- "ParameterPosition": 0,
- "BaseTypeOrInterfaces": []
- }
- ]
- },
- {
- "Kind": "Method",
- "Name": "Move",
- "Parameters": [
- {
- "Name": "from",
- "Type": "System.Linq.Expressions.Expression>"
- },
- {
- "Name": "path",
- "Type": "System.Linq.Expressions.Expression>"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.JsonPatch.JsonPatchDocument",
- "Visibility": "Public",
- "GenericParameter": [
- {
- "ParameterName": "TProp",
- "ParameterPosition": 0,
- "BaseTypeOrInterfaces": []
- }
- ]
- },
- {
- "Kind": "Method",
- "Name": "Move",
- "Parameters": [
- {
- "Name": "from",
- "Type": "System.Linq.Expressions.Expression>>"
- },
- {
- "Name": "positionFrom",
- "Type": "System.Int32"
- },
- {
- "Name": "path",
- "Type": "System.Linq.Expressions.Expression>"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.JsonPatch.JsonPatchDocument",
- "Visibility": "Public",
- "GenericParameter": [
- {
- "ParameterName": "TProp",
- "ParameterPosition": 0,
- "BaseTypeOrInterfaces": []
- }
- ]
- },
- {
- "Kind": "Method",
- "Name": "Move",
- "Parameters": [
- {
- "Name": "from",
- "Type": "System.Linq.Expressions.Expression>"
- },
- {
- "Name": "path",
- "Type": "System.Linq.Expressions.Expression>>"
- },
- {
- "Name": "positionTo",
- "Type": "System.Int32"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.JsonPatch.JsonPatchDocument",
- "Visibility": "Public",
- "GenericParameter": [
- {
- "ParameterName": "TProp",
- "ParameterPosition": 0,
- "BaseTypeOrInterfaces": []
- }
- ]
- },
- {
- "Kind": "Method",
- "Name": "Move",
- "Parameters": [
- {
- "Name": "from",
- "Type": "System.Linq.Expressions.Expression>>"
- },
- {
- "Name": "positionFrom",
- "Type": "System.Int32"
- },
- {
- "Name": "path",
- "Type": "System.Linq.Expressions.Expression>>"
- },
- {
- "Name": "positionTo",
- "Type": "System.Int32"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.JsonPatch.JsonPatchDocument",
- "Visibility": "Public",
- "GenericParameter": [
- {
- "ParameterName": "TProp",
- "ParameterPosition": 0,
- "BaseTypeOrInterfaces": []
- }
- ]
- },
- {
- "Kind": "Method",
- "Name": "Move",
- "Parameters": [
- {
- "Name": "from",
- "Type": "System.Linq.Expressions.Expression>>"
- },
- {
- "Name": "positionFrom",
- "Type": "System.Int32"
- },
- {
- "Name": "path",
- "Type": "System.Linq.Expressions.Expression>>"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.JsonPatch.JsonPatchDocument",
- "Visibility": "Public",
- "GenericParameter": [
- {
- "ParameterName": "TProp",
- "ParameterPosition": 0,
- "BaseTypeOrInterfaces": []
- }
- ]
- },
- {
- "Kind": "Method",
- "Name": "Move",
- "Parameters": [
- {
- "Name": "from",
- "Type": "System.Linq.Expressions.Expression>"
- },
- {
- "Name": "path",
- "Type": "System.Linq.Expressions.Expression>>"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.JsonPatch.JsonPatchDocument",
- "Visibility": "Public",
- "GenericParameter": [
- {
- "ParameterName": "TProp",
- "ParameterPosition": 0,
- "BaseTypeOrInterfaces": []
- }
- ]
- },
- {
- "Kind": "Method",
- "Name": "Copy",
- "Parameters": [
- {
- "Name": "from",
- "Type": "System.Linq.Expressions.Expression>"
- },
- {
- "Name": "path",
- "Type": "System.Linq.Expressions.Expression>"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.JsonPatch.JsonPatchDocument",
- "Visibility": "Public",
- "GenericParameter": [
- {
- "ParameterName": "TProp",
- "ParameterPosition": 0,
- "BaseTypeOrInterfaces": []
- }
- ]
- },
- {
- "Kind": "Method",
- "Name": "Copy",
- "Parameters": [
- {
- "Name": "from",
- "Type": "System.Linq.Expressions.Expression>>"
- },
- {
- "Name": "positionFrom",
- "Type": "System.Int32"
- },
- {
- "Name": "path",
- "Type": "System.Linq.Expressions.Expression>"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.JsonPatch.JsonPatchDocument",
- "Visibility": "Public",
- "GenericParameter": [
- {
- "ParameterName": "TProp",
- "ParameterPosition": 0,
- "BaseTypeOrInterfaces": []
- }
- ]
- },
- {
- "Kind": "Method",
- "Name": "Copy",
- "Parameters": [
- {
- "Name": "from",
- "Type": "System.Linq.Expressions.Expression>"
- },
- {
- "Name": "path",
- "Type": "System.Linq.Expressions.Expression>>"
- },
- {
- "Name": "positionTo",
- "Type": "System.Int32"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.JsonPatch.JsonPatchDocument",
- "Visibility": "Public",
- "GenericParameter": [
- {
- "ParameterName": "TProp",
- "ParameterPosition": 0,
- "BaseTypeOrInterfaces": []
- }
- ]
- },
- {
- "Kind": "Method",
- "Name": "Copy",
- "Parameters": [
- {
- "Name": "from",
- "Type": "System.Linq.Expressions.Expression>>"
- },
- {
- "Name": "positionFrom",
- "Type": "System.Int32"
- },
- {
- "Name": "path",
- "Type": "System.Linq.Expressions.Expression>>"
- },
- {
- "Name": "positionTo",
- "Type": "System.Int32"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.JsonPatch.JsonPatchDocument",
- "Visibility": "Public",
- "GenericParameter": [
- {
- "ParameterName": "TProp",
- "ParameterPosition": 0,
- "BaseTypeOrInterfaces": []
- }
- ]
- },
- {
- "Kind": "Method",
- "Name": "Copy",
- "Parameters": [
- {
- "Name": "from",
- "Type": "System.Linq.Expressions.Expression>>"
- },
- {
- "Name": "positionFrom",
- "Type": "System.Int32"
- },
- {
- "Name": "path",
- "Type": "System.Linq.Expressions.Expression>>"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.JsonPatch.JsonPatchDocument",
- "Visibility": "Public",
- "GenericParameter": [
- {
- "ParameterName": "TProp",
- "ParameterPosition": 0,
- "BaseTypeOrInterfaces": []
- }
- ]
- },
- {
- "Kind": "Method",
- "Name": "Copy",
- "Parameters": [
- {
- "Name": "from",
- "Type": "System.Linq.Expressions.Expression>"
- },
- {
- "Name": "path",
- "Type": "System.Linq.Expressions.Expression>>"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.JsonPatch.JsonPatchDocument",
- "Visibility": "Public",
- "GenericParameter": [
- {
- "ParameterName": "TProp",
- "ParameterPosition": 0,
- "BaseTypeOrInterfaces": []
- }
- ]
- },
- {
- "Kind": "Method",
- "Name": "ApplyTo",
- "Parameters": [
- {
- "Name": "objectToApplyTo",
- "Type": "T0"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ApplyTo",
- "Parameters": [
- {
- "Name": "objectToApplyTo",
- "Type": "T0"
- },
- {
- "Name": "logErrorAction",
- "Type": "System.Action"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ApplyTo",
- "Parameters": [
- {
- "Name": "objectToApplyTo",
- "Type": "T0"
- },
- {
- "Name": "adapter",
- "Type": "Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "operations",
- "Type": "System.Collections.Generic.List>"
- },
- {
- "Name": "contractResolver",
- "Type": "Newtonsoft.Json.Serialization.IContractResolver"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": [
- {
- "ParameterName": "TModel",
- "ParameterPosition": 0,
- "Class": true,
- "BaseTypeOrInterfaces": []
- }
- ]
- },
- {
- "Name": "Microsoft.AspNetCore.JsonPatch.JsonPatchError",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_AffectedObject",
- "Parameters": [],
- "ReturnType": "System.Object",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Operation",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.JsonPatch.Operations.Operation",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_ErrorMessage",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "affectedObject",
- "Type": "System.Object"
- },
- {
- "Name": "operation",
- "Type": "Microsoft.AspNetCore.JsonPatch.Operations.Operation"
- },
- {
- "Name": "errorMessage",
- "Type": "System.String"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.JsonPatch.Operations.Operation",
- "Visibility": "Public",
- "Kind": "Class",
- "BaseType": "Microsoft.AspNetCore.JsonPatch.Operations.OperationBase",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_value",
- "Parameters": [],
- "ReturnType": "System.Object",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_value",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Object"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Apply",
- "Parameters": [
- {
- "Name": "objectToApplyTo",
- "Type": "System.Object"
- },
- {
- "Name": "adapter",
- "Type": "Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ShouldSerializevalue",
- "Parameters": [],
- "ReturnType": "System.Boolean",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "op",
- "Type": "System.String"
- },
- {
- "Name": "path",
- "Type": "System.String"
- },
- {
- "Name": "from",
- "Type": "System.String"
- },
- {
- "Name": "value",
- "Type": "System.Object"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "op",
- "Type": "System.String"
- },
- {
- "Name": "path",
- "Type": "System.String"
- },
- {
- "Name": "from",
- "Type": "System.String"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.JsonPatch.Operations.OperationBase",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_OperationType",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.JsonPatch.Operations.OperationType",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_path",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_path",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_op",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_op",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_from",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_from",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ShouldSerializefrom",
- "Parameters": [],
- "ReturnType": "System.Boolean",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "op",
- "Type": "System.String"
- },
- {
- "Name": "path",
- "Type": "System.String"
- },
- {
- "Name": "from",
- "Type": "System.String"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.JsonPatch.Operations.Operation",
- "Visibility": "Public",
- "Kind": "Class",
- "BaseType": "Microsoft.AspNetCore.JsonPatch.Operations.Operation",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "Apply",
- "Parameters": [
- {
- "Name": "objectToApplyTo",
- "Type": "T0"
- },
- {
- "Name": "adapter",
- "Type": "Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "op",
- "Type": "System.String"
- },
- {
- "Name": "path",
- "Type": "System.String"
- },
- {
- "Name": "from",
- "Type": "System.String"
- },
- {
- "Name": "value",
- "Type": "System.Object"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "op",
- "Type": "System.String"
- },
- {
- "Name": "path",
- "Type": "System.String"
- },
- {
- "Name": "from",
- "Type": "System.String"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": [
- {
- "ParameterName": "TModel",
- "ParameterPosition": 0,
- "Class": true,
- "BaseTypeOrInterfaces": []
- }
- ]
- },
- {
- "Name": "Microsoft.AspNetCore.JsonPatch.Operations.OperationType",
- "Visibility": "Public",
- "Kind": "Enumeration",
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Field",
- "Name": "Add",
- "Parameters": [],
- "GenericParameter": [],
- "Literal": "0"
- },
- {
- "Kind": "Field",
- "Name": "Remove",
- "Parameters": [],
- "GenericParameter": [],
- "Literal": "1"
- },
- {
- "Kind": "Field",
- "Name": "Replace",
- "Parameters": [],
- "GenericParameter": [],
- "Literal": "2"
- },
- {
- "Kind": "Field",
- "Name": "Move",
- "Parameters": [],
- "GenericParameter": [],
- "Literal": "3"
- },
- {
- "Kind": "Field",
- "Name": "Copy",
- "Parameters": [],
- "GenericParameter": [],
- "Literal": "4"
- },
- {
- "Kind": "Field",
- "Name": "Test",
- "Parameters": [],
- "GenericParameter": [],
- "Literal": "5"
- },
- {
- "Kind": "Field",
- "Name": "Invalid",
- "Parameters": [],
- "GenericParameter": [],
- "Literal": "6"
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.JsonPatch.Helpers.GetValueResult",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_PropertyValue",
- "Parameters": [],
- "ReturnType": "System.Object",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_HasError",
- "Parameters": [],
- "ReturnType": "System.Boolean",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "propertyValue",
- "Type": "System.Object"
- },
- {
- "Name": "hasError",
- "Type": "System.Boolean"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.JsonPatch.Exceptions.JsonPatchException",
- "Visibility": "Public",
- "Kind": "Class",
- "BaseType": "System.Exception",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_FailedOperation",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.JsonPatch.Operations.Operation",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_AffectedObject",
- "Parameters": [],
- "ReturnType": "System.Object",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "jsonPatchError",
- "Type": "Microsoft.AspNetCore.JsonPatch.JsonPatchError"
- },
- {
- "Name": "innerException",
- "Type": "System.Exception"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "jsonPatchError",
- "Type": "Microsoft.AspNetCore.JsonPatch.JsonPatchError"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "message",
- "Type": "System.String"
- },
- {
- "Name": "innerException",
- "Type": "System.Exception"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.JsonPatch.Converters.JsonPatchDocumentConverter",
- "Visibility": "Public",
- "Kind": "Class",
- "BaseType": "Newtonsoft.Json.JsonConverter",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "CanConvert",
- "Parameters": [
- {
- "Name": "objectType",
- "Type": "System.Type"
- }
- ],
- "ReturnType": "System.Boolean",
- "Virtual": true,
- "Override": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ReadJson",
- "Parameters": [
- {
- "Name": "reader",
- "Type": "Newtonsoft.Json.JsonReader"
- },
- {
- "Name": "objectType",
- "Type": "System.Type"
- },
- {
- "Name": "existingValue",
- "Type": "System.Object"
- },
- {
- "Name": "serializer",
- "Type": "Newtonsoft.Json.JsonSerializer"
- }
- ],
- "ReturnType": "System.Object",
- "Virtual": true,
- "Override": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "WriteJson",
- "Parameters": [
- {
- "Name": "writer",
- "Type": "Newtonsoft.Json.JsonWriter"
- },
- {
- "Name": "value",
- "Type": "System.Object"
- },
- {
- "Name": "serializer",
- "Type": "Newtonsoft.Json.JsonSerializer"
- }
- ],
- "ReturnType": "System.Void",
- "Virtual": true,
- "Override": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.JsonPatch.Converters.TypedJsonPatchDocumentConverter",
- "Visibility": "Public",
- "Kind": "Class",
- "BaseType": "Microsoft.AspNetCore.JsonPatch.Converters.JsonPatchDocumentConverter",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "ReadJson",
- "Parameters": [
- {
- "Name": "reader",
- "Type": "Newtonsoft.Json.JsonReader"
- },
- {
- "Name": "objectType",
- "Type": "System.Type"
- },
- {
- "Name": "existingValue",
- "Type": "System.Object"
- },
- {
- "Name": "serializer",
- "Type": "Newtonsoft.Json.JsonSerializer"
- }
- ],
- "ReturnType": "System.Object",
- "Virtual": true,
- "Override": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "Add",
- "Parameters": [
- {
- "Name": "operation",
- "Type": "Microsoft.AspNetCore.JsonPatch.Operations.Operation"
- },
- {
- "Name": "objectToApplyTo",
- "Type": "System.Object"
- }
- ],
- "ReturnType": "System.Void",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Copy",
- "Parameters": [
- {
- "Name": "operation",
- "Type": "Microsoft.AspNetCore.JsonPatch.Operations.Operation"
- },
- {
- "Name": "objectToApplyTo",
- "Type": "System.Object"
- }
- ],
- "ReturnType": "System.Void",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Move",
- "Parameters": [
- {
- "Name": "operation",
- "Type": "Microsoft.AspNetCore.JsonPatch.Operations.Operation"
- },
- {
- "Name": "objectToApplyTo",
- "Type": "System.Object"
- }
- ],
- "ReturnType": "System.Void",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Remove",
- "Parameters": [
- {
- "Name": "operation",
- "Type": "Microsoft.AspNetCore.JsonPatch.Operations.Operation"
- },
- {
- "Name": "objectToApplyTo",
- "Type": "System.Object"
- }
- ],
- "ReturnType": "System.Void",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Replace",
- "Parameters": [
- {
- "Name": "operation",
- "Type": "Microsoft.AspNetCore.JsonPatch.Operations.Operation"
- },
- {
- "Name": "objectToApplyTo",
- "Type": "System.Object"
- }
- ],
- "ReturnType": "System.Void",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapterWithTest",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "Test",
- "Parameters": [
- {
- "Name": "operation",
- "Type": "Microsoft.AspNetCore.JsonPatch.Operations.Operation"
- },
- {
- "Name": "objectToApplyTo",
- "Type": "System.Object"
- }
- ],
- "ReturnType": "System.Void",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.JsonPatch.Adapters.ObjectAdapter",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapterWithTest"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "Add",
- "Parameters": [
- {
- "Name": "operation",
- "Type": "Microsoft.AspNetCore.JsonPatch.Operations.Operation"
- },
- {
- "Name": "objectToApplyTo",
- "Type": "System.Object"
- }
- ],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Copy",
- "Parameters": [
- {
- "Name": "operation",
- "Type": "Microsoft.AspNetCore.JsonPatch.Operations.Operation"
- },
- {
- "Name": "objectToApplyTo",
- "Type": "System.Object"
- }
- ],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Move",
- "Parameters": [
- {
- "Name": "operation",
- "Type": "Microsoft.AspNetCore.JsonPatch.Operations.Operation"
- },
- {
- "Name": "objectToApplyTo",
- "Type": "System.Object"
- }
- ],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Remove",
- "Parameters": [
- {
- "Name": "operation",
- "Type": "Microsoft.AspNetCore.JsonPatch.Operations.Operation"
- },
- {
- "Name": "objectToApplyTo",
- "Type": "System.Object"
- }
- ],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Replace",
- "Parameters": [
- {
- "Name": "operation",
- "Type": "Microsoft.AspNetCore.JsonPatch.Operations.Operation"
- },
- {
- "Name": "objectToApplyTo",
- "Type": "System.Object"
- }
- ],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_ContractResolver",
- "Parameters": [],
- "ReturnType": "Newtonsoft.Json.Serialization.IContractResolver",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_LogErrorAction",
- "Parameters": [],
- "ReturnType": "System.Action",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Test",
- "Parameters": [
- {
- "Name": "operation",
- "Type": "Microsoft.AspNetCore.JsonPatch.Operations.Operation"
- },
- {
- "Name": "objectToApplyTo",
- "Type": "System.Object"
- }
- ],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapterWithTest",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "contractResolver",
- "Type": "Newtonsoft.Json.Serialization.IContractResolver"
- },
- {
- "Name": "logErrorAction",
- "Type": "System.Action"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- }
- ]
-}
\ No newline at end of file
diff --git a/src/Framework/src/Microsoft.AspNetCore.App.Runtime.csproj b/src/Framework/src/Microsoft.AspNetCore.App.Runtime.csproj
index 7e15088844..7af695b6c2 100644
--- a/src/Framework/src/Microsoft.AspNetCore.App.Runtime.csproj
+++ b/src/Framework/src/Microsoft.AspNetCore.App.Runtime.csproj
@@ -376,6 +376,7 @@ This package is an internal implementation of the .NET Core SDK and is not meant
+
diff --git a/src/Hosting/Abstractions/src/baseline.netcore.json b/src/Hosting/Abstractions/src/baseline.netcore.json
deleted file mode 100644
index 7536bf1233..0000000000
--- a/src/Hosting/Abstractions/src/baseline.netcore.json
+++ /dev/null
@@ -1,947 +0,0 @@
-{
- "AssemblyIdentity": "Microsoft.AspNetCore.Hosting.Abstractions, Version=2.0.2.0, Culture=neutral, PublicKeyToken=adb9793829ddae60",
- "Types": [
- {
- "Name": "Microsoft.AspNetCore.Hosting.EnvironmentName",
- "Visibility": "Public",
- "Kind": "Class",
- "Abstract": true,
- "Static": true,
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Field",
- "Name": "Development",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "ReadOnly": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Field",
- "Name": "Staging",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "ReadOnly": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Field",
- "Name": "Production",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "ReadOnly": true,
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Hosting.HostingAbstractionsWebHostBuilderExtensions",
- "Visibility": "Public",
- "Kind": "Class",
- "Abstract": true,
- "Static": true,
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "UseConfiguration",
- "Parameters": [
- {
- "Name": "hostBuilder",
- "Type": "Microsoft.AspNetCore.Hosting.IWebHostBuilder"
- },
- {
- "Name": "configuration",
- "Type": "Microsoft.Extensions.Configuration.IConfiguration"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "CaptureStartupErrors",
- "Parameters": [
- {
- "Name": "hostBuilder",
- "Type": "Microsoft.AspNetCore.Hosting.IWebHostBuilder"
- },
- {
- "Name": "captureStartupErrors",
- "Type": "System.Boolean"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "UseStartup",
- "Parameters": [
- {
- "Name": "hostBuilder",
- "Type": "Microsoft.AspNetCore.Hosting.IWebHostBuilder"
- },
- {
- "Name": "startupAssemblyName",
- "Type": "System.String"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "UseServer",
- "Parameters": [
- {
- "Name": "hostBuilder",
- "Type": "Microsoft.AspNetCore.Hosting.IWebHostBuilder"
- },
- {
- "Name": "server",
- "Type": "Microsoft.AspNetCore.Hosting.Server.IServer"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "UseEnvironment",
- "Parameters": [
- {
- "Name": "hostBuilder",
- "Type": "Microsoft.AspNetCore.Hosting.IWebHostBuilder"
- },
- {
- "Name": "environment",
- "Type": "System.String"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "UseContentRoot",
- "Parameters": [
- {
- "Name": "hostBuilder",
- "Type": "Microsoft.AspNetCore.Hosting.IWebHostBuilder"
- },
- {
- "Name": "contentRoot",
- "Type": "System.String"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "UseWebRoot",
- "Parameters": [
- {
- "Name": "hostBuilder",
- "Type": "Microsoft.AspNetCore.Hosting.IWebHostBuilder"
- },
- {
- "Name": "webRoot",
- "Type": "System.String"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "UseUrls",
- "Parameters": [
- {
- "Name": "hostBuilder",
- "Type": "Microsoft.AspNetCore.Hosting.IWebHostBuilder"
- },
- {
- "Name": "urls",
- "Type": "System.String[]",
- "IsParams": true
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder",
- "Static": true,
- "Extension": true,
- "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",
- "Parameters": [
- {
- "Name": "hostBuilder",
- "Type": "Microsoft.AspNetCore.Hosting.IWebHostBuilder"
- },
- {
- "Name": "urls",
- "Type": "System.String[]",
- "IsParams": true
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHost",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Hosting.HostingEnvironmentExtensions",
- "Visibility": "Public",
- "Kind": "Class",
- "Abstract": true,
- "Static": true,
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "IsDevelopment",
- "Parameters": [
- {
- "Name": "hostingEnvironment",
- "Type": "Microsoft.AspNetCore.Hosting.IHostingEnvironment"
- }
- ],
- "ReturnType": "System.Boolean",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "IsStaging",
- "Parameters": [
- {
- "Name": "hostingEnvironment",
- "Type": "Microsoft.AspNetCore.Hosting.IHostingEnvironment"
- }
- ],
- "ReturnType": "System.Boolean",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "IsProduction",
- "Parameters": [
- {
- "Name": "hostingEnvironment",
- "Type": "Microsoft.AspNetCore.Hosting.IHostingEnvironment"
- }
- ],
- "ReturnType": "System.Boolean",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "IsEnvironment",
- "Parameters": [
- {
- "Name": "hostingEnvironment",
- "Type": "Microsoft.AspNetCore.Hosting.IHostingEnvironment"
- },
- {
- "Name": "environmentName",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Boolean",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "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",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_ApplicationStarted",
- "Parameters": [],
- "ReturnType": "System.Threading.CancellationToken",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_ApplicationStopping",
- "Parameters": [],
- "ReturnType": "System.Threading.CancellationToken",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_ApplicationStopped",
- "Parameters": [],
- "ReturnType": "System.Threading.CancellationToken",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "StopApplication",
- "Parameters": [],
- "ReturnType": "System.Void",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Hosting.IHostingEnvironment",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_EnvironmentName",
- "Parameters": [],
- "ReturnType": "System.String",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_EnvironmentName",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_ApplicationName",
- "Parameters": [],
- "ReturnType": "System.String",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_ApplicationName",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_WebRootPath",
- "Parameters": [],
- "ReturnType": "System.String",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_WebRootPath",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_WebRootFileProvider",
- "Parameters": [],
- "ReturnType": "Microsoft.Extensions.FileProviders.IFileProvider",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_WebRootFileProvider",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Microsoft.Extensions.FileProviders.IFileProvider"
- }
- ],
- "ReturnType": "System.Void",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_ContentRootPath",
- "Parameters": [],
- "ReturnType": "System.String",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_ContentRootPath",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_ContentRootFileProvider",
- "Parameters": [],
- "ReturnType": "Microsoft.Extensions.FileProviders.IFileProvider",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_ContentRootFileProvider",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Microsoft.Extensions.FileProviders.IFileProvider"
- }
- ],
- "ReturnType": "System.Void",
- "GenericParameter": []
- }
- ],
- "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",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "ConfigureServices",
- "Parameters": [
- {
- "Name": "services",
- "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection"
- }
- ],
- "ReturnType": "System.IServiceProvider",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Configure",
- "Parameters": [
- {
- "Name": "app",
- "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder"
- }
- ],
- "ReturnType": "System.Void",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Hosting.IStartupFilter",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "Configure",
- "Parameters": [
- {
- "Name": "next",
- "Type": "System.Action"
- }
- ],
- "ReturnType": "System.Action",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Hosting.IWebHost",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [
- "System.IDisposable"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_ServerFeatures",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.Http.Features.IFeatureCollection",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Services",
- "Parameters": [],
- "ReturnType": "System.IServiceProvider",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Start",
- "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": []
- },
- {
- "Name": "Microsoft.AspNetCore.Hosting.IWebHostBuilder",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "Build",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHost",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ConfigureAppConfiguration",
- "Parameters": [
- {
- "Name": "configureDelegate",
- "Type": "System.Action"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ConfigureServices",
- "Parameters": [
- {
- "Name": "configureServices",
- "Type": "System.Action"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ConfigureServices",
- "Parameters": [
- {
- "Name": "configureServices",
- "Type": "System.Action"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetSetting",
- "Parameters": [
- {
- "Name": "key",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.String",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "UseSetting",
- "Parameters": [
- {
- "Name": "key",
- "Type": "System.String"
- },
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "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": "set_HostingEnvironment",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Microsoft.AspNetCore.Hosting.IHostingEnvironment"
- }
- ],
- "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": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Hosting.WebHostDefaults",
- "Visibility": "Public",
- "Kind": "Class",
- "Abstract": true,
- "Static": true,
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Field",
- "Name": "ApplicationKey",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "ReadOnly": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Field",
- "Name": "StartupAssemblyKey",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "ReadOnly": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Field",
- "Name": "HostingStartupAssembliesKey",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "ReadOnly": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Field",
- "Name": "DetailedErrorsKey",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "ReadOnly": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Field",
- "Name": "EnvironmentKey",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "ReadOnly": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Field",
- "Name": "WebRootKey",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "ReadOnly": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Field",
- "Name": "CaptureStartupErrorsKey",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "ReadOnly": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Field",
- "Name": "ServerUrlsKey",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "ReadOnly": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Field",
- "Name": "ContentRootKey",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "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": []
- }
- ]
-}
\ No newline at end of file
diff --git a/src/Hosting/Hosting/src/Internal/HostingRequestStartingLog.cs b/src/Hosting/Hosting/src/Internal/HostingRequestStartingLog.cs
index 7506028a3c..4d9901cdd6 100644
--- a/src/Hosting/Hosting/src/Internal/HostingRequestStartingLog.cs
+++ b/src/Hosting/Hosting/src/Internal/HostingRequestStartingLog.cs
@@ -1,4 +1,4 @@
-// Copyright (c) .NET Foundation. All rights reserved.
+// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
@@ -34,7 +34,7 @@ namespace Microsoft.AspNetCore.Hosting.Internal
case 3:
return new KeyValuePair("ContentLength", _request.ContentLength);
case 4:
- return new KeyValuePair("Scheme", _request.Scheme.ToString());
+ return new KeyValuePair("Scheme", _request.Scheme);
case 5:
return new KeyValuePair("Host", _request.Host.ToString());
case 6:
diff --git a/src/Hosting/Hosting/src/baseline.netcore.json b/src/Hosting/Hosting/src/baseline.netcore.json
deleted file mode 100644
index ca85990914..0000000000
--- a/src/Hosting/Hosting/src/baseline.netcore.json
+++ /dev/null
@@ -1,1995 +0,0 @@
-{
- "AssemblyIdentity": "Microsoft.AspNetCore.Hosting, Version=2.0.2.0, Culture=neutral, PublicKeyToken=adb9793829ddae60",
- "Types": [
- {
- "Name": "Microsoft.AspNetCore.Hosting.ConventionBasedStartup",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.Hosting.IStartup"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "Configure",
- "Parameters": [
- {
- "Name": "app",
- "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder"
- }
- ],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Hosting.IStartup",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ConfigureServices",
- "Parameters": [
- {
- "Name": "services",
- "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection"
- }
- ],
- "ReturnType": "System.IServiceProvider",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Hosting.IStartup",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "methods",
- "Type": "Microsoft.AspNetCore.Hosting.Internal.StartupMethods"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Hosting.DelegateStartup",
- "Visibility": "Public",
- "Kind": "Class",
- "BaseType": "Microsoft.AspNetCore.Hosting.StartupBase",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "Configure",
- "Parameters": [
- {
- "Name": "app",
- "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder"
- }
- ],
- "ReturnType": "System.Void",
- "Virtual": true,
- "Override": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Hosting.IStartup",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "factory",
- "Type": "Microsoft.Extensions.DependencyInjection.IServiceProviderFactory"
- },
- {
- "Name": "configureApp",
- "Type": "System.Action"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Hosting.StartupBase",
- "Visibility": "Public",
- "Kind": "Class",
- "Abstract": true,
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.Hosting.IStartup"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "Configure",
- "Parameters": [
- {
- "Name": "app",
- "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder"
- }
- ],
- "ReturnType": "System.Void",
- "Virtual": true,
- "Abstract": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Hosting.IStartup",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ConfigureServices",
- "Parameters": [
- {
- "Name": "services",
- "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection"
- }
- ],
- "ReturnType": "System.Void",
- "Virtual": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "CreateServiceProvider",
- "Parameters": [
- {
- "Name": "services",
- "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection"
- }
- ],
- "ReturnType": "System.IServiceProvider",
- "Virtual": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Protected",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Hosting.StartupBase",
- "Visibility": "Public",
- "Kind": "Class",
- "Abstract": true,
- "BaseType": "Microsoft.AspNetCore.Hosting.StartupBase",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "CreateServiceProvider",
- "Parameters": [
- {
- "Name": "services",
- "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection"
- }
- ],
- "ReturnType": "System.IServiceProvider",
- "Virtual": true,
- "Override": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ConfigureContainer",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "T0"
- }
- ],
- "ReturnType": "System.Void",
- "Virtual": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "factory",
- "Type": "Microsoft.Extensions.DependencyInjection.IServiceProviderFactory"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": [
- {
- "ParameterName": "TBuilder",
- "ParameterPosition": 0,
- "BaseTypeOrInterfaces": []
- }
- ]
- },
- {
- "Name": "Microsoft.AspNetCore.Hosting.WebHostBuilder",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.Hosting.IWebHostBuilder"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "GetSetting",
- "Parameters": [
- {
- "Name": "key",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.String",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Hosting.IWebHostBuilder",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "UseSetting",
- "Parameters": [
- {
- "Name": "key",
- "Type": "System.String"
- },
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Hosting.IWebHostBuilder",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ConfigureServices",
- "Parameters": [
- {
- "Name": "configureServices",
- "Type": "System.Action"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Hosting.IWebHostBuilder",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ConfigureServices",
- "Parameters": [
- {
- "Name": "configureServices",
- "Type": "System.Action"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Hosting.IWebHostBuilder",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ConfigureAppConfiguration",
- "Parameters": [
- {
- "Name": "configureDelegate",
- "Type": "System.Action"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Hosting.IWebHostBuilder",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Build",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHost",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Hosting.IWebHostBuilder",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Hosting.WebHostBuilderExtensions",
- "Visibility": "Public",
- "Kind": "Class",
- "Abstract": true,
- "Static": true,
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "Configure",
- "Parameters": [
- {
- "Name": "hostBuilder",
- "Type": "Microsoft.AspNetCore.Hosting.IWebHostBuilder"
- },
- {
- "Name": "configureApp",
- "Type": "System.Action"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "UseStartup",
- "Parameters": [
- {
- "Name": "hostBuilder",
- "Type": "Microsoft.AspNetCore.Hosting.IWebHostBuilder"
- },
- {
- "Name": "startupType",
- "Type": "System.Type"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "UseStartup",
- "Parameters": [
- {
- "Name": "hostBuilder",
- "Type": "Microsoft.AspNetCore.Hosting.IWebHostBuilder"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": [
- {
- "ParameterName": "TStartup",
- "ParameterPosition": 0,
- "Class": true,
- "BaseTypeOrInterfaces": []
- }
- ]
- },
- {
- "Kind": "Method",
- "Name": "UseDefaultServiceProvider",
- "Parameters": [
- {
- "Name": "hostBuilder",
- "Type": "Microsoft.AspNetCore.Hosting.IWebHostBuilder"
- },
- {
- "Name": "configure",
- "Type": "System.Action"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "UseDefaultServiceProvider",
- "Parameters": [
- {
- "Name": "hostBuilder",
- "Type": "Microsoft.AspNetCore.Hosting.IWebHostBuilder"
- },
- {
- "Name": "configure",
- "Type": "System.Action"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ConfigureAppConfiguration",
- "Parameters": [
- {
- "Name": "hostBuilder",
- "Type": "Microsoft.AspNetCore.Hosting.IWebHostBuilder"
- },
- {
- "Name": "configureDelegate",
- "Type": "System.Action"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ConfigureLogging",
- "Parameters": [
- {
- "Name": "hostBuilder",
- "Type": "Microsoft.AspNetCore.Hosting.IWebHostBuilder"
- },
- {
- "Name": "configureLogging",
- "Type": "System.Action"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ConfigureLogging",
- "Parameters": [
- {
- "Name": "hostBuilder",
- "Type": "Microsoft.AspNetCore.Hosting.IWebHostBuilder"
- },
- {
- "Name": "configureLogging",
- "Type": "System.Action"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Hosting.WebHostExtensions",
- "Visibility": "Public",
- "Kind": "Class",
- "Abstract": true,
- "Static": true,
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "StopAsync",
- "Parameters": [
- {
- "Name": "host",
- "Type": "Microsoft.AspNetCore.Hosting.IWebHost"
- },
- {
- "Name": "timeout",
- "Type": "System.TimeSpan"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "WaitForShutdown",
- "Parameters": [
- {
- "Name": "host",
- "Type": "Microsoft.AspNetCore.Hosting.IWebHost"
- }
- ],
- "ReturnType": "System.Void",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "WaitForShutdownAsync",
- "Parameters": [
- {
- "Name": "host",
- "Type": "Microsoft.AspNetCore.Hosting.IWebHost"
- },
- {
- "Name": "token",
- "Type": "System.Threading.CancellationToken",
- "DefaultValue": "default(System.Threading.CancellationToken)"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Run",
- "Parameters": [
- {
- "Name": "host",
- "Type": "Microsoft.AspNetCore.Hosting.IWebHost"
- }
- ],
- "ReturnType": "System.Void",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "RunAsync",
- "Parameters": [
- {
- "Name": "host",
- "Type": "Microsoft.AspNetCore.Hosting.IWebHost"
- },
- {
- "Name": "token",
- "Type": "System.Threading.CancellationToken",
- "DefaultValue": "default(System.Threading.CancellationToken)"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Hosting.Server.Features.ServerAddressesFeature",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.Hosting.Server.Features.IServerAddressesFeature"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_Addresses",
- "Parameters": [],
- "ReturnType": "System.Collections.Generic.ICollection",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Hosting.Server.Features.IServerAddressesFeature",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_PreferHostingUrls",
- "Parameters": [],
- "ReturnType": "System.Boolean",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Hosting.Server.Features.IServerAddressesFeature",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_PreferHostingUrls",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Boolean"
- }
- ],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Hosting.Server.Features.IServerAddressesFeature",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Hosting.Internal.ApplicationLifetime",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.Hosting.IApplicationLifetime"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_ApplicationStarted",
- "Parameters": [],
- "ReturnType": "System.Threading.CancellationToken",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Hosting.IApplicationLifetime",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_ApplicationStopping",
- "Parameters": [],
- "ReturnType": "System.Threading.CancellationToken",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Hosting.IApplicationLifetime",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_ApplicationStopped",
- "Parameters": [],
- "ReturnType": "System.Threading.CancellationToken",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Hosting.IApplicationLifetime",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "StopApplication",
- "Parameters": [],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Hosting.IApplicationLifetime",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "NotifyStarted",
- "Parameters": [],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "NotifyStopped",
- "Parameters": [],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "logger",
- "Type": "Microsoft.Extensions.Logging.ILogger"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Hosting.Internal.AutoRequestServicesStartupFilter",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.Hosting.IStartupFilter"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "Configure",
- "Parameters": [
- {
- "Name": "next",
- "Type": "System.Action"
- }
- ],
- "ReturnType": "System.Action",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Hosting.IStartupFilter",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Hosting.Internal.ConfigureBuilder",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_MethodInfo",
- "Parameters": [],
- "ReturnType": "System.Reflection.MethodInfo",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Build",
- "Parameters": [
- {
- "Name": "instance",
- "Type": "System.Object"
- }
- ],
- "ReturnType": "System.Action",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "configure",
- "Type": "System.Reflection.MethodInfo"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Hosting.Internal.ConfigureContainerBuilder",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_MethodInfo",
- "Parameters": [],
- "ReturnType": "System.Reflection.MethodInfo",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Build",
- "Parameters": [
- {
- "Name": "instance",
- "Type": "System.Object"
- }
- ],
- "ReturnType": "System.Action",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetContainerType",
- "Parameters": [],
- "ReturnType": "System.Type",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "configureContainerMethod",
- "Type": "System.Reflection.MethodInfo"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Hosting.Internal.ConfigureServicesBuilder",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_MethodInfo",
- "Parameters": [],
- "ReturnType": "System.Reflection.MethodInfo",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Build",
- "Parameters": [
- {
- "Name": "instance",
- "Type": "System.Object"
- }
- ],
- "ReturnType": "System.Func",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "configureServices",
- "Type": "System.Reflection.MethodInfo"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Hosting.Internal.HostedServiceExecutor",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "StartAsync",
- "Parameters": [
- {
- "Name": "token",
- "Type": "System.Threading.CancellationToken"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "StopAsync",
- "Parameters": [
- {
- "Name": "token",
- "Type": "System.Threading.CancellationToken"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "logger",
- "Type": "Microsoft.Extensions.Logging.ILogger"
- },
- {
- "Name": "services",
- "Type": "System.Collections.Generic.IEnumerable"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Hosting.Internal.HostingApplication",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.Hosting.Server.IHttpApplication"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "CreateContext",
- "Parameters": [
- {
- "Name": "contextFeatures",
- "Type": "Microsoft.AspNetCore.Http.Features.IFeatureCollection"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Hosting.Internal.HostingApplication+Context",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Hosting.Server.IHttpApplication",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ProcessRequestAsync",
- "Parameters": [
- {
- "Name": "context",
- "Type": "Microsoft.AspNetCore.Hosting.Internal.HostingApplication+Context"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Hosting.Server.IHttpApplication",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "DisposeContext",
- "Parameters": [
- {
- "Name": "context",
- "Type": "Microsoft.AspNetCore.Hosting.Internal.HostingApplication+Context"
- },
- {
- "Name": "exception",
- "Type": "System.Exception"
- }
- ],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Hosting.Server.IHttpApplication",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "application",
- "Type": "Microsoft.AspNetCore.Http.RequestDelegate"
- },
- {
- "Name": "logger",
- "Type": "Microsoft.Extensions.Logging.ILogger"
- },
- {
- "Name": "diagnosticSource",
- "Type": "System.Diagnostics.DiagnosticListener"
- },
- {
- "Name": "httpContextFactory",
- "Type": "Microsoft.AspNetCore.Http.IHttpContextFactory"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Hosting.Internal.HostingEnvironment",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.Hosting.IHostingEnvironment"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_EnvironmentName",
- "Parameters": [],
- "ReturnType": "System.String",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Hosting.IHostingEnvironment",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_EnvironmentName",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Hosting.IHostingEnvironment",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_ApplicationName",
- "Parameters": [],
- "ReturnType": "System.String",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Hosting.IHostingEnvironment",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_ApplicationName",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Hosting.IHostingEnvironment",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_WebRootPath",
- "Parameters": [],
- "ReturnType": "System.String",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Hosting.IHostingEnvironment",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_WebRootPath",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Hosting.IHostingEnvironment",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_WebRootFileProvider",
- "Parameters": [],
- "ReturnType": "Microsoft.Extensions.FileProviders.IFileProvider",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Hosting.IHostingEnvironment",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_WebRootFileProvider",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Microsoft.Extensions.FileProviders.IFileProvider"
- }
- ],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Hosting.IHostingEnvironment",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_ContentRootPath",
- "Parameters": [],
- "ReturnType": "System.String",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Hosting.IHostingEnvironment",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_ContentRootPath",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Hosting.IHostingEnvironment",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_ContentRootFileProvider",
- "Parameters": [],
- "ReturnType": "Microsoft.Extensions.FileProviders.IFileProvider",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Hosting.IHostingEnvironment",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_ContentRootFileProvider",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Microsoft.Extensions.FileProviders.IFileProvider"
- }
- ],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Hosting.IHostingEnvironment",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Hosting.Internal.HostingEnvironmentExtensions",
- "Visibility": "Public",
- "Kind": "Class",
- "Abstract": true,
- "Static": true,
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "Initialize",
- "Parameters": [
- {
- "Name": "hostingEnvironment",
- "Type": "Microsoft.AspNetCore.Hosting.IHostingEnvironment"
- },
- {
- "Name": "applicationName",
- "Type": "System.String"
- },
- {
- "Name": "contentRootPath",
- "Type": "System.String"
- },
- {
- "Name": "options",
- "Type": "Microsoft.AspNetCore.Hosting.Internal.WebHostOptions"
- }
- ],
- "ReturnType": "System.Void",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Hosting.Internal.HostingEventSource",
- "Visibility": "Public",
- "Kind": "Class",
- "Sealed": true,
- "BaseType": "System.Diagnostics.Tracing.EventSource",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "HostStart",
- "Parameters": [],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "HostStop",
- "Parameters": [],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "RequestStart",
- "Parameters": [
- {
- "Name": "method",
- "Type": "System.String"
- },
- {
- "Name": "path",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "RequestStop",
- "Parameters": [],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "UnhandledException",
- "Parameters": [],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Field",
- "Name": "Log",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.Hosting.Internal.HostingEventSource",
- "Static": true,
- "ReadOnly": true,
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Hosting.Internal.RequestServicesContainerMiddleware",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "Invoke",
- "Parameters": [
- {
- "Name": "httpContext",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "next",
- "Type": "Microsoft.AspNetCore.Http.RequestDelegate"
- },
- {
- "Name": "scopeFactory",
- "Type": "Microsoft.Extensions.DependencyInjection.IServiceScopeFactory"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Hosting.Internal.RequestServicesFeature",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.Http.Features.IServiceProvidersFeature",
- "System.IDisposable"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_RequestServices",
- "Parameters": [],
- "ReturnType": "System.IServiceProvider",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IServiceProvidersFeature",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_RequestServices",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.IServiceProvider"
- }
- ],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IServiceProvidersFeature",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Dispose",
- "Parameters": [],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "System.IDisposable",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "scopeFactory",
- "Type": "Microsoft.Extensions.DependencyInjection.IServiceScopeFactory"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Hosting.Internal.StartupLoader",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "LoadMethods",
- "Parameters": [
- {
- "Name": "hostingServiceProvider",
- "Type": "System.IServiceProvider"
- },
- {
- "Name": "startupType",
- "Type": "System.Type"
- },
- {
- "Name": "environmentName",
- "Type": "System.String"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Hosting.Internal.StartupMethods",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "FindStartupType",
- "Parameters": [
- {
- "Name": "startupAssemblyName",
- "Type": "System.String"
- },
- {
- "Name": "environmentName",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Type",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Hosting.Internal.StartupMethods",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_StartupInstance",
- "Parameters": [],
- "ReturnType": "System.Object",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_ConfigureServicesDelegate",
- "Parameters": [],
- "ReturnType": "System.Func",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_ConfigureDelegate",
- "Parameters": [],
- "ReturnType": "System.Action",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "instance",
- "Type": "System.Object"
- },
- {
- "Name": "configure",
- "Type": "System.Action"
- },
- {
- "Name": "configureServices",
- "Type": "System.Func"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Hosting.Internal.WebHostOptions",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_ApplicationName",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_ApplicationName",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_PreventHostingStartup",
- "Parameters": [],
- "ReturnType": "System.Boolean",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_PreventHostingStartup",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Boolean"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_HostingStartupAssemblies",
- "Parameters": [],
- "ReturnType": "System.Collections.Generic.IReadOnlyList",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_HostingStartupAssemblies",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Collections.Generic.IReadOnlyList"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_DetailedErrors",
- "Parameters": [],
- "ReturnType": "System.Boolean",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_DetailedErrors",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Boolean"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_CaptureStartupErrors",
- "Parameters": [],
- "ReturnType": "System.Boolean",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_CaptureStartupErrors",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Boolean"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Environment",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_Environment",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_StartupAssembly",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_StartupAssembly",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_WebRoot",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_WebRoot",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_ContentRootPath",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_ContentRootPath",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_ShutdownTimeout",
- "Parameters": [],
- "ReturnType": "System.TimeSpan",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_ShutdownTimeout",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.TimeSpan"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "configuration",
- "Type": "Microsoft.Extensions.Configuration.IConfiguration"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Hosting.Internal.WebHostUtilities",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "ParseBool",
- "Parameters": [
- {
- "Name": "configuration",
- "Type": "Microsoft.Extensions.Configuration.IConfiguration"
- },
- {
- "Name": "key",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Boolean",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Hosting.Builder.ApplicationBuilderFactory",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.Hosting.Builder.IApplicationBuilderFactory"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "CreateBuilder",
- "Parameters": [
- {
- "Name": "serverFeatures",
- "Type": "Microsoft.AspNetCore.Http.Features.IFeatureCollection"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Hosting.Builder.IApplicationBuilderFactory",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "serviceProvider",
- "Type": "System.IServiceProvider"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Hosting.Builder.IApplicationBuilderFactory",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "CreateBuilder",
- "Parameters": [
- {
- "Name": "serverFeatures",
- "Type": "Microsoft.AspNetCore.Http.Features.IFeatureCollection"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Hosting.Internal.HostingApplication+Context",
- "Visibility": "Public",
- "Kind": "Struct",
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_HttpContext",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.Http.HttpContext",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_HttpContext",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Scope",
- "Parameters": [],
- "ReturnType": "System.IDisposable",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_Scope",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.IDisposable"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_StartTimestamp",
- "Parameters": [],
- "ReturnType": "System.Int64",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_StartTimestamp",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Int64"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_EventLogEnabled",
- "Parameters": [],
- "ReturnType": "System.Boolean",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_EventLogEnabled",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Boolean"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Activity",
- "Parameters": [],
- "ReturnType": "System.Diagnostics.Activity",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_Activity",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Diagnostics.Activity"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- }
- ]
-}
\ No newline at end of file
diff --git a/src/Hosting/Hosting/test/Internal/HostingEventSourceTests.cs b/src/Hosting/Hosting/test/Internal/HostingEventSourceTests.cs
index 9e10b7f410..a32433720b 100644
--- a/src/Hosting/Hosting/test/Internal/HostingEventSourceTests.cs
+++ b/src/Hosting/Hosting/test/Internal/HostingEventSourceTests.cs
@@ -5,6 +5,7 @@ using System;
using System.Diagnostics.Tracing;
using System.Reflection;
using Microsoft.AspNetCore.Http;
+using Microsoft.AspNetCore.Testing;
using Microsoft.AspNetCore.Testing.xunit;
using Xunit;
@@ -108,7 +109,7 @@ namespace Microsoft.AspNetCore.Hosting.Internal
[Theory]
[MemberData(nameof(RequestStartData))]
- [Flaky("https://github.com/aspnet/AspNetCore-Internal/issues/2040", "All")]
+ [Flaky("https://github.com/aspnet/AspNetCore-Internal/issues/2230", FlakyOn.All)]
public void RequestStart(DefaultHttpContext httpContext, string[] expected)
{
// Arrange
diff --git a/src/Hosting/Hosting/test/WebHostTests.cs b/src/Hosting/Hosting/test/WebHostTests.cs
index db2880f1c3..74e456dff6 100644
--- a/src/Hosting/Hosting/test/WebHostTests.cs
+++ b/src/Hosting/Hosting/test/WebHostTests.cs
@@ -14,6 +14,7 @@ using Microsoft.AspNetCore.Hosting.Server;
using Microsoft.AspNetCore.Hosting.Server.Features;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Features;
+using Microsoft.AspNetCore.Testing;
using Microsoft.AspNetCore.Testing.xunit;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
@@ -238,7 +239,7 @@ namespace Microsoft.AspNetCore.Hosting
}
[ConditionalFact]
- [SkipOnHelix] // https://github.com/aspnet/AspNetCore/issues/7291
+ [Flaky("https://github.com/aspnet/AspNetCore-Internal/issues/2244", FlakyOn.Helix.All)]
public async Task WebHostStopAsyncUsesDefaultTimeoutIfNoTokenProvided()
{
var data = new Dictionary
diff --git a/src/Hosting/Server.Abstractions/src/baseline.netcore.json b/src/Hosting/Server.Abstractions/src/baseline.netcore.json
deleted file mode 100644
index 30460913bd..0000000000
--- a/src/Hosting/Server.Abstractions/src/baseline.netcore.json
+++ /dev/null
@@ -1,150 +0,0 @@
-{
- "AssemblyIdentity": "Microsoft.AspNetCore.Hosting.Server.Abstractions, Version=2.0.2.0, Culture=neutral, PublicKeyToken=adb9793829ddae60",
- "Types": [
- {
- "Name": "Microsoft.AspNetCore.Hosting.Server.IHttpApplication",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "CreateContext",
- "Parameters": [
- {
- "Name": "contextFeatures",
- "Type": "Microsoft.AspNetCore.Http.Features.IFeatureCollection"
- }
- ],
- "ReturnType": "T0",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ProcessRequestAsync",
- "Parameters": [
- {
- "Name": "context",
- "Type": "T0"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "DisposeContext",
- "Parameters": [
- {
- "Name": "context",
- "Type": "T0"
- },
- {
- "Name": "exception",
- "Type": "System.Exception"
- }
- ],
- "ReturnType": "System.Void",
- "GenericParameter": []
- }
- ],
- "GenericParameters": [
- {
- "ParameterName": "TContext",
- "ParameterPosition": 0,
- "BaseTypeOrInterfaces": []
- }
- ]
- },
- {
- "Name": "Microsoft.AspNetCore.Hosting.Server.IServer",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [
- "System.IDisposable"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_Features",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.Http.Features.IFeatureCollection",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "StartAsync",
- "Parameters": [
- {
- "Name": "application",
- "Type": "Microsoft.AspNetCore.Hosting.Server.IHttpApplication"
- },
- {
- "Name": "cancellationToken",
- "Type": "System.Threading.CancellationToken"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "GenericParameter": [
- {
- "ParameterName": "TContext",
- "ParameterPosition": 0,
- "BaseTypeOrInterfaces": []
- }
- ]
- },
- {
- "Kind": "Method",
- "Name": "StopAsync",
- "Parameters": [
- {
- "Name": "cancellationToken",
- "Type": "System.Threading.CancellationToken"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Hosting.Server.Features.IServerAddressesFeature",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_Addresses",
- "Parameters": [],
- "ReturnType": "System.Collections.Generic.ICollection",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_PreferHostingUrls",
- "Parameters": [],
- "ReturnType": "System.Boolean",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_PreferHostingUrls",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Boolean"
- }
- ],
- "ReturnType": "System.Void",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- }
- ]
-}
\ No newline at end of file
diff --git a/src/Hosting/Server.IntegrationTesting/src/Microsoft.AspNetCore.Server.IntegrationTesting.csproj b/src/Hosting/Server.IntegrationTesting/src/Microsoft.AspNetCore.Server.IntegrationTesting.csproj
index b483b048e6..be449d691a 100644
--- a/src/Hosting/Server.IntegrationTesting/src/Microsoft.AspNetCore.Server.IntegrationTesting.csproj
+++ b/src/Hosting/Server.IntegrationTesting/src/Microsoft.AspNetCore.Server.IntegrationTesting.csproj
@@ -3,7 +3,6 @@
ASP.NET Core helpers to deploy applications to IIS Express, IIS, WebListener and Kestrel for testing.
netcoreapp3.0
- false
$(NoWarn);CS1591
true
aspnetcore;testing
diff --git a/src/Hosting/Server.IntegrationTesting/src/baseline.netcore.json b/src/Hosting/Server.IntegrationTesting/src/baseline.netcore.json
deleted file mode 100644
index 9e26dfeeb6..0000000000
--- a/src/Hosting/Server.IntegrationTesting/src/baseline.netcore.json
+++ /dev/null
@@ -1 +0,0 @@
-{}
\ No newline at end of file
diff --git a/src/Hosting/TestHost/ref/Microsoft.AspNetCore.TestHost.netcoreapp3.0.cs b/src/Hosting/TestHost/ref/Microsoft.AspNetCore.TestHost.netcoreapp3.0.cs
index babe2e23cb..a51910e1ad 100644
--- a/src/Hosting/TestHost/ref/Microsoft.AspNetCore.TestHost.netcoreapp3.0.cs
+++ b/src/Hosting/TestHost/ref/Microsoft.AspNetCore.TestHost.netcoreapp3.0.cs
@@ -5,7 +5,7 @@ namespace Microsoft.AspNetCore.TestHost
{
public partial class ClientHandler : System.Net.Http.HttpMessageHandler
{
- public ClientHandler(Microsoft.AspNetCore.Http.PathString pathBase, Microsoft.AspNetCore.Hosting.Server.IHttpApplication application) { }
+ internal ClientHandler() { }
[System.Diagnostics.DebuggerStepThroughAttribute]
protected override System.Threading.Tasks.Task SendAsync(System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) { throw null; }
}
diff --git a/src/Hosting/TestHost/src/ClientHandler.cs b/src/Hosting/TestHost/src/ClientHandler.cs
index e10c3ffebc..edc28b471c 100644
--- a/src/Hosting/TestHost/src/ClientHandler.cs
+++ b/src/Hosting/TestHost/src/ClientHandler.cs
@@ -31,9 +31,7 @@ namespace Microsoft.AspNetCore.TestHost
///
/// The base path.
/// The .
-#pragma warning disable PUB0001
- public ClientHandler(PathString pathBase, IHttpApplication application)
-#pragma warning restore PUB0001
+ internal ClientHandler(PathString pathBase, IHttpApplication application)
{
_application = application ?? throw new ArgumentNullException(nameof(application));
diff --git a/src/Hosting/TestHost/src/baseline.netcore.json b/src/Hosting/TestHost/src/baseline.netcore.json
deleted file mode 100644
index 85f67361dd..0000000000
--- a/src/Hosting/TestHost/src/baseline.netcore.json
+++ /dev/null
@@ -1,316 +0,0 @@
-{
- "AssemblyIdentity": "Microsoft.AspNetCore.TestHost, Version=2.0.2.0, Culture=neutral, PublicKeyToken=adb9793829ddae60",
- "Types": [
- {
- "Name": "Microsoft.AspNetCore.TestHost.ClientHandler",
- "Visibility": "Public",
- "Kind": "Class",
- "BaseType": "System.Net.Http.HttpMessageHandler",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "SendAsync",
- "Parameters": [
- {
- "Name": "request",
- "Type": "System.Net.Http.HttpRequestMessage"
- },
- {
- "Name": "cancellationToken",
- "Type": "System.Threading.CancellationToken"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "Virtual": true,
- "Override": true,
- "Visibility": "Protected",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "pathBase",
- "Type": "Microsoft.AspNetCore.Http.PathString"
- },
- {
- "Name": "application",
- "Type": "Microsoft.AspNetCore.Hosting.Server.IHttpApplication"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.TestHost.RequestBuilder",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "And",
- "Parameters": [
- {
- "Name": "configure",
- "Type": "System.Action"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.TestHost.RequestBuilder",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "AddHeader",
- "Parameters": [
- {
- "Name": "name",
- "Type": "System.String"
- },
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.TestHost.RequestBuilder",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "SendAsync",
- "Parameters": [
- {
- "Name": "method",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetAsync",
- "Parameters": [],
- "ReturnType": "System.Threading.Tasks.Task",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "PostAsync",
- "Parameters": [],
- "ReturnType": "System.Threading.Tasks.Task",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "server",
- "Type": "Microsoft.AspNetCore.TestHost.TestServer"
- },
- {
- "Name": "path",
- "Type": "System.String"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.TestHost.TestServer",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.Hosting.Server.IServer"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_BaseAddress",
- "Parameters": [],
- "ReturnType": "System.Uri",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_BaseAddress",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Uri"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Host",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHost",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Features",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.Http.Features.IFeatureCollection",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Hosting.Server.IServer",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "CreateHandler",
- "Parameters": [],
- "ReturnType": "System.Net.Http.HttpMessageHandler",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "CreateClient",
- "Parameters": [],
- "ReturnType": "System.Net.Http.HttpClient",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "CreateWebSocketClient",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.TestHost.WebSocketClient",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "CreateRequest",
- "Parameters": [
- {
- "Name": "path",
- "Type": "System.String"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.TestHost.RequestBuilder",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Dispose",
- "Parameters": [],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "System.IDisposable",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "Microsoft.AspNetCore.Hosting.IWebHostBuilder"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "Microsoft.AspNetCore.Hosting.IWebHostBuilder"
- },
- {
- "Name": "featureCollection",
- "Type": "Microsoft.AspNetCore.Http.Features.IFeatureCollection"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.TestHost.WebSocketClient",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_SubProtocols",
- "Parameters": [],
- "ReturnType": "System.Collections.Generic.IList",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_ConfigureRequest",
- "Parameters": [],
- "ReturnType": "System.Action",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_ConfigureRequest",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Action"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ConnectAsync",
- "Parameters": [
- {
- "Name": "uri",
- "Type": "System.Uri"
- },
- {
- "Name": "cancellationToken",
- "Type": "System.Threading.CancellationToken"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- }
- ]
-}
\ No newline at end of file
diff --git a/src/Hosting/TestHost/test/ClientHandlerTests.cs b/src/Hosting/TestHost/test/ClientHandlerTests.cs
index 012867dd28..f97afcd5a6 100644
--- a/src/Hosting/TestHost/test/ClientHandlerTests.cs
+++ b/src/Hosting/TestHost/test/ClientHandlerTests.cs
@@ -29,7 +29,7 @@ namespace Microsoft.AspNetCore.TestHost
var handler = new ClientHandler(new PathString("/A/Path/"), new DummyApplication(context =>
{
// TODO: Assert.True(context.RequestAborted.CanBeCanceled);
- Assert.Equal("HTTP/2.0", context.Request.Protocol);
+ Assert.Equal("HTTP/1.1", context.Request.Protocol);
Assert.Equal("GET", context.Request.Method);
Assert.Equal("https", context.Request.Scheme);
Assert.Equal("/A/Path", context.Request.PathBase.Value);
@@ -55,7 +55,7 @@ namespace Microsoft.AspNetCore.TestHost
var handler = new ClientHandler(new PathString("/A/Path/"), new InspectingApplication(features =>
{
// TODO: Assert.True(context.RequestAborted.CanBeCanceled);
- Assert.Equal("HTTP/2.0", features.Get().Protocol);
+ Assert.Equal("HTTP/1.1", features.Get().Protocol);
Assert.Equal("GET", features.Get().Method);
Assert.Equal("https", features.Get().Scheme);
Assert.Equal("/A/Path", features.Get().PathBase);
diff --git a/src/Hosting/WindowsServices/src/baseline.netcore.json b/src/Hosting/WindowsServices/src/baseline.netcore.json
deleted file mode 100644
index a37e8c99ef..0000000000
--- a/src/Hosting/WindowsServices/src/baseline.netcore.json
+++ /dev/null
@@ -1,122 +0,0 @@
-{
- "AssemblyIdentity": "Microsoft.AspNetCore.Hosting.WindowsServices, Version=2.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60",
- "Types": [
- {
- "Name": "Microsoft.AspNetCore.Hosting.WindowsServices.WebHostService",
- "Visibility": "Public",
- "Kind": "Class",
- "BaseType": "System.ServiceProcess.ServiceBase",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "OnStart",
- "Parameters": [
- {
- "Name": "args",
- "Type": "System.String[]"
- }
- ],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "Override": true,
- "Visibility": "Protected",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "OnStop",
- "Parameters": [],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "Override": true,
- "Visibility": "Protected",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "OnStarting",
- "Parameters": [
- {
- "Name": "args",
- "Type": "System.String[]"
- }
- ],
- "ReturnType": "System.Void",
- "Virtual": true,
- "Visibility": "Protected",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "OnStarted",
- "Parameters": [],
- "ReturnType": "System.Void",
- "Virtual": true,
- "Visibility": "Protected",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "OnStopping",
- "Parameters": [],
- "ReturnType": "System.Void",
- "Virtual": true,
- "Visibility": "Protected",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "OnStopped",
- "Parameters": [],
- "ReturnType": "System.Void",
- "Virtual": true,
- "Visibility": "Protected",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "host",
- "Type": "Microsoft.AspNetCore.Hosting.IWebHost"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Hosting.WindowsServices.WebHostWindowsServiceExtensions",
- "Visibility": "Public",
- "Kind": "Class",
- "Abstract": true,
- "Static": true,
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "RunAsService",
- "Parameters": [
- {
- "Name": "host",
- "Type": "Microsoft.AspNetCore.Hosting.IWebHost"
- }
- ],
- "ReturnType": "System.Void",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- }
- ]
-}
\ No newline at end of file
diff --git a/src/Hosting/WindowsServices/src/baseline.netframework.json b/src/Hosting/WindowsServices/src/baseline.netframework.json
deleted file mode 100644
index 9850e83f45..0000000000
--- a/src/Hosting/WindowsServices/src/baseline.netframework.json
+++ /dev/null
@@ -1,122 +0,0 @@
-{
- "AssemblyIdentity": "Microsoft.AspNetCore.Hosting.WindowsServices, Version=2.0.2.0, Culture=neutral, PublicKeyToken=adb9793829ddae60",
- "Types": [
- {
- "Name": "Microsoft.AspNetCore.Hosting.WindowsServices.WebHostService",
- "Visibility": "Public",
- "Kind": "Class",
- "BaseType": "System.ServiceProcess.ServiceBase",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "OnStart",
- "Parameters": [
- {
- "Name": "args",
- "Type": "System.String[]"
- }
- ],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "Override": true,
- "Visibility": "Protected",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "OnStop",
- "Parameters": [],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "Override": true,
- "Visibility": "Protected",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "OnStarting",
- "Parameters": [
- {
- "Name": "args",
- "Type": "System.String[]"
- }
- ],
- "ReturnType": "System.Void",
- "Virtual": true,
- "Visibility": "Protected",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "OnStarted",
- "Parameters": [],
- "ReturnType": "System.Void",
- "Virtual": true,
- "Visibility": "Protected",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "OnStopping",
- "Parameters": [],
- "ReturnType": "System.Void",
- "Virtual": true,
- "Visibility": "Protected",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "OnStopped",
- "Parameters": [],
- "ReturnType": "System.Void",
- "Virtual": true,
- "Visibility": "Protected",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "host",
- "Type": "Microsoft.AspNetCore.Hosting.IWebHost"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Hosting.WindowsServices.WebHostWindowsServiceExtensions",
- "Visibility": "Public",
- "Kind": "Class",
- "Abstract": true,
- "Static": true,
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "RunAsService",
- "Parameters": [
- {
- "Name": "host",
- "Type": "Microsoft.AspNetCore.Hosting.IWebHost"
- }
- ],
- "ReturnType": "System.Void",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- }
- ]
-}
\ No newline at end of file
diff --git a/src/Html/Abstractions/src/baseline.netcore.json b/src/Html/Abstractions/src/baseline.netcore.json
deleted file mode 100644
index 29f855f97b..0000000000
--- a/src/Html/Abstractions/src/baseline.netcore.json
+++ /dev/null
@@ -1,626 +0,0 @@
-{
- "AssemblyIdentity": "Microsoft.AspNetCore.Html.Abstractions, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60",
- "Types": [
- {
- "Name": "Microsoft.AspNetCore.Html.HtmlContentBuilder",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.Html.IHtmlContentBuilder"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "CopyTo",
- "Parameters": [
- {
- "Name": "destination",
- "Type": "Microsoft.AspNetCore.Html.IHtmlContentBuilder"
- }
- ],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Html.IHtmlContentContainer",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "MoveTo",
- "Parameters": [
- {
- "Name": "destination",
- "Type": "Microsoft.AspNetCore.Html.IHtmlContentBuilder"
- }
- ],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Html.IHtmlContentContainer",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "WriteTo",
- "Parameters": [
- {
- "Name": "writer",
- "Type": "System.IO.TextWriter"
- },
- {
- "Name": "encoder",
- "Type": "System.Text.Encodings.Web.HtmlEncoder"
- }
- ],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Html.IHtmlContent",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Count",
- "Parameters": [],
- "ReturnType": "System.Int32",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Append",
- "Parameters": [
- {
- "Name": "unencoded",
- "Type": "System.String"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContentBuilder",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Html.IHtmlContentBuilder",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "AppendHtml",
- "Parameters": [
- {
- "Name": "htmlContent",
- "Type": "Microsoft.AspNetCore.Html.IHtmlContent"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContentBuilder",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Html.IHtmlContentBuilder",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "AppendHtml",
- "Parameters": [
- {
- "Name": "encoded",
- "Type": "System.String"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContentBuilder",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Html.IHtmlContentBuilder",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Clear",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContentBuilder",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Html.IHtmlContentBuilder",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "capacity",
- "Type": "System.Int32"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "entries",
- "Type": "System.Collections.Generic.IList"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Html.HtmlContentBuilderExtensions",
- "Visibility": "Public",
- "Kind": "Class",
- "Abstract": true,
- "Static": true,
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "AppendFormat",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "Microsoft.AspNetCore.Html.IHtmlContentBuilder"
- },
- {
- "Name": "format",
- "Type": "System.String"
- },
- {
- "Name": "args",
- "Type": "System.Object[]",
- "IsParams": true
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContentBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "AppendFormat",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "Microsoft.AspNetCore.Html.IHtmlContentBuilder"
- },
- {
- "Name": "formatProvider",
- "Type": "System.IFormatProvider"
- },
- {
- "Name": "format",
- "Type": "System.String"
- },
- {
- "Name": "args",
- "Type": "System.Object[]",
- "IsParams": true
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContentBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "AppendLine",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "Microsoft.AspNetCore.Html.IHtmlContentBuilder"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContentBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "AppendLine",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "Microsoft.AspNetCore.Html.IHtmlContentBuilder"
- },
- {
- "Name": "unencoded",
- "Type": "System.String"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContentBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "AppendLine",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "Microsoft.AspNetCore.Html.IHtmlContentBuilder"
- },
- {
- "Name": "content",
- "Type": "Microsoft.AspNetCore.Html.IHtmlContent"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContentBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "AppendHtmlLine",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "Microsoft.AspNetCore.Html.IHtmlContentBuilder"
- },
- {
- "Name": "encoded",
- "Type": "System.String"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContentBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "SetContent",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "Microsoft.AspNetCore.Html.IHtmlContentBuilder"
- },
- {
- "Name": "unencoded",
- "Type": "System.String"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContentBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "SetHtmlContent",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "Microsoft.AspNetCore.Html.IHtmlContentBuilder"
- },
- {
- "Name": "content",
- "Type": "Microsoft.AspNetCore.Html.IHtmlContent"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContentBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "SetHtmlContent",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "Microsoft.AspNetCore.Html.IHtmlContentBuilder"
- },
- {
- "Name": "encoded",
- "Type": "System.String"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContentBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Html.HtmlFormattableString",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.Html.IHtmlContent"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "WriteTo",
- "Parameters": [
- {
- "Name": "writer",
- "Type": "System.IO.TextWriter"
- },
- {
- "Name": "encoder",
- "Type": "System.Text.Encodings.Web.HtmlEncoder"
- }
- ],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Html.IHtmlContent",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "format",
- "Type": "System.String"
- },
- {
- "Name": "args",
- "Type": "System.Object[]",
- "IsParams": true
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "formatProvider",
- "Type": "System.IFormatProvider"
- },
- {
- "Name": "format",
- "Type": "System.String"
- },
- {
- "Name": "args",
- "Type": "System.Object[]",
- "IsParams": true
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Html.HtmlString",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.Html.IHtmlContent"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_Value",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "WriteTo",
- "Parameters": [
- {
- "Name": "writer",
- "Type": "System.IO.TextWriter"
- },
- {
- "Name": "encoder",
- "Type": "System.Text.Encodings.Web.HtmlEncoder"
- }
- ],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Html.IHtmlContent",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ToString",
- "Parameters": [],
- "ReturnType": "System.String",
- "Virtual": true,
- "Override": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Field",
- "Name": "NewLine",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.Html.HtmlString",
- "Static": true,
- "ReadOnly": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Field",
- "Name": "Empty",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.Html.HtmlString",
- "Static": true,
- "ReadOnly": true,
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Html.IHtmlContent",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "WriteTo",
- "Parameters": [
- {
- "Name": "writer",
- "Type": "System.IO.TextWriter"
- },
- {
- "Name": "encoder",
- "Type": "System.Text.Encodings.Web.HtmlEncoder"
- }
- ],
- "ReturnType": "System.Void",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Html.IHtmlContentBuilder",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.Html.IHtmlContentContainer"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "AppendHtml",
- "Parameters": [
- {
- "Name": "content",
- "Type": "Microsoft.AspNetCore.Html.IHtmlContent"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContentBuilder",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Append",
- "Parameters": [
- {
- "Name": "unencoded",
- "Type": "System.String"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContentBuilder",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "AppendHtml",
- "Parameters": [
- {
- "Name": "encoded",
- "Type": "System.String"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContentBuilder",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Clear",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContentBuilder",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Html.IHtmlContentContainer",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.Html.IHtmlContent"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "CopyTo",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "Microsoft.AspNetCore.Html.IHtmlContentBuilder"
- }
- ],
- "ReturnType": "System.Void",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "MoveTo",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "Microsoft.AspNetCore.Html.IHtmlContentBuilder"
- }
- ],
- "ReturnType": "System.Void",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- }
- ]
-}
\ No newline at end of file
diff --git a/src/Http/Authentication.Abstractions/src/Microsoft.AspNetCore.Authentication.Abstractions.csproj b/src/Http/Authentication.Abstractions/src/Microsoft.AspNetCore.Authentication.Abstractions.csproj
index b2ff9f8ce1..4c295dc373 100644
--- a/src/Http/Authentication.Abstractions/src/Microsoft.AspNetCore.Authentication.Abstractions.csproj
+++ b/src/Http/Authentication.Abstractions/src/Microsoft.AspNetCore.Authentication.Abstractions.csproj
@@ -6,7 +6,6 @@
$(NoWarn);CS1591
true
aspnetcore;authentication;security
- false
diff --git a/src/Http/Authentication.Abstractions/src/baseline.netcore.json b/src/Http/Authentication.Abstractions/src/baseline.netcore.json
deleted file mode 100644
index 2d1e7e00e4..0000000000
--- a/src/Http/Authentication.Abstractions/src/baseline.netcore.json
+++ /dev/null
@@ -1,1734 +0,0 @@
-{
- "AssemblyIdentity": "Microsoft.AspNetCore.Authentication.Abstractions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60",
- "Types": [
- {
- "Name": "Microsoft.AspNetCore.Authentication.AuthenticateResult",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_Succeeded",
- "Parameters": [],
- "ReturnType": "System.Boolean",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Ticket",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationTicket",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_Ticket",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Microsoft.AspNetCore.Authentication.AuthenticationTicket"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Protected",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Principal",
- "Parameters": [],
- "ReturnType": "System.Security.Claims.ClaimsPrincipal",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Properties",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationProperties",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Failure",
- "Parameters": [],
- "ReturnType": "System.Exception",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_Failure",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Exception"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Protected",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_None",
- "Parameters": [],
- "ReturnType": "System.Boolean",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_None",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Boolean"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Protected",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Success",
- "Parameters": [
- {
- "Name": "ticket",
- "Type": "Microsoft.AspNetCore.Authentication.AuthenticationTicket"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticateResult",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "NoResult",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticateResult",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Fail",
- "Parameters": [
- {
- "Name": "failure",
- "Type": "System.Exception"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticateResult",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Fail",
- "Parameters": [
- {
- "Name": "failureMessage",
- "Type": "System.String"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticateResult",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Protected",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Authentication.AuthenticationHttpContextExtensions",
- "Visibility": "Public",
- "Kind": "Class",
- "Abstract": true,
- "Static": true,
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "AuthenticateAsync",
- "Parameters": [
- {
- "Name": "context",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "AuthenticateAsync",
- "Parameters": [
- {
- "Name": "context",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- },
- {
- "Name": "scheme",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ChallengeAsync",
- "Parameters": [
- {
- "Name": "context",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- },
- {
- "Name": "scheme",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ChallengeAsync",
- "Parameters": [
- {
- "Name": "context",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ChallengeAsync",
- "Parameters": [
- {
- "Name": "context",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- },
- {
- "Name": "properties",
- "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ChallengeAsync",
- "Parameters": [
- {
- "Name": "context",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- },
- {
- "Name": "scheme",
- "Type": "System.String"
- },
- {
- "Name": "properties",
- "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ForbidAsync",
- "Parameters": [
- {
- "Name": "context",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- },
- {
- "Name": "scheme",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ForbidAsync",
- "Parameters": [
- {
- "Name": "context",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ForbidAsync",
- "Parameters": [
- {
- "Name": "context",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- },
- {
- "Name": "properties",
- "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ForbidAsync",
- "Parameters": [
- {
- "Name": "context",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- },
- {
- "Name": "scheme",
- "Type": "System.String"
- },
- {
- "Name": "properties",
- "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "SignInAsync",
- "Parameters": [
- {
- "Name": "context",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- },
- {
- "Name": "scheme",
- "Type": "System.String"
- },
- {
- "Name": "principal",
- "Type": "System.Security.Claims.ClaimsPrincipal"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "SignInAsync",
- "Parameters": [
- {
- "Name": "context",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- },
- {
- "Name": "principal",
- "Type": "System.Security.Claims.ClaimsPrincipal"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "SignInAsync",
- "Parameters": [
- {
- "Name": "context",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- },
- {
- "Name": "principal",
- "Type": "System.Security.Claims.ClaimsPrincipal"
- },
- {
- "Name": "properties",
- "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "SignInAsync",
- "Parameters": [
- {
- "Name": "context",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- },
- {
- "Name": "scheme",
- "Type": "System.String"
- },
- {
- "Name": "principal",
- "Type": "System.Security.Claims.ClaimsPrincipal"
- },
- {
- "Name": "properties",
- "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "SignOutAsync",
- "Parameters": [
- {
- "Name": "context",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "SignOutAsync",
- "Parameters": [
- {
- "Name": "context",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- },
- {
- "Name": "properties",
- "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "SignOutAsync",
- "Parameters": [
- {
- "Name": "context",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- },
- {
- "Name": "scheme",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "SignOutAsync",
- "Parameters": [
- {
- "Name": "context",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- },
- {
- "Name": "scheme",
- "Type": "System.String"
- },
- {
- "Name": "properties",
- "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetTokenAsync",
- "Parameters": [
- {
- "Name": "context",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- },
- {
- "Name": "scheme",
- "Type": "System.String"
- },
- {
- "Name": "tokenName",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetTokenAsync",
- "Parameters": [
- {
- "Name": "context",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- },
- {
- "Name": "tokenName",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Authentication.AuthenticationOptions",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_Schemes",
- "Parameters": [],
- "ReturnType": "System.Collections.Generic.IEnumerable",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_SchemeMap",
- "Parameters": [],
- "ReturnType": "System.Collections.Generic.IDictionary",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "AddScheme",
- "Parameters": [
- {
- "Name": "name",
- "Type": "System.String"
- },
- {
- "Name": "configureBuilder",
- "Type": "System.Action"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "AddScheme",
- "Parameters": [
- {
- "Name": "name",
- "Type": "System.String"
- },
- {
- "Name": "displayName",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": [
- {
- "ParameterName": "THandler",
- "ParameterPosition": 0,
- "BaseTypeOrInterfaces": [
- "Microsoft.AspNetCore.Authentication.IAuthenticationHandler"
- ]
- }
- ]
- },
- {
- "Kind": "Method",
- "Name": "get_DefaultScheme",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_DefaultScheme",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_DefaultAuthenticateScheme",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_DefaultAuthenticateScheme",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_DefaultSignInScheme",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_DefaultSignInScheme",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_DefaultSignOutScheme",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_DefaultSignOutScheme",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_DefaultChallengeScheme",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_DefaultChallengeScheme",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_DefaultForbidScheme",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_DefaultForbidScheme",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Authentication.AuthenticationProperties",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_Items",
- "Parameters": [],
- "ReturnType": "System.Collections.Generic.IDictionary",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_IsPersistent",
- "Parameters": [],
- "ReturnType": "System.Boolean",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_IsPersistent",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Boolean"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_RedirectUri",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_RedirectUri",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_IssuedUtc",
- "Parameters": [],
- "ReturnType": "System.Nullable",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_IssuedUtc",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Nullable"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_ExpiresUtc",
- "Parameters": [],
- "ReturnType": "System.Nullable",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_ExpiresUtc",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Nullable"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_AllowRefresh",
- "Parameters": [],
- "ReturnType": "System.Nullable",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_AllowRefresh",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Nullable"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "items",
- "Type": "System.Collections.Generic.IDictionary"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Authentication.AuthenticationScheme",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_Name",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_DisplayName",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_HandlerType",
- "Parameters": [],
- "ReturnType": "System.Type",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "name",
- "Type": "System.String"
- },
- {
- "Name": "displayName",
- "Type": "System.String"
- },
- {
- "Name": "handlerType",
- "Type": "System.Type"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Authentication.AuthenticationSchemeBuilder",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_Name",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_DisplayName",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_DisplayName",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_HandlerType",
- "Parameters": [],
- "ReturnType": "System.Type",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_HandlerType",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Type"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Build",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationScheme",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "name",
- "Type": "System.String"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Authentication.AuthenticationTicket",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_AuthenticationScheme",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Principal",
- "Parameters": [],
- "ReturnType": "System.Security.Claims.ClaimsPrincipal",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Properties",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationProperties",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "principal",
- "Type": "System.Security.Claims.ClaimsPrincipal"
- },
- {
- "Name": "properties",
- "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties"
- },
- {
- "Name": "authenticationScheme",
- "Type": "System.String"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "principal",
- "Type": "System.Security.Claims.ClaimsPrincipal"
- },
- {
- "Name": "authenticationScheme",
- "Type": "System.String"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Authentication.AuthenticationToken",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_Name",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_Name",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Value",
- "Parameters": [],
- "ReturnType": "System.String",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_Value",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Authentication.IAuthenticationFeature",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_OriginalPathBase",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.Http.PathString",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_OriginalPathBase",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Microsoft.AspNetCore.Http.PathString"
- }
- ],
- "ReturnType": "System.Void",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_OriginalPath",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.Http.PathString",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_OriginalPath",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Microsoft.AspNetCore.Http.PathString"
- }
- ],
- "ReturnType": "System.Void",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Authentication.IAuthenticationHandler",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "InitializeAsync",
- "Parameters": [
- {
- "Name": "scheme",
- "Type": "Microsoft.AspNetCore.Authentication.AuthenticationScheme"
- },
- {
- "Name": "context",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "AuthenticateAsync",
- "Parameters": [],
- "ReturnType": "System.Threading.Tasks.Task",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ChallengeAsync",
- "Parameters": [
- {
- "Name": "properties",
- "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ForbidAsync",
- "Parameters": [
- {
- "Name": "properties",
- "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Authentication.IAuthenticationHandlerProvider",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "GetHandlerAsync",
- "Parameters": [
- {
- "Name": "context",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- },
- {
- "Name": "authenticationScheme",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Authentication.IAuthenticationRequestHandler",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.Authentication.IAuthenticationHandler"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "HandleRequestAsync",
- "Parameters": [],
- "ReturnType": "System.Threading.Tasks.Task",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "GetAllSchemesAsync",
- "Parameters": [],
- "ReturnType": "System.Threading.Tasks.Task>",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetSchemeAsync",
- "Parameters": [
- {
- "Name": "name",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetDefaultAuthenticateSchemeAsync",
- "Parameters": [],
- "ReturnType": "System.Threading.Tasks.Task",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetDefaultChallengeSchemeAsync",
- "Parameters": [],
- "ReturnType": "System.Threading.Tasks.Task",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetDefaultForbidSchemeAsync",
- "Parameters": [],
- "ReturnType": "System.Threading.Tasks.Task",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetDefaultSignInSchemeAsync",
- "Parameters": [],
- "ReturnType": "System.Threading.Tasks.Task",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetDefaultSignOutSchemeAsync",
- "Parameters": [],
- "ReturnType": "System.Threading.Tasks.Task",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "AddScheme",
- "Parameters": [
- {
- "Name": "scheme",
- "Type": "Microsoft.AspNetCore.Authentication.AuthenticationScheme"
- }
- ],
- "ReturnType": "System.Void",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "RemoveScheme",
- "Parameters": [
- {
- "Name": "name",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetRequestHandlerSchemesAsync",
- "Parameters": [],
- "ReturnType": "System.Threading.Tasks.Task>",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Authentication.IAuthenticationService",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "AuthenticateAsync",
- "Parameters": [
- {
- "Name": "context",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- },
- {
- "Name": "scheme",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ChallengeAsync",
- "Parameters": [
- {
- "Name": "context",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- },
- {
- "Name": "scheme",
- "Type": "System.String"
- },
- {
- "Name": "properties",
- "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ForbidAsync",
- "Parameters": [
- {
- "Name": "context",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- },
- {
- "Name": "scheme",
- "Type": "System.String"
- },
- {
- "Name": "properties",
- "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "SignInAsync",
- "Parameters": [
- {
- "Name": "context",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- },
- {
- "Name": "scheme",
- "Type": "System.String"
- },
- {
- "Name": "principal",
- "Type": "System.Security.Claims.ClaimsPrincipal"
- },
- {
- "Name": "properties",
- "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "SignOutAsync",
- "Parameters": [
- {
- "Name": "context",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- },
- {
- "Name": "scheme",
- "Type": "System.String"
- },
- {
- "Name": "properties",
- "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Authentication.IAuthenticationSignInHandler",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.Authentication.IAuthenticationSignOutHandler"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "SignInAsync",
- "Parameters": [
- {
- "Name": "user",
- "Type": "System.Security.Claims.ClaimsPrincipal"
- },
- {
- "Name": "properties",
- "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Authentication.IAuthenticationSignOutHandler",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.Authentication.IAuthenticationHandler"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "SignOutAsync",
- "Parameters": [
- {
- "Name": "properties",
- "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Authentication.IClaimsTransformation",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "TransformAsync",
- "Parameters": [
- {
- "Name": "principal",
- "Type": "System.Security.Claims.ClaimsPrincipal"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Authentication.AuthenticationTokenExtensions",
- "Visibility": "Public",
- "Kind": "Class",
- "Abstract": true,
- "Static": true,
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "StoreTokens",
- "Parameters": [
- {
- "Name": "properties",
- "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties"
- },
- {
- "Name": "tokens",
- "Type": "System.Collections.Generic.IEnumerable"
- }
- ],
- "ReturnType": "System.Void",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetTokenValue",
- "Parameters": [
- {
- "Name": "properties",
- "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties"
- },
- {
- "Name": "tokenName",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.String",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "UpdateTokenValue",
- "Parameters": [
- {
- "Name": "properties",
- "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties"
- },
- {
- "Name": "tokenName",
- "Type": "System.String"
- },
- {
- "Name": "tokenValue",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Boolean",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetTokens",
- "Parameters": [
- {
- "Name": "properties",
- "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties"
- }
- ],
- "ReturnType": "System.Collections.Generic.IEnumerable",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetTokenAsync",
- "Parameters": [
- {
- "Name": "auth",
- "Type": "Microsoft.AspNetCore.Authentication.IAuthenticationService"
- },
- {
- "Name": "context",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- },
- {
- "Name": "tokenName",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetTokenAsync",
- "Parameters": [
- {
- "Name": "auth",
- "Type": "Microsoft.AspNetCore.Authentication.IAuthenticationService"
- },
- {
- "Name": "context",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- },
- {
- "Name": "scheme",
- "Type": "System.String"
- },
- {
- "Name": "tokenName",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- }
- ]
-}
\ No newline at end of file
diff --git a/src/Http/Authentication.Core/src/Microsoft.AspNetCore.Authentication.Core.csproj b/src/Http/Authentication.Core/src/Microsoft.AspNetCore.Authentication.Core.csproj
index e562b91b1b..ba87512a70 100644
--- a/src/Http/Authentication.Core/src/Microsoft.AspNetCore.Authentication.Core.csproj
+++ b/src/Http/Authentication.Core/src/Microsoft.AspNetCore.Authentication.Core.csproj
@@ -7,7 +7,6 @@
$(NoWarn);CS1591
true
aspnetcore;authentication;security
- false
diff --git a/src/Http/Authentication.Core/src/baseline.netcore.json b/src/Http/Authentication.Core/src/baseline.netcore.json
deleted file mode 100644
index 62aeb44738..0000000000
--- a/src/Http/Authentication.Core/src/baseline.netcore.json
+++ /dev/null
@@ -1,515 +0,0 @@
-{
- "AssemblyIdentity": "Microsoft.AspNetCore.Authentication.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60",
- "Types": [
- {
- "Name": "Microsoft.AspNetCore.Authentication.AuthenticationFeature",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.Authentication.IAuthenticationFeature"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_OriginalPathBase",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.Http.PathString",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationFeature",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_OriginalPathBase",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Microsoft.AspNetCore.Http.PathString"
- }
- ],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationFeature",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_OriginalPath",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.Http.PathString",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationFeature",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_OriginalPath",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Microsoft.AspNetCore.Http.PathString"
- }
- ],
- "ReturnType": "System.Void",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationFeature",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Authentication.AuthenticationHandlerProvider",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.Authentication.IAuthenticationHandlerProvider"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_Schemes",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetHandlerAsync",
- "Parameters": [
- {
- "Name": "context",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- },
- {
- "Name": "authenticationScheme",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationHandlerProvider",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "schemes",
- "Type": "Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Authentication.AuthenticationSchemeProvider",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "GetDefaultAuthenticateSchemeAsync",
- "Parameters": [],
- "ReturnType": "System.Threading.Tasks.Task",
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetDefaultChallengeSchemeAsync",
- "Parameters": [],
- "ReturnType": "System.Threading.Tasks.Task",
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetDefaultForbidSchemeAsync",
- "Parameters": [],
- "ReturnType": "System.Threading.Tasks.Task",
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetDefaultSignInSchemeAsync",
- "Parameters": [],
- "ReturnType": "System.Threading.Tasks.Task",
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetDefaultSignOutSchemeAsync",
- "Parameters": [],
- "ReturnType": "System.Threading.Tasks.Task",
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetSchemeAsync",
- "Parameters": [
- {
- "Name": "name",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetRequestHandlerSchemesAsync",
- "Parameters": [],
- "ReturnType": "System.Threading.Tasks.Task>",
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "AddScheme",
- "Parameters": [
- {
- "Name": "scheme",
- "Type": "Microsoft.AspNetCore.Authentication.AuthenticationScheme"
- }
- ],
- "ReturnType": "System.Void",
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "RemoveScheme",
- "Parameters": [
- {
- "Name": "name",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Void",
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetAllSchemesAsync",
- "Parameters": [],
- "ReturnType": "System.Threading.Tasks.Task>",
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "options",
- "Type": "Microsoft.Extensions.Options.IOptions"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Authentication.AuthenticationService",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.Authentication.IAuthenticationService"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_Schemes",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Handlers",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.Authentication.IAuthenticationHandlerProvider",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Transform",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.Authentication.IClaimsTransformation",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "AuthenticateAsync",
- "Parameters": [
- {
- "Name": "context",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- },
- {
- "Name": "scheme",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationService",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ChallengeAsync",
- "Parameters": [
- {
- "Name": "context",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- },
- {
- "Name": "scheme",
- "Type": "System.String"
- },
- {
- "Name": "properties",
- "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationService",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ForbidAsync",
- "Parameters": [
- {
- "Name": "context",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- },
- {
- "Name": "scheme",
- "Type": "System.String"
- },
- {
- "Name": "properties",
- "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationService",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "SignInAsync",
- "Parameters": [
- {
- "Name": "context",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- },
- {
- "Name": "scheme",
- "Type": "System.String"
- },
- {
- "Name": "principal",
- "Type": "System.Security.Claims.ClaimsPrincipal"
- },
- {
- "Name": "properties",
- "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationService",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "SignOutAsync",
- "Parameters": [
- {
- "Name": "context",
- "Type": "Microsoft.AspNetCore.Http.HttpContext"
- },
- {
- "Name": "scheme",
- "Type": "System.String"
- },
- {
- "Name": "properties",
- "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationService",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "schemes",
- "Type": "Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider"
- },
- {
- "Name": "handlers",
- "Type": "Microsoft.AspNetCore.Authentication.IAuthenticationHandlerProvider"
- },
- {
- "Name": "transform",
- "Type": "Microsoft.AspNetCore.Authentication.IClaimsTransformation"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Authentication.NoopClaimsTransformation",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [
- "Microsoft.AspNetCore.Authentication.IClaimsTransformation"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "TransformAsync",
- "Parameters": [
- {
- "Name": "principal",
- "Type": "System.Security.Claims.ClaimsPrincipal"
- }
- ],
- "ReturnType": "System.Threading.Tasks.Task",
- "Virtual": true,
- "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IClaimsTransformation",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.Extensions.DependencyInjection.AuthenticationCoreServiceCollectionExtensions",
- "Visibility": "Public",
- "Kind": "Class",
- "Abstract": true,
- "Static": true,
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "AddAuthenticationCore",
- "Parameters": [
- {
- "Name": "services",
- "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection"
- }
- ],
- "ReturnType": "Microsoft.Extensions.DependencyInjection.IServiceCollection",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "AddAuthenticationCore",
- "Parameters": [
- {
- "Name": "services",
- "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection"
- },
- {
- "Name": "configureOptions",
- "Type": "System.Action"
- }
- ],
- "ReturnType": "Microsoft.Extensions.DependencyInjection.IServiceCollection",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- }
- ]
-}
\ No newline at end of file
diff --git a/src/Http/Headers/ref/Microsoft.Net.Http.Headers.netcoreapp3.0.cs b/src/Http/Headers/ref/Microsoft.Net.Http.Headers.netcoreapp3.0.cs
index 838497b88f..1bd100081d 100644
--- a/src/Http/Headers/ref/Microsoft.Net.Http.Headers.netcoreapp3.0.cs
+++ b/src/Http/Headers/ref/Microsoft.Net.Http.Headers.netcoreapp3.0.cs
@@ -316,8 +316,8 @@ namespace Microsoft.Net.Http.Headers
}
public enum SameSiteMode
{
- Lax = 1,
None = 0,
+ Lax = 1,
Strict = 2,
}
public partial class SetCookieHeaderValue
diff --git a/src/Http/Headers/src/CookieHeaderParser.cs b/src/Http/Headers/src/CookieHeaderParser.cs
index a94b61d319..7201ae21a1 100644
--- a/src/Http/Headers/src/CookieHeaderParser.cs
+++ b/src/Http/Headers/src/CookieHeaderParser.cs
@@ -6,14 +6,14 @@ using Microsoft.Extensions.Primitives;
namespace Microsoft.Net.Http.Headers
{
- internal class CookieHeaderParser : HttpHeaderParser
+ internal sealed class CookieHeaderParser : HttpHeaderParser
{
internal CookieHeaderParser(bool supportsMultipleValues)
: base(supportsMultipleValues)
{
}
- public sealed override bool TryParseValue(StringSegment value, ref int index, out CookieHeaderValue parsedValue)
+ public override bool TryParseValue(StringSegment value, ref int index, out CookieHeaderValue parsedValue)
{
parsedValue = null;
@@ -27,8 +27,7 @@ namespace Microsoft.Net.Http.Headers
return SupportsMultipleValues;
}
- var separatorFound = false;
- var current = GetNextNonEmptyOrWhitespaceIndex(value, index, SupportsMultipleValues, out separatorFound);
+ var current = GetNextNonEmptyOrWhitespaceIndex(value, index, SupportsMultipleValues, out bool separatorFound);
if (separatorFound && !SupportsMultipleValues)
{
diff --git a/src/Http/Headers/src/ObjectCollection.cs b/src/Http/Headers/src/ObjectCollection.cs
index db5f876b53..f46b2dd743 100644
--- a/src/Http/Headers/src/ObjectCollection.cs
+++ b/src/Http/Headers/src/ObjectCollection.cs
@@ -11,7 +11,7 @@ namespace Microsoft.Net.Http.Headers
// type to throw if 'null' gets added. Collection internally uses List which comes at some cost. In addition
// Collection.Add() calls List.InsertItem() which is an O(n) operation (compared to O(1) for List.Add()).
// This type is only used for very small collections (1-2 items) to keep the impact of using Collection small.
- internal class ObjectCollection : Collection
+ internal sealed class ObjectCollection : Collection
{
internal static readonly Action DefaultValidator = CheckNotNull;
internal static readonly ObjectCollection EmptyReadOnlyCollection
@@ -57,22 +57,12 @@ namespace Microsoft.Net.Http.Headers
public bool IsReadOnly => ((ICollection)this).IsReadOnly;
- protected override void ClearItems()
- {
- base.ClearItems();
- }
-
protected override void InsertItem(int index, T item)
{
_validator(item);
base.InsertItem(index, item);
}
- protected override void RemoveItem(int index)
- {
- base.RemoveItem(index);
- }
-
protected override void SetItem(int index, T item)
{
_validator(item);
diff --git a/src/Http/Headers/src/baseline.netcore.json b/src/Http/Headers/src/baseline.netcore.json
deleted file mode 100644
index 476f8150a7..0000000000
--- a/src/Http/Headers/src/baseline.netcore.json
+++ /dev/null
@@ -1,4110 +0,0 @@
-{
- "AssemblyIdentity": "Microsoft.Net.Http.Headers, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60",
- "Types": [
- {
- "Name": "Microsoft.Net.Http.Headers.CacheControlHeaderValue",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_NoCache",
- "Parameters": [],
- "ReturnType": "System.Boolean",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_NoCache",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Boolean"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_NoCacheHeaders",
- "Parameters": [],
- "ReturnType": "System.Collections.Generic.ICollection",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_NoStore",
- "Parameters": [],
- "ReturnType": "System.Boolean",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_NoStore",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Boolean"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_MaxAge",
- "Parameters": [],
- "ReturnType": "System.Nullable",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_MaxAge",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Nullable"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_SharedMaxAge",
- "Parameters": [],
- "ReturnType": "System.Nullable",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_SharedMaxAge",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Nullable"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_MaxStale",
- "Parameters": [],
- "ReturnType": "System.Boolean",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_MaxStale",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Boolean"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_MaxStaleLimit",
- "Parameters": [],
- "ReturnType": "System.Nullable",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_MaxStaleLimit",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Nullable"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_MinFresh",
- "Parameters": [],
- "ReturnType": "System.Nullable",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_MinFresh",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Nullable"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_NoTransform",
- "Parameters": [],
- "ReturnType": "System.Boolean",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_NoTransform",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Boolean"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_OnlyIfCached",
- "Parameters": [],
- "ReturnType": "System.Boolean",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_OnlyIfCached",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Boolean"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Public",
- "Parameters": [],
- "ReturnType": "System.Boolean",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_Public",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Boolean"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Private",
- "Parameters": [],
- "ReturnType": "System.Boolean",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_Private",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Boolean"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_PrivateHeaders",
- "Parameters": [],
- "ReturnType": "System.Collections.Generic.ICollection",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_MustRevalidate",
- "Parameters": [],
- "ReturnType": "System.Boolean",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_MustRevalidate",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Boolean"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_ProxyRevalidate",
- "Parameters": [],
- "ReturnType": "System.Boolean",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_ProxyRevalidate",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Boolean"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Extensions",
- "Parameters": [],
- "ReturnType": "System.Collections.Generic.IList",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ToString",
- "Parameters": [],
- "ReturnType": "System.String",
- "Virtual": true,
- "Override": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Equals",
- "Parameters": [
- {
- "Name": "obj",
- "Type": "System.Object"
- }
- ],
- "ReturnType": "System.Boolean",
- "Virtual": true,
- "Override": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetHashCode",
- "Parameters": [],
- "ReturnType": "System.Int32",
- "Virtual": true,
- "Override": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Parse",
- "Parameters": [
- {
- "Name": "input",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- }
- ],
- "ReturnType": "Microsoft.Net.Http.Headers.CacheControlHeaderValue",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "TryParse",
- "Parameters": [
- {
- "Name": "input",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- },
- {
- "Name": "parsedValue",
- "Type": "Microsoft.Net.Http.Headers.CacheControlHeaderValue",
- "Direction": "Out"
- }
- ],
- "ReturnType": "System.Boolean",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Field",
- "Name": "PublicString",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "ReadOnly": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Field",
- "Name": "PrivateString",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "ReadOnly": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Field",
- "Name": "MaxAgeString",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "ReadOnly": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Field",
- "Name": "SharedMaxAgeString",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "ReadOnly": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Field",
- "Name": "NoCacheString",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "ReadOnly": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Field",
- "Name": "NoStoreString",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "ReadOnly": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Field",
- "Name": "MaxStaleString",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "ReadOnly": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Field",
- "Name": "MinFreshString",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "ReadOnly": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Field",
- "Name": "NoTransformString",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "ReadOnly": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Field",
- "Name": "OnlyIfCachedString",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "ReadOnly": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Field",
- "Name": "MustRevalidateString",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "ReadOnly": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Field",
- "Name": "ProxyRevalidateString",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "ReadOnly": true,
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.Net.Http.Headers.ContentDispositionHeaderValue",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_DispositionType",
- "Parameters": [],
- "ReturnType": "Microsoft.Extensions.Primitives.StringSegment",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_DispositionType",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Parameters",
- "Parameters": [],
- "ReturnType": "System.Collections.Generic.IList",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Name",
- "Parameters": [],
- "ReturnType": "Microsoft.Extensions.Primitives.StringSegment",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_Name",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_FileName",
- "Parameters": [],
- "ReturnType": "Microsoft.Extensions.Primitives.StringSegment",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_FileName",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_FileNameStar",
- "Parameters": [],
- "ReturnType": "Microsoft.Extensions.Primitives.StringSegment",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_FileNameStar",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_CreationDate",
- "Parameters": [],
- "ReturnType": "System.Nullable",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_CreationDate",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Nullable"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_ModificationDate",
- "Parameters": [],
- "ReturnType": "System.Nullable",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_ModificationDate",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Nullable"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_ReadDate",
- "Parameters": [],
- "ReturnType": "System.Nullable",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_ReadDate",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Nullable"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Size",
- "Parameters": [],
- "ReturnType": "System.Nullable",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_Size",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Nullable"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "SetHttpFileName",
- "Parameters": [
- {
- "Name": "fileName",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "SetMimeFileName",
- "Parameters": [
- {
- "Name": "fileName",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ToString",
- "Parameters": [],
- "ReturnType": "System.String",
- "Virtual": true,
- "Override": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Equals",
- "Parameters": [
- {
- "Name": "obj",
- "Type": "System.Object"
- }
- ],
- "ReturnType": "System.Boolean",
- "Virtual": true,
- "Override": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetHashCode",
- "Parameters": [],
- "ReturnType": "System.Int32",
- "Virtual": true,
- "Override": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Parse",
- "Parameters": [
- {
- "Name": "input",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- }
- ],
- "ReturnType": "Microsoft.Net.Http.Headers.ContentDispositionHeaderValue",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "TryParse",
- "Parameters": [
- {
- "Name": "input",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- },
- {
- "Name": "parsedValue",
- "Type": "Microsoft.Net.Http.Headers.ContentDispositionHeaderValue",
- "Direction": "Out"
- }
- ],
- "ReturnType": "System.Boolean",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "dispositionType",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.Net.Http.Headers.ContentDispositionHeaderValueIdentityExtensions",
- "Visibility": "Public",
- "Kind": "Class",
- "Abstract": true,
- "Static": true,
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "IsFileDisposition",
- "Parameters": [
- {
- "Name": "header",
- "Type": "Microsoft.Net.Http.Headers.ContentDispositionHeaderValue"
- }
- ],
- "ReturnType": "System.Boolean",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "IsFormDisposition",
- "Parameters": [
- {
- "Name": "header",
- "Type": "Microsoft.Net.Http.Headers.ContentDispositionHeaderValue"
- }
- ],
- "ReturnType": "System.Boolean",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.Net.Http.Headers.ContentRangeHeaderValue",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_Unit",
- "Parameters": [],
- "ReturnType": "Microsoft.Extensions.Primitives.StringSegment",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_Unit",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_From",
- "Parameters": [],
- "ReturnType": "System.Nullable",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_To",
- "Parameters": [],
- "ReturnType": "System.Nullable",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Length",
- "Parameters": [],
- "ReturnType": "System.Nullable",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_HasLength",
- "Parameters": [],
- "ReturnType": "System.Boolean",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_HasRange",
- "Parameters": [],
- "ReturnType": "System.Boolean",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Equals",
- "Parameters": [
- {
- "Name": "obj",
- "Type": "System.Object"
- }
- ],
- "ReturnType": "System.Boolean",
- "Virtual": true,
- "Override": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetHashCode",
- "Parameters": [],
- "ReturnType": "System.Int32",
- "Virtual": true,
- "Override": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ToString",
- "Parameters": [],
- "ReturnType": "System.String",
- "Virtual": true,
- "Override": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Parse",
- "Parameters": [
- {
- "Name": "input",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- }
- ],
- "ReturnType": "Microsoft.Net.Http.Headers.ContentRangeHeaderValue",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "TryParse",
- "Parameters": [
- {
- "Name": "input",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- },
- {
- "Name": "parsedValue",
- "Type": "Microsoft.Net.Http.Headers.ContentRangeHeaderValue",
- "Direction": "Out"
- }
- ],
- "ReturnType": "System.Boolean",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "from",
- "Type": "System.Int64"
- },
- {
- "Name": "to",
- "Type": "System.Int64"
- },
- {
- "Name": "length",
- "Type": "System.Int64"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "length",
- "Type": "System.Int64"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "from",
- "Type": "System.Int64"
- },
- {
- "Name": "to",
- "Type": "System.Int64"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.Net.Http.Headers.CookieHeaderValue",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_Name",
- "Parameters": [],
- "ReturnType": "Microsoft.Extensions.Primitives.StringSegment",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_Name",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Value",
- "Parameters": [],
- "ReturnType": "Microsoft.Extensions.Primitives.StringSegment",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_Value",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ToString",
- "Parameters": [],
- "ReturnType": "System.String",
- "Virtual": true,
- "Override": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Parse",
- "Parameters": [
- {
- "Name": "input",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- }
- ],
- "ReturnType": "Microsoft.Net.Http.Headers.CookieHeaderValue",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "TryParse",
- "Parameters": [
- {
- "Name": "input",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- },
- {
- "Name": "parsedValue",
- "Type": "Microsoft.Net.Http.Headers.CookieHeaderValue",
- "Direction": "Out"
- }
- ],
- "ReturnType": "System.Boolean",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ParseList",
- "Parameters": [
- {
- "Name": "inputs",
- "Type": "System.Collections.Generic.IList"
- }
- ],
- "ReturnType": "System.Collections.Generic.IList",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ParseStrictList",
- "Parameters": [
- {
- "Name": "inputs",
- "Type": "System.Collections.Generic.IList"
- }
- ],
- "ReturnType": "System.Collections.Generic.IList",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "TryParseList",
- "Parameters": [
- {
- "Name": "inputs",
- "Type": "System.Collections.Generic.IList"
- },
- {
- "Name": "parsedValues",
- "Type": "System.Collections.Generic.IList",
- "Direction": "Out"
- }
- ],
- "ReturnType": "System.Boolean",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "TryParseStrictList",
- "Parameters": [
- {
- "Name": "inputs",
- "Type": "System.Collections.Generic.IList"
- },
- {
- "Name": "parsedValues",
- "Type": "System.Collections.Generic.IList",
- "Direction": "Out"
- }
- ],
- "ReturnType": "System.Boolean",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Equals",
- "Parameters": [
- {
- "Name": "obj",
- "Type": "System.Object"
- }
- ],
- "ReturnType": "System.Boolean",
- "Virtual": true,
- "Override": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetHashCode",
- "Parameters": [],
- "ReturnType": "System.Int32",
- "Virtual": true,
- "Override": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "name",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "name",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- },
- {
- "Name": "value",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.Net.Http.Headers.EntityTagHeaderValue",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_Any",
- "Parameters": [],
- "ReturnType": "Microsoft.Net.Http.Headers.EntityTagHeaderValue",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Tag",
- "Parameters": [],
- "ReturnType": "Microsoft.Extensions.Primitives.StringSegment",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_IsWeak",
- "Parameters": [],
- "ReturnType": "System.Boolean",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ToString",
- "Parameters": [],
- "ReturnType": "System.String",
- "Virtual": true,
- "Override": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Equals",
- "Parameters": [
- {
- "Name": "obj",
- "Type": "System.Object"
- }
- ],
- "ReturnType": "System.Boolean",
- "Virtual": true,
- "Override": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetHashCode",
- "Parameters": [],
- "ReturnType": "System.Int32",
- "Virtual": true,
- "Override": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Compare",
- "Parameters": [
- {
- "Name": "other",
- "Type": "Microsoft.Net.Http.Headers.EntityTagHeaderValue"
- },
- {
- "Name": "useStrongComparison",
- "Type": "System.Boolean"
- }
- ],
- "ReturnType": "System.Boolean",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Parse",
- "Parameters": [
- {
- "Name": "input",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- }
- ],
- "ReturnType": "Microsoft.Net.Http.Headers.EntityTagHeaderValue",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "TryParse",
- "Parameters": [
- {
- "Name": "input",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- },
- {
- "Name": "parsedValue",
- "Type": "Microsoft.Net.Http.Headers.EntityTagHeaderValue",
- "Direction": "Out"
- }
- ],
- "ReturnType": "System.Boolean",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ParseList",
- "Parameters": [
- {
- "Name": "inputs",
- "Type": "System.Collections.Generic.IList"
- }
- ],
- "ReturnType": "System.Collections.Generic.IList",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ParseStrictList",
- "Parameters": [
- {
- "Name": "inputs",
- "Type": "System.Collections.Generic.IList"
- }
- ],
- "ReturnType": "System.Collections.Generic.IList",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "TryParseList",
- "Parameters": [
- {
- "Name": "inputs",
- "Type": "System.Collections.Generic.IList"
- },
- {
- "Name": "parsedValues",
- "Type": "System.Collections.Generic.IList",
- "Direction": "Out"
- }
- ],
- "ReturnType": "System.Boolean",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "TryParseStrictList",
- "Parameters": [
- {
- "Name": "inputs",
- "Type": "System.Collections.Generic.IList"
- },
- {
- "Name": "parsedValues",
- "Type": "System.Collections.Generic.IList",
- "Direction": "Out"
- }
- ],
- "ReturnType": "System.Boolean",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "tag",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "tag",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- },
- {
- "Name": "isWeak",
- "Type": "System.Boolean"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.Net.Http.Headers.HeaderNames",
- "Visibility": "Public",
- "Kind": "Class",
- "Abstract": true,
- "Static": true,
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Field",
- "Name": "Accept",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Accept\""
- },
- {
- "Kind": "Field",
- "Name": "AcceptCharset",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Accept-Charset\""
- },
- {
- "Kind": "Field",
- "Name": "AcceptEncoding",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Accept-Encoding\""
- },
- {
- "Kind": "Field",
- "Name": "AcceptLanguage",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Accept-Language\""
- },
- {
- "Kind": "Field",
- "Name": "AcceptRanges",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Accept-Ranges\""
- },
- {
- "Kind": "Field",
- "Name": "AccessControlAllowCredentials",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Access-Control-Allow-Credentials\""
- },
- {
- "Kind": "Field",
- "Name": "AccessControlAllowHeaders",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Access-Control-Allow-Headers\""
- },
- {
- "Kind": "Field",
- "Name": "AccessControlAllowMethods",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Access-Control-Allow-Methods\""
- },
- {
- "Kind": "Field",
- "Name": "AccessControlAllowOrigin",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Access-Control-Allow-Origin\""
- },
- {
- "Kind": "Field",
- "Name": "AccessControlExposeHeaders",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Access-Control-Expose-Headers\""
- },
- {
- "Kind": "Field",
- "Name": "AccessControlMaxAge",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Access-Control-Max-Age\""
- },
- {
- "Kind": "Field",
- "Name": "AccessControlRequestHeaders",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Access-Control-Request-Headers\""
- },
- {
- "Kind": "Field",
- "Name": "AccessControlRequestMethod",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Access-Control-Request-Method\""
- },
- {
- "Kind": "Field",
- "Name": "Age",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Age\""
- },
- {
- "Kind": "Field",
- "Name": "Allow",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Allow\""
- },
- {
- "Kind": "Field",
- "Name": "Authority",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\":authority\""
- },
- {
- "Kind": "Field",
- "Name": "Authorization",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Authorization\""
- },
- {
- "Kind": "Field",
- "Name": "CacheControl",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Cache-Control\""
- },
- {
- "Kind": "Field",
- "Name": "Connection",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Connection\""
- },
- {
- "Kind": "Field",
- "Name": "ContentDisposition",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Content-Disposition\""
- },
- {
- "Kind": "Field",
- "Name": "ContentEncoding",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Content-Encoding\""
- },
- {
- "Kind": "Field",
- "Name": "ContentLanguage",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Content-Language\""
- },
- {
- "Kind": "Field",
- "Name": "ContentLength",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Content-Length\""
- },
- {
- "Kind": "Field",
- "Name": "ContentLocation",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Content-Location\""
- },
- {
- "Kind": "Field",
- "Name": "ContentMD5",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Content-MD5\""
- },
- {
- "Kind": "Field",
- "Name": "ContentRange",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Content-Range\""
- },
- {
- "Kind": "Field",
- "Name": "ContentSecurityPolicy",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Content-Security-Policy\""
- },
- {
- "Kind": "Field",
- "Name": "ContentSecurityPolicyReportOnly",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Content-Security-Policy-Report-Only\""
- },
- {
- "Kind": "Field",
- "Name": "ContentType",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Content-Type\""
- },
- {
- "Kind": "Field",
- "Name": "Cookie",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Cookie\""
- },
- {
- "Kind": "Field",
- "Name": "Date",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Date\""
- },
- {
- "Kind": "Field",
- "Name": "ETag",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"ETag\""
- },
- {
- "Kind": "Field",
- "Name": "Expires",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Expires\""
- },
- {
- "Kind": "Field",
- "Name": "Expect",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Expect\""
- },
- {
- "Kind": "Field",
- "Name": "From",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"From\""
- },
- {
- "Kind": "Field",
- "Name": "Host",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Host\""
- },
- {
- "Kind": "Field",
- "Name": "IfMatch",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"If-Match\""
- },
- {
- "Kind": "Field",
- "Name": "IfModifiedSince",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"If-Modified-Since\""
- },
- {
- "Kind": "Field",
- "Name": "IfNoneMatch",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"If-None-Match\""
- },
- {
- "Kind": "Field",
- "Name": "IfRange",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"If-Range\""
- },
- {
- "Kind": "Field",
- "Name": "IfUnmodifiedSince",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"If-Unmodified-Since\""
- },
- {
- "Kind": "Field",
- "Name": "LastModified",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Last-Modified\""
- },
- {
- "Kind": "Field",
- "Name": "Location",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Location\""
- },
- {
- "Kind": "Field",
- "Name": "MaxForwards",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Max-Forwards\""
- },
- {
- "Kind": "Field",
- "Name": "Method",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\":method\""
- },
- {
- "Kind": "Field",
- "Name": "Origin",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Origin\""
- },
- {
- "Kind": "Field",
- "Name": "Path",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\":path\""
- },
- {
- "Kind": "Field",
- "Name": "Pragma",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Pragma\""
- },
- {
- "Kind": "Field",
- "Name": "ProxyAuthenticate",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Proxy-Authenticate\""
- },
- {
- "Kind": "Field",
- "Name": "ProxyAuthorization",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Proxy-Authorization\""
- },
- {
- "Kind": "Field",
- "Name": "Range",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Range\""
- },
- {
- "Kind": "Field",
- "Name": "Referer",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Referer\""
- },
- {
- "Kind": "Field",
- "Name": "RetryAfter",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Retry-After\""
- },
- {
- "Kind": "Field",
- "Name": "Scheme",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\":scheme\""
- },
- {
- "Kind": "Field",
- "Name": "Server",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Server\""
- },
- {
- "Kind": "Field",
- "Name": "SetCookie",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Set-Cookie\""
- },
- {
- "Kind": "Field",
- "Name": "Status",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\":status\""
- },
- {
- "Kind": "Field",
- "Name": "StrictTransportSecurity",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Strict-Transport-Security\""
- },
- {
- "Kind": "Field",
- "Name": "TE",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"TE\""
- },
- {
- "Kind": "Field",
- "Name": "Trailer",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Trailer\""
- },
- {
- "Kind": "Field",
- "Name": "TransferEncoding",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Transfer-Encoding\""
- },
- {
- "Kind": "Field",
- "Name": "Upgrade",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Upgrade\""
- },
- {
- "Kind": "Field",
- "Name": "UserAgent",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"User-Agent\""
- },
- {
- "Kind": "Field",
- "Name": "Vary",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Vary\""
- },
- {
- "Kind": "Field",
- "Name": "Via",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Via\""
- },
- {
- "Kind": "Field",
- "Name": "Warning",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Warning\""
- },
- {
- "Kind": "Field",
- "Name": "WebSocketSubProtocols",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"Sec-WebSocket-Protocol\""
- },
- {
- "Kind": "Field",
- "Name": "WWWAuthenticate",
- "Parameters": [],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "\"WWW-Authenticate\""
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.Net.Http.Headers.HeaderQuality",
- "Visibility": "Public",
- "Kind": "Class",
- "Abstract": true,
- "Static": true,
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Field",
- "Name": "Match",
- "Parameters": [],
- "ReturnType": "System.Double",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "1"
- },
- {
- "Kind": "Field",
- "Name": "NoMatch",
- "Parameters": [],
- "ReturnType": "System.Double",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": [],
- "Constant": true,
- "Literal": "0"
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.Net.Http.Headers.HeaderUtilities",
- "Visibility": "Public",
- "Kind": "Class",
- "Abstract": true,
- "Static": true,
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "TryParseSeconds",
- "Parameters": [
- {
- "Name": "headerValues",
- "Type": "Microsoft.Extensions.Primitives.StringValues"
- },
- {
- "Name": "targetValue",
- "Type": "System.String"
- },
- {
- "Name": "value",
- "Type": "System.Nullable",
- "Direction": "Out"
- }
- ],
- "ReturnType": "System.Boolean",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ContainsCacheDirective",
- "Parameters": [
- {
- "Name": "cacheControlDirectives",
- "Type": "Microsoft.Extensions.Primitives.StringValues"
- },
- {
- "Name": "targetDirectives",
- "Type": "System.String"
- }
- ],
- "ReturnType": "System.Boolean",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "TryParseNonNegativeInt32",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- },
- {
- "Name": "result",
- "Type": "System.Int32",
- "Direction": "Out"
- }
- ],
- "ReturnType": "System.Boolean",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "TryParseNonNegativeInt64",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- },
- {
- "Name": "result",
- "Type": "System.Int64",
- "Direction": "Out"
- }
- ],
- "ReturnType": "System.Boolean",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "FormatNonNegativeInt64",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Int64"
- }
- ],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "TryParseDate",
- "Parameters": [
- {
- "Name": "input",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- },
- {
- "Name": "result",
- "Type": "System.DateTimeOffset",
- "Direction": "Out"
- }
- ],
- "ReturnType": "System.Boolean",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "FormatDate",
- "Parameters": [
- {
- "Name": "dateTime",
- "Type": "System.DateTimeOffset"
- }
- ],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "FormatDate",
- "Parameters": [
- {
- "Name": "dateTime",
- "Type": "System.DateTimeOffset"
- },
- {
- "Name": "quoted",
- "Type": "System.Boolean"
- }
- ],
- "ReturnType": "System.String",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "RemoveQuotes",
- "Parameters": [
- {
- "Name": "input",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- }
- ],
- "ReturnType": "Microsoft.Extensions.Primitives.StringSegment",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "IsQuoted",
- "Parameters": [
- {
- "Name": "input",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- }
- ],
- "ReturnType": "System.Boolean",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "UnescapeAsQuotedString",
- "Parameters": [
- {
- "Name": "input",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- }
- ],
- "ReturnType": "Microsoft.Extensions.Primitives.StringSegment",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "EscapeAsQuotedString",
- "Parameters": [
- {
- "Name": "input",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- }
- ],
- "ReturnType": "Microsoft.Extensions.Primitives.StringSegment",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.Net.Http.Headers.MediaTypeHeaderValue",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_Charset",
- "Parameters": [],
- "ReturnType": "Microsoft.Extensions.Primitives.StringSegment",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_Charset",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Encoding",
- "Parameters": [],
- "ReturnType": "System.Text.Encoding",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_Encoding",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Text.Encoding"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Boundary",
- "Parameters": [],
- "ReturnType": "Microsoft.Extensions.Primitives.StringSegment",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_Boundary",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Parameters",
- "Parameters": [],
- "ReturnType": "System.Collections.Generic.IList",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Quality",
- "Parameters": [],
- "ReturnType": "System.Nullable",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_Quality",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Nullable"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_MediaType",
- "Parameters": [],
- "ReturnType": "Microsoft.Extensions.Primitives.StringSegment",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_MediaType",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Type",
- "Parameters": [],
- "ReturnType": "Microsoft.Extensions.Primitives.StringSegment",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_SubType",
- "Parameters": [],
- "ReturnType": "Microsoft.Extensions.Primitives.StringSegment",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_SubTypeWithoutSuffix",
- "Parameters": [],
- "ReturnType": "Microsoft.Extensions.Primitives.StringSegment",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Suffix",
- "Parameters": [],
- "ReturnType": "Microsoft.Extensions.Primitives.StringSegment",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Facets",
- "Parameters": [],
- "ReturnType": "System.Collections.Generic.IEnumerable",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_MatchesAllTypes",
- "Parameters": [],
- "ReturnType": "System.Boolean",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_MatchesAllSubTypes",
- "Parameters": [],
- "ReturnType": "System.Boolean",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_MatchesAllSubTypesWithoutSuffix",
- "Parameters": [],
- "ReturnType": "System.Boolean",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_IsReadOnly",
- "Parameters": [],
- "ReturnType": "System.Boolean",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "IsSubsetOf",
- "Parameters": [
- {
- "Name": "otherMediaType",
- "Type": "Microsoft.Net.Http.Headers.MediaTypeHeaderValue"
- }
- ],
- "ReturnType": "System.Boolean",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Copy",
- "Parameters": [],
- "ReturnType": "Microsoft.Net.Http.Headers.MediaTypeHeaderValue",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "CopyAsReadOnly",
- "Parameters": [],
- "ReturnType": "Microsoft.Net.Http.Headers.MediaTypeHeaderValue",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ToString",
- "Parameters": [],
- "ReturnType": "System.String",
- "Virtual": true,
- "Override": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Equals",
- "Parameters": [
- {
- "Name": "obj",
- "Type": "System.Object"
- }
- ],
- "ReturnType": "System.Boolean",
- "Virtual": true,
- "Override": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetHashCode",
- "Parameters": [],
- "ReturnType": "System.Int32",
- "Virtual": true,
- "Override": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Parse",
- "Parameters": [
- {
- "Name": "input",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- }
- ],
- "ReturnType": "Microsoft.Net.Http.Headers.MediaTypeHeaderValue",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "TryParse",
- "Parameters": [
- {
- "Name": "input",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- },
- {
- "Name": "parsedValue",
- "Type": "Microsoft.Net.Http.Headers.MediaTypeHeaderValue",
- "Direction": "Out"
- }
- ],
- "ReturnType": "System.Boolean",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ParseList",
- "Parameters": [
- {
- "Name": "inputs",
- "Type": "System.Collections.Generic.IList"
- }
- ],
- "ReturnType": "System.Collections.Generic.IList",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ParseStrictList",
- "Parameters": [
- {
- "Name": "inputs",
- "Type": "System.Collections.Generic.IList"
- }
- ],
- "ReturnType": "System.Collections.Generic.IList",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "TryParseList",
- "Parameters": [
- {
- "Name": "inputs",
- "Type": "System.Collections.Generic.IList"
- },
- {
- "Name": "parsedValues",
- "Type": "System.Collections.Generic.IList",
- "Direction": "Out"
- }
- ],
- "ReturnType": "System.Boolean",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "TryParseStrictList",
- "Parameters": [
- {
- "Name": "inputs",
- "Type": "System.Collections.Generic.IList"
- },
- {
- "Name": "parsedValues",
- "Type": "System.Collections.Generic.IList",
- "Direction": "Out"
- }
- ],
- "ReturnType": "System.Boolean",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "mediaType",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "mediaType",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- },
- {
- "Name": "quality",
- "Type": "System.Double"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.Net.Http.Headers.MediaTypeHeaderValueComparer",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [
- "System.Collections.Generic.IComparer"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_QualityComparer",
- "Parameters": [],
- "ReturnType": "Microsoft.Net.Http.Headers.MediaTypeHeaderValueComparer",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Compare",
- "Parameters": [
- {
- "Name": "mediaType1",
- "Type": "Microsoft.Net.Http.Headers.MediaTypeHeaderValue"
- },
- {
- "Name": "mediaType2",
- "Type": "Microsoft.Net.Http.Headers.MediaTypeHeaderValue"
- }
- ],
- "ReturnType": "System.Int32",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "System.Collections.Generic.IComparer",
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.Net.Http.Headers.NameValueHeaderValue",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_Name",
- "Parameters": [],
- "ReturnType": "Microsoft.Extensions.Primitives.StringSegment",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Value",
- "Parameters": [],
- "ReturnType": "Microsoft.Extensions.Primitives.StringSegment",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_Value",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_IsReadOnly",
- "Parameters": [],
- "ReturnType": "System.Boolean",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Copy",
- "Parameters": [],
- "ReturnType": "Microsoft.Net.Http.Headers.NameValueHeaderValue",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "CopyAsReadOnly",
- "Parameters": [],
- "ReturnType": "Microsoft.Net.Http.Headers.NameValueHeaderValue",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetHashCode",
- "Parameters": [],
- "ReturnType": "System.Int32",
- "Virtual": true,
- "Override": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Equals",
- "Parameters": [
- {
- "Name": "obj",
- "Type": "System.Object"
- }
- ],
- "ReturnType": "System.Boolean",
- "Virtual": true,
- "Override": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetUnescapedValue",
- "Parameters": [],
- "ReturnType": "Microsoft.Extensions.Primitives.StringSegment",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "SetAndEscapeValue",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Parse",
- "Parameters": [
- {
- "Name": "input",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- }
- ],
- "ReturnType": "Microsoft.Net.Http.Headers.NameValueHeaderValue",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "TryParse",
- "Parameters": [
- {
- "Name": "input",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- },
- {
- "Name": "parsedValue",
- "Type": "Microsoft.Net.Http.Headers.NameValueHeaderValue",
- "Direction": "Out"
- }
- ],
- "ReturnType": "System.Boolean",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ParseList",
- "Parameters": [
- {
- "Name": "input",
- "Type": "System.Collections.Generic.IList"
- }
- ],
- "ReturnType": "System.Collections.Generic.IList",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ParseStrictList",
- "Parameters": [
- {
- "Name": "input",
- "Type": "System.Collections.Generic.IList"
- }
- ],
- "ReturnType": "System.Collections.Generic.IList",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "TryParseList",
- "Parameters": [
- {
- "Name": "input",
- "Type": "System.Collections.Generic.IList"
- },
- {
- "Name": "parsedValues",
- "Type": "System.Collections.Generic.IList",
- "Direction": "Out"
- }
- ],
- "ReturnType": "System.Boolean",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "TryParseStrictList",
- "Parameters": [
- {
- "Name": "input",
- "Type": "System.Collections.Generic.IList"
- },
- {
- "Name": "parsedValues",
- "Type": "System.Collections.Generic.IList",
- "Direction": "Out"
- }
- ],
- "ReturnType": "System.Boolean",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ToString",
- "Parameters": [],
- "ReturnType": "System.String",
- "Virtual": true,
- "Override": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Find",
- "Parameters": [
- {
- "Name": "values",
- "Type": "System.Collections.Generic.IList"
- },
- {
- "Name": "name",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- }
- ],
- "ReturnType": "Microsoft.Net.Http.Headers.NameValueHeaderValue",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "name",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "name",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- },
- {
- "Name": "value",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.Net.Http.Headers.RangeConditionHeaderValue",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_LastModified",
- "Parameters": [],
- "ReturnType": "System.Nullable",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_EntityTag",
- "Parameters": [],
- "ReturnType": "Microsoft.Net.Http.Headers.EntityTagHeaderValue",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ToString",
- "Parameters": [],
- "ReturnType": "System.String",
- "Virtual": true,
- "Override": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Equals",
- "Parameters": [
- {
- "Name": "obj",
- "Type": "System.Object"
- }
- ],
- "ReturnType": "System.Boolean",
- "Virtual": true,
- "Override": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetHashCode",
- "Parameters": [],
- "ReturnType": "System.Int32",
- "Virtual": true,
- "Override": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Parse",
- "Parameters": [
- {
- "Name": "input",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- }
- ],
- "ReturnType": "Microsoft.Net.Http.Headers.RangeConditionHeaderValue",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "TryParse",
- "Parameters": [
- {
- "Name": "input",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- },
- {
- "Name": "parsedValue",
- "Type": "Microsoft.Net.Http.Headers.RangeConditionHeaderValue",
- "Direction": "Out"
- }
- ],
- "ReturnType": "System.Boolean",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "lastModified",
- "Type": "System.DateTimeOffset"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "entityTag",
- "Type": "Microsoft.Net.Http.Headers.EntityTagHeaderValue"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "entityTag",
- "Type": "System.String"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.Net.Http.Headers.RangeHeaderValue",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_Unit",
- "Parameters": [],
- "ReturnType": "Microsoft.Extensions.Primitives.StringSegment",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_Unit",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Ranges",
- "Parameters": [],
- "ReturnType": "System.Collections.Generic.ICollection",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ToString",
- "Parameters": [],
- "ReturnType": "System.String",
- "Virtual": true,
- "Override": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Equals",
- "Parameters": [
- {
- "Name": "obj",
- "Type": "System.Object"
- }
- ],
- "ReturnType": "System.Boolean",
- "Virtual": true,
- "Override": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetHashCode",
- "Parameters": [],
- "ReturnType": "System.Int32",
- "Virtual": true,
- "Override": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Parse",
- "Parameters": [
- {
- "Name": "input",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- }
- ],
- "ReturnType": "Microsoft.Net.Http.Headers.RangeHeaderValue",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "TryParse",
- "Parameters": [
- {
- "Name": "input",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- },
- {
- "Name": "parsedValue",
- "Type": "Microsoft.Net.Http.Headers.RangeHeaderValue",
- "Direction": "Out"
- }
- ],
- "ReturnType": "System.Boolean",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [],
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "from",
- "Type": "System.Nullable"
- },
- {
- "Name": "to",
- "Type": "System.Nullable"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.Net.Http.Headers.RangeItemHeaderValue",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_From",
- "Parameters": [],
- "ReturnType": "System.Nullable",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_To",
- "Parameters": [],
- "ReturnType": "System.Nullable",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ToString",
- "Parameters": [],
- "ReturnType": "System.String",
- "Virtual": true,
- "Override": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Equals",
- "Parameters": [
- {
- "Name": "obj",
- "Type": "System.Object"
- }
- ],
- "ReturnType": "System.Boolean",
- "Virtual": true,
- "Override": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetHashCode",
- "Parameters": [],
- "ReturnType": "System.Int32",
- "Virtual": true,
- "Override": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "from",
- "Type": "System.Nullable"
- },
- {
- "Name": "to",
- "Type": "System.Nullable"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.Net.Http.Headers.SameSiteMode",
- "Visibility": "Public",
- "Kind": "Enumeration",
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Field",
- "Name": "None",
- "Parameters": [],
- "GenericParameter": [],
- "Literal": "0"
- },
- {
- "Kind": "Field",
- "Name": "Lax",
- "Parameters": [],
- "GenericParameter": [],
- "Literal": "1"
- },
- {
- "Kind": "Field",
- "Name": "Strict",
- "Parameters": [],
- "GenericParameter": [],
- "Literal": "2"
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.Net.Http.Headers.SetCookieHeaderValue",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_Name",
- "Parameters": [],
- "ReturnType": "Microsoft.Extensions.Primitives.StringSegment",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_Name",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Value",
- "Parameters": [],
- "ReturnType": "Microsoft.Extensions.Primitives.StringSegment",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_Value",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Expires",
- "Parameters": [],
- "ReturnType": "System.Nullable",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_Expires",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Nullable"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_MaxAge",
- "Parameters": [],
- "ReturnType": "System.Nullable",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_MaxAge",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Nullable"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Domain",
- "Parameters": [],
- "ReturnType": "Microsoft.Extensions.Primitives.StringSegment",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_Domain",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Path",
- "Parameters": [],
- "ReturnType": "Microsoft.Extensions.Primitives.StringSegment",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_Path",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Secure",
- "Parameters": [],
- "ReturnType": "System.Boolean",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_Secure",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Boolean"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_SameSite",
- "Parameters": [],
- "ReturnType": "Microsoft.Net.Http.Headers.SameSiteMode",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_SameSite",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Microsoft.Net.Http.Headers.SameSiteMode"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_HttpOnly",
- "Parameters": [],
- "ReturnType": "System.Boolean",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_HttpOnly",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.Boolean"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ToString",
- "Parameters": [],
- "ReturnType": "System.String",
- "Virtual": true,
- "Override": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "AppendToStringBuilder",
- "Parameters": [
- {
- "Name": "builder",
- "Type": "System.Text.StringBuilder"
- }
- ],
- "ReturnType": "System.Void",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Parse",
- "Parameters": [
- {
- "Name": "input",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- }
- ],
- "ReturnType": "Microsoft.Net.Http.Headers.SetCookieHeaderValue",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "TryParse",
- "Parameters": [
- {
- "Name": "input",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- },
- {
- "Name": "parsedValue",
- "Type": "Microsoft.Net.Http.Headers.SetCookieHeaderValue",
- "Direction": "Out"
- }
- ],
- "ReturnType": "System.Boolean",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ParseList",
- "Parameters": [
- {
- "Name": "inputs",
- "Type": "System.Collections.Generic.IList"
- }
- ],
- "ReturnType": "System.Collections.Generic.IList",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ParseStrictList",
- "Parameters": [
- {
- "Name": "inputs",
- "Type": "System.Collections.Generic.IList"
- }
- ],
- "ReturnType": "System.Collections.Generic.IList",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "TryParseList",
- "Parameters": [
- {
- "Name": "inputs",
- "Type": "System.Collections.Generic.IList"
- },
- {
- "Name": "parsedValues",
- "Type": "System.Collections.Generic.IList",
- "Direction": "Out"
- }
- ],
- "ReturnType": "System.Boolean",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "TryParseStrictList",
- "Parameters": [
- {
- "Name": "inputs",
- "Type": "System.Collections.Generic.IList"
- },
- {
- "Name": "parsedValues",
- "Type": "System.Collections.Generic.IList",
- "Direction": "Out"
- }
- ],
- "ReturnType": "System.Boolean",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Equals",
- "Parameters": [
- {
- "Name": "obj",
- "Type": "System.Object"
- }
- ],
- "ReturnType": "System.Boolean",
- "Virtual": true,
- "Override": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetHashCode",
- "Parameters": [],
- "ReturnType": "System.Int32",
- "Virtual": true,
- "Override": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "name",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "name",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- },
- {
- "Name": "value",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.Net.Http.Headers.StringWithQualityHeaderValue",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_Value",
- "Parameters": [],
- "ReturnType": "Microsoft.Extensions.Primitives.StringSegment",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Quality",
- "Parameters": [],
- "ReturnType": "System.Nullable",
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ToString",
- "Parameters": [],
- "ReturnType": "System.String",
- "Virtual": true,
- "Override": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Equals",
- "Parameters": [
- {
- "Name": "obj",
- "Type": "System.Object"
- }
- ],
- "ReturnType": "System.Boolean",
- "Virtual": true,
- "Override": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "GetHashCode",
- "Parameters": [],
- "ReturnType": "System.Int32",
- "Virtual": true,
- "Override": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Parse",
- "Parameters": [
- {
- "Name": "input",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- }
- ],
- "ReturnType": "Microsoft.Net.Http.Headers.StringWithQualityHeaderValue",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "TryParse",
- "Parameters": [
- {
- "Name": "input",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- },
- {
- "Name": "parsedValue",
- "Type": "Microsoft.Net.Http.Headers.StringWithQualityHeaderValue",
- "Direction": "Out"
- }
- ],
- "ReturnType": "System.Boolean",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ParseList",
- "Parameters": [
- {
- "Name": "input",
- "Type": "System.Collections.Generic.IList"
- }
- ],
- "ReturnType": "System.Collections.Generic.IList",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "ParseStrictList",
- "Parameters": [
- {
- "Name": "input",
- "Type": "System.Collections.Generic.IList"
- }
- ],
- "ReturnType": "System.Collections.Generic.IList",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "TryParseList",
- "Parameters": [
- {
- "Name": "input",
- "Type": "System.Collections.Generic.IList"
- },
- {
- "Name": "parsedValues",
- "Type": "System.Collections.Generic.IList",
- "Direction": "Out"
- }
- ],
- "ReturnType": "System.Boolean",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "TryParseStrictList",
- "Parameters": [
- {
- "Name": "input",
- "Type": "System.Collections.Generic.IList"
- },
- {
- "Name": "parsedValues",
- "Type": "System.Collections.Generic.IList",
- "Direction": "Out"
- }
- ],
- "ReturnType": "System.Boolean",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Constructor",
- "Name": ".ctor",
- "Parameters": [
- {
- "Name": "value",
- "Type": "Microsoft.Extensions.Primitives.StringSegment"
- },
- {
- "Name": "quality",
- "Type": "System.Double"
- }
- ],
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.Net.Http.Headers.StringWithQualityHeaderValueComparer",
- "Visibility": "Public",
- "Kind": "Class",
- "ImplementedInterfaces": [
- "System.Collections.Generic.IComparer"
- ],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_QualityComparer",
- "Parameters": [],
- "ReturnType": "Microsoft.Net.Http.Headers.StringWithQualityHeaderValueComparer",
- "Static": true,
- "Visibility": "Public",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Compare",
- "Parameters": [
- {
- "Name": "stringWithQuality1",
- "Type": "Microsoft.Net.Http.Headers.StringWithQualityHeaderValue"
- },
- {
- "Name": "stringWithQuality2",
- "Type": "Microsoft.Net.Http.Headers.StringWithQualityHeaderValue"
- }
- ],
- "ReturnType": "System.Int32",
- "Sealed": true,
- "Virtual": true,
- "ImplementedInterface": "System.Collections.Generic.IComparer",
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- }
- ]
-}
\ No newline at end of file
diff --git a/src/Http/Http.Abstractions/ref/Microsoft.AspNetCore.Http.Abstractions.netcoreapp3.0.cs b/src/Http/Http.Abstractions/ref/Microsoft.AspNetCore.Http.Abstractions.netcoreapp3.0.cs
index 858205965d..a4abcde2a0 100644
--- a/src/Http/Http.Abstractions/ref/Microsoft.AspNetCore.Http.Abstractions.netcoreapp3.0.cs
+++ b/src/Http/Http.Abstractions/ref/Microsoft.AspNetCore.Http.Abstractions.netcoreapp3.0.cs
@@ -135,9 +135,9 @@ namespace Microsoft.AspNetCore.Http
}
public enum CookieSecurePolicy
{
+ SameAsRequest = 0,
Always = 1,
None = 2,
- SameAsRequest = 0,
}
public partial class Endpoint
{
diff --git a/src/Http/Http.Abstractions/src/Internal/PathStringHelper.cs b/src/Http/Http.Abstractions/src/Internal/PathStringHelper.cs
index b6cebb2b9c..39a077f912 100644
--- a/src/Http/Http.Abstractions/src/Internal/PathStringHelper.cs
+++ b/src/Http/Http.Abstractions/src/Internal/PathStringHelper.cs
@@ -1,47 +1,67 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+
namespace Microsoft.AspNetCore.Http.Internal
{
- internal class PathStringHelper
+ internal static class PathStringHelper
{
- private static bool[] ValidPathChars = {
- false, false, false, false, false, false, false, false, // 0x00 - 0x07
- false, false, false, false, false, false, false, false, // 0x08 - 0x0F
- false, false, false, false, false, false, false, false, // 0x10 - 0x17
- false, false, false, false, false, false, false, false, // 0x18 - 0x1F
- false, true, false, false, true, false, true, true, // 0x20 - 0x27
- true, true, true, true, true, true, true, true, // 0x28 - 0x2F
- true, true, true, true, true, true, true, true, // 0x30 - 0x37
- true, true, true, true, false, true, false, false, // 0x38 - 0x3F
- true, true, true, true, true, true, true, true, // 0x40 - 0x47
- true, true, true, true, true, true, true, true, // 0x48 - 0x4F
- true, true, true, true, true, true, true, true, // 0x50 - 0x57
- true, true, true, false, false, false, false, true, // 0x58 - 0x5F
- false, true, true, true, true, true, true, true, // 0x60 - 0x67
- true, true, true, true, true, true, true, true, // 0x68 - 0x6F
- true, true, true, true, true, true, true, true, // 0x70 - 0x77
- true, true, true, false, false, false, true, false, // 0x78 - 0x7F
+ // uint[] bits uses 1 cache line (Array info + 16 bytes)
+ // bool[] would use 3 cache lines (Array info + 128 bytes)
+ // So we use 128 bits rather than 128 bytes/bools
+ private static readonly uint[] ValidPathChars = {
+ 0b_0000_0000__0000_0000__0000_0000__0000_0000, // 0x00 - 0x1F
+ 0b_0010_1111__1111_1111__1111_1111__1101_0010, // 0x20 - 0x3F
+ 0b_1000_0111__1111_1111__1111_1111__1111_1111, // 0x40 - 0x5F
+ 0b_0100_0111__1111_1111__1111_1111__1111_1110, // 0x60 - 0x7F
};
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
public static bool IsValidPathChar(char c)
{
- return c < ValidPathChars.Length && ValidPathChars[c];
+ // Use local array and uint .Length compare to elide the bounds check on array access
+ var validChars = ValidPathChars;
+ var i = (int)c;
+
+ // Array is in chunks of 32 bits, so get offset by dividing by 32
+ var offset = i >> 5; // i / 32;
+ // Significant bit position is the remainder of the above calc; i % 32 => i & 31
+ var significantBit = 1u << (i & 31);
+
+ // Check offset in bounds and check if significant bit set
+ return (uint)offset < (uint)validChars.Length &&
+ ((validChars[offset] & significantBit) != 0);
}
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
public static bool IsPercentEncodedChar(string str, int index)
{
- return index < str.Length - 2
- && str[index] == '%'
- && IsHexadecimalChar(str[index + 1])
- && IsHexadecimalChar(str[index + 2]);
+ var len = (uint)str.Length;
+ if (str[index] == '%' && index < len - 2)
+ {
+ return AreFollowingTwoCharsHex(str, index);
+ }
+
+ return false;
}
- public static bool IsHexadecimalChar(char c)
+ [MethodImpl(MethodImplOptions.NoInlining)]
+ private static bool AreFollowingTwoCharsHex(string str, int index)
{
- return ('0' <= c && c <= '9')
- || ('A' <= c && c <= 'F')
- || ('a' <= c && c <= 'f');
+ Debug.Assert(index < str.Length - 2);
+
+ var c1 = str[index + 1];
+ var c2 = str[index + 2];
+ return IsHexadecimalChar(c1) && IsHexadecimalChar(c2);
+ }
+
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ private static bool IsHexadecimalChar(char c)
+ {
+ // Between 0 - 9 or uppercased between A - F
+ return (uint)(c - '0') <= 9 || (uint)((c & ~0x20) - 'A') <= ('F' - 'A');
}
}
}
diff --git a/src/Http/Http.Abstractions/src/PathString.cs b/src/Http/Http.Abstractions/src/PathString.cs
index 702307db8f..8eba3914ca 100644
--- a/src/Http/Http.Abstractions/src/PathString.cs
+++ b/src/Http/Http.Abstractions/src/PathString.cs
@@ -16,8 +16,6 @@ namespace Microsoft.AspNetCore.Http
[TypeConverter(typeof(PathStringConverter))]
public readonly struct PathString : IEquatable
{
- private static readonly char[] splitChar = { '/' };
-
///
/// Represents the empty path. This field is read-only.
///
@@ -75,27 +73,46 @@ namespace Microsoft.AspNetCore.Http
return string.Empty;
}
+ var value = _value;
+ var i = 0;
+ for (; i < value.Length; i++)
+ {
+ if (!PathStringHelper.IsValidPathChar(value[i]) || PathStringHelper.IsPercentEncodedChar(value, i))
+ {
+ break;
+ }
+ }
+
+ if (i < value.Length)
+ {
+ return ToEscapedUriComponent(value, i);
+ }
+
+ return value;
+ }
+
+ private static string ToEscapedUriComponent(string value, int i)
+ {
StringBuilder buffer = null;
var start = 0;
- var count = 0;
+ var count = i;
var requiresEscaping = false;
- var i = 0;
- while (i < _value.Length)
+ while (i < value.Length)
{
- var isPercentEncodedChar = PathStringHelper.IsPercentEncodedChar(_value, i);
- if (PathStringHelper.IsValidPathChar(_value[i]) || isPercentEncodedChar)
+ var isPercentEncodedChar = PathStringHelper.IsPercentEncodedChar(value, i);
+ if (PathStringHelper.IsValidPathChar(value[i]) || isPercentEncodedChar)
{
if (requiresEscaping)
{
// the current segment requires escape
if (buffer == null)
{
- buffer = new StringBuilder(_value.Length * 3);
+ buffer = new StringBuilder(value.Length * 3);
}
- buffer.Append(Uri.EscapeDataString(_value.Substring(start, count)));
+ buffer.Append(Uri.EscapeDataString(value.Substring(start, count)));
requiresEscaping = false;
start = i;
@@ -120,10 +137,10 @@ namespace Microsoft.AspNetCore.Http
// the current segment doesn't require escape
if (buffer == null)
{
- buffer = new StringBuilder(_value.Length * 3);
+ buffer = new StringBuilder(value.Length * 3);
}
- buffer.Append(_value, start, count);
+ buffer.Append(value, start, count);
requiresEscaping = true;
start = i;
@@ -135,9 +152,9 @@ namespace Microsoft.AspNetCore.Http
}
}
- if (count == _value.Length && !requiresEscaping)
+ if (count == value.Length && !requiresEscaping)
{
- return _value;
+ return value;
}
else
{
@@ -145,16 +162,16 @@ namespace Microsoft.AspNetCore.Http
{
if (buffer == null)
{
- buffer = new StringBuilder(_value.Length * 3);
+ buffer = new StringBuilder(value.Length * 3);
}
if (requiresEscaping)
{
- buffer.Append(Uri.EscapeDataString(_value.Substring(start, count)));
+ buffer.Append(Uri.EscapeDataString(value.Substring(start, count)));
}
else
{
- buffer.Append(_value, start, count);
+ buffer.Append(value, start, count);
}
}
@@ -162,7 +179,6 @@ namespace Microsoft.AspNetCore.Http
}
}
-
///
/// Returns an PathString given the path as it is escaped in the URI format. The string MUST NOT contain any
/// value that is not a path.
@@ -456,7 +472,7 @@ namespace Microsoft.AspNetCore.Http
=> string.IsNullOrEmpty(s) ? new PathString(s) : FromUriComponent(s);
}
- internal class PathStringConverter : TypeConverter
+ internal sealed class PathStringConverter : TypeConverter
{
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
=> sourceType == typeof(string)
diff --git a/src/Http/Http.Abstractions/src/Routing/Endpoint.cs b/src/Http/Http.Abstractions/src/Routing/Endpoint.cs
index 16202b45f5..dbca2944e0 100644
--- a/src/Http/Http.Abstractions/src/Routing/Endpoint.cs
+++ b/src/Http/Http.Abstractions/src/Routing/Endpoint.cs
@@ -4,7 +4,7 @@
namespace Microsoft.AspNetCore.Http
{
///
- /// Respresents a logical endpoint in an application.
+ /// Represents a logical endpoint in an application.
///
public class Endpoint
{
diff --git a/src/Http/Http.Abstractions/src/baseline.netcore.json b/src/Http/Http.Abstractions/src/baseline.netcore.json
deleted file mode 100644
index f407fb08e6..0000000000
--- a/src/Http/Http.Abstractions/src/baseline.netcore.json
+++ /dev/null
@@ -1,5020 +0,0 @@
-{
- "AssemblyIdentity": "Microsoft.AspNetCore.Http.Abstractions, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60",
- "Types": [
- {
- "Name": "Microsoft.AspNetCore.Builder.MapExtensions",
- "Visibility": "Public",
- "Kind": "Class",
- "Abstract": true,
- "Static": true,
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "Map",
- "Parameters": [
- {
- "Name": "app",
- "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder"
- },
- {
- "Name": "pathMatch",
- "Type": "Microsoft.AspNetCore.Http.PathString"
- },
- {
- "Name": "configuration",
- "Type": "System.Action"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Builder.MapWhenExtensions",
- "Visibility": "Public",
- "Kind": "Class",
- "Abstract": true,
- "Static": true,
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "MapWhen",
- "Parameters": [
- {
- "Name": "app",
- "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder"
- },
- {
- "Name": "predicate",
- "Type": "System.Func"
- },
- {
- "Name": "configuration",
- "Type": "System.Action"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Builder.RunExtensions",
- "Visibility": "Public",
- "Kind": "Class",
- "Abstract": true,
- "Static": true,
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "Run",
- "Parameters": [
- {
- "Name": "app",
- "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder"
- },
- {
- "Name": "handler",
- "Type": "Microsoft.AspNetCore.Http.RequestDelegate"
- }
- ],
- "ReturnType": "System.Void",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Builder.UseExtensions",
- "Visibility": "Public",
- "Kind": "Class",
- "Abstract": true,
- "Static": true,
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "Use",
- "Parameters": [
- {
- "Name": "app",
- "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder"
- },
- {
- "Name": "middleware",
- "Type": "System.Func, System.Threading.Tasks.Task>"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Builder.UseMiddlewareExtensions",
- "Visibility": "Public",
- "Kind": "Class",
- "Abstract": true,
- "Static": true,
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "UseMiddleware",
- "Parameters": [
- {
- "Name": "app",
- "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder"
- },
- {
- "Name": "args",
- "Type": "System.Object[]",
- "IsParams": true
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": [
- {
- "ParameterName": "TMiddleware",
- "ParameterPosition": 0,
- "BaseTypeOrInterfaces": []
- }
- ]
- },
- {
- "Kind": "Method",
- "Name": "UseMiddleware",
- "Parameters": [
- {
- "Name": "app",
- "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder"
- },
- {
- "Name": "middleware",
- "Type": "System.Type"
- },
- {
- "Name": "args",
- "Type": "System.Object[]",
- "IsParams": true
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Builder.UsePathBaseExtensions",
- "Visibility": "Public",
- "Kind": "Class",
- "Abstract": true,
- "Static": true,
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "UsePathBase",
- "Parameters": [
- {
- "Name": "app",
- "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder"
- },
- {
- "Name": "pathBase",
- "Type": "Microsoft.AspNetCore.Http.PathString"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Builder.UseWhenExtensions",
- "Visibility": "Public",
- "Kind": "Class",
- "Abstract": true,
- "Static": true,
- "Sealed": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "UseWhen",
- "Parameters": [
- {
- "Name": "app",
- "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder"
- },
- {
- "Name": "predicate",
- "Type": "System.Func"
- },
- {
- "Name": "configuration",
- "Type": "System.Action"
- }
- ],
- "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder",
- "Static": true,
- "Extension": true,
- "Visibility": "Public",
- "GenericParameter": []
- }
- ],
- "GenericParameters": []
- },
- {
- "Name": "Microsoft.AspNetCore.Builder.IApplicationBuilder",
- "Visibility": "Public",
- "Kind": "Interface",
- "Abstract": true,
- "ImplementedInterfaces": [],
- "Members": [
- {
- "Kind": "Method",
- "Name": "get_ApplicationServices",
- "Parameters": [],
- "ReturnType": "System.IServiceProvider",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "set_ApplicationServices",
- "Parameters": [
- {
- "Name": "value",
- "Type": "System.IServiceProvider"
- }
- ],
- "ReturnType": "System.Void",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_ServerFeatures",
- "Parameters": [],
- "ReturnType": "Microsoft.AspNetCore.Http.Features.IFeatureCollection",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "get_Properties",
- "Parameters": [],
- "ReturnType": "System.Collections.Generic.IDictionary",
- "GenericParameter": []
- },
- {
- "Kind": "Method",
- "Name": "Use",
- "Parameters": [
- {
- "Name": "middleware",
- "Type": "System.Func