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. [![Gitter](https://badges.gitter.im/aspnet/Blazor.svg)](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: - -![image](https://user-images.githubusercontent.com/1874516/39077607-2729edb2-44b8-11e8-8798-701ba632fdd4.png) - -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" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "New", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Build", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.RequestDelegate", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.Extensions.MapMiddleware", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Invoke", - "Parameters": [ - { - "Name": "context", - "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": "options", - "Type": "Microsoft.AspNetCore.Builder.Extensions.MapOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.Extensions.MapOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_PathMatch", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.PathString", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_PathMatch", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.PathString" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Branch", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.RequestDelegate", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Branch", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.RequestDelegate" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.Extensions.MapWhenMiddleware", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Invoke", - "Parameters": [ - { - "Name": "context", - "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": "options", - "Type": "Microsoft.AspNetCore.Builder.Extensions.MapWhenOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.Extensions.MapWhenOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Predicate", - "Parameters": [], - "ReturnType": "System.Func", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Predicate", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Branch", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.RequestDelegate", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Branch", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.RequestDelegate" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Invoke", - "Parameters": [ - { - "Name": "context", - "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": "pathBase", - "Type": "Microsoft.AspNetCore.Http.PathString" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.ConnectionInfo", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Id", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Id", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RemoteIpAddress", - "Parameters": [], - "ReturnType": "System.Net.IPAddress", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RemoteIpAddress", - "Parameters": [ - { - "Name": "value", - "Type": "System.Net.IPAddress" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RemotePort", - "Parameters": [], - "ReturnType": "System.Int32", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RemotePort", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_LocalIpAddress", - "Parameters": [], - "ReturnType": "System.Net.IPAddress", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_LocalIpAddress", - "Parameters": [ - { - "Name": "value", - "Type": "System.Net.IPAddress" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_LocalPort", - "Parameters": [], - "ReturnType": "System.Int32", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_LocalPort", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ClientCertificate", - "Parameters": [], - "ReturnType": "System.Security.Cryptography.X509Certificates.X509Certificate2", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ClientCertificate", - "Parameters": [ - { - "Name": "value", - "Type": "System.Security.Cryptography.X509Certificates.X509Certificate2" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetClientCertificateAsync", - "Parameters": [ - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.CookieBuilder", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Name", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Name", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Path", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Path", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Domain", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Domain", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HttpOnly", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_HttpOnly", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SameSite", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.SameSiteMode", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SameSite", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.SameSiteMode" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SecurePolicy", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.CookieSecurePolicy", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SecurePolicy", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.CookieSecurePolicy" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Expiration", - "Parameters": [], - "ReturnType": "System.Nullable", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Expiration", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MaxAge", - "Parameters": [], - "ReturnType": "System.Nullable", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MaxAge", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsEssential", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IsEssential", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Build", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Http.CookieOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Build", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "expiresFrom", - "Type": "System.DateTimeOffset" - } - ], - "ReturnType": "Microsoft.AspNetCore.Http.CookieOptions", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.CookieSecurePolicy", - "Visibility": "Public", - "Kind": "Enumeration", - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "SameAsRequest", - "Parameters": [], - "GenericParameter": [], - "Literal": "0" - }, - { - "Kind": "Field", - "Name": "Always", - "Parameters": [], - "GenericParameter": [], - "Literal": "1" - }, - { - "Kind": "Field", - "Name": "None", - "Parameters": [], - "GenericParameter": [], - "Literal": "2" - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.HeaderDictionaryExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Append", - "Parameters": [ - { - "Name": "headers", - "Type": "Microsoft.AspNetCore.Http.IHeaderDictionary" - }, - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "Microsoft.Extensions.Primitives.StringValues" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AppendCommaSeparatedValues", - "Parameters": [ - { - "Name": "headers", - "Type": "Microsoft.AspNetCore.Http.IHeaderDictionary" - }, - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "System.String[]", - "IsParams": true - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetCommaSeparatedValues", - "Parameters": [ - { - "Name": "headers", - "Type": "Microsoft.AspNetCore.Http.IHeaderDictionary" - }, - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.String[]", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetCommaSeparatedValues", - "Parameters": [ - { - "Name": "headers", - "Type": "Microsoft.AspNetCore.Http.IHeaderDictionary" - }, - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "System.String[]", - "IsParams": true - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.HttpResponseWritingExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "WriteAsync", - "Parameters": [ - { - "Name": "response", - "Type": "Microsoft.AspNetCore.Http.HttpResponse" - }, - { - "Name": "text", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteAsync", - "Parameters": [ - { - "Name": "response", - "Type": "Microsoft.AspNetCore.Http.HttpResponse" - }, - { - "Name": "text", - "Type": "System.String" - }, - { - "Name": "encoding", - "Type": "System.Text.Encoding" - }, - { - "Name": "cancellationToken", - "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.Http.FragmentString", - "Visibility": "Public", - "Kind": "Struct", - "Sealed": true, - "ImplementedInterfaces": [ - "System.IEquatable" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Value", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HasValue", - "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": "ToUriComponent", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FromUriComponent", - "Parameters": [ - { - "Name": "uriComponent", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Http.FragmentString", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FromUriComponent", - "Parameters": [ - { - "Name": "uri", - "Type": "System.Uri" - } - ], - "ReturnType": "Microsoft.AspNetCore.Http.FragmentString", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Equals", - "Parameters": [ - { - "Name": "other", - "Type": "Microsoft.AspNetCore.Http.FragmentString" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.IEquatable", - "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": "op_Equality", - "Parameters": [ - { - "Name": "left", - "Type": "Microsoft.AspNetCore.Http.FragmentString" - }, - { - "Name": "right", - "Type": "Microsoft.AspNetCore.Http.FragmentString" - } - ], - "ReturnType": "System.Boolean", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "op_Inequality", - "Parameters": [ - { - "Name": "left", - "Type": "Microsoft.AspNetCore.Http.FragmentString" - }, - { - "Name": "right", - "Type": "Microsoft.AspNetCore.Http.FragmentString" - } - ], - "ReturnType": "System.Boolean", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "Empty", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.FragmentString", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.HostString", - "Visibility": "Public", - "Kind": "Struct", - "Sealed": true, - "ImplementedInterfaces": [ - "System.IEquatable" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Value", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HasValue", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Host", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Port", - "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": "ToUriComponent", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FromUriComponent", - "Parameters": [ - { - "Name": "uriComponent", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Http.HostString", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FromUriComponent", - "Parameters": [ - { - "Name": "uri", - "Type": "System.Uri" - } - ], - "ReturnType": "Microsoft.AspNetCore.Http.HostString", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MatchesAny", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.Extensions.Primitives.StringSegment" - }, - { - "Name": "patterns", - "Type": "System.Collections.Generic.IList" - } - ], - "ReturnType": "System.Boolean", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Equals", - "Parameters": [ - { - "Name": "other", - "Type": "Microsoft.AspNetCore.Http.HostString" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.IEquatable", - "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": "op_Equality", - "Parameters": [ - { - "Name": "left", - "Type": "Microsoft.AspNetCore.Http.HostString" - }, - { - "Name": "right", - "Type": "Microsoft.AspNetCore.Http.HostString" - } - ], - "ReturnType": "System.Boolean", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "op_Inequality", - "Parameters": [ - { - "Name": "left", - "Type": "Microsoft.AspNetCore.Http.HostString" - }, - { - "Name": "right", - "Type": "Microsoft.AspNetCore.Http.HostString" - } - ], - "ReturnType": "System.Boolean", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "host", - "Type": "System.String" - }, - { - "Name": "port", - "Type": "System.Int32" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.HttpContext", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Features", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.Features.IFeatureCollection", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Request", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HttpRequest", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Response", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HttpResponse", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Connection", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.ConnectionInfo", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_WebSockets", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.WebSocketManager", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Authentication", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.Authentication.AuthenticationManager", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_User", - "Parameters": [], - "ReturnType": "System.Security.Claims.ClaimsPrincipal", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_User", - "Parameters": [ - { - "Name": "value", - "Type": "System.Security.Claims.ClaimsPrincipal" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Items", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Items", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IDictionary" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RequestServices", - "Parameters": [], - "ReturnType": "System.IServiceProvider", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RequestServices", - "Parameters": [ - { - "Name": "value", - "Type": "System.IServiceProvider" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RequestAborted", - "Parameters": [], - "ReturnType": "System.Threading.CancellationToken", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RequestAborted", - "Parameters": [ - { - "Name": "value", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TraceIdentifier", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_TraceIdentifier", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Session", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.ISession", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Session", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.ISession" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Abort", - "Parameters": [], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.HttpMethods", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "IsConnect", - "Parameters": [ - { - "Name": "method", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsDelete", - "Parameters": [ - { - "Name": "method", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsGet", - "Parameters": [ - { - "Name": "method", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsHead", - "Parameters": [ - { - "Name": "method", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsOptions", - "Parameters": [ - { - "Name": "method", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsPatch", - "Parameters": [ - { - "Name": "method", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsPost", - "Parameters": [ - { - "Name": "method", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsPut", - "Parameters": [ - { - "Name": "method", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsTrace", - "Parameters": [ - { - "Name": "method", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "Connect", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "Delete", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "Get", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "Head", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "Options", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "Patch", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "Post", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "Put", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "Trace", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.HttpRequest", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_HttpContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HttpContext", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Method", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Method", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Scheme", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Scheme", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsHttps", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IsHttps", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Host", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HostString", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Host", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.HostString" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PathBase", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.PathString", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_PathBase", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.PathString" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Path", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.PathString", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Path", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.PathString" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_QueryString", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.QueryString", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_QueryString", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.QueryString" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Query", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.IQueryCollection", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Query", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.IQueryCollection" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Protocol", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Protocol", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Headers", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.IHeaderDictionary", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Cookies", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.IRequestCookieCollection", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Cookies", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.IRequestCookieCollection" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ContentLength", - "Parameters": [], - "ReturnType": "System.Nullable", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ContentLength", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ContentType", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ContentType", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Body", - "Parameters": [], - "ReturnType": "System.IO.Stream", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Body", - "Parameters": [ - { - "Name": "value", - "Type": "System.IO.Stream" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HasFormContentType", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Form", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.IFormCollection", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Form", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.IFormCollection" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ReadFormAsync", - "Parameters": [ - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.HttpResponse", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_HttpContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HttpContext", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_StatusCode", - "Parameters": [], - "ReturnType": "System.Int32", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_StatusCode", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Headers", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.IHeaderDictionary", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Body", - "Parameters": [], - "ReturnType": "System.IO.Stream", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Body", - "Parameters": [ - { - "Name": "value", - "Type": "System.IO.Stream" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ContentLength", - "Parameters": [], - "ReturnType": "System.Nullable", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ContentLength", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ContentType", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ContentType", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Cookies", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.IResponseCookies", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HasStarted", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnStarting", - "Parameters": [ - { - "Name": "callback", - "Type": "System.Func" - }, - { - "Name": "state", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnStarting", - "Parameters": [ - { - "Name": "callback", - "Type": "System.Func" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnCompleted", - "Parameters": [ - { - "Name": "callback", - "Type": "System.Func" - }, - { - "Name": "state", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RegisterForDispose", - "Parameters": [ - { - "Name": "disposable", - "Type": "System.IDisposable" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnCompleted", - "Parameters": [ - { - "Name": "callback", - "Type": "System.Func" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Redirect", - "Parameters": [ - { - "Name": "location", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Redirect", - "Parameters": [ - { - "Name": "location", - "Type": "System.String" - }, - { - "Name": "permanent", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.IHttpContextAccessor", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_HttpContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HttpContext", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_HttpContext", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.IHttpContextFactory", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Create", - "Parameters": [ - { - "Name": "featureCollection", - "Type": "Microsoft.AspNetCore.Http.Features.IFeatureCollection" - } - ], - "ReturnType": "Microsoft.AspNetCore.Http.HttpContext", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Dispose", - "Parameters": [ - { - "Name": "httpContext", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.IMiddleware", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "InvokeAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "next", - "Type": "Microsoft.AspNetCore.Http.RequestDelegate" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.IMiddlewareFactory", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Create", - "Parameters": [ - { - "Name": "middlewareType", - "Type": "System.Type" - } - ], - "ReturnType": "Microsoft.AspNetCore.Http.IMiddleware", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Release", - "Parameters": [ - { - "Name": "middleware", - "Type": "Microsoft.AspNetCore.Http.IMiddleware" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.PathString", - "Visibility": "Public", - "Kind": "Struct", - "Sealed": true, - "ImplementedInterfaces": [ - "System.IEquatable" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Value", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HasValue", - "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": "ToUriComponent", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FromUriComponent", - "Parameters": [ - { - "Name": "uriComponent", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Http.PathString", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FromUriComponent", - "Parameters": [ - { - "Name": "uri", - "Type": "System.Uri" - } - ], - "ReturnType": "Microsoft.AspNetCore.Http.PathString", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "StartsWithSegments", - "Parameters": [ - { - "Name": "other", - "Type": "Microsoft.AspNetCore.Http.PathString" - } - ], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "StartsWithSegments", - "Parameters": [ - { - "Name": "other", - "Type": "Microsoft.AspNetCore.Http.PathString" - }, - { - "Name": "comparisonType", - "Type": "System.StringComparison" - } - ], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "StartsWithSegments", - "Parameters": [ - { - "Name": "other", - "Type": "Microsoft.AspNetCore.Http.PathString" - }, - { - "Name": "remaining", - "Type": "Microsoft.AspNetCore.Http.PathString", - "Direction": "Out" - } - ], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "StartsWithSegments", - "Parameters": [ - { - "Name": "other", - "Type": "Microsoft.AspNetCore.Http.PathString" - }, - { - "Name": "comparisonType", - "Type": "System.StringComparison" - }, - { - "Name": "remaining", - "Type": "Microsoft.AspNetCore.Http.PathString", - "Direction": "Out" - } - ], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "StartsWithSegments", - "Parameters": [ - { - "Name": "other", - "Type": "Microsoft.AspNetCore.Http.PathString" - }, - { - "Name": "matched", - "Type": "Microsoft.AspNetCore.Http.PathString", - "Direction": "Out" - }, - { - "Name": "remaining", - "Type": "Microsoft.AspNetCore.Http.PathString", - "Direction": "Out" - } - ], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "StartsWithSegments", - "Parameters": [ - { - "Name": "other", - "Type": "Microsoft.AspNetCore.Http.PathString" - }, - { - "Name": "comparisonType", - "Type": "System.StringComparison" - }, - { - "Name": "matched", - "Type": "Microsoft.AspNetCore.Http.PathString", - "Direction": "Out" - }, - { - "Name": "remaining", - "Type": "Microsoft.AspNetCore.Http.PathString", - "Direction": "Out" - } - ], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Add", - "Parameters": [ - { - "Name": "other", - "Type": "Microsoft.AspNetCore.Http.PathString" - } - ], - "ReturnType": "Microsoft.AspNetCore.Http.PathString", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Add", - "Parameters": [ - { - "Name": "other", - "Type": "Microsoft.AspNetCore.Http.QueryString" - } - ], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Equals", - "Parameters": [ - { - "Name": "other", - "Type": "Microsoft.AspNetCore.Http.PathString" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.IEquatable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Equals", - "Parameters": [ - { - "Name": "other", - "Type": "Microsoft.AspNetCore.Http.PathString" - }, - { - "Name": "comparisonType", - "Type": "System.StringComparison" - } - ], - "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": "op_Equality", - "Parameters": [ - { - "Name": "left", - "Type": "Microsoft.AspNetCore.Http.PathString" - }, - { - "Name": "right", - "Type": "Microsoft.AspNetCore.Http.PathString" - } - ], - "ReturnType": "System.Boolean", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "op_Inequality", - "Parameters": [ - { - "Name": "left", - "Type": "Microsoft.AspNetCore.Http.PathString" - }, - { - "Name": "right", - "Type": "Microsoft.AspNetCore.Http.PathString" - } - ], - "ReturnType": "System.Boolean", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "op_Addition", - "Parameters": [ - { - "Name": "left", - "Type": "System.String" - }, - { - "Name": "right", - "Type": "Microsoft.AspNetCore.Http.PathString" - } - ], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "op_Addition", - "Parameters": [ - { - "Name": "left", - "Type": "Microsoft.AspNetCore.Http.PathString" - }, - { - "Name": "right", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "op_Addition", - "Parameters": [ - { - "Name": "left", - "Type": "Microsoft.AspNetCore.Http.PathString" - }, - { - "Name": "right", - "Type": "Microsoft.AspNetCore.Http.PathString" - } - ], - "ReturnType": "Microsoft.AspNetCore.Http.PathString", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "op_Addition", - "Parameters": [ - { - "Name": "left", - "Type": "Microsoft.AspNetCore.Http.PathString" - }, - { - "Name": "right", - "Type": "Microsoft.AspNetCore.Http.QueryString" - } - ], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "op_Implicit", - "Parameters": [ - { - "Name": "s", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Http.PathString", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "op_Implicit", - "Parameters": [ - { - "Name": "path", - "Type": "Microsoft.AspNetCore.Http.PathString" - } - ], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "Empty", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.PathString", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.QueryString", - "Visibility": "Public", - "Kind": "Struct", - "Sealed": true, - "ImplementedInterfaces": [ - "System.IEquatable" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Value", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HasValue", - "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": "ToUriComponent", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FromUriComponent", - "Parameters": [ - { - "Name": "uriComponent", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Http.QueryString", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FromUriComponent", - "Parameters": [ - { - "Name": "uri", - "Type": "System.Uri" - } - ], - "ReturnType": "Microsoft.AspNetCore.Http.QueryString", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Create", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Http.QueryString", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Create", - "Parameters": [ - { - "Name": "parameters", - "Type": "System.Collections.Generic.IEnumerable>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Http.QueryString", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Create", - "Parameters": [ - { - "Name": "parameters", - "Type": "System.Collections.Generic.IEnumerable>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Http.QueryString", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Add", - "Parameters": [ - { - "Name": "other", - "Type": "Microsoft.AspNetCore.Http.QueryString" - } - ], - "ReturnType": "Microsoft.AspNetCore.Http.QueryString", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Add", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Http.QueryString", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Equals", - "Parameters": [ - { - "Name": "other", - "Type": "Microsoft.AspNetCore.Http.QueryString" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.IEquatable", - "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": "op_Equality", - "Parameters": [ - { - "Name": "left", - "Type": "Microsoft.AspNetCore.Http.QueryString" - }, - { - "Name": "right", - "Type": "Microsoft.AspNetCore.Http.QueryString" - } - ], - "ReturnType": "System.Boolean", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "op_Inequality", - "Parameters": [ - { - "Name": "left", - "Type": "Microsoft.AspNetCore.Http.QueryString" - }, - { - "Name": "right", - "Type": "Microsoft.AspNetCore.Http.QueryString" - } - ], - "ReturnType": "System.Boolean", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "op_Addition", - "Parameters": [ - { - "Name": "left", - "Type": "Microsoft.AspNetCore.Http.QueryString" - }, - { - "Name": "right", - "Type": "Microsoft.AspNetCore.Http.QueryString" - } - ], - "ReturnType": "Microsoft.AspNetCore.Http.QueryString", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "Empty", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.QueryString", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.RequestDelegate", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "BaseType": "System.MulticastDelegate", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Invoke", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BeginInvoke", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "callback", - "Type": "System.AsyncCallback" - }, - { - "Name": "object", - "Type": "System.Object" - } - ], - "ReturnType": "System.IAsyncResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "EndInvoke", - "Parameters": [ - { - "Name": "result", - "Type": "System.IAsyncResult" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "object", - "Type": "System.Object" - }, - { - "Name": "method", - "Type": "System.IntPtr" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.StatusCodes", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "Status100Continue", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "100" - }, - { - "Kind": "Field", - "Name": "Status101SwitchingProtocols", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "101" - }, - { - "Kind": "Field", - "Name": "Status102Processing", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "102" - }, - { - "Kind": "Field", - "Name": "Status200OK", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "200" - }, - { - "Kind": "Field", - "Name": "Status201Created", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "201" - }, - { - "Kind": "Field", - "Name": "Status202Accepted", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "202" - }, - { - "Kind": "Field", - "Name": "Status203NonAuthoritative", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "203" - }, - { - "Kind": "Field", - "Name": "Status204NoContent", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "204" - }, - { - "Kind": "Field", - "Name": "Status205ResetContent", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "205" - }, - { - "Kind": "Field", - "Name": "Status206PartialContent", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "206" - }, - { - "Kind": "Field", - "Name": "Status207MultiStatus", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "207" - }, - { - "Kind": "Field", - "Name": "Status208AlreadyReported", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "208" - }, - { - "Kind": "Field", - "Name": "Status226IMUsed", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "226" - }, - { - "Kind": "Field", - "Name": "Status300MultipleChoices", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "300" - }, - { - "Kind": "Field", - "Name": "Status301MovedPermanently", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "301" - }, - { - "Kind": "Field", - "Name": "Status302Found", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "302" - }, - { - "Kind": "Field", - "Name": "Status303SeeOther", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "303" - }, - { - "Kind": "Field", - "Name": "Status304NotModified", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "304" - }, - { - "Kind": "Field", - "Name": "Status305UseProxy", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "305" - }, - { - "Kind": "Field", - "Name": "Status306SwitchProxy", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "306" - }, - { - "Kind": "Field", - "Name": "Status307TemporaryRedirect", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "307" - }, - { - "Kind": "Field", - "Name": "Status308PermanentRedirect", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "308" - }, - { - "Kind": "Field", - "Name": "Status400BadRequest", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "400" - }, - { - "Kind": "Field", - "Name": "Status401Unauthorized", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "401" - }, - { - "Kind": "Field", - "Name": "Status402PaymentRequired", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "402" - }, - { - "Kind": "Field", - "Name": "Status403Forbidden", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "403" - }, - { - "Kind": "Field", - "Name": "Status404NotFound", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "404" - }, - { - "Kind": "Field", - "Name": "Status405MethodNotAllowed", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "405" - }, - { - "Kind": "Field", - "Name": "Status406NotAcceptable", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "406" - }, - { - "Kind": "Field", - "Name": "Status407ProxyAuthenticationRequired", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "407" - }, - { - "Kind": "Field", - "Name": "Status408RequestTimeout", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "408" - }, - { - "Kind": "Field", - "Name": "Status409Conflict", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "409" - }, - { - "Kind": "Field", - "Name": "Status410Gone", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "410" - }, - { - "Kind": "Field", - "Name": "Status411LengthRequired", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "411" - }, - { - "Kind": "Field", - "Name": "Status412PreconditionFailed", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "412" - }, - { - "Kind": "Field", - "Name": "Status413RequestEntityTooLarge", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "413" - }, - { - "Kind": "Field", - "Name": "Status413PayloadTooLarge", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "413" - }, - { - "Kind": "Field", - "Name": "Status414RequestUriTooLong", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "414" - }, - { - "Kind": "Field", - "Name": "Status414UriTooLong", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "414" - }, - { - "Kind": "Field", - "Name": "Status415UnsupportedMediaType", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "415" - }, - { - "Kind": "Field", - "Name": "Status416RequestedRangeNotSatisfiable", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "416" - }, - { - "Kind": "Field", - "Name": "Status416RangeNotSatisfiable", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "416" - }, - { - "Kind": "Field", - "Name": "Status417ExpectationFailed", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "417" - }, - { - "Kind": "Field", - "Name": "Status418ImATeapot", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "418" - }, - { - "Kind": "Field", - "Name": "Status419AuthenticationTimeout", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "419" - }, - { - "Kind": "Field", - "Name": "Status421MisdirectedRequest", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "421" - }, - { - "Kind": "Field", - "Name": "Status422UnprocessableEntity", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "422" - }, - { - "Kind": "Field", - "Name": "Status423Locked", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "423" - }, - { - "Kind": "Field", - "Name": "Status424FailedDependency", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "424" - }, - { - "Kind": "Field", - "Name": "Status426UpgradeRequired", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "426" - }, - { - "Kind": "Field", - "Name": "Status428PreconditionRequired", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "428" - }, - { - "Kind": "Field", - "Name": "Status429TooManyRequests", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "429" - }, - { - "Kind": "Field", - "Name": "Status431RequestHeaderFieldsTooLarge", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "431" - }, - { - "Kind": "Field", - "Name": "Status451UnavailableForLegalReasons", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "451" - }, - { - "Kind": "Field", - "Name": "Status500InternalServerError", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "500" - }, - { - "Kind": "Field", - "Name": "Status501NotImplemented", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "501" - }, - { - "Kind": "Field", - "Name": "Status502BadGateway", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "502" - }, - { - "Kind": "Field", - "Name": "Status503ServiceUnavailable", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "503" - }, - { - "Kind": "Field", - "Name": "Status504GatewayTimeout", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "504" - }, - { - "Kind": "Field", - "Name": "Status505HttpVersionNotsupported", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "505" - }, - { - "Kind": "Field", - "Name": "Status506VariantAlsoNegotiates", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "506" - }, - { - "Kind": "Field", - "Name": "Status507InsufficientStorage", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "507" - }, - { - "Kind": "Field", - "Name": "Status508LoopDetected", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "508" - }, - { - "Kind": "Field", - "Name": "Status510NotExtended", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "510" - }, - { - "Kind": "Field", - "Name": "Status511NetworkAuthenticationRequired", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "511" - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.WebSocketManager", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_IsWebSocketRequest", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_WebSocketRequestedProtocols", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AcceptWebSocketAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AcceptWebSocketAsync", - "Parameters": [ - { - "Name": "subProtocol", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Authentication.AuthenticateInfo", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Principal", - "Parameters": [], - "ReturnType": "System.Security.Claims.ClaimsPrincipal", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Principal", - "Parameters": [ - { - "Name": "value", - "Type": "System.Security.Claims.ClaimsPrincipal" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Properties", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Properties", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Description", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.Authentication.AuthenticationDescription", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Description", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.Authentication.AuthenticationDescription" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Authentication.AuthenticationDescription", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Items", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AuthenticationScheme", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AuthenticationScheme", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "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": "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.Http.Authentication.AuthenticationManager", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_HttpContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HttpContext", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetAuthenticationSchemes", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetAuthenticateInfoAsync", - "Parameters": [ - { - "Name": "authenticationScheme", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AuthenticateAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.Features.Authentication.AuthenticateContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AuthenticateAsync", - "Parameters": [ - { - "Name": "authenticationScheme", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ChallengeAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ChallengeAsync", - "Parameters": [ - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ChallengeAsync", - "Parameters": [ - { - "Name": "authenticationScheme", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ChallengeAsync", - "Parameters": [ - { - "Name": "authenticationScheme", - "Type": "System.String" - }, - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SignInAsync", - "Parameters": [ - { - "Name": "authenticationScheme", - "Type": "System.String" - }, - { - "Name": "principal", - "Type": "System.Security.Claims.ClaimsPrincipal" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ForbidAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ForbidAsync", - "Parameters": [ - { - "Name": "authenticationScheme", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ForbidAsync", - "Parameters": [ - { - "Name": "authenticationScheme", - "Type": "System.String" - }, - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ForbidAsync", - "Parameters": [ - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ChallengeAsync", - "Parameters": [ - { - "Name": "authenticationScheme", - "Type": "System.String" - }, - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties" - }, - { - "Name": "behavior", - "Type": "Microsoft.AspNetCore.Http.Features.Authentication.ChallengeBehavior" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SignInAsync", - "Parameters": [ - { - "Name": "authenticationScheme", - "Type": "System.String" - }, - { - "Name": "principal", - "Type": "System.Security.Claims.ClaimsPrincipal" - }, - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SignOutAsync", - "Parameters": [ - { - "Name": "authenticationScheme", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SignOutAsync", - "Parameters": [ - { - "Name": "authenticationScheme", - "Type": "System.String" - }, - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "AutomaticScheme", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "\"Automatic\"" - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.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": [] - } - ] -} \ No newline at end of file diff --git a/src/Http/Http.Abstractions/src/breakingchanges.netcore.json b/src/Http/Http.Abstractions/src/breakingchanges.netcore.json deleted file mode 100644 index fa7e1e10f1..0000000000 --- a/src/Http/Http.Abstractions/src/breakingchanges.netcore.json +++ /dev/null @@ -1,23 +0,0 @@ - [ - { - "TypeId": "public abstract class Microsoft.AspNetCore.Http.Authentication.AuthenticationManager", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Http.Authentication.AuthenticateInfo", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Http.Authentication.AuthenticationDescription", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties", - "Kind": "Removal" - }, - { - "TypeId": "public abstract class Microsoft.AspNetCore.Http.HttpContext", - "MemberId": "public abstract Microsoft.AspNetCore.Http.Authentication.AuthenticationManager get_Authentication()", - "Kind": "Removal" - } - ] \ No newline at end of file diff --git a/src/Http/Http.Extensions/src/baseline.netcore.json b/src/Http/Http.Extensions/src/baseline.netcore.json deleted file mode 100644 index 286133ea54..0000000000 --- a/src/Http/Http.Extensions/src/baseline.netcore.json +++ /dev/null @@ -1,1699 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Http.Extensions, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.Http.HeaderDictionaryTypeExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetTypedHeaders", - "Parameters": [ - { - "Name": "request", - "Type": "Microsoft.AspNetCore.Http.HttpRequest" - } - ], - "ReturnType": "Microsoft.AspNetCore.Http.Headers.RequestHeaders", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetTypedHeaders", - "Parameters": [ - { - "Name": "response", - "Type": "Microsoft.AspNetCore.Http.HttpResponse" - } - ], - "ReturnType": "Microsoft.AspNetCore.Http.Headers.ResponseHeaders", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AppendList", - "Parameters": [ - { - "Name": "Headers", - "Type": "Microsoft.AspNetCore.Http.IHeaderDictionary" - }, - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "System.Collections.Generic.IList" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.ResponseExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Clear", - "Parameters": [ - { - "Name": "response", - "Type": "Microsoft.AspNetCore.Http.HttpResponse" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.SendFileResponseExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "SendFileAsync", - "Parameters": [ - { - "Name": "response", - "Type": "Microsoft.AspNetCore.Http.HttpResponse" - }, - { - "Name": "file", - "Type": "Microsoft.Extensions.FileProviders.IFileInfo" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SendFileAsync", - "Parameters": [ - { - "Name": "response", - "Type": "Microsoft.AspNetCore.Http.HttpResponse" - }, - { - "Name": "file", - "Type": "Microsoft.Extensions.FileProviders.IFileInfo" - }, - { - "Name": "offset", - "Type": "System.Int64" - }, - { - "Name": "count", - "Type": "System.Nullable" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SendFileAsync", - "Parameters": [ - { - "Name": "response", - "Type": "Microsoft.AspNetCore.Http.HttpResponse" - }, - { - "Name": "fileName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SendFileAsync", - "Parameters": [ - { - "Name": "response", - "Type": "Microsoft.AspNetCore.Http.HttpResponse" - }, - { - "Name": "fileName", - "Type": "System.String" - }, - { - "Name": "offset", - "Type": "System.Int64" - }, - { - "Name": "count", - "Type": "System.Nullable" - }, - { - "Name": "cancellationToken", - "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.Http.SessionExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "SetInt32", - "Parameters": [ - { - "Name": "session", - "Type": "Microsoft.AspNetCore.Http.ISession" - }, - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetInt32", - "Parameters": [ - { - "Name": "session", - "Type": "Microsoft.AspNetCore.Http.ISession" - }, - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.Nullable", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetString", - "Parameters": [ - { - "Name": "session", - "Type": "Microsoft.AspNetCore.Http.ISession" - }, - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetString", - "Parameters": [ - { - "Name": "session", - "Type": "Microsoft.AspNetCore.Http.ISession" - }, - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Get", - "Parameters": [ - { - "Name": "session", - "Type": "Microsoft.AspNetCore.Http.ISession" - }, - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.Byte[]", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Headers.RequestHeaders", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Headers", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.IHeaderDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Accept", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Accept", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IList" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AcceptCharset", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AcceptCharset", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IList" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AcceptEncoding", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AcceptEncoding", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IList" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AcceptLanguage", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AcceptLanguage", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IList" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_CacheControl", - "Parameters": [], - "ReturnType": "Microsoft.Net.Http.Headers.CacheControlHeaderValue", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_CacheControl", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.Net.Http.Headers.CacheControlHeaderValue" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ContentDisposition", - "Parameters": [], - "ReturnType": "Microsoft.Net.Http.Headers.ContentDispositionHeaderValue", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ContentDisposition", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.Net.Http.Headers.ContentDispositionHeaderValue" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ContentLength", - "Parameters": [], - "ReturnType": "System.Nullable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ContentLength", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ContentRange", - "Parameters": [], - "ReturnType": "Microsoft.Net.Http.Headers.ContentRangeHeaderValue", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ContentRange", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.Net.Http.Headers.ContentRangeHeaderValue" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ContentType", - "Parameters": [], - "ReturnType": "Microsoft.Net.Http.Headers.MediaTypeHeaderValue", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ContentType", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.Net.Http.Headers.MediaTypeHeaderValue" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Cookie", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Cookie", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IList" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Date", - "Parameters": [], - "ReturnType": "System.Nullable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Date", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "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_Host", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HostString", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Host", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.HostString" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IfMatch", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IfMatch", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IList" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IfModifiedSince", - "Parameters": [], - "ReturnType": "System.Nullable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IfModifiedSince", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IfNoneMatch", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IfNoneMatch", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IList" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IfRange", - "Parameters": [], - "ReturnType": "Microsoft.Net.Http.Headers.RangeConditionHeaderValue", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IfRange", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.Net.Http.Headers.RangeConditionHeaderValue" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IfUnmodifiedSince", - "Parameters": [], - "ReturnType": "System.Nullable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IfUnmodifiedSince", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_LastModified", - "Parameters": [], - "ReturnType": "System.Nullable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_LastModified", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Range", - "Parameters": [], - "ReturnType": "Microsoft.Net.Http.Headers.RangeHeaderValue", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Range", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.Net.Http.Headers.RangeHeaderValue" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Referer", - "Parameters": [], - "ReturnType": "System.Uri", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Referer", - "Parameters": [ - { - "Name": "value", - "Type": "System.Uri" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Get", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "GetList", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - } - ], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "Set", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetList", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "System.Collections.Generic.IList" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "Append", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AppendList", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "System.Collections.Generic.IList" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "headers", - "Type": "Microsoft.AspNetCore.Http.IHeaderDictionary" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Headers.ResponseHeaders", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Headers", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.IHeaderDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_CacheControl", - "Parameters": [], - "ReturnType": "Microsoft.Net.Http.Headers.CacheControlHeaderValue", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_CacheControl", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.Net.Http.Headers.CacheControlHeaderValue" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ContentDisposition", - "Parameters": [], - "ReturnType": "Microsoft.Net.Http.Headers.ContentDispositionHeaderValue", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ContentDisposition", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.Net.Http.Headers.ContentDispositionHeaderValue" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ContentLength", - "Parameters": [], - "ReturnType": "System.Nullable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ContentLength", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ContentRange", - "Parameters": [], - "ReturnType": "Microsoft.Net.Http.Headers.ContentRangeHeaderValue", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ContentRange", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.Net.Http.Headers.ContentRangeHeaderValue" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ContentType", - "Parameters": [], - "ReturnType": "Microsoft.Net.Http.Headers.MediaTypeHeaderValue", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ContentType", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.Net.Http.Headers.MediaTypeHeaderValue" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Date", - "Parameters": [], - "ReturnType": "System.Nullable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Date", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ETag", - "Parameters": [], - "ReturnType": "Microsoft.Net.Http.Headers.EntityTagHeaderValue", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ETag", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.Net.Http.Headers.EntityTagHeaderValue" - } - ], - "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_LastModified", - "Parameters": [], - "ReturnType": "System.Nullable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_LastModified", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Location", - "Parameters": [], - "ReturnType": "System.Uri", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Location", - "Parameters": [ - { - "Name": "value", - "Type": "System.Uri" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SetCookie", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SetCookie", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IList" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Get", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "GetList", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - } - ], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "Set", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetList", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "System.Collections.Generic.IList" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "Append", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AppendList", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "System.Collections.Generic.IList" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "headers", - "Type": "Microsoft.AspNetCore.Http.IHeaderDictionary" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Extensions.HttpRequestMultipartExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetMultipartBoundary", - "Parameters": [ - { - "Name": "request", - "Type": "Microsoft.AspNetCore.Http.HttpRequest" - } - ], - "ReturnType": "System.String", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Extensions.QueryBuilder", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "System.Collections.Generic.IEnumerable>" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Add", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Add", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ToString", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ToQueryString", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.QueryString", - "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": "GetEnumerator", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerator>", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IEnumerable>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "parameters", - "Type": "System.Collections.Generic.IEnumerable>" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Extensions.StreamCopyOperation", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "CopyToAsync", - "Parameters": [ - { - "Name": "source", - "Type": "System.IO.Stream" - }, - { - "Name": "destination", - "Type": "System.IO.Stream" - }, - { - "Name": "count", - "Type": "System.Nullable" - }, - { - "Name": "cancel", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CopyToAsync", - "Parameters": [ - { - "Name": "source", - "Type": "System.IO.Stream" - }, - { - "Name": "destination", - "Type": "System.IO.Stream" - }, - { - "Name": "count", - "Type": "System.Nullable" - }, - { - "Name": "bufferSize", - "Type": "System.Int32" - }, - { - "Name": "cancel", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Extensions.UriHelper", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "BuildRelative", - "Parameters": [ - { - "Name": "pathBase", - "Type": "Microsoft.AspNetCore.Http.PathString", - "DefaultValue": "default(Microsoft.AspNetCore.Http.PathString)" - }, - { - "Name": "path", - "Type": "Microsoft.AspNetCore.Http.PathString", - "DefaultValue": "default(Microsoft.AspNetCore.Http.PathString)" - }, - { - "Name": "query", - "Type": "Microsoft.AspNetCore.Http.QueryString", - "DefaultValue": "default(Microsoft.AspNetCore.Http.QueryString)" - }, - { - "Name": "fragment", - "Type": "Microsoft.AspNetCore.Http.FragmentString", - "DefaultValue": "default(Microsoft.AspNetCore.Http.FragmentString)" - } - ], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BuildAbsolute", - "Parameters": [ - { - "Name": "scheme", - "Type": "System.String" - }, - { - "Name": "host", - "Type": "Microsoft.AspNetCore.Http.HostString" - }, - { - "Name": "pathBase", - "Type": "Microsoft.AspNetCore.Http.PathString", - "DefaultValue": "default(Microsoft.AspNetCore.Http.PathString)" - }, - { - "Name": "path", - "Type": "Microsoft.AspNetCore.Http.PathString", - "DefaultValue": "default(Microsoft.AspNetCore.Http.PathString)" - }, - { - "Name": "query", - "Type": "Microsoft.AspNetCore.Http.QueryString", - "DefaultValue": "default(Microsoft.AspNetCore.Http.QueryString)" - }, - { - "Name": "fragment", - "Type": "Microsoft.AspNetCore.Http.FragmentString", - "DefaultValue": "default(Microsoft.AspNetCore.Http.FragmentString)" - } - ], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FromAbsolute", - "Parameters": [ - { - "Name": "uri", - "Type": "System.String" - }, - { - "Name": "scheme", - "Type": "System.String", - "Direction": "Out" - }, - { - "Name": "host", - "Type": "Microsoft.AspNetCore.Http.HostString", - "Direction": "Out" - }, - { - "Name": "path", - "Type": "Microsoft.AspNetCore.Http.PathString", - "Direction": "Out" - }, - { - "Name": "query", - "Type": "Microsoft.AspNetCore.Http.QueryString", - "Direction": "Out" - }, - { - "Name": "fragment", - "Type": "Microsoft.AspNetCore.Http.FragmentString", - "Direction": "Out" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Encode", - "Parameters": [ - { - "Name": "uri", - "Type": "System.Uri" - } - ], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetEncodedUrl", - "Parameters": [ - { - "Name": "request", - "Type": "Microsoft.AspNetCore.Http.HttpRequest" - } - ], - "ReturnType": "System.String", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetEncodedPathAndQuery", - "Parameters": [ - { - "Name": "request", - "Type": "Microsoft.AspNetCore.Http.HttpRequest" - } - ], - "ReturnType": "System.String", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetDisplayUrl", - "Parameters": [ - { - "Name": "request", - "Type": "Microsoft.AspNetCore.Http.HttpRequest" - } - ], - "ReturnType": "System.String", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Http/Http.Features/ref/Microsoft.AspNetCore.Http.Features.netstandard2.0.cs b/src/Http/Http.Features/ref/Microsoft.AspNetCore.Http.Features.netstandard2.0.cs index 4c2ccde3cc..48f381bb96 100644 --- a/src/Http/Http.Features/ref/Microsoft.AspNetCore.Http.Features.netstandard2.0.cs +++ b/src/Http/Http.Features/ref/Microsoft.AspNetCore.Http.Features.netstandard2.0.cs @@ -84,8 +84,8 @@ namespace Microsoft.AspNetCore.Http } public enum SameSiteMode { - Lax = 1, None = 0, + Lax = 1, Strict = 2, } public partial class WebSocketAcceptContext @@ -133,9 +133,9 @@ namespace Microsoft.AspNetCore.Http.Features } public enum HttpsCompressionMode { - Compress = 2, Default = 0, DoNotCompress = 1, + Compress = 2, } public partial interface IFeatureCollection : System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable { diff --git a/src/Http/Http.Features/src/baseline.netcore.json b/src/Http/Http.Features/src/baseline.netcore.json deleted file mode 100644 index 6af2ceccf9..0000000000 --- a/src/Http/Http.Features/src/baseline.netcore.json +++ /dev/null @@ -1,2727 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Http.Features, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.Http.CookieOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "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_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_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_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.AspNetCore.Http.SameSiteMode", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SameSite", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.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": "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_IsEssential", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IsEssential", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.IFormCollection", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "System.Collections.Generic.IEnumerable>" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Count", - "Parameters": [], - "ReturnType": "System.Int32", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Keys", - "Parameters": [], - "ReturnType": "System.Collections.Generic.ICollection", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ContainsKey", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TryGetValue", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "Microsoft.Extensions.Primitives.StringValues", - "Direction": "Out" - } - ], - "ReturnType": "System.Boolean", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Item", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.Extensions.Primitives.StringValues", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Files", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.IFormFileCollection", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.IFormFile", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ContentType", - "Parameters": [], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ContentDisposition", - "Parameters": [], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Headers", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.IHeaderDictionary", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Length", - "Parameters": [], - "ReturnType": "System.Int64", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Name", - "Parameters": [], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_FileName", - "Parameters": [], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OpenReadStream", - "Parameters": [], - "ReturnType": "System.IO.Stream", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CopyTo", - "Parameters": [ - { - "Name": "target", - "Type": "System.IO.Stream" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CopyToAsync", - "Parameters": [ - { - "Name": "target", - "Type": "System.IO.Stream" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.IFormFileCollection", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "System.Collections.Generic.IReadOnlyList" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Item", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Http.IFormFile", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetFile", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Http.IFormFile", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetFiles", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - } - ], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.IHeaderDictionary", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "System.Collections.Generic.IDictionary" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Item", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.Extensions.Primitives.StringValues", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Item", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "Microsoft.Extensions.Primitives.StringValues" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ContentLength", - "Parameters": [], - "ReturnType": "System.Nullable", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ContentLength", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.IQueryCollection", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "System.Collections.Generic.IEnumerable>" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Count", - "Parameters": [], - "ReturnType": "System.Int32", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Keys", - "Parameters": [], - "ReturnType": "System.Collections.Generic.ICollection", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ContainsKey", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TryGetValue", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "Microsoft.Extensions.Primitives.StringValues", - "Direction": "Out" - } - ], - "ReturnType": "System.Boolean", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Item", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.Extensions.Primitives.StringValues", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.IRequestCookieCollection", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "System.Collections.Generic.IEnumerable>" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Count", - "Parameters": [], - "ReturnType": "System.Int32", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Keys", - "Parameters": [], - "ReturnType": "System.Collections.Generic.ICollection", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ContainsKey", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TryGetValue", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.String", - "Direction": "Out" - } - ], - "ReturnType": "System.Boolean", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Item", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.IResponseCookies", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Append", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Append", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.String" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Http.CookieOptions" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Delete", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Delete", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Http.CookieOptions" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.ISession", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_IsAvailable", - "Parameters": [], - "ReturnType": "System.Boolean", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Id", - "Parameters": [], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Keys", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "LoadAsync", - "Parameters": [ - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CommitAsync", - "Parameters": [ - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TryGetValue", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Byte[]", - "Direction": "Out" - } - ], - "ReturnType": "System.Boolean", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Set", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Byte[]" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Remove", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Clear", - "Parameters": [], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.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.AspNetCore.Http.WebSocketAcceptContext", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_SubProtocol", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SubProtocol", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Features.FeatureCollection", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Http.Features.IFeatureCollection" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetEnumerator", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerator>", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IEnumerable>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Revision", - "Parameters": [], - "ReturnType": "System.Int32", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IFeatureCollection", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsReadOnly", - "Parameters": [], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IFeatureCollection", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Item", - "Parameters": [ - { - "Name": "key", - "Type": "System.Type" - } - ], - "ReturnType": "System.Object", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IFeatureCollection", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Item", - "Parameters": [ - { - "Name": "key", - "Type": "System.Type" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IFeatureCollection", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Get", - "Parameters": [], - "ReturnType": "T0", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IFeatureCollection", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TFeature", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "Set", - "Parameters": [ - { - "Name": "instance", - "Type": "T0" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IFeatureCollection", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TFeature", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "defaults", - "Type": "Microsoft.AspNetCore.Http.Features.IFeatureCollection" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Features.FeatureReference", - "Visibility": "Public", - "Kind": "Struct", - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Fetch", - "Parameters": [ - { - "Name": "features", - "Type": "Microsoft.AspNetCore.Http.Features.IFeatureCollection" - } - ], - "ReturnType": "T0", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Update", - "Parameters": [ - { - "Name": "features", - "Type": "Microsoft.AspNetCore.Http.Features.IFeatureCollection" - }, - { - "Name": "feature", - "Type": "T0" - } - ], - "ReturnType": "T0", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "Default", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.Features.FeatureReference", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Http.Features.FeatureReferences", - "Visibility": "Public", - "Kind": "Struct", - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Collection", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.Features.IFeatureCollection", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Revision", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Fetch", - "Parameters": [ - { - "Name": "cached", - "Type": "T0", - "Direction": "Ref" - }, - { - "Name": "state", - "Type": "T1" - }, - { - "Name": "factory", - "Type": "System.Func" - } - ], - "ReturnType": "T0", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TFeature", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TState", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "Fetch", - "Parameters": [ - { - "Name": "cached", - "Type": "T0", - "Direction": "Ref" - }, - { - "Name": "factory", - "Type": "System.Func" - } - ], - "ReturnType": "T0", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TFeature", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "collection", - "Type": "Microsoft.AspNetCore.Http.Features.IFeatureCollection" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "Cache", - "Parameters": [], - "ReturnType": "T0", - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TCache", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Http.Features.IFeatureCollection", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "System.Collections.Generic.IEnumerable>" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_IsReadOnly", - "Parameters": [], - "ReturnType": "System.Boolean", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Revision", - "Parameters": [], - "ReturnType": "System.Int32", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Item", - "Parameters": [ - { - "Name": "key", - "Type": "System.Type" - } - ], - "ReturnType": "System.Object", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Item", - "Parameters": [ - { - "Name": "key", - "Type": "System.Type" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Get", - "Parameters": [], - "ReturnType": "T0", - "GenericParameter": [ - { - "ParameterName": "TFeature", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "Set", - "Parameters": [ - { - "Name": "instance", - "Type": "T0" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [ - { - "ParameterName": "TFeature", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Features.IFormFeature", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_HasFormContentType", - "Parameters": [], - "ReturnType": "System.Boolean", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Form", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.IFormCollection", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Form", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.IFormCollection" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ReadForm", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.IFormCollection", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ReadFormAsync", - "Parameters": [ - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Features.IHttpBodyControlFeature", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_AllowSynchronousIO", - "Parameters": [], - "ReturnType": "System.Boolean", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AllowSynchronousIO", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Features.IHttpBufferingFeature", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "DisableRequestBuffering", - "Parameters": [], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DisableResponseBuffering", - "Parameters": [], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Features.IHttpConnectionFeature", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ConnectionId", - "Parameters": [], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ConnectionId", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RemoteIpAddress", - "Parameters": [], - "ReturnType": "System.Net.IPAddress", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RemoteIpAddress", - "Parameters": [ - { - "Name": "value", - "Type": "System.Net.IPAddress" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_LocalIpAddress", - "Parameters": [], - "ReturnType": "System.Net.IPAddress", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_LocalIpAddress", - "Parameters": [ - { - "Name": "value", - "Type": "System.Net.IPAddress" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RemotePort", - "Parameters": [], - "ReturnType": "System.Int32", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RemotePort", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_LocalPort", - "Parameters": [], - "ReturnType": "System.Int32", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_LocalPort", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Features.IHttpMaxRequestBodySizeFeature", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_IsReadOnly", - "Parameters": [], - "ReturnType": "System.Boolean", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MaxRequestBodySize", - "Parameters": [], - "ReturnType": "System.Nullable", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MaxRequestBodySize", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Features.IHttpRequestFeature", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Protocol", - "Parameters": [], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Protocol", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Scheme", - "Parameters": [], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Scheme", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Method", - "Parameters": [], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Method", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PathBase", - "Parameters": [], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_PathBase", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Path", - "Parameters": [], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Path", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_QueryString", - "Parameters": [], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_QueryString", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RawTarget", - "Parameters": [], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RawTarget", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Headers", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.IHeaderDictionary", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Headers", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.IHeaderDictionary" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Body", - "Parameters": [], - "ReturnType": "System.IO.Stream", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Body", - "Parameters": [ - { - "Name": "value", - "Type": "System.IO.Stream" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Features.IHttpRequestIdentifierFeature", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_TraceIdentifier", - "Parameters": [], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_TraceIdentifier", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Features.IHttpRequestLifetimeFeature", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_RequestAborted", - "Parameters": [], - "ReturnType": "System.Threading.CancellationToken", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RequestAborted", - "Parameters": [ - { - "Name": "value", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Abort", - "Parameters": [], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Features.IHttpResponseFeature", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_StatusCode", - "Parameters": [], - "ReturnType": "System.Int32", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_StatusCode", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ReasonPhrase", - "Parameters": [], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ReasonPhrase", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Headers", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.IHeaderDictionary", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Headers", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.IHeaderDictionary" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Body", - "Parameters": [], - "ReturnType": "System.IO.Stream", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Body", - "Parameters": [ - { - "Name": "value", - "Type": "System.IO.Stream" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HasStarted", - "Parameters": [], - "ReturnType": "System.Boolean", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnStarting", - "Parameters": [ - { - "Name": "callback", - "Type": "System.Func" - }, - { - "Name": "state", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnCompleted", - "Parameters": [ - { - "Name": "callback", - "Type": "System.Func" - }, - { - "Name": "state", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Features.IHttpSendFileFeature", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "SendFileAsync", - "Parameters": [ - { - "Name": "path", - "Type": "System.String" - }, - { - "Name": "offset", - "Type": "System.Int64" - }, - { - "Name": "count", - "Type": "System.Nullable" - }, - { - "Name": "cancellation", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Features.IHttpUpgradeFeature", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_IsUpgradableRequest", - "Parameters": [], - "ReturnType": "System.Boolean", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UpgradeAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Features.IHttpWebSocketFeature", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_IsWebSocketRequest", - "Parameters": [], - "ReturnType": "System.Boolean", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AcceptAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.WebSocketAcceptContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Features.IItemsFeature", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Items", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Items", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IDictionary" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Features.IQueryFeature", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Query", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.IQueryCollection", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Query", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.IQueryCollection" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Features.IRequestCookiesFeature", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Cookies", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.IRequestCookieCollection", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Cookies", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.IRequestCookieCollection" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Features.IResponseCookiesFeature", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Cookies", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.IResponseCookies", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Features.IServiceProvidersFeature", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_RequestServices", - "Parameters": [], - "ReturnType": "System.IServiceProvider", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RequestServices", - "Parameters": [ - { - "Name": "value", - "Type": "System.IServiceProvider" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Features.ISessionFeature", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Session", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.ISession", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Session", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.ISession" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Features.ITlsConnectionFeature", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ClientCertificate", - "Parameters": [], - "ReturnType": "System.Security.Cryptography.X509Certificates.X509Certificate2", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ClientCertificate", - "Parameters": [ - { - "Name": "value", - "Type": "System.Security.Cryptography.X509Certificates.X509Certificate2" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetClientCertificateAsync", - "Parameters": [ - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Features.ITlsTokenBindingFeature", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetProvidedTokenBindingId", - "Parameters": [], - "ReturnType": "System.Byte[]", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetReferredTokenBindingId", - "Parameters": [], - "ReturnType": "System.Byte[]", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Features.ITrackingConsentFeature", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_IsConsentNeeded", - "Parameters": [], - "ReturnType": "System.Boolean", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HasConsent", - "Parameters": [], - "ReturnType": "System.Boolean", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_CanTrack", - "Parameters": [], - "ReturnType": "System.Boolean", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GrantConsent", - "Parameters": [], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WithdrawConsent", - "Parameters": [], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateConsentCookie", - "Parameters": [], - "ReturnType": "System.String", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Features.Authentication.AuthenticateContext", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_AuthenticationScheme", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Accepted", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Principal", - "Parameters": [], - "ReturnType": "System.Security.Claims.ClaimsPrincipal", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Properties", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Description", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Error", - "Parameters": [], - "ReturnType": "System.Exception", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Authenticated", - "Parameters": [ - { - "Name": "principal", - "Type": "System.Security.Claims.ClaimsPrincipal" - }, - { - "Name": "properties", - "Type": "System.Collections.Generic.IDictionary" - }, - { - "Name": "description", - "Type": "System.Collections.Generic.IDictionary" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "NotAuthenticated", - "Parameters": [], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Failed", - "Parameters": [ - { - "Name": "error", - "Type": "System.Exception" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "authenticationScheme", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Features.Authentication.ChallengeBehavior", - "Visibility": "Public", - "Kind": "Enumeration", - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "Automatic", - "Parameters": [], - "GenericParameter": [], - "Literal": "0" - }, - { - "Kind": "Field", - "Name": "Unauthorized", - "Parameters": [], - "GenericParameter": [], - "Literal": "1" - }, - { - "Kind": "Field", - "Name": "Forbidden", - "Parameters": [], - "GenericParameter": [], - "Literal": "2" - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Features.Authentication.ChallengeContext", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_AuthenticationScheme", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Behavior", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.Features.Authentication.ChallengeBehavior", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Properties", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Accepted", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Accept", - "Parameters": [], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "authenticationScheme", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "authenticationScheme", - "Type": "System.String" - }, - { - "Name": "properties", - "Type": "System.Collections.Generic.IDictionary" - }, - { - "Name": "behavior", - "Type": "Microsoft.AspNetCore.Http.Features.Authentication.ChallengeBehavior" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Features.Authentication.DescribeSchemesContext", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Results", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Accept", - "Parameters": [ - { - "Name": "description", - "Type": "System.Collections.Generic.IDictionary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Features.Authentication.IAuthenticationHandler", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetDescriptions", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.Features.Authentication.DescribeSchemesContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AuthenticateAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.Features.Authentication.AuthenticateContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ChallengeAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.Features.Authentication.ChallengeContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SignInAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.Features.Authentication.SignInContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SignOutAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.Features.Authentication.SignOutContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Features.Authentication.IHttpAuthenticationFeature", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_User", - "Parameters": [], - "ReturnType": "System.Security.Claims.ClaimsPrincipal", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_User", - "Parameters": [ - { - "Name": "value", - "Type": "System.Security.Claims.ClaimsPrincipal" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Handler", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.Features.Authentication.IAuthenticationHandler", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Handler", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.Features.Authentication.IAuthenticationHandler" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Features.Authentication.SignInContext", - "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": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Accepted", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Accept", - "Parameters": [], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "authenticationScheme", - "Type": "System.String" - }, - { - "Name": "principal", - "Type": "System.Security.Claims.ClaimsPrincipal" - }, - { - "Name": "properties", - "Type": "System.Collections.Generic.IDictionary" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Features.Authentication.SignOutContext", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_AuthenticationScheme", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Properties", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Accepted", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Accept", - "Parameters": [], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "authenticationScheme", - "Type": "System.String" - }, - { - "Name": "properties", - "Type": "System.Collections.Generic.IDictionary" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Http/Http.Features/src/breakingchanges.netcore.json b/src/Http/Http.Features/src/breakingchanges.netcore.json deleted file mode 100644 index 0f81c85dfa..0000000000 --- a/src/Http/Http.Features/src/breakingchanges.netcore.json +++ /dev/null @@ -1,57 +0,0 @@ - [ - { - "TypeId": "public class Microsoft.AspNetCore.Http.Features.Authentication.AuthenticateContext", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Http.Features.Authentication.ChallengeContext", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Http.Features.Authentication.DescribeSchemesContext", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Http.Authentication.AuthenticateInfo", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Http.Authentication.AuthenticationDescription", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties", - "Kind": "Removal" - }, - { - "TypeId": "public abstract class Microsoft.AspNetCore.Http.HttpContext", - "MemberId": "public abstract Microsoft.AspNetCore.Http.Authentication.AuthenticationManager get_Authentication()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Http.Features.Authentication.SignInContext", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Http.Features.Authentication.SignOutContext", - "Kind": "Removal" - }, - { - "TypeId": "public enum Microsoft.AspNetCore.Http.Features.Authentication.ChallengeBehavior", - "Kind": "Removal" - }, - { - "TypeId": "public interface Microsoft.AspNetCore.Http.Features.Authentication.IAuthenticationHandler", - "Kind": "Removal" - }, - { - "TypeId": "public interface Microsoft.AspNetCore.Http.Features.Authentication.IHttpAuthenticationFeature", - "MemberId": "Microsoft.AspNetCore.Http.Features.Authentication.IAuthenticationHandler get_Handler()", - "Kind": "Removal" - }, - { - "TypeId": "public interface Microsoft.AspNetCore.Http.Features.Authentication.IHttpAuthenticationFeature", - "MemberId": "System.Void set_Handler(Microsoft.AspNetCore.Http.Features.Authentication.IAuthenticationHandler value)", - "Kind": "Removal" - } - ] \ No newline at end of file diff --git a/src/Http/Http/ref/Microsoft.AspNetCore.Http.netcoreapp3.0.cs b/src/Http/Http/ref/Microsoft.AspNetCore.Http.netcoreapp3.0.cs index 82c72e693b..16ad1810c3 100644 --- a/src/Http/Http/ref/Microsoft.AspNetCore.Http.netcoreapp3.0.cs +++ b/src/Http/Http/ref/Microsoft.AspNetCore.Http.netcoreapp3.0.cs @@ -249,7 +249,6 @@ namespace Microsoft.AspNetCore.Http.Features public RequestServicesFeature(Microsoft.AspNetCore.Http.HttpContext context, Microsoft.Extensions.DependencyInjection.IServiceScopeFactory scopeFactory) { } public System.IServiceProvider RequestServices { get { throw null; } set { } } public void Dispose() { } - [System.Diagnostics.DebuggerStepThroughAttribute] public System.Threading.Tasks.ValueTask DisposeAsync() { throw null; } } public partial class ResponseBodyPipeFeature : Microsoft.AspNetCore.Http.Features.IResponseBodyPipeFeature diff --git a/src/Http/Http/src/Features/RequestServicesFeature.cs b/src/Http/Http/src/Features/RequestServicesFeature.cs index 151002d7fa..6585127367 100644 --- a/src/Http/Http/src/Features/RequestServicesFeature.cs +++ b/src/Http/Http/src/Features/RequestServicesFeature.cs @@ -42,12 +42,19 @@ namespace Microsoft.AspNetCore.Http.Features } } - public async ValueTask DisposeAsync() + public ValueTask DisposeAsync() { switch (_scope) { case IAsyncDisposable asyncDisposable: - await asyncDisposable.DisposeAsync(); + var vt = asyncDisposable.DisposeAsync(); + if (!vt.IsCompletedSuccessfully) + { + return Awaited(this, vt); + } + // If its a IValueTaskSource backed ValueTask, + // inform it its result has been read so it can reset + vt.GetAwaiter().GetResult(); break; case IDisposable disposable: disposable.Dispose(); @@ -56,6 +63,15 @@ namespace Microsoft.AspNetCore.Http.Features _scope = null; _requestServices = null; + + return default; + + static async ValueTask Awaited(RequestServicesFeature servicesFeature, ValueTask vt) + { + await vt; + servicesFeature._scope = null; + servicesFeature._requestServices = null; + } } public void Dispose() diff --git a/src/Http/Http/src/Internal/BindingAddress.cs b/src/Http/Http/src/Internal/BindingAddress.cs index 492fa23dbe..b5f008b091 100644 --- a/src/Http/Http/src/Internal/BindingAddress.cs +++ b/src/Http/Http/src/Internal/BindingAddress.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; @@ -43,7 +43,7 @@ namespace Microsoft.AspNetCore.Http.Internal } else { - return Scheme.ToLowerInvariant() + "://" + Host.ToLowerInvariant() + ":" + Port.ToString(CultureInfo.InvariantCulture) + PathBase.ToString(CultureInfo.InvariantCulture); + return Scheme.ToLowerInvariant() + "://" + Host.ToLowerInvariant() + ":" + Port.ToString(CultureInfo.InvariantCulture) + PathBase; } } diff --git a/src/Http/Http/src/Internal/ReferenceReadStream.cs b/src/Http/Http/src/Internal/ReferenceReadStream.cs index c36a59d010..2d14cc4311 100644 --- a/src/Http/Http/src/Internal/ReferenceReadStream.cs +++ b/src/Http/Http/src/Internal/ReferenceReadStream.cs @@ -11,7 +11,7 @@ namespace Microsoft.AspNetCore.Http.Internal /// /// A Stream that wraps another stream starting at a certain offset and reading for the given length. /// - internal class ReferenceReadStream : Stream + internal sealed class ReferenceReadStream : Stream { private readonly Stream _inner; private readonly long _innerOffset; diff --git a/src/Http/Http/src/baseline.netcore.json b/src/Http/Http/src/baseline.netcore.json deleted file mode 100644 index 932bd2b6e4..0000000000 --- a/src/Http/Http/src/baseline.netcore.json +++ /dev/null @@ -1,2783 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Http, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.Http.DefaultHttpContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Http.HttpContext", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Initialize", - "Parameters": [ - { - "Name": "features", - "Type": "Microsoft.AspNetCore.Http.Features.IFeatureCollection" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Uninitialize", - "Parameters": [], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Features", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.Features.IFeatureCollection", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Request", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HttpRequest", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Response", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HttpResponse", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Connection", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.ConnectionInfo", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Authentication", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.Authentication.AuthenticationManager", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_WebSockets", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.WebSocketManager", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_User", - "Parameters": [], - "ReturnType": "System.Security.Claims.ClaimsPrincipal", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_User", - "Parameters": [ - { - "Name": "value", - "Type": "System.Security.Claims.ClaimsPrincipal" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Items", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Items", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IDictionary" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RequestServices", - "Parameters": [], - "ReturnType": "System.IServiceProvider", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RequestServices", - "Parameters": [ - { - "Name": "value", - "Type": "System.IServiceProvider" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RequestAborted", - "Parameters": [], - "ReturnType": "System.Threading.CancellationToken", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RequestAborted", - "Parameters": [ - { - "Name": "value", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TraceIdentifier", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_TraceIdentifier", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Session", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.ISession", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Session", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.ISession" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Abort", - "Parameters": [], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "InitializeHttpRequest", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HttpRequest", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UninitializeHttpRequest", - "Parameters": [ - { - "Name": "instance", - "Type": "Microsoft.AspNetCore.Http.HttpRequest" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "InitializeHttpResponse", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HttpResponse", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UninitializeHttpResponse", - "Parameters": [ - { - "Name": "instance", - "Type": "Microsoft.AspNetCore.Http.HttpResponse" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "InitializeConnectionInfo", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.ConnectionInfo", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UninitializeConnectionInfo", - "Parameters": [ - { - "Name": "instance", - "Type": "Microsoft.AspNetCore.Http.ConnectionInfo" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "InitializeAuthenticationManager", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.Authentication.AuthenticationManager", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UninitializeAuthenticationManager", - "Parameters": [ - { - "Name": "instance", - "Type": "Microsoft.AspNetCore.Http.Authentication.AuthenticationManager" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "InitializeWebSocketManager", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.WebSocketManager", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UninitializeWebSocketManager", - "Parameters": [ - { - "Name": "instance", - "Type": "Microsoft.AspNetCore.Http.WebSocketManager" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "features", - "Type": "Microsoft.AspNetCore.Http.Features.IFeatureCollection" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.HttpRequestRewindExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "EnableBuffering", - "Parameters": [ - { - "Name": "request", - "Type": "Microsoft.AspNetCore.Http.HttpRequest" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "EnableBuffering", - "Parameters": [ - { - "Name": "request", - "Type": "Microsoft.AspNetCore.Http.HttpRequest" - }, - { - "Name": "bufferThreshold", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "EnableBuffering", - "Parameters": [ - { - "Name": "request", - "Type": "Microsoft.AspNetCore.Http.HttpRequest" - }, - { - "Name": "bufferLimit", - "Type": "System.Int64" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "EnableBuffering", - "Parameters": [ - { - "Name": "request", - "Type": "Microsoft.AspNetCore.Http.HttpRequest" - }, - { - "Name": "bufferThreshold", - "Type": "System.Int32" - }, - { - "Name": "bufferLimit", - "Type": "System.Int64" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.FormCollection", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Http.IFormCollection" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Files", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.IFormFileCollection", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.IFormCollection", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Item", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.Extensions.Primitives.StringValues", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.IFormCollection", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Count", - "Parameters": [], - "ReturnType": "System.Int32", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.IFormCollection", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Keys", - "Parameters": [], - "ReturnType": "System.Collections.Generic.ICollection", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.IFormCollection", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ContainsKey", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.IFormCollection", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TryGetValue", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "Microsoft.Extensions.Primitives.StringValues", - "Direction": "Out" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.IFormCollection", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetEnumerator", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.FormCollection+Enumerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "fields", - "Type": "System.Collections.Generic.Dictionary" - }, - { - "Name": "files", - "Type": "Microsoft.AspNetCore.Http.IFormFileCollection", - "DefaultValue": "null" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "Empty", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.FormCollection", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.HeaderDictionary", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Http.IHeaderDictionary" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Keys", - "Parameters": [], - "ReturnType": "System.Collections.Generic.ICollection", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Values", - "Parameters": [], - "ReturnType": "System.Collections.Generic.ICollection", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ContainsKey", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Add", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "Microsoft.Extensions.Primitives.StringValues" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Remove", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TryGetValue", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "Microsoft.Extensions.Primitives.StringValues", - "Direction": "Out" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Count", - "Parameters": [], - "ReturnType": "System.Int32", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.ICollection>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsReadOnly", - "Parameters": [], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.ICollection>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Add", - "Parameters": [ - { - "Name": "item", - "Type": "System.Collections.Generic.KeyValuePair" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.ICollection>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Clear", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.ICollection>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Contains", - "Parameters": [ - { - "Name": "item", - "Type": "System.Collections.Generic.KeyValuePair" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.ICollection>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CopyTo", - "Parameters": [ - { - "Name": "array", - "Type": "System.Collections.Generic.KeyValuePair[]" - }, - { - "Name": "arrayIndex", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.ICollection>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Remove", - "Parameters": [ - { - "Name": "item", - "Type": "System.Collections.Generic.KeyValuePair" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.ICollection>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Item", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.Extensions.Primitives.StringValues", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.IHeaderDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Item", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "Microsoft.Extensions.Primitives.StringValues" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.IHeaderDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ContentLength", - "Parameters": [], - "ReturnType": "System.Nullable", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.IHeaderDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ContentLength", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.IHeaderDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IsReadOnly", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetEnumerator", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HeaderDictionary+Enumerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "store", - "Type": "System.Collections.Generic.Dictionary" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "capacity", - "Type": "System.Int32" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.HttpContextAccessor", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Http.IHttpContextAccessor" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_HttpContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HttpContext", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.IHttpContextAccessor", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_HttpContext", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.IHttpContextAccessor", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.HttpContextFactory", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Http.IHttpContextFactory" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Create", - "Parameters": [ - { - "Name": "featureCollection", - "Type": "Microsoft.AspNetCore.Http.Features.IFeatureCollection" - } - ], - "ReturnType": "Microsoft.AspNetCore.Http.HttpContext", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.IHttpContextFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Dispose", - "Parameters": [ - { - "Name": "httpContext", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.IHttpContextFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "formOptions", - "Type": "Microsoft.Extensions.Options.IOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "formOptions", - "Type": "Microsoft.Extensions.Options.IOptions" - }, - { - "Name": "httpContextAccessor", - "Type": "Microsoft.AspNetCore.Http.IHttpContextAccessor" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.MiddlewareFactory", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Http.IMiddlewareFactory" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Create", - "Parameters": [ - { - "Name": "middlewareType", - "Type": "System.Type" - } - ], - "ReturnType": "Microsoft.AspNetCore.Http.IMiddleware", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.IMiddlewareFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Release", - "Parameters": [ - { - "Name": "middleware", - "Type": "Microsoft.AspNetCore.Http.IMiddleware" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.IMiddlewareFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "serviceProvider", - "Type": "System.IServiceProvider" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.RequestFormReaderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ReadFormAsync", - "Parameters": [ - { - "Name": "request", - "Type": "Microsoft.AspNetCore.Http.HttpRequest" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Http.Features.FormOptions" - }, - { - "Name": "cancellationToken", - "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.Http.Features.DefaultSessionFeature", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Http.Features.ISessionFeature" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Session", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.ISession", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.ISessionFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Session", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.ISession" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.ISessionFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Features.FormFeature", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Http.Features.IFormFeature" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_HasFormContentType", - "Parameters": [], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IFormFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Form", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.IFormCollection", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IFormFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Form", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.IFormCollection" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IFormFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ReadForm", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.IFormCollection", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IFormFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ReadFormAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ReadFormAsync", - "Parameters": [ - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IFormFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "form", - "Type": "Microsoft.AspNetCore.Http.IFormCollection" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "request", - "Type": "Microsoft.AspNetCore.Http.HttpRequest" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "request", - "Type": "Microsoft.AspNetCore.Http.HttpRequest" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Http.Features.FormOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Features.FormOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_BufferBody", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_BufferBody", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MemoryBufferThreshold", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MemoryBufferThreshold", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_BufferBodyLengthLimit", - "Parameters": [], - "ReturnType": "System.Int64", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_BufferBodyLengthLimit", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int64" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ValueCountLimit", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ValueCountLimit", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_KeyLengthLimit", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_KeyLengthLimit", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ValueLengthLimit", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ValueLengthLimit", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MultipartBoundaryLengthLimit", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MultipartBoundaryLengthLimit", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MultipartHeadersCountLimit", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MultipartHeadersCountLimit", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MultipartHeadersLengthLimit", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MultipartHeadersLengthLimit", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MultipartBodyLengthLimit", - "Parameters": [], - "ReturnType": "System.Int64", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MultipartBodyLengthLimit", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int64" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "DefaultMemoryBufferThreshold", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "65536" - }, - { - "Kind": "Field", - "Name": "DefaultBufferBodyLengthLimit", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "134217728" - }, - { - "Kind": "Field", - "Name": "DefaultMultipartBoundaryLengthLimit", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "128" - }, - { - "Kind": "Field", - "Name": "DefaultMultipartBodyLengthLimit", - "Parameters": [], - "ReturnType": "System.Int64", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "134217728" - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Features.HttpConnectionFeature", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Http.Features.IHttpConnectionFeature" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_ConnectionId", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IHttpConnectionFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ConnectionId", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IHttpConnectionFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_LocalIpAddress", - "Parameters": [], - "ReturnType": "System.Net.IPAddress", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IHttpConnectionFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_LocalIpAddress", - "Parameters": [ - { - "Name": "value", - "Type": "System.Net.IPAddress" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IHttpConnectionFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_LocalPort", - "Parameters": [], - "ReturnType": "System.Int32", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IHttpConnectionFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_LocalPort", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IHttpConnectionFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RemoteIpAddress", - "Parameters": [], - "ReturnType": "System.Net.IPAddress", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IHttpConnectionFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RemoteIpAddress", - "Parameters": [ - { - "Name": "value", - "Type": "System.Net.IPAddress" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IHttpConnectionFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RemotePort", - "Parameters": [], - "ReturnType": "System.Int32", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IHttpConnectionFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RemotePort", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IHttpConnectionFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Features.HttpRequestFeature", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Http.Features.IHttpRequestFeature" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Protocol", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IHttpRequestFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Protocol", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IHttpRequestFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Scheme", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IHttpRequestFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Scheme", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IHttpRequestFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Method", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IHttpRequestFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Method", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IHttpRequestFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PathBase", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IHttpRequestFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_PathBase", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IHttpRequestFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Path", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IHttpRequestFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Path", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IHttpRequestFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_QueryString", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IHttpRequestFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_QueryString", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IHttpRequestFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RawTarget", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IHttpRequestFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RawTarget", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IHttpRequestFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Headers", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.IHeaderDictionary", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IHttpRequestFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Headers", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.IHeaderDictionary" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IHttpRequestFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Body", - "Parameters": [], - "ReturnType": "System.IO.Stream", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IHttpRequestFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Body", - "Parameters": [ - { - "Name": "value", - "Type": "System.IO.Stream" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IHttpRequestFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Features.HttpRequestIdentifierFeature", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Http.Features.IHttpRequestIdentifierFeature" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_TraceIdentifier", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IHttpRequestIdentifierFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_TraceIdentifier", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IHttpRequestIdentifierFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Features.HttpRequestLifetimeFeature", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Http.Features.IHttpRequestLifetimeFeature" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_RequestAborted", - "Parameters": [], - "ReturnType": "System.Threading.CancellationToken", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IHttpRequestLifetimeFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RequestAborted", - "Parameters": [ - { - "Name": "value", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IHttpRequestLifetimeFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Abort", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IHttpRequestLifetimeFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Features.HttpResponseFeature", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Http.Features.IHttpResponseFeature" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_StatusCode", - "Parameters": [], - "ReturnType": "System.Int32", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IHttpResponseFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_StatusCode", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IHttpResponseFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ReasonPhrase", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IHttpResponseFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ReasonPhrase", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IHttpResponseFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Headers", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.IHeaderDictionary", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IHttpResponseFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Headers", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.IHeaderDictionary" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IHttpResponseFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Body", - "Parameters": [], - "ReturnType": "System.IO.Stream", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IHttpResponseFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Body", - "Parameters": [ - { - "Name": "value", - "Type": "System.IO.Stream" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IHttpResponseFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HasStarted", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IHttpResponseFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnStarting", - "Parameters": [ - { - "Name": "callback", - "Type": "System.Func" - }, - { - "Name": "state", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IHttpResponseFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnCompleted", - "Parameters": [ - { - "Name": "callback", - "Type": "System.Func" - }, - { - "Name": "state", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IHttpResponseFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Features.ItemsFeature", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Http.Features.IItemsFeature" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Items", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IItemsFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Items", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IDictionary" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IItemsFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Features.QueryFeature", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Http.Features.IQueryFeature" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Query", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.IQueryCollection", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IQueryFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Query", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.IQueryCollection" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IQueryFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "query", - "Type": "Microsoft.AspNetCore.Http.IQueryCollection" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "features", - "Type": "Microsoft.AspNetCore.Http.Features.IFeatureCollection" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Features.RequestCookiesFeature", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Http.Features.IRequestCookiesFeature" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Cookies", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.IRequestCookieCollection", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IRequestCookiesFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Cookies", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.IRequestCookieCollection" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IRequestCookiesFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "cookies", - "Type": "Microsoft.AspNetCore.Http.IRequestCookieCollection" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "features", - "Type": "Microsoft.AspNetCore.Http.Features.IFeatureCollection" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Features.ResponseCookiesFeature", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Http.Features.IResponseCookiesFeature" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Cookies", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.IResponseCookies", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IResponseCookiesFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "features", - "Type": "Microsoft.AspNetCore.Http.Features.IFeatureCollection" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "features", - "Type": "Microsoft.AspNetCore.Http.Features.IFeatureCollection" - }, - { - "Name": "builderPool", - "Type": "Microsoft.Extensions.ObjectPool.ObjectPool" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Features.ServiceProvidersFeature", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Http.Features.IServiceProvidersFeature" - ], - "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": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Features.TlsConnectionFeature", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Http.Features.ITlsConnectionFeature" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_ClientCertificate", - "Parameters": [], - "ReturnType": "System.Security.Cryptography.X509Certificates.X509Certificate2", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.ITlsConnectionFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ClientCertificate", - "Parameters": [ - { - "Name": "value", - "Type": "System.Security.Cryptography.X509Certificates.X509Certificate2" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.ITlsConnectionFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetClientCertificateAsync", - "Parameters": [ - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.ITlsConnectionFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Features.Authentication.HttpAuthenticationFeature", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Http.Features.Authentication.IHttpAuthenticationFeature" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_User", - "Parameters": [], - "ReturnType": "System.Security.Claims.ClaimsPrincipal", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.Authentication.IHttpAuthenticationFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_User", - "Parameters": [ - { - "Name": "value", - "Type": "System.Security.Claims.ClaimsPrincipal" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.Authentication.IHttpAuthenticationFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Handler", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.Features.Authentication.IAuthenticationHandler", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.Authentication.IHttpAuthenticationFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Handler", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.Features.Authentication.IAuthenticationHandler" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.Authentication.IHttpAuthenticationFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.Extensions.DependencyInjection.HttpServiceCollectionExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddHttpContextAccessor", - "Parameters": [ - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IServiceCollection", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.FormCollection+Enumerator", - "Visibility": "Public", - "Kind": "Struct", - "Sealed": true, - "ImplementedInterfaces": [ - "System.Collections.Generic.IEnumerator>" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Dispose", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.IDisposable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MoveNext", - "Parameters": [], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.IEnumerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Current", - "Parameters": [], - "ReturnType": "System.Collections.Generic.KeyValuePair", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IEnumerator>", - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.HeaderDictionary+Enumerator", - "Visibility": "Public", - "Kind": "Struct", - "Sealed": true, - "ImplementedInterfaces": [ - "System.Collections.Generic.IEnumerator>" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Dispose", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.IDisposable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MoveNext", - "Parameters": [], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.IEnumerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Current", - "Parameters": [], - "ReturnType": "System.Collections.Generic.KeyValuePair", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IEnumerator>", - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Http/Http/src/breakingchanges.netcore.json b/src/Http/Http/src/breakingchanges.netcore.json deleted file mode 100644 index 269ffeb119..0000000000 --- a/src/Http/Http/src/breakingchanges.netcore.json +++ /dev/null @@ -1,27 +0,0 @@ - [ - { - "TypeId": "public class Microsoft.AspNetCore.Http.DefaultHttpContext : Microsoft.AspNetCore.Http.HttpContext", - "MemberId": "protected virtual Microsoft.AspNetCore.Http.Authentication.AuthenticationManager InitializeAuthenticationManager()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Http.DefaultHttpContext : Microsoft.AspNetCore.Http.HttpContext", - "MemberId": "protected virtual System.Void UninitializeAuthenticationManager(Microsoft.AspNetCore.Http.Authentication.AuthenticationManager instance)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Http.DefaultHttpContext : Microsoft.AspNetCore.Http.HttpContext", - "MemberId": "public override Microsoft.AspNetCore.Http.Authentication.AuthenticationManager get_Authentication()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Http.Features.Authentication.HttpAuthenticationFeature : Microsoft.AspNetCore.Http.Features.Authentication.IHttpAuthenticationFeature", - "MemberId": "public Microsoft.AspNetCore.Http.Features.Authentication.IAuthenticationHandler get_Handler()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Http.Features.Authentication.HttpAuthenticationFeature : Microsoft.AspNetCore.Http.Features.Authentication.IHttpAuthenticationFeature", - "MemberId": "public System.Void set_Handler(Microsoft.AspNetCore.Http.Features.Authentication.IAuthenticationHandler value)", - "Kind": "Removal" - } - ] \ No newline at end of file diff --git a/src/Http/HttpAbstractions.sln b/src/Http/HttpAbstractions.sln index 07fdd02c67..f585ee6c2d 100644 --- a/src/Http/HttpAbstractions.sln +++ b/src/Http/HttpAbstractions.sln @@ -113,7 +113,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.HttpOv EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Server.IISIntegration", "..\Servers\IIS\IISIntegration\src\Microsoft.AspNetCore.Server.IISIntegration.csproj", "{1062FCDE-E145-40EC-B175-FDBCAA0C59A0}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.AspNetCore.WebUtilities.Performance", "WebUtilities\perf\Microsoft.AspNetCore.WebUtilities.Performance\Microsoft.AspNetCore.WebUtilities.Performance.csproj", "{21AC56E7-4E77-4B0E-B63E-C8E836E4D14E}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.WebUtilities.Performance", "WebUtilities\perf\Microsoft.AspNetCore.WebUtilities.Performance\Microsoft.AspNetCore.WebUtilities.Performance.csproj", "{21AC56E7-4E77-4B0E-B63E-C8E836E4D14E}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -642,7 +642,7 @@ Global {1A866315-5FD5-4F96-BFAC-1447E3CB4514} = {80A090C8-ED02-4DE3-875A-30DCCDBD84BA} {068A1DA0-C7DF-4E3C-9933-4E79A141EFF8} = {80A090C8-ED02-4DE3-875A-30DCCDBD84BA} {8C635944-51F0-4BB0-A89E-CA49A7D9BE7F} = {FB2DCA0F-EB9E-425B-ABBC-D543DBEC090F} - {1A74D674-5D19-4575-B443-8B7ED433EF2B} = {793FFE24-138A-4C3D-81AB-18D625E36230} + {1A74D674-5D19-4575-B443-8B7ED433EF2B} = {14A7B3DE-46C8-4245-B0BD-9AFF3795C163} {B8812D83-0F76-48F4-B716-C7356DB51E72} = {14A7B3DE-46C8-4245-B0BD-9AFF3795C163} {215E7408-A123-4B5F-B625-59ED22031109} = {DC519C5E-CA6E-48CA-BF35-B46305B83013} {8B64326C-A87F-4157-8337-22B5C4D7A4B7} = {DC519C5E-CA6E-48CA-BF35-B46305B83013} diff --git a/src/Http/Owin/src/baseline.netcore.json b/src/Http/Owin/src/baseline.netcore.json deleted file mode 100644 index 8211307418..0000000000 --- a/src/Http/Owin/src/baseline.netcore.json +++ /dev/null @@ -1,1010 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Owin, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.Builder.OwinExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseOwin", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - } - ], - "ReturnType": "System.Action, System.Threading.Tasks.Task>, System.Func, System.Threading.Tasks.Task>>>", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseOwin", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "pipeline", - "Type": "System.Action, System.Threading.Tasks.Task>, System.Func, System.Threading.Tasks.Task>>>>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseBuilder", - "Parameters": [ - { - "Name": "app", - "Type": "System.Action, System.Threading.Tasks.Task>, System.Func, System.Threading.Tasks.Task>>>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseBuilder", - "Parameters": [ - { - "Name": "app", - "Type": "System.Action, System.Threading.Tasks.Task>, System.Func, System.Threading.Tasks.Task>>>" - }, - { - "Name": "serviceProvider", - "Type": "System.IServiceProvider" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseBuilder", - "Parameters": [ - { - "Name": "app", - "Type": "System.Action, System.Threading.Tasks.Task>, System.Func, System.Threading.Tasks.Task>>>" - }, - { - "Name": "pipeline", - "Type": "System.Action" - } - ], - "ReturnType": "System.Action, System.Threading.Tasks.Task>, System.Func, System.Threading.Tasks.Task>>>", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseBuilder", - "Parameters": [ - { - "Name": "app", - "Type": "System.Action, System.Threading.Tasks.Task>, System.Func, System.Threading.Tasks.Task>>>" - }, - { - "Name": "pipeline", - "Type": "System.Action" - }, - { - "Name": "serviceProvider", - "Type": "System.IServiceProvider" - } - ], - "ReturnType": "System.Action, System.Threading.Tasks.Task>, System.Func, System.Threading.Tasks.Task>>>", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Owin.IOwinEnvironmentFeature", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Environment", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Environment", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IDictionary" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Owin.OwinEnvironment", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "System.Collections.Generic.IDictionary" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetEnumerator", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerator>", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IEnumerable>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_FeatureMaps", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Owin.OwinEnvironmentFeature", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Owin.IOwinEnvironmentFeature" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Environment", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Owin.IOwinEnvironmentFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Environment", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IDictionary" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Owin.IOwinEnvironmentFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Owin.OwinFeatureCollection", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Http.Features.IFeatureCollection", - "Microsoft.AspNetCore.Http.Features.IHttpRequestFeature", - "Microsoft.AspNetCore.Http.Features.IHttpResponseFeature", - "Microsoft.AspNetCore.Http.Features.IHttpConnectionFeature", - "Microsoft.AspNetCore.Http.Features.IHttpSendFileFeature", - "Microsoft.AspNetCore.Http.Features.ITlsConnectionFeature", - "Microsoft.AspNetCore.Http.Features.IHttpRequestIdentifierFeature", - "Microsoft.AspNetCore.Http.Features.IHttpRequestLifetimeFeature", - "Microsoft.AspNetCore.Http.Features.Authentication.IHttpAuthenticationFeature", - "Microsoft.AspNetCore.Http.Features.IHttpWebSocketFeature", - "Microsoft.AspNetCore.Owin.IOwinEnvironmentFeature" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetEnumerator", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerator>", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IEnumerable>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Environment", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Owin.IOwinEnvironmentFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Environment", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IDictionary" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Owin.IOwinEnvironmentFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SupportsWebSockets", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SupportsWebSockets", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Revision", - "Parameters": [], - "ReturnType": "System.Int32", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IFeatureCollection", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsReadOnly", - "Parameters": [], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IFeatureCollection", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Item", - "Parameters": [ - { - "Name": "key", - "Type": "System.Type" - } - ], - "ReturnType": "System.Object", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IFeatureCollection", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Item", - "Parameters": [ - { - "Name": "key", - "Type": "System.Type" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IFeatureCollection", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Get", - "Parameters": [ - { - "Name": "key", - "Type": "System.Type" - } - ], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Set", - "Parameters": [ - { - "Name": "key", - "Type": "System.Type" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Get", - "Parameters": [], - "ReturnType": "T0", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IFeatureCollection", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TFeature", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "Set", - "Parameters": [ - { - "Name": "instance", - "Type": "T0" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.IFeatureCollection", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TFeature", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "Dispose", - "Parameters": [], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "environment", - "Type": "System.Collections.Generic.IDictionary" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Owin.OwinWebSocketAcceptAdapter", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AdaptWebSockets", - "Parameters": [ - { - "Name": "next", - "Type": "System.Func, System.Threading.Tasks.Task>" - } - ], - "ReturnType": "System.Func, System.Threading.Tasks.Task>", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Owin.OwinWebSocketAcceptContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Http.WebSocketAcceptContext", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_SubProtocol", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SubProtocol", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Options", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "options", - "Type": "System.Collections.Generic.IDictionary" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Owin.OwinWebSocketAdapter", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Net.WebSockets.WebSocket", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Dispose", - "Parameters": [], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "ImplementedInterface": "System.IDisposable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_CloseStatus", - "Parameters": [], - "ReturnType": "System.Nullable", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_CloseStatusDescription", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SubProtocol", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_State", - "Parameters": [], - "ReturnType": "System.Net.WebSockets.WebSocketState", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ReceiveAsync", - "Parameters": [ - { - "Name": "buffer", - "Type": "System.ArraySegment" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SendAsync", - "Parameters": [ - { - "Name": "buffer", - "Type": "System.ArraySegment" - }, - { - "Name": "messageType", - "Type": "System.Net.WebSockets.WebSocketMessageType" - }, - { - "Name": "endOfMessage", - "Type": "System.Boolean" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CloseAsync", - "Parameters": [ - { - "Name": "closeStatus", - "Type": "System.Net.WebSockets.WebSocketCloseStatus" - }, - { - "Name": "statusDescription", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CloseOutputAsync", - "Parameters": [ - { - "Name": "closeStatus", - "Type": "System.Net.WebSockets.WebSocketCloseStatus" - }, - { - "Name": "statusDescription", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Abort", - "Parameters": [], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "websocketContext", - "Type": "System.Collections.Generic.IDictionary" - }, - { - "Name": "subProtocol", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Owin.WebSocketAcceptAdapter", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AdaptWebSockets", - "Parameters": [ - { - "Name": "next", - "Type": "System.Func, System.Threading.Tasks.Task>" - } - ], - "ReturnType": "System.Func, System.Threading.Tasks.Task>", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "env", - "Type": "System.Collections.Generic.IDictionary" - }, - { - "Name": "accept", - "Type": "System.Func>" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Owin.WebSocketAdapter", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Owin.OwinEnvironment+FeatureMap", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_CanSet", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "featureInterface", - "Type": "System.Type" - }, - { - "Name": "getter", - "Type": "System.Func" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "featureInterface", - "Type": "System.Type" - }, - { - "Name": "getter", - "Type": "System.Func" - }, - { - "Name": "defaultFactory", - "Type": "System.Func" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "featureInterface", - "Type": "System.Type" - }, - { - "Name": "getter", - "Type": "System.Func" - }, - { - "Name": "setter", - "Type": "System.Action" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "featureInterface", - "Type": "System.Type" - }, - { - "Name": "getter", - "Type": "System.Func" - }, - { - "Name": "defaultFactory", - "Type": "System.Func" - }, - { - "Name": "setter", - "Type": "System.Action" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "featureInterface", - "Type": "System.Type" - }, - { - "Name": "getter", - "Type": "System.Func" - }, - { - "Name": "defaultFactory", - "Type": "System.Func" - }, - { - "Name": "setter", - "Type": "System.Action" - }, - { - "Name": "featureFactory", - "Type": "System.Func" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Owin.OwinEnvironment+FeatureMap", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Owin.OwinEnvironment+FeatureMap", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "getter", - "Type": "System.Func" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "getter", - "Type": "System.Func" - }, - { - "Name": "defaultFactory", - "Type": "System.Func" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "getter", - "Type": "System.Func" - }, - { - "Name": "setter", - "Type": "System.Action" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "getter", - "Type": "System.Func" - }, - { - "Name": "defaultFactory", - "Type": "System.Func" - }, - { - "Name": "setter", - "Type": "System.Action" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "getter", - "Type": "System.Func" - }, - { - "Name": "defaultFactory", - "Type": "System.Func" - }, - { - "Name": "setter", - "Type": "System.Action" - }, - { - "Name": "featureFactory", - "Type": "System.Func" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TFeature", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - } - ] -} \ No newline at end of file diff --git a/src/Http/Routing.Abstractions/src/RoutingHttpContextExtensions.cs b/src/Http/Routing.Abstractions/src/RoutingHttpContextExtensions.cs index de121852ab..a13571bdb8 100644 --- a/src/Http/Routing.Abstractions/src/RoutingHttpContextExtensions.cs +++ b/src/Http/Routing.Abstractions/src/RoutingHttpContextExtensions.cs @@ -3,6 +3,7 @@ using System; using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Features; namespace Microsoft.AspNetCore.Routing { @@ -23,8 +24,8 @@ namespace Microsoft.AspNetCore.Routing throw new ArgumentNullException(nameof(httpContext)); } - var routingFeature = httpContext.Features[typeof(IRoutingFeature)] as IRoutingFeature; - return routingFeature?.RouteData; + var routingFeature = httpContext.Features.Get(); + return routingFeature?.RouteData ?? new RouteData(httpContext.Request.RouteValues); } /// @@ -46,8 +47,7 @@ namespace Microsoft.AspNetCore.Routing throw new ArgumentNullException(nameof(key)); } - var routingFeature = httpContext.Features[typeof(IRoutingFeature)] as IRoutingFeature; - return routingFeature?.RouteData.Values[key]; + return httpContext.Features.Get()?.RouteValues[key]; } } } diff --git a/src/Http/Routing.Abstractions/src/baseline.netcore.json b/src/Http/Routing.Abstractions/src/baseline.netcore.json deleted file mode 100644 index 8f8a0cc67d..0000000000 --- a/src/Http/Routing.Abstractions/src/baseline.netcore.json +++ /dev/null @@ -1,849 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Routing.Abstractions, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.Routing.IRouteConstraint", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Match", - "Parameters": [ - { - "Name": "httpContext", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "route", - "Type": "Microsoft.AspNetCore.Routing.IRouter" - }, - { - "Name": "routeKey", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - }, - { - "Name": "routeDirection", - "Type": "Microsoft.AspNetCore.Routing.RouteDirection" - } - ], - "ReturnType": "System.Boolean", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.IRouteHandler", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetRequestHandler", - "Parameters": [ - { - "Name": "httpContext", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "routeData", - "Type": "Microsoft.AspNetCore.Routing.RouteData" - } - ], - "ReturnType": "Microsoft.AspNetCore.Http.RequestDelegate", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.IRouter", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "RouteAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Routing.RouteContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetVirtualPath", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Routing.VirtualPathContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Routing.VirtualPathData", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.IRoutingFeature", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_RouteData", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.RouteData", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RouteData", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Routing.RouteData" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.RouteContext", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Handler", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.RequestDelegate", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Handler", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.RequestDelegate" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HttpContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HttpContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RouteData", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.RouteData", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RouteData", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Routing.RouteData" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "httpContext", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.RouteData", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_DataTokens", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.RouteValueDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Routers", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Values", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.RouteValueDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PushState", - "Parameters": [ - { - "Name": "router", - "Type": "Microsoft.AspNetCore.Routing.IRouter" - }, - { - "Name": "values", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - }, - { - "Name": "dataTokens", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - } - ], - "ReturnType": "Microsoft.AspNetCore.Routing.RouteData+RouteDataSnapshot", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "other", - "Type": "Microsoft.AspNetCore.Routing.RouteData" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.RouteDirection", - "Visibility": "Public", - "Kind": "Enumeration", - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "IncomingRequest", - "Parameters": [], - "GenericParameter": [], - "Literal": "0" - }, - { - "Kind": "Field", - "Name": "UrlGeneration", - "Parameters": [], - "GenericParameter": [], - "Literal": "1" - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.RouteValueDictionary", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "System.Collections.Generic.IDictionary", - "System.Collections.Generic.IReadOnlyDictionary" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Count", - "Parameters": [], - "ReturnType": "System.Int32", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.ICollection>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Clear", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.ICollection>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Item", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.Object", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Item", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Comparer", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEqualityComparer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Keys", - "Parameters": [], - "ReturnType": "System.Collections.Generic.ICollection", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Values", - "Parameters": [], - "ReturnType": "System.Collections.Generic.ICollection", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Add", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ContainsKey", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetEnumerator", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.RouteValueDictionary+Enumerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Remove", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TryGetValue", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object", - "Direction": "Out" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "values", - "Type": "System.Object" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.RoutingHttpContextExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetRouteData", - "Parameters": [ - { - "Name": "httpContext", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Routing.RouteData", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetRouteValue", - "Parameters": [ - { - "Name": "httpContext", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.Object", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.VirtualPathContext", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_AmbientValues", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.RouteValueDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HttpContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HttpContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RouteName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Values", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.RouteValueDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Values", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "httpContext", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "ambientValues", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - }, - { - "Name": "values", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "httpContext", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "ambientValues", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - }, - { - "Name": "values", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - }, - { - "Name": "routeName", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.VirtualPathData", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_DataTokens", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.RouteValueDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Router", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.IRouter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Router", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Routing.IRouter" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_VirtualPath", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_VirtualPath", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "router", - "Type": "Microsoft.AspNetCore.Routing.IRouter" - }, - { - "Name": "virtualPath", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "router", - "Type": "Microsoft.AspNetCore.Routing.IRouter" - }, - { - "Name": "virtualPath", - "Type": "System.String" - }, - { - "Name": "dataTokens", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.RouteData+RouteDataSnapshot", - "Visibility": "Public", - "Kind": "Struct", - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Restore", - "Parameters": [], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "routeData", - "Type": "Microsoft.AspNetCore.Routing.RouteData" - }, - { - "Name": "dataTokens", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - }, - { - "Name": "routers", - "Type": "System.Collections.Generic.IList" - }, - { - "Name": "values", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.RouteValueDictionary+Enumerator", - "Visibility": "Public", - "Kind": "Struct", - "Sealed": true, - "ImplementedInterfaces": [ - "System.Collections.Generic.IEnumerator>" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Dispose", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.IDisposable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MoveNext", - "Parameters": [], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.IEnumerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Reset", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.IEnumerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Current", - "Parameters": [], - "ReturnType": "System.Collections.Generic.KeyValuePair", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IEnumerator>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "dictionary", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Http/Routing/perf/EndpointRoutingBenchmarkBase.cs b/src/Http/Routing/perf/EndpointRoutingBenchmarkBase.cs index 0af2021a72..e57a3a9dc5 100644 --- a/src/Http/Routing/perf/EndpointRoutingBenchmarkBase.cs +++ b/src/Http/Routing/perf/EndpointRoutingBenchmarkBase.cs @@ -7,14 +7,12 @@ using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; -using Microsoft.AspNetCore.Http.Features; using Microsoft.AspNetCore.Routing.Matching; using Microsoft.AspNetCore.Routing.Patterns; using Microsoft.AspNetCore.Routing.Template; using Microsoft.AspNetCore.Routing.Tree; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; -using Microsoft.Extensions.ObjectPool; namespace Microsoft.AspNetCore.Routing { @@ -47,7 +45,7 @@ namespace Microsoft.AspNetCore.Routing return CreateServices().GetRequiredService(); } - private protected static int[] SampleRequests(int endpointCount, int count) + private protected static int[] SampleRequests(int endpointCount, int count) { // This isn't very high tech, but it's at least regular distribution. // We sort the route templates by precedence, so this should result in @@ -131,12 +129,10 @@ namespace Microsoft.AspNetCore.Routing protected (HttpContext httpContext, RouteValueDictionary ambientValues) CreateCurrentRequestContext( object ambientValues = null) { - var feature = new EndpointSelectorContext { RouteValues = new RouteValueDictionary(ambientValues) }; var context = new DefaultHttpContext(); - context.Features.Set(feature); - context.Features.Set(feature); + context.Request.RouteValues = new RouteValueDictionary(ambientValues); - return (context, feature.RouteValues); + return (context, context.Request.RouteValues); } protected void CreateOutboundRouteEntry(TreeRouteBuilder treeRouteBuilder, RouteEndpoint endpoint) diff --git a/src/Http/Routing/perf/Matching/MatcherSingleEntryBenchmark.cs b/src/Http/Routing/perf/Matching/MatcherSingleEntryBenchmark.cs index 412ffdaef3..7e8285cade 100644 --- a/src/Http/Routing/perf/Matching/MatcherSingleEntryBenchmark.cs +++ b/src/Http/Routing/perf/Matching/MatcherSingleEntryBenchmark.cs @@ -11,15 +11,11 @@ namespace Microsoft.AspNetCore.Routing.Matching // Just like TechEmpower Plaintext public partial class MatcherSingleEntryBenchmark : EndpointRoutingBenchmarkBase { - private const int SampleCount = 100; - private BarebonesMatcher _baseline; private Matcher _dfa; private Matcher _route; private Matcher _tree; - private EndpointSelectorContext _feature; - [GlobalSetup] public void Setup() { @@ -35,8 +31,6 @@ namespace Microsoft.AspNetCore.Routing.Matching _dfa = SetupMatcher(CreateDfaMatcherBuilder()); _route = SetupMatcher(new RouteMatcherBuilder()); _tree = SetupMatcher(new TreeRouterMatcherBuilder()); - - _feature = new EndpointSelectorContext(); } private Matcher SetupMatcher(MatcherBuilder builder) @@ -48,8 +42,8 @@ namespace Microsoft.AspNetCore.Routing.Matching [Benchmark(Baseline = true)] public async Task Baseline() { - var feature = _feature; var httpContext = Requests[0]; + var feature = new EndpointSelectorContext(httpContext); await _baseline.MatchAsync(httpContext, feature); Validate(httpContext, Endpoints[0], feature.Endpoint); @@ -58,8 +52,8 @@ namespace Microsoft.AspNetCore.Routing.Matching [Benchmark] public async Task Dfa() { - var feature = _feature; var httpContext = Requests[0]; + var feature = new EndpointSelectorContext(httpContext); await _dfa.MatchAsync(httpContext, feature); Validate(httpContext, Endpoints[0], feature.Endpoint); @@ -68,12 +62,8 @@ namespace Microsoft.AspNetCore.Routing.Matching [Benchmark] public async Task LegacyTreeRouter() { - var feature = _feature; - var httpContext = Requests[0]; - - // This is required to make the legacy router implementation work with global routing. - httpContext.Features.Set(feature); + var feature = new EndpointSelectorContext(httpContext); await _tree.MatchAsync(httpContext, feature); Validate(httpContext, Endpoints[0], feature.Endpoint); @@ -82,14 +72,11 @@ namespace Microsoft.AspNetCore.Routing.Matching [Benchmark] public async Task LegacyRouter() { - var feature = _feature; var httpContext = Requests[0]; - - // This is required to make the legacy router implementation work with global routing. - httpContext.Features.Set(feature); + var feature = new EndpointSelectorContext(httpContext); await _route.MatchAsync(httpContext, feature); Validate(httpContext, Endpoints[0], feature.Endpoint); } } -} \ No newline at end of file +} diff --git a/src/Http/Routing/perf/Matching/TrivialMatcher.cs b/src/Http/Routing/perf/Matching/TrivialMatcher.cs index 3e00ce1999..2c4a5fd173 100644 --- a/src/Http/Routing/perf/Matching/TrivialMatcher.cs +++ b/src/Http/Routing/perf/Matching/TrivialMatcher.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; @@ -30,11 +30,6 @@ namespace Microsoft.AspNetCore.Routing.Matching throw new ArgumentNullException(nameof(httpContext)); } - if (context == null) - { - throw new ArgumentNullException(nameof(context)); - } - var path = httpContext.Request.Path.Value; if (string.Equals(_endpoint.RoutePattern.RawText, path, StringComparison.OrdinalIgnoreCase)) { diff --git a/src/Http/Routing/ref/Microsoft.AspNetCore.Routing.netcoreapp3.0.cs b/src/Http/Routing/ref/Microsoft.AspNetCore.Routing.netcoreapp3.0.cs index 026ab4513e..5dae735d85 100644 --- a/src/Http/Routing/ref/Microsoft.AspNetCore.Routing.netcoreapp3.0.cs +++ b/src/Http/Routing/ref/Microsoft.AspNetCore.Routing.netcoreapp3.0.cs @@ -44,10 +44,10 @@ namespace Microsoft.AspNetCore.Builder } public static partial class RoutingEndpointConventionBuilderExtensions { - public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder RequireHost(this Microsoft.AspNetCore.Builder.IEndpointConventionBuilder builder, params string[] hosts) { throw null; } - public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder WithDisplayName(this Microsoft.AspNetCore.Builder.IEndpointConventionBuilder builder, System.Func func) { throw null; } - public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder WithDisplayName(this Microsoft.AspNetCore.Builder.IEndpointConventionBuilder builder, string displayName) { throw null; } - public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder WithMetadata(this Microsoft.AspNetCore.Builder.IEndpointConventionBuilder builder, params object[] items) { throw null; } + public static TBuilder RequireHost(this TBuilder builder, params string[] hosts) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder { throw null; } + public static TBuilder WithDisplayName(this TBuilder builder, System.Func func) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder { throw null; } + public static TBuilder WithDisplayName(this TBuilder builder, string displayName) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder { throw null; } + public static TBuilder WithMetadata(this TBuilder builder, params object[] items) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder { throw null; } } } namespace Microsoft.AspNetCore.Routing @@ -88,11 +88,12 @@ namespace Microsoft.AspNetCore.Routing public EndpointNameMetadata(string endpointName) { } public string EndpointName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } } - public sealed partial class EndpointSelectorContext : Microsoft.AspNetCore.Http.Features.IEndpointFeature, Microsoft.AspNetCore.Http.Features.IRouteValuesFeature, Microsoft.AspNetCore.Routing.IRoutingFeature + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public readonly partial struct EndpointSelectorContext { - public EndpointSelectorContext() { } - public Microsoft.AspNetCore.Http.Endpoint Endpoint { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } - Microsoft.AspNetCore.Routing.RouteData Microsoft.AspNetCore.Routing.IRoutingFeature.RouteData { get { throw null; } set { } } + private readonly object _dummy; + public EndpointSelectorContext(Microsoft.AspNetCore.Http.HttpContext httpContext) { throw null; } + public Microsoft.AspNetCore.Http.Endpoint Endpoint { get { throw null; } set { } } public Microsoft.AspNetCore.Routing.RouteValueDictionary RouteValues { get { throw null; } set { } } } [System.AttributeUsageAttribute(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)] @@ -192,6 +193,15 @@ namespace Microsoft.AspNetCore.Routing public static string GetUriByRouteValues(this Microsoft.AspNetCore.Routing.LinkGenerator generator, Microsoft.AspNetCore.Http.HttpContext httpContext, string routeName, object values, string scheme = null, Microsoft.AspNetCore.Http.HostString? host = default(Microsoft.AspNetCore.Http.HostString?), Microsoft.AspNetCore.Http.PathString? pathBase = default(Microsoft.AspNetCore.Http.PathString?), Microsoft.AspNetCore.Http.FragmentString fragment = default(Microsoft.AspNetCore.Http.FragmentString), Microsoft.AspNetCore.Routing.LinkOptions options = null) { throw null; } public static string GetUriByRouteValues(this Microsoft.AspNetCore.Routing.LinkGenerator generator, string routeName, object values, string scheme, Microsoft.AspNetCore.Http.HostString host, Microsoft.AspNetCore.Http.PathString pathBase = default(Microsoft.AspNetCore.Http.PathString), Microsoft.AspNetCore.Http.FragmentString fragment = default(Microsoft.AspNetCore.Http.FragmentString), Microsoft.AspNetCore.Routing.LinkOptions options = null) { throw null; } } + public abstract partial class LinkParser + { + protected LinkParser() { } + public abstract Microsoft.AspNetCore.Routing.RouteValueDictionary ParsePathByAddress(TAddress address, Microsoft.AspNetCore.Http.PathString path); + } + public static partial class LinkParserEndpointNameAddressExtensions + { + public static Microsoft.AspNetCore.Routing.RouteValueDictionary ParsePathByEndpointName(this Microsoft.AspNetCore.Routing.LinkParser parser, string endpointName, Microsoft.AspNetCore.Http.PathString path) { throw null; } + } public abstract partial class MatcherPolicy { protected MatcherPolicy() { } @@ -319,7 +329,6 @@ namespace Microsoft.AspNetCore.Routing public RouteOptions() { } public bool AppendTrailingSlash { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } public System.Collections.Generic.IDictionary ConstraintMap { get { throw null; } set { } } - public System.Collections.Generic.ICollection EndpointDataSources { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } public bool LowercaseQueryStrings { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } public bool LowercaseUrls { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } public bool SuppressCheckForUnhandledSecurityMetadata { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } @@ -683,9 +692,9 @@ namespace Microsoft.AspNetCore.Routing.Patterns } public enum RoutePatternParameterKind { - CatchAll = 2, - Optional = 1, Standard = 0, + Optional = 1, + CatchAll = 2, } [System.Diagnostics.DebuggerDisplayAttribute("{DebuggerToString()}")] public sealed partial class RoutePatternParameterPart : Microsoft.AspNetCore.Routing.Patterns.RoutePatternPart diff --git a/src/Http/Routing/src/Builder/RoutingEndpointConventionBuilderExtensions.cs b/src/Http/Routing/src/Builder/RoutingEndpointConventionBuilderExtensions.cs index fbc9589bd8..409c83c832 100644 --- a/src/Http/Routing/src/Builder/RoutingEndpointConventionBuilderExtensions.cs +++ b/src/Http/Routing/src/Builder/RoutingEndpointConventionBuilderExtensions.cs @@ -21,7 +21,7 @@ namespace Microsoft.AspNetCore.Builder /// An empty collection means any host will be accepted. /// /// A reference to this instance after the operation has completed. - public static IEndpointConventionBuilder RequireHost(this IEndpointConventionBuilder builder, params string[] hosts) + public static TBuilder RequireHost(this TBuilder builder, params string[] hosts) where TBuilder : IEndpointConventionBuilder { if (builder == null) { @@ -47,7 +47,7 @@ namespace Microsoft.AspNetCore.Builder /// The . /// The display name. /// The . - public static IEndpointConventionBuilder WithDisplayName(this IEndpointConventionBuilder builder, string displayName) + public static TBuilder WithDisplayName(this TBuilder builder, string displayName) where TBuilder : IEndpointConventionBuilder { if (builder == null) { @@ -69,7 +69,7 @@ namespace Microsoft.AspNetCore.Builder /// The . /// A delegate that produces the display name for each . /// The . - public static IEndpointConventionBuilder WithDisplayName(this IEndpointConventionBuilder builder, Func func) + public static TBuilder WithDisplayName(this TBuilder builder, Func func) where TBuilder : IEndpointConventionBuilder { if (builder == null) { @@ -96,7 +96,7 @@ namespace Microsoft.AspNetCore.Builder /// The . /// A collection of metadata items. /// The . - public static IEndpointConventionBuilder WithMetadata(this IEndpointConventionBuilder builder, params object[] items) + public static TBuilder WithMetadata(this TBuilder builder, params object[] items) where TBuilder : IEndpointConventionBuilder { if (builder == null) { diff --git a/src/Http/Routing/src/DefaultLinkParser.cs b/src/Http/Routing/src/DefaultLinkParser.cs new file mode 100644 index 0000000000..8c922e2668 --- /dev/null +++ b/src/Http/Routing/src/DefaultLinkParser.cs @@ -0,0 +1,235 @@ +// 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.Concurrent; +using System.Collections.Generic; +using System.Linq; +using Microsoft.AspNetCore.Http; +using Microsoft.Extensions.DependencyInjection; +using Microsoft.Extensions.Logging; + +namespace Microsoft.AspNetCore.Routing +{ + internal class DefaultLinkParser : LinkParser, IDisposable + { + private readonly ParameterPolicyFactory _parameterPolicyFactory; + private readonly ILogger _logger; + private readonly IServiceProvider _serviceProvider; + + // Caches RoutePatternMatcher instances + private readonly DataSourceDependentCache> _matcherCache; + + // Used to initialize RoutePatternMatcher and constraint instances + private readonly Func _createMatcher; + + public DefaultLinkParser( + ParameterPolicyFactory parameterPolicyFactory, + EndpointDataSource dataSource, + ILogger logger, + IServiceProvider serviceProvider) + { + _parameterPolicyFactory = parameterPolicyFactory; + _logger = logger; + _serviceProvider = serviceProvider; + + // We cache RoutePatternMatcher instances per-Endpoint for performance, but we want to wipe out + // that cache is the endpoints change so that we don't allow unbounded memory growth. + _matcherCache = new DataSourceDependentCache>(dataSource, (_) => + { + // We don't eagerly fill this cache because there's no real reason to. Unlike URL matching, we don't + // need to build a big data structure up front to be correct. + return new ConcurrentDictionary(); + }); + + // Cached to avoid per-call allocation of a delegate on lookup. + _createMatcher = CreateRoutePatternMatcher; + } + + public override RouteValueDictionary ParsePathByAddress(TAddress address, PathString path) + { + var endpoints = GetEndpoints(address); + if (endpoints.Count == 0) + { + return null; + } + + for (var i = 0; i < endpoints.Count; i++) + { + var endpoint = endpoints[i]; + if (TryParse(endpoint, path, out var values)) + { + Log.PathParsingSucceeded(_logger, path, endpoint); + return values; + } + } + + Log.PathParsingFailed(_logger, path, endpoints); + return null; + } + + private List GetEndpoints(TAddress address) + { + var addressingScheme = _serviceProvider.GetRequiredService>(); + var endpoints = addressingScheme.FindEndpoints(address).OfType().ToList(); + + if (endpoints.Count == 0) + { + Log.EndpointsNotFound(_logger, address); + } + else + { + Log.EndpointsFound(_logger, address, endpoints); + } + + return endpoints; + } + + private MatcherState CreateRoutePatternMatcher(RouteEndpoint endpoint) + { + var constraints = new Dictionary>(StringComparer.OrdinalIgnoreCase); + + var policies = endpoint.RoutePattern.ParameterPolicies; + foreach (var kvp in policies) + { + var constraintsForParameter = new List(); + var parameter = endpoint.RoutePattern.GetParameter(kvp.Key); + for (var i = 0; i < kvp.Value.Count; i++) + { + var policy = _parameterPolicyFactory.Create(parameter, kvp.Value[i]); + if (policy is IRouteConstraint constraint) + { + constraintsForParameter.Add(constraint); + } + } + + if (constraintsForParameter.Count > 0) + { + constraints.Add(kvp.Key, constraintsForParameter); + } + } + + var matcher = new RoutePatternMatcher(endpoint.RoutePattern, new RouteValueDictionary(endpoint.RoutePattern.Defaults)); + return new MatcherState(matcher, constraints); + } + + // Internal for testing + internal MatcherState GetMatcherState(RouteEndpoint endpoint) => _matcherCache.EnsureInitialized().GetOrAdd(endpoint, _createMatcher); + + // Internal for testing + internal bool TryParse(RouteEndpoint endpoint, PathString path, out RouteValueDictionary values) + { + var (matcher, constraints) = GetMatcherState(endpoint); + + values = new RouteValueDictionary(); + if (!matcher.TryMatch(path, values)) + { + values = null; + return false; + } + + foreach (var kvp in constraints) + { + for (var i = 0; i < kvp.Value.Count; i++) + { + var constraint = kvp.Value[i]; + if (!constraint.Match(httpContext: null, NullRouter.Instance, kvp.Key, values, RouteDirection.IncomingRequest)) + { + values = null; + return false; + } + } + } + + return true; + } + + public void Dispose() + { + _matcherCache.Dispose(); + } + + // internal for testing + internal readonly struct MatcherState + { + public readonly RoutePatternMatcher Matcher; + public readonly Dictionary> Constraints; + + public MatcherState(RoutePatternMatcher matcher, Dictionary> constraints) + { + Matcher = matcher; + Constraints = constraints; + } + + public void Deconstruct(out RoutePatternMatcher matcher, out Dictionary> constraints) + { + matcher = Matcher; + constraints = Constraints; + } + } + + private static class Log + { + public static class EventIds + { + public static readonly EventId EndpointsFound = new EventId(100, "EndpointsFound"); + public static readonly EventId EndpointsNotFound = new EventId(101, "EndpointsNotFound"); + + public static readonly EventId PathParsingSucceeded = new EventId(102, "PathParsingSucceeded"); + public static readonly EventId PathParsingFailed = new EventId(103, "PathParsingFailed"); + } + + private static readonly Action, object, Exception> _endpointsFound = LoggerMessage.Define, object>( + LogLevel.Debug, + EventIds.EndpointsFound, + "Found the endpoints {Endpoints} for address {Address}"); + + private static readonly Action _endpointsNotFound = LoggerMessage.Define( + LogLevel.Debug, + EventIds.EndpointsNotFound, + "No endpoints found for address {Address}"); + + private static readonly Action _pathParsingSucceeded = LoggerMessage.Define( + LogLevel.Debug, + EventIds.PathParsingSucceeded, + "Path parsing succeeded for endpoint {Endpoint} and URI path {URI}"); + + private static readonly Action, string, Exception> _pathParsingFailed = LoggerMessage.Define, string>( + LogLevel.Debug, + EventIds.PathParsingFailed, + "Path parsing failed for endpoints {Endpoints} and URI path {URI}"); + + public static void EndpointsFound(ILogger logger, object address, IEnumerable endpoints) + { + // Checking level again to avoid allocation on the common path + if (logger.IsEnabled(LogLevel.Debug)) + { + _endpointsFound(logger, endpoints.Select(e => e.DisplayName), address, null); + } + } + + public static void EndpointsNotFound(ILogger logger, object address) + { + _endpointsNotFound(logger, address, null); + } + + public static void PathParsingSucceeded(ILogger logger, PathString path, Endpoint endpoint) + { + // Checking level again to avoid allocation on the common path + if (logger.IsEnabled(LogLevel.Debug)) + { + _pathParsingSucceeded(logger, endpoint.DisplayName, path.Value, null); + } + } + + public static void PathParsingFailed(ILogger logger, PathString path, IEnumerable endpoints) + { + // Checking level again to avoid allocation on the common path + if (logger.IsEnabled(LogLevel.Debug)) + { + _pathParsingFailed(logger, endpoints.Select(e => e.DisplayName), path.Value, null); + } + } + } + } +} diff --git a/src/Http/Routing/src/DependencyInjection/RoutingServiceCollectionExtensions.cs b/src/Http/Routing/src/DependencyInjection/RoutingServiceCollectionExtensions.cs index 23e080867b..cc61b3e490 100644 --- a/src/Http/Routing/src/DependencyInjection/RoutingServiceCollectionExtensions.cs +++ b/src/Http/Routing/src/DependencyInjection/RoutingServiceCollectionExtensions.cs @@ -85,6 +85,7 @@ namespace Microsoft.Extensions.DependencyInjection services.TryAddSingleton(); services.TryAddSingleton, EndpointNameAddressScheme>(); services.TryAddSingleton, RouteValuesAddressScheme>(); + services.TryAddSingleton(); // // Endpoint Selection diff --git a/src/Http/Routing/src/EndpointRoutingMiddleware.cs b/src/Http/Routing/src/EndpointRoutingMiddleware.cs index 02b089dbca..93b0f94d08 100644 --- a/src/Http/Routing/src/EndpointRoutingMiddleware.cs +++ b/src/Http/Routing/src/EndpointRoutingMiddleware.cs @@ -6,7 +6,6 @@ using System.Runtime.CompilerServices; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; -using Microsoft.AspNetCore.Http.Features; using Microsoft.AspNetCore.Routing.Matching; using Microsoft.Extensions.Logging; @@ -56,7 +55,14 @@ namespace Microsoft.AspNetCore.Routing public Task Invoke(HttpContext httpContext) { - var feature = new EndpointSelectorContext(); + var feature = new EndpointSelectorContext(httpContext); + + // There's already an endpoint, skip maching completely + if (feature.Endpoint != null) + { + Log.MatchSkipped(_logger, feature.Endpoint); + return _next(httpContext); + } // There's an inherent race condition between waiting for init and accessing the matcher // this is OK because once `_matcher` is initialized, it will not be set to null again. @@ -93,31 +99,19 @@ namespace Microsoft.AspNetCore.Routing [MethodImpl(MethodImplOptions.AggressiveInlining)] private Task SetRoutingAndContinue(HttpContext httpContext, EndpointSelectorContext feature) { - if (feature.Endpoint != null) - { - // Set the endpoint feature only on success. This means we won't overwrite any - // existing state for related features unless we did something. - SetFeatures(httpContext, feature); - - Log.MatchSuccess(_logger, feature); - } - else + // If there was no mutation of the endpoint then log failure + if (feature.Endpoint is null) { Log.MatchFailure(_logger); } + else + { + Log.MatchSuccess(_logger, feature); + } return _next(httpContext); } - private static void SetFeatures(HttpContext httpContext, EndpointSelectorContext context) - { - // For back-compat EndpointSelectorContext implements IEndpointFeature, - // IRouteValuesFeature and IRoutingFeature - httpContext.Features.Set(context); - httpContext.Features.Set(context); - httpContext.Features.Set(context); - } - // Initialization is async to avoid blocking threads while reflection and things // of that nature take place. // @@ -185,6 +179,11 @@ namespace Microsoft.AspNetCore.Routing new EventId(2, "MatchFailure"), "Request did not match any endpoints"); + private static readonly Action _matchingSkipped = LoggerMessage.Define( + LogLevel.Debug, + new EventId(3, "MatchingSkipped"), + "Endpoint '{EndpointName}' already set, skipping route matching."); + public static void MatchSuccess(ILogger logger, EndpointSelectorContext context) { _matchSuccess(logger, context.Endpoint.DisplayName, null); @@ -194,6 +193,11 @@ namespace Microsoft.AspNetCore.Routing { _matchFailure(logger, null); } + + public static void MatchSkipped(ILogger logger, Endpoint endpoint) + { + _matchingSkipped(logger, endpoint.DisplayName, null); + } } } } diff --git a/src/Http/Routing/src/EndpointSelectorContext.cs b/src/Http/Routing/src/EndpointSelectorContext.cs index 1aed4f2227..2e30ef54f9 100644 --- a/src/Http/Routing/src/EndpointSelectorContext.cs +++ b/src/Http/Routing/src/EndpointSelectorContext.cs @@ -3,68 +3,49 @@ using System; using Microsoft.AspNetCore.Http; -using Microsoft.AspNetCore.Http.Features; +using Microsoft.AspNetCore.Http.Endpoints; namespace Microsoft.AspNetCore.Routing { - public sealed class EndpointSelectorContext : IEndpointFeature, IRouteValuesFeature, IRoutingFeature + public readonly struct EndpointSelectorContext { - private RouteData _routeData; - private RouteValueDictionary _routeValues; + private readonly HttpContext _httpContext; + + public EndpointSelectorContext(HttpContext httpContext) + { + _httpContext = httpContext ?? throw new ArgumentNullException(nameof(httpContext)); + } /// /// Gets or sets the selected for the current /// request. /// - public Endpoint Endpoint { get; set; } + public Endpoint Endpoint + { + get + { + return _httpContext.GetEndpoint(); + } + set + { + _httpContext.SetEndpoint(value); + } + } /// /// Gets or sets the associated with the currrent /// request. /// public RouteValueDictionary RouteValues - { - get => _routeValues ?? (_routeValues = new RouteValueDictionary()); - set - { - _routeValues = value; - - // RouteData will be created next get with new Values - _routeData = null; - } - } - - /// - /// Gets or sets the for the current request. - /// - /// - /// The setter is not implemented. Use to set the route values. - /// - RouteData IRoutingFeature.RouteData { get { - if (_routeData == null) - { - _routeData = _routeValues == null ? new RouteData() : new RouteData(_routeValues); - - // Note: DataTokens won't update if someone else overwrites the Endpoint - // after route values has been set. This seems find since endpoints are a new - // feature and DataTokens are for back-compat. - var dataTokensMetadata = Endpoint?.Metadata.GetMetadata(); - if (dataTokensMetadata != null) - { - var dataTokens = _routeData.DataTokens; - foreach (var kvp in dataTokensMetadata.DataTokens) - { - _routeData.DataTokens.Add(kvp.Key, kvp.Value); - } - } - } - - return _routeData; + return _httpContext.Request.RouteValues; + } + set + { + _httpContext.Request.RouteValues = value; } - set => throw new NotSupportedException(); } } } diff --git a/src/Http/Routing/src/LinkParser.cs b/src/Http/Routing/src/LinkParser.cs new file mode 100644 index 0000000000..b5135b3f01 --- /dev/null +++ b/src/Http/Routing/src/LinkParser.cs @@ -0,0 +1,37 @@ +// 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.Http; + +namespace Microsoft.AspNetCore.Routing +{ + /// + /// Defines a contract to parse URIs using information from routing. + /// + public abstract class LinkParser + { + /// + /// Attempts to parse the provided using the route pattern + /// specified by the matching . + /// + /// The address type. + /// The address value. Used to resolve endpoints. + /// The URI path to parse. + /// + /// A with the parsed values if parsing is successful; + /// otherwise null. + /// + /// + /// + /// will attempt to first resolve + /// instances that match and then use the route + /// pattern associated with each endpoint to parse the URL path. + /// + /// + /// The parsing operation will fail and return null if either no endpoints are found or none + /// of the route patterns match the provided URI path. + /// + /// + public abstract RouteValueDictionary ParsePathByAddress(TAddress address, PathString path); + } +} diff --git a/src/Http/Routing/src/LinkParserEndpointNameAddressExtensions.cs b/src/Http/Routing/src/LinkParserEndpointNameAddressExtensions.cs new file mode 100644 index 0000000000..904dc0b885 --- /dev/null +++ b/src/Http/Routing/src/LinkParserEndpointNameAddressExtensions.cs @@ -0,0 +1,54 @@ +// 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.Http; + +namespace Microsoft.AspNetCore.Routing +{ + /// + /// Extension methods for using with an endpoint name. + /// + public static class LinkParserEndpointNameAddressExtensions + { + /// + /// Attempts to parse the provided using the route pattern + /// specified by the matching . + /// + /// The . + /// The endpoint name. Used to resolve endpoints. + /// The URI path to parse. + /// + /// A with the parsed values if parsing is successful; + /// otherwise null. + /// + /// + /// + /// will attempt to first resolve + /// instances that match and then use the route + /// pattern associated with each endpoint to parse the URL path. + /// + /// + /// The parsing operation will fail and return null if either no endpoints are found or none + /// of the route patterns match the provided URI path. + /// + /// + public static RouteValueDictionary ParsePathByEndpointName( + this LinkParser parser, + string endpointName, + PathString path) + { + if (parser == null) + { + throw new ArgumentNullException(nameof(parser)); + } + + if (endpointName == null) + { + throw new ArgumentNullException(nameof(endpointName)); + } + + return parser.ParsePathByAddress(endpointName, path); + } + } +} diff --git a/src/Http/Routing/src/Matching/Candidate.cs b/src/Http/Routing/src/Matching/Candidate.cs index 4493293251..cd390c4980 100644 --- a/src/Http/Routing/src/Matching/Candidate.cs +++ b/src/Http/Routing/src/Matching/Candidate.cs @@ -68,7 +68,7 @@ namespace Microsoft.AspNetCore.Routing.Matching int score, KeyValuePair[] slots, (string parameterName, int segmentIndex, int slotIndex)[] captures, - (string parameterName, int segmentIndex, int slotIndex) catchAll, + in (string parameterName, int segmentIndex, int slotIndex) catchAll, (RoutePatternPathSegment pathSegment, int segmentIndex)[] complexSegments, KeyValuePair[] constraints) { diff --git a/src/Http/Routing/src/Matching/CandidateSet.cs b/src/Http/Routing/src/Matching/CandidateSet.cs index 7720634e62..f90183897d 100644 --- a/src/Http/Routing/src/Matching/CandidateSet.cs +++ b/src/Http/Routing/src/Matching/CandidateSet.cs @@ -20,9 +20,7 @@ namespace Microsoft.AspNetCore.Routing.Matching /// public sealed class CandidateSet { - private const int BitVectorSize = 32; - - private CandidateState[] _candidates; + internal CandidateState[] Candidates; /// /// @@ -59,26 +57,32 @@ namespace Microsoft.AspNetCore.Routing.Matching throw new ArgumentException($"The provided {nameof(endpoints)}, {nameof(values)}, and {nameof(scores)} must have the same length."); } - _candidates = new CandidateState[endpoints.Length]; + Candidates = new CandidateState[endpoints.Length]; for (var i = 0; i < endpoints.Length; i++) { - _candidates[i] = new CandidateState(endpoints[i], values[i], scores[i]); + Candidates[i] = new CandidateState(endpoints[i], values[i], scores[i]); } } + // Used in tests. internal CandidateSet(Candidate[] candidates) { - _candidates = new CandidateState[candidates.Length]; + Candidates = new CandidateState[candidates.Length]; for (var i = 0; i < candidates.Length; i++) { - _candidates[i] = new CandidateState(candidates[i].Endpoint, candidates[i].Score); + Candidates[i] = new CandidateState(candidates[i].Endpoint, candidates[i].Score); } } + internal CandidateSet(CandidateState[] candidates) + { + Candidates = candidates; + } + /// /// Gets the count of candidates in the set. /// - public int Count => _candidates.Length; + public int Count => Candidates.Length; /// /// Gets the associated with the candidate @@ -103,7 +107,7 @@ namespace Microsoft.AspNetCore.Routing.Matching ThrowIndexArgumentOutOfRangeException(); } - return ref _candidates[index]; + return ref Candidates[index]; } } @@ -124,7 +128,12 @@ namespace Microsoft.AspNetCore.Routing.Matching ThrowIndexArgumentOutOfRangeException(); } - return _candidates[index].Score >= 0; + return IsValidCandidate(ref Candidates[index]); + } + + internal static bool IsValidCandidate(ref CandidateState candidate) + { + return candidate.Score >= 0; } /// @@ -142,8 +151,15 @@ namespace Microsoft.AspNetCore.Routing.Matching ThrowIndexArgumentOutOfRangeException(); } - ref var original = ref _candidates[index]; - _candidates[index] = new CandidateState(original.Endpoint, original.Values, original.Score >= 0 ^ value ? ~original.Score : original.Score); + ref var original = ref Candidates[index]; + SetValidity(ref original, value); + } + + internal static void SetValidity(ref CandidateState candidate, bool value) + { + var originalScore = candidate.Score; + var score = originalScore >= 0 ^ value ? ~originalScore : originalScore; + candidate = new CandidateState(candidate.Endpoint, candidate.Values, score); } /// @@ -168,7 +184,7 @@ namespace Microsoft.AspNetCore.Routing.Matching ThrowIndexArgumentOutOfRangeException(); } - _candidates[index] = new CandidateState(endpoint, values, _candidates[index].Score); + Candidates[index] = new CandidateState(endpoint, values, Candidates[index].Score); if (endpoint == null) { @@ -229,18 +245,18 @@ namespace Microsoft.AspNetCore.Routing.Matching break; case 1: - ReplaceEndpoint(index, endpoints[0], _candidates[index].Values); + ReplaceEndpoint(index, endpoints[0], Candidates[index].Values); break; default: var score = GetOriginalScore(index); - var values = _candidates[index].Values; + var values = Candidates[index].Values; // Adding candidates requires expanding the array and computing new score values for the new candidates. - var original = _candidates; + var original = Candidates; var candidates = new CandidateState[original.Length - 1 + endpoints.Count]; - _candidates = candidates; + Candidates = candidates; // Since the new endpoints have an unknown ordering relationship to each other, we need to: // - order them @@ -293,12 +309,12 @@ namespace Microsoft.AspNetCore.Routing.Matching scoreOffset++; } - _candidates[i + index] = new CandidateState(buffer[i], values, score + scoreOffset); + Candidates[i + index] = new CandidateState(buffer[i], values, score + scoreOffset); } for (var i = index + 1; i < original.Length; i++) { - _candidates[i + endpoints.Count - 1] = new CandidateState(original[i].Endpoint, original[i].Values, original[i].Score + scoreOffset); + Candidates[i + endpoints.Count - 1] = new CandidateState(original[i].Endpoint, original[i].Values, original[i].Score + scoreOffset); } break; @@ -311,7 +327,7 @@ namespace Microsoft.AspNetCore.Routing.Matching // This is the original score and used to determine if there are ambiguities. private int GetOriginalScore(int index) { - var score = _candidates[index].Score; + var score = Candidates[index].Score; return score >= 0 ? score : ~score; } @@ -320,7 +336,7 @@ namespace Microsoft.AspNetCore.Routing.Matching var score = GetOriginalScore(index); var count = 0; - var candidates = _candidates; + var candidates = Candidates; for (var i = 0; i < candidates.Length; i++) { if (GetOriginalScore(i) == score) diff --git a/src/Http/Routing/src/Matching/DefaultEndpointSelector.cs b/src/Http/Routing/src/Matching/DefaultEndpointSelector.cs index 113e0a4f01..2ef8015753 100644 --- a/src/Http/Routing/src/Matching/DefaultEndpointSelector.cs +++ b/src/Http/Routing/src/Matching/DefaultEndpointSelector.cs @@ -9,7 +9,7 @@ using Microsoft.AspNetCore.Http; namespace Microsoft.AspNetCore.Routing.Matching { - internal class DefaultEndpointSelector : EndpointSelector + internal sealed class DefaultEndpointSelector : EndpointSelector { public override Task SelectAsync( HttpContext httpContext, @@ -21,19 +21,23 @@ namespace Microsoft.AspNetCore.Routing.Matching throw new ArgumentNullException(nameof(httpContext)); } - if (context == null) - { - throw new ArgumentNullException(nameof(context)); - } - if (candidateSet == null) { throw new ArgumentNullException(nameof(candidateSet)); } + Select(httpContext, context, candidateSet.Candidates); + return Task.CompletedTask; + } + + internal static void Select( + HttpContext httpContext, + EndpointSelectorContext context, + CandidateState[] candidateState) + { // Fast path: We can specialize for trivial numbers of candidates since there can // be no ambiguities - switch (candidateSet.Count) + switch (candidateState.Length) { case 0: { @@ -43,9 +47,9 @@ namespace Microsoft.AspNetCore.Routing.Matching case 1: { - if (candidateSet.IsValidCandidate(0)) + ref var state = ref candidateState[0]; + if (CandidateSet.IsValidCandidate(ref state)) { - ref var state = ref candidateSet[0]; context.Endpoint = state.Endpoint; context.RouteValues = state.Values; } @@ -57,30 +61,28 @@ namespace Microsoft.AspNetCore.Routing.Matching { // Slow path: There's more than one candidate (to say nothing of validity) so we // have to process for ambiguities. - ProcessFinalCandidates(httpContext, context, candidateSet); + ProcessFinalCandidates(httpContext, context, candidateState); break; } } - - return Task.CompletedTask; } private static void ProcessFinalCandidates( HttpContext httpContext, EndpointSelectorContext context, - CandidateSet candidateSet) + CandidateState[] candidateState) { Endpoint endpoint = null; RouteValueDictionary values = null; int? foundScore = null; - for (var i = 0; i < candidateSet.Count; i++) + for (var i = 0; i < candidateState.Length; i++) { - if (!candidateSet.IsValidCandidate(i)) + ref var state = ref candidateState[i]; + if (!CandidateSet.IsValidCandidate(ref state)) { continue; } - ref var state = ref candidateSet[i]; if (foundScore == null) { // This is the first match we've seen - speculatively assign it. @@ -103,7 +105,7 @@ namespace Microsoft.AspNetCore.Routing.Matching // // Don't worry about the 'null == state.Score' case, it returns false. - ReportAmbiguity(candidateSet); + ReportAmbiguity(candidateState); // Unreachable, ReportAmbiguity always throws. throw new NotSupportedException(); @@ -117,16 +119,17 @@ namespace Microsoft.AspNetCore.Routing.Matching } } - private static void ReportAmbiguity(CandidateSet candidates) + private static void ReportAmbiguity(CandidateState[] candidateState) { // If we get here it's the result of an ambiguity - we're OK with this // being a littler slower and more allocatey. var matches = new List(); - for (var i = 0; i < candidates.Count; i++) + for (var i = 0; i < candidateState.Length; i++) { - if (candidates.IsValidCandidate(i)) + ref var state = ref candidateState[i]; + if (CandidateSet.IsValidCandidate(ref state)) { - matches.Add(candidates[i].Endpoint); + matches.Add(state.Endpoint); } } diff --git a/src/Http/Routing/src/Matching/DfaMatcher.cs b/src/Http/Routing/src/Matching/DfaMatcher.cs index 036351760a..dc9a3a7b43 100644 --- a/src/Http/Routing/src/Matching/DfaMatcher.cs +++ b/src/Http/Routing/src/Matching/DfaMatcher.cs @@ -34,11 +34,6 @@ namespace Microsoft.AspNetCore.Routing.Matching throw new ArgumentNullException(nameof(httpContext)); } - if (context == null) - { - throw new ArgumentNullException(nameof(context)); - } - // All of the logging we do here is at level debug, so we can get away with doing a single check. var log = _logger.IsEnabled(LogLevel.Debug); @@ -76,7 +71,7 @@ namespace Microsoft.AspNetCore.Routing.Matching // This is a fast path for single candidate, 0 policies and default selector if (candidateCount == 1 && policyCount == 0 && _isDefaultEndpointSelector) { - ref var candidate = ref candidates[0]; + ref readonly var candidate = ref candidates[0]; // Just strict path matching if (candidate.Flags == Candidate.CandidateFlags.None) @@ -101,7 +96,7 @@ namespace Microsoft.AspNetCore.Routing.Matching // set of endpoints before we call the EndpointSelector. // // `candidateSet` is the mutable state that we pass to the EndpointSelector. - var candidateSet = new CandidateSet(candidates); + var candidateState = new CandidateState[candidateCount]; for (var i = 0; i < candidateCount; i++) { @@ -110,18 +105,14 @@ namespace Microsoft.AspNetCore.Routing.Matching // Reminder! // candidate: readonly data about the endpoint and how to match // state: mutable storarge for our processing - ref var candidate = ref candidates[i]; - ref var state = ref candidateSet[i]; + ref readonly var candidate = ref candidates[i]; + ref var state = ref candidateState[i]; + state = new CandidateState(candidate.Endpoint, candidate.Score); var flags = candidate.Flags; // First process all of the parameters and defaults. - RouteValueDictionary values; - if ((flags & Candidate.CandidateFlags.HasSlots) == 0) - { - values = new RouteValueDictionary(); - } - else + if ((flags & Candidate.CandidateFlags.HasSlots) != 0) { // The Slots array has the default values of the route values in it. // @@ -145,29 +136,29 @@ namespace Microsoft.AspNetCore.Routing.Matching ProcessCatchAll(slots, candidate.CatchAll, path, segments); } - values = RouteValueDictionary.FromArray(slots); + state.Values = RouteValueDictionary.FromArray(slots); } - state.Values = values; - // Now that we have the route values, we need to process complex segments. // Complex segments go through an old API that requires a fully-materialized // route value dictionary. var isMatch = true; if ((flags & Candidate.CandidateFlags.HasComplexSegments) != 0) { - if (!ProcessComplexSegments(candidate.Endpoint, candidate.ComplexSegments, path, segments, values)) + state.Values ??= new RouteValueDictionary(); + if (!ProcessComplexSegments(candidate.Endpoint, candidate.ComplexSegments, path, segments, state.Values)) { - candidateSet.SetValidity(i, false); + CandidateSet.SetValidity(ref state, false); isMatch = false; } } if ((flags & Candidate.CandidateFlags.HasConstraints) != 0) { - if (!ProcessConstraints(candidate.Endpoint, candidate.Constraints, httpContext, values)) + state.Values ??= new RouteValueDictionary(); + if (!ProcessConstraints(candidate.Endpoint, candidate.Constraints, httpContext, state.Values)) { - candidateSet.SetValidity(i, false); + CandidateSet.SetValidity(ref state, false); isMatch = false; } } @@ -185,13 +176,23 @@ namespace Microsoft.AspNetCore.Routing.Matching } } - if (policyCount == 0) + if (policyCount == 0 && _isDefaultEndpointSelector) { - // Perf: avoid a state machine if there are no polices - return _selector.SelectAsync(httpContext, context, candidateSet); + // Fast path that avoids allocating the candidate set. + // + // We can use this when there are no policies and we're using the default selector. + DefaultEndpointSelector.Select(httpContext, context, candidateState); + return Task.CompletedTask; + } + else if (policyCount == 0) + { + // Fast path that avoids a state machine. + // + // We can use this when there are no policies and a non-default selector. + return _selector.SelectAsync(httpContext, context, new CandidateSet(candidateState)); } - return SelectEndpointWithPoliciesAsync(httpContext, context, policies, candidateSet); + return SelectEndpointWithPoliciesAsync(httpContext, context, policies, new CandidateSet(candidateState)); } internal (Candidate[] candidates, IEndpointSelectorPolicy[] policies) FindCandidateSet( @@ -227,13 +228,14 @@ namespace Microsoft.AspNetCore.Routing.Matching { for (var i = 0; i < captures.Length; i++) { - var parameterName = captures[i].parameterName; - if (segments.Length > captures[i].segmentIndex) + (var parameterName, var segmentIndex, var slotIndex) = captures[i]; + + if ((uint)segmentIndex < (uint)segments.Length) { - var segment = segments[captures[i].segmentIndex]; + var segment = segments[segmentIndex]; if (parameterName != null && segment.Length > 0) { - slots[captures[i].slotIndex] = new KeyValuePair( + slots[slotIndex] = new KeyValuePair( parameterName, path.Substring(segment.Start, segment.Length)); } @@ -243,13 +245,16 @@ namespace Microsoft.AspNetCore.Routing.Matching private void ProcessCatchAll( KeyValuePair[] slots, - (string parameterName, int segmentIndex, int slotIndex) catchAll, + in (string parameterName, int segmentIndex, int slotIndex) catchAll, string path, ReadOnlySpan segments) { - if (segments.Length > catchAll.segmentIndex) + // Read segmentIndex to local both to skip double read from stack value + // and to use the same in-bounds validated variable to access the array. + var segmentIndex = catchAll.segmentIndex; + if ((uint)segmentIndex < (uint)segments.Length) { - var segment = segments[catchAll.segmentIndex]; + var segment = segments[segmentIndex]; slots[catchAll.slotIndex] = new KeyValuePair( catchAll.parameterName, path.Substring(segment.Start)); @@ -267,7 +272,7 @@ namespace Microsoft.AspNetCore.Routing.Matching { (var complexSegment, var segmentIndex) = complexSegments[i]; var segment = segments[segmentIndex]; - var text = path.Substring(segment.Start, segment.Length); + var text = path.AsSpan(segment.Start, segment.Length); if (!RoutePatternMatcher.MatchComplexSegment(complexSegment, text, values)) { Logger.CandidateRejectedByComplexSegment(_logger, path, endpoint, complexSegment); diff --git a/src/Http/Routing/src/Matching/HostMatcherPolicy.cs b/src/Http/Routing/src/Matching/HostMatcherPolicy.cs index f99afdcfbd..4f52eb3932 100644 --- a/src/Http/Routing/src/Matching/HostMatcherPolicy.cs +++ b/src/Http/Routing/src/Matching/HostMatcherPolicy.cs @@ -77,11 +77,6 @@ namespace Microsoft.AspNetCore.Routing.Matching throw new ArgumentNullException(nameof(httpContext)); } - if (context == null) - { - throw new ArgumentNullException(nameof(context)); - } - if (candidates == null) { throw new ArgumentNullException(nameof(candidates)); diff --git a/src/Http/Routing/src/Matching/HttpMethodMatcherPolicy.cs b/src/Http/Routing/src/Matching/HttpMethodMatcherPolicy.cs index 3111c55a67..4a6d17344f 100644 --- a/src/Http/Routing/src/Matching/HttpMethodMatcherPolicy.cs +++ b/src/Http/Routing/src/Matching/HttpMethodMatcherPolicy.cs @@ -94,11 +94,6 @@ namespace Microsoft.AspNetCore.Routing.Matching throw new ArgumentNullException(nameof(httpContext)); } - if (context == null) - { - throw new ArgumentNullException(nameof(context)); - } - if (candidates == null) { throw new ArgumentNullException(nameof(candidates)); diff --git a/src/Http/Routing/src/Patterns/RoutePattern.cs b/src/Http/Routing/src/Patterns/RoutePattern.cs index b500f1d2f7..4cd881c8e2 100644 --- a/src/Http/Routing/src/Patterns/RoutePattern.cs +++ b/src/Http/Routing/src/Patterns/RoutePattern.cs @@ -139,9 +139,12 @@ namespace Microsoft.AspNetCore.Routing.Patterns throw new ArgumentNullException(nameof(name)); } - for (var i = 0; i < Parameters.Count; i++) + var parameters = Parameters; + // Read interface .Count once rather than per iteration + var parametersCount = parameters.Count; + for (var i = 0; i < parametersCount; i++) { - var parameter = Parameters[i]; + var parameter = parameters[i]; if (string.Equals(parameter.Name, name, StringComparison.OrdinalIgnoreCase)) { return parameter; diff --git a/src/Http/Routing/src/Patterns/RoutePatternMatcher.cs b/src/Http/Routing/src/Patterns/RoutePatternMatcher.cs index 7f90c882af..bb35818703 100644 --- a/src/Http/Routing/src/Patterns/RoutePatternMatcher.cs +++ b/src/Http/Routing/src/Patterns/RoutePatternMatcher.cs @@ -160,7 +160,7 @@ namespace Microsoft.AspNetCore.Routing } if (!pathSegment.IsSimple) { - if (!MatchComplexSegment(pathSegment, requestSegment.ToString(), values)) + if (!MatchComplexSegment(pathSegment, requestSegment.AsSpan(), values)) { return false; } @@ -292,7 +292,7 @@ namespace Microsoft.AspNetCore.Routing internal static bool MatchComplexSegment( RoutePatternPathSegment routeSegment, - string requestSegment, + ReadOnlySpan requestSegment, RouteValueDictionary values) { var indexOfLastSegment = routeSegment.Parts.Count - 1; @@ -336,7 +336,7 @@ namespace Microsoft.AspNetCore.Routing private static bool MatchComplexSegmentCore( RoutePatternPathSegment routeSegment, - string requestSegment, + ReadOnlySpan requestSegment, RouteValueDictionary values, int indexOfLastSegmentUsed) { @@ -366,14 +366,14 @@ namespace Microsoft.AspNetCore.Routing Debug.Assert(part.IsLiteral || part.IsSeparator); lastLiteral = part; - var startIndex = lastIndex - 1; + var startIndex = lastIndex; // If we have a pending parameter subsegment, we must leave at least one character for that if (parameterNeedsValue != null) { startIndex--; } - if (startIndex < 0) + if (startIndex == 0) { return false; } @@ -382,17 +382,15 @@ namespace Microsoft.AspNetCore.Routing if (part.IsLiteral) { var literal = (RoutePatternLiteralPart)part; - indexOfLiteral = requestSegment.LastIndexOf( + indexOfLiteral = requestSegment.Slice(0, startIndex).LastIndexOf( literal.Content, - startIndex, StringComparison.OrdinalIgnoreCase); } else { var literal = (RoutePatternSeparatorPart)part; - indexOfLiteral = requestSegment.LastIndexOf( + indexOfLiteral = requestSegment.Slice(0, startIndex).LastIndexOf( literal.Content, - startIndex, StringComparison.OrdinalIgnoreCase); } @@ -465,9 +463,9 @@ namespace Microsoft.AspNetCore.Routing } } - var parameterValueString = requestSegment.Substring(parameterStartIndex, parameterTextLength); + var parameterValueSpan = requestSegment.Slice(parameterStartIndex, parameterTextLength); - if (string.IsNullOrEmpty(parameterValueString)) + if (parameterValueSpan.Length == 0) { // If we're here that means we have a segment that contains multiple sub-segments. // For these segments all parameters must have non-empty values. If the parameter @@ -478,7 +476,7 @@ namespace Microsoft.AspNetCore.Routing else { // If there's a value in the segment for this parameter, use the subsegment value - outValues.Add(parameterNeedsValue.Name, parameterValueString); + outValues.Add(parameterNeedsValue.Name, new string(parameterValueSpan)); } parameterNeedsValue = null; diff --git a/src/Http/Routing/src/RouteOptions.cs b/src/Http/Routing/src/RouteOptions.cs index d83ea590f0..3d06d5525b 100644 --- a/src/Http/Routing/src/RouteOptions.cs +++ b/src/Http/Routing/src/RouteOptions.cs @@ -3,13 +3,28 @@ using System; using System.Collections.Generic; +using System.Diagnostics; using Microsoft.AspNetCore.Routing.Constraints; namespace Microsoft.AspNetCore.Routing { public class RouteOptions { - public ICollection EndpointDataSources { get; internal set; } + private IDictionary _constraintTypeMap = GetDefaultConstraintMap(); + private ICollection _endpointDataSources; + + /// + /// Gets a collection of instances configured with routing. + /// + internal ICollection EndpointDataSources + { + get + { + Debug.Assert(_endpointDataSources != null, "Endpoint data sources should have been set in DI."); + return _endpointDataSources; + } + set => _endpointDataSources = value; + } /// /// Gets or sets a value indicating whether all generated paths URLs are lower-case. @@ -48,8 +63,6 @@ namespace Microsoft.AspNetCore.Routing /// public bool SuppressCheckForUnhandledSecurityMetadata { get; set; } - private IDictionary _constraintTypeMap = GetDefaultConstraintMap(); - public IDictionary ConstraintMap { get diff --git a/src/Http/Routing/src/RouterMiddleware.cs b/src/Http/Routing/src/RouterMiddleware.cs index aa46d4f570..0190cd468f 100644 --- a/src/Http/Routing/src/RouterMiddleware.cs +++ b/src/Http/Routing/src/RouterMiddleware.cs @@ -40,11 +40,15 @@ namespace Microsoft.AspNetCore.Builder } else { - httpContext.Features[typeof(IRoutingFeature)] = new RoutingFeature() + var routingFeature = new RoutingFeature() { - RouteData = context.RouteData, + RouteData = context.RouteData }; + // Set the RouteValues on the current request, this is to keep the IRouteValuesFeature inline with the IRoutingFeature + httpContext.Request.RouteValues = context.RouteData.Values; + httpContext.Features.Set(routingFeature); + await context.Handler(context.HttpContext); } } diff --git a/src/Http/Routing/src/Template/TemplateBinder.cs b/src/Http/Routing/src/Template/TemplateBinder.cs index e0f72fdfa5..f3924f3c92 100644 --- a/src/Http/Routing/src/Template/TemplateBinder.cs +++ b/src/Http/Routing/src/Template/TemplateBinder.cs @@ -521,16 +521,20 @@ namespace Microsoft.AspNetCore.Routing.Template } } - for (var i = 0; i < _pattern.PathSegments.Count; i++) + var segments = _pattern.PathSegments; + // Read interface .Count once rather than per iteration + var segmentsCount = segments.Count; + for (var i = 0; i < segmentsCount; i++) { Debug.Assert(context.BufferState == SegmentState.Beginning); Debug.Assert(context.UriState == SegmentState.Beginning); - var segment = _pattern.PathSegments[i]; - - for (var j = 0; j < segment.Parts.Count; j++) + var parts = segments[i].Parts; + // Read interface .Count once rather than per iteration + var partsCount = parts.Count; + for (var j = 0; j < partsCount; j++) { - var part = segment.Parts[j]; + var part = parts[j]; if (part is RoutePatternLiteralPart literalPart) { @@ -581,7 +585,7 @@ namespace Microsoft.AspNetCore.Routing.Template // for format, so we remove '.' and generate 5. if (!context.Accept(converted, parameterPart.EncodeSlashes)) { - if (j != 0 && parameterPart.IsOptional && (separatorPart = segment.Parts[j - 1] as RoutePatternSeparatorPart) != null) + if (j != 0 && parameterPart.IsOptional && (separatorPart = parts[j - 1] as RoutePatternSeparatorPart) != null) { context.Remove(separatorPart.Content); } diff --git a/src/Http/Routing/src/Tree/LinkGenerationDecisionTree.cs b/src/Http/Routing/src/Tree/LinkGenerationDecisionTree.cs index 8b8315285f..568c377745 100644 --- a/src/Http/Routing/src/Tree/LinkGenerationDecisionTree.cs +++ b/src/Http/Routing/src/Tree/LinkGenerationDecisionTree.cs @@ -113,14 +113,20 @@ namespace Microsoft.AspNetCore.Routing.Tree { // Any entries in node.Matches have had all their required values satisfied, so add them // to the results. - for (var i = 0; i < node.Matches.Count; i++) + var matches = node.Matches; + // Read interface .Count once rather than per iteration + var matchesCount = matches.Count; + for (var i = 0; i < matchesCount; i++) { - results.Add(new OutboundMatchResult(node.Matches[i], isFallbackPath)); + results.Add(new OutboundMatchResult(matches[i], isFallbackPath)); } - for (var i = 0; i < node.Criteria.Count; i++) + var criteria = node.Criteria; + // Read interface .Count once rather than per iteration + var criteriaCount = criteria.Count; + for (var i = 0; i < criteriaCount; i++) { - var criterion = node.Criteria[i]; + var criterion = criteria[i]; var key = criterion.Key; if (values.TryGetValue(key, out var value)) diff --git a/src/Http/Routing/src/baseline.netcore.json b/src/Http/Routing/src/baseline.netcore.json deleted file mode 100644 index 866f3e89cb..0000000000 --- a/src/Http/Routing/src/baseline.netcore.json +++ /dev/null @@ -1,4579 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Routing, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.Builder.MapRouteRouteBuilderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "MapRoute", - "Parameters": [ - { - "Name": "routeBuilder", - "Type": "Microsoft.AspNetCore.Routing.IRouteBuilder" - }, - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "template", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Routing.IRouteBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MapRoute", - "Parameters": [ - { - "Name": "routeBuilder", - "Type": "Microsoft.AspNetCore.Routing.IRouteBuilder" - }, - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "template", - "Type": "System.String" - }, - { - "Name": "defaults", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Routing.IRouteBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MapRoute", - "Parameters": [ - { - "Name": "routeBuilder", - "Type": "Microsoft.AspNetCore.Routing.IRouteBuilder" - }, - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "template", - "Type": "System.String" - }, - { - "Name": "defaults", - "Type": "System.Object" - }, - { - "Name": "constraints", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Routing.IRouteBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MapRoute", - "Parameters": [ - { - "Name": "routeBuilder", - "Type": "Microsoft.AspNetCore.Routing.IRouteBuilder" - }, - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "template", - "Type": "System.String" - }, - { - "Name": "defaults", - "Type": "System.Object" - }, - { - "Name": "constraints", - "Type": "System.Object" - }, - { - "Name": "dataTokens", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Routing.IRouteBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.RouterMiddleware", - "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": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - }, - { - "Name": "router", - "Type": "Microsoft.AspNetCore.Routing.IRouter" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.RoutingBuilderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseRouter", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "router", - "Type": "Microsoft.AspNetCore.Routing.IRouter" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseRouter", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "action", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.DefaultInlineConstraintResolver", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Routing.IInlineConstraintResolver" - ], - "Members": [ - { - "Kind": "Method", - "Name": "ResolveConstraint", - "Parameters": [ - { - "Name": "inlineConstraint", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Routing.IRouteConstraint", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Routing.IInlineConstraintResolver", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "routeOptions", - "Type": "Microsoft.Extensions.Options.IOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.IInlineConstraintResolver", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ResolveConstraint", - "Parameters": [ - { - "Name": "inlineConstraint", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Routing.IRouteConstraint", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.INamedRouter", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Routing.IRouter" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Name", - "Parameters": [], - "ReturnType": "System.String", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.InlineRouteParameterParser", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ParseRouteParameter", - "Parameters": [ - { - "Name": "routeParameter", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Routing.Template.TemplatePart", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.IRouteBuilder", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ApplicationBuilder", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_DefaultHandler", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.IRouter", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_DefaultHandler", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Routing.IRouter" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ServiceProvider", - "Parameters": [], - "ReturnType": "System.IServiceProvider", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Routes", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Build", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.IRouter", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.IRouteCollection", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Routing.IRouter" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Add", - "Parameters": [ - { - "Name": "router", - "Type": "Microsoft.AspNetCore.Routing.IRouter" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.RequestDelegateRouteBuilderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "MapRoute", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Routing.IRouteBuilder" - }, - { - "Name": "template", - "Type": "System.String" - }, - { - "Name": "handler", - "Type": "Microsoft.AspNetCore.Http.RequestDelegate" - } - ], - "ReturnType": "Microsoft.AspNetCore.Routing.IRouteBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MapMiddlewareRoute", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Routing.IRouteBuilder" - }, - { - "Name": "template", - "Type": "System.String" - }, - { - "Name": "action", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.AspNetCore.Routing.IRouteBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MapDelete", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Routing.IRouteBuilder" - }, - { - "Name": "template", - "Type": "System.String" - }, - { - "Name": "handler", - "Type": "Microsoft.AspNetCore.Http.RequestDelegate" - } - ], - "ReturnType": "Microsoft.AspNetCore.Routing.IRouteBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MapMiddlewareDelete", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Routing.IRouteBuilder" - }, - { - "Name": "template", - "Type": "System.String" - }, - { - "Name": "action", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.AspNetCore.Routing.IRouteBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MapDelete", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Routing.IRouteBuilder" - }, - { - "Name": "template", - "Type": "System.String" - }, - { - "Name": "handler", - "Type": "System.Func" - } - ], - "ReturnType": "Microsoft.AspNetCore.Routing.IRouteBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MapGet", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Routing.IRouteBuilder" - }, - { - "Name": "template", - "Type": "System.String" - }, - { - "Name": "handler", - "Type": "Microsoft.AspNetCore.Http.RequestDelegate" - } - ], - "ReturnType": "Microsoft.AspNetCore.Routing.IRouteBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MapMiddlewareGet", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Routing.IRouteBuilder" - }, - { - "Name": "template", - "Type": "System.String" - }, - { - "Name": "action", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.AspNetCore.Routing.IRouteBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MapGet", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Routing.IRouteBuilder" - }, - { - "Name": "template", - "Type": "System.String" - }, - { - "Name": "handler", - "Type": "System.Func" - } - ], - "ReturnType": "Microsoft.AspNetCore.Routing.IRouteBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MapPost", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Routing.IRouteBuilder" - }, - { - "Name": "template", - "Type": "System.String" - }, - { - "Name": "handler", - "Type": "Microsoft.AspNetCore.Http.RequestDelegate" - } - ], - "ReturnType": "Microsoft.AspNetCore.Routing.IRouteBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MapMiddlewarePost", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Routing.IRouteBuilder" - }, - { - "Name": "template", - "Type": "System.String" - }, - { - "Name": "action", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.AspNetCore.Routing.IRouteBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MapPost", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Routing.IRouteBuilder" - }, - { - "Name": "template", - "Type": "System.String" - }, - { - "Name": "handler", - "Type": "System.Func" - } - ], - "ReturnType": "Microsoft.AspNetCore.Routing.IRouteBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MapPut", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Routing.IRouteBuilder" - }, - { - "Name": "template", - "Type": "System.String" - }, - { - "Name": "handler", - "Type": "Microsoft.AspNetCore.Http.RequestDelegate" - } - ], - "ReturnType": "Microsoft.AspNetCore.Routing.IRouteBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MapMiddlewarePut", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Routing.IRouteBuilder" - }, - { - "Name": "template", - "Type": "System.String" - }, - { - "Name": "action", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.AspNetCore.Routing.IRouteBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MapPut", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Routing.IRouteBuilder" - }, - { - "Name": "template", - "Type": "System.String" - }, - { - "Name": "handler", - "Type": "System.Func" - } - ], - "ReturnType": "Microsoft.AspNetCore.Routing.IRouteBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MapVerb", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Routing.IRouteBuilder" - }, - { - "Name": "verb", - "Type": "System.String" - }, - { - "Name": "template", - "Type": "System.String" - }, - { - "Name": "handler", - "Type": "System.Func" - } - ], - "ReturnType": "Microsoft.AspNetCore.Routing.IRouteBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MapVerb", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Routing.IRouteBuilder" - }, - { - "Name": "verb", - "Type": "System.String" - }, - { - "Name": "template", - "Type": "System.String" - }, - { - "Name": "handler", - "Type": "Microsoft.AspNetCore.Http.RequestDelegate" - } - ], - "ReturnType": "Microsoft.AspNetCore.Routing.IRouteBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MapMiddlewareVerb", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Routing.IRouteBuilder" - }, - { - "Name": "verb", - "Type": "System.String" - }, - { - "Name": "template", - "Type": "System.String" - }, - { - "Name": "action", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.AspNetCore.Routing.IRouteBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.Route", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Routing.RouteBase", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_RouteTemplate", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnRouteMatched", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Routing.RouteContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnVirtualPathGenerated", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Routing.VirtualPathContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Routing.VirtualPathData", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "target", - "Type": "Microsoft.AspNetCore.Routing.IRouter" - }, - { - "Name": "routeTemplate", - "Type": "System.String" - }, - { - "Name": "inlineConstraintResolver", - "Type": "Microsoft.AspNetCore.Routing.IInlineConstraintResolver" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "target", - "Type": "Microsoft.AspNetCore.Routing.IRouter" - }, - { - "Name": "routeTemplate", - "Type": "System.String" - }, - { - "Name": "defaults", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - }, - { - "Name": "constraints", - "Type": "System.Collections.Generic.IDictionary" - }, - { - "Name": "dataTokens", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - }, - { - "Name": "inlineConstraintResolver", - "Type": "Microsoft.AspNetCore.Routing.IInlineConstraintResolver" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "target", - "Type": "Microsoft.AspNetCore.Routing.IRouter" - }, - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "routeTemplate", - "Type": "System.String" - }, - { - "Name": "defaults", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - }, - { - "Name": "constraints", - "Type": "System.Collections.Generic.IDictionary" - }, - { - "Name": "dataTokens", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - }, - { - "Name": "inlineConstraintResolver", - "Type": "Microsoft.AspNetCore.Routing.IInlineConstraintResolver" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.RouteBase", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Routing.INamedRouter" - ], - "Members": [ - { - "Kind": "Method", - "Name": "OnRouteMatched", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Routing.RouteContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnVirtualPathGenerated", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Routing.VirtualPathContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Routing.VirtualPathData", - "Virtual": true, - "Abstract": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RouteAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Routing.RouteContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Routing.IRouter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetVirtualPath", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Routing.VirtualPathContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Routing.VirtualPathData", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Routing.IRouter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Constraints", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Constraints", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IDictionary" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ConstraintResolver", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.IInlineConstraintResolver", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ConstraintResolver", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Routing.IInlineConstraintResolver" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_DataTokens", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.RouteValueDictionary", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_DataTokens", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Defaults", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.RouteValueDictionary", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Defaults", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Name", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Routing.INamedRouter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Name", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ParsedTemplate", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.Template.RouteTemplate", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ParsedTemplate", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Routing.Template.RouteTemplate" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetConstraints", - "Parameters": [ - { - "Name": "inlineConstraintResolver", - "Type": "Microsoft.AspNetCore.Routing.IInlineConstraintResolver" - }, - { - "Name": "parsedTemplate", - "Type": "Microsoft.AspNetCore.Routing.Template.RouteTemplate" - }, - { - "Name": "constraints", - "Type": "System.Collections.Generic.IDictionary" - } - ], - "ReturnType": "System.Collections.Generic.IDictionary", - "Static": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetDefaults", - "Parameters": [ - { - "Name": "parsedTemplate", - "Type": "Microsoft.AspNetCore.Routing.Template.RouteTemplate" - }, - { - "Name": "defaults", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - } - ], - "ReturnType": "Microsoft.AspNetCore.Routing.RouteValueDictionary", - "Static": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ToString", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "template", - "Type": "System.String" - }, - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "constraintResolver", - "Type": "Microsoft.AspNetCore.Routing.IInlineConstraintResolver" - }, - { - "Name": "defaults", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - }, - { - "Name": "constraints", - "Type": "System.Collections.Generic.IDictionary" - }, - { - "Name": "dataTokens", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.RouteBuilder", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Routing.IRouteBuilder" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_ApplicationBuilder", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Routing.IRouteBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_DefaultHandler", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.IRouter", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Routing.IRouteBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_DefaultHandler", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Routing.IRouter" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Routing.IRouteBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ServiceProvider", - "Parameters": [], - "ReturnType": "System.IServiceProvider", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Routing.IRouteBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Routes", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Routing.IRouteBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Build", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.IRouter", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Routing.IRouteBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "applicationBuilder", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "applicationBuilder", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "defaultHandler", - "Type": "Microsoft.AspNetCore.Routing.IRouter" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.RouteCollection", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Routing.IRouteCollection" - ], - "Members": [ - { - "Kind": "Method", - "Name": "RouteAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Routing.RouteContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Routing.IRouter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetVirtualPath", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Routing.VirtualPathContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Routing.VirtualPathData", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Routing.IRouter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Item", - "Parameters": [ - { - "Name": "index", - "Type": "System.Int32" - } - ], - "ReturnType": "Microsoft.AspNetCore.Routing.IRouter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Count", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Add", - "Parameters": [ - { - "Name": "router", - "Type": "Microsoft.AspNetCore.Routing.IRouter" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Routing.IRouteCollection", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.RouteConstraintBuilder", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Build", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddConstraint", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddResolvedConstraint", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "constraintText", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetOptional", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "inlineConstraintResolver", - "Type": "Microsoft.AspNetCore.Routing.IInlineConstraintResolver" - }, - { - "Name": "displayName", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.RouteConstraintMatcher", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Match", - "Parameters": [ - { - "Name": "constraints", - "Type": "System.Collections.Generic.IDictionary" - }, - { - "Name": "routeValues", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - }, - { - "Name": "httpContext", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "route", - "Type": "Microsoft.AspNetCore.Routing.IRouter" - }, - { - "Name": "routeDirection", - "Type": "Microsoft.AspNetCore.Routing.RouteDirection" - }, - { - "Name": "logger", - "Type": "Microsoft.Extensions.Logging.ILogger" - } - ], - "ReturnType": "System.Boolean", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.RouteCreationException", - "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.Routing.RouteHandler", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Routing.IRouteHandler", - "Microsoft.AspNetCore.Routing.IRouter" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetRequestHandler", - "Parameters": [ - { - "Name": "httpContext", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "routeData", - "Type": "Microsoft.AspNetCore.Routing.RouteData" - } - ], - "ReturnType": "Microsoft.AspNetCore.Http.RequestDelegate", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Routing.IRouteHandler", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetVirtualPath", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Routing.VirtualPathContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Routing.VirtualPathData", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Routing.IRouter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RouteAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Routing.RouteContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Routing.IRouter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "requestDelegate", - "Type": "Microsoft.AspNetCore.Http.RequestDelegate" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.RouteOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_LowercaseUrls", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_LowercaseUrls", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AppendTrailingSlash", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AppendTrailingSlash", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ConstraintMap", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ConstraintMap", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IDictionary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.RouteValueEqualityComparer", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "System.Collections.Generic.IEqualityComparer" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Equals", - "Parameters": [ - { - "Name": "x", - "Type": "System.Object" - }, - { - "Name": "y", - "Type": "System.Object" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IEqualityComparer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetHashCode", - "Parameters": [ - { - "Name": "obj", - "Type": "System.Object" - } - ], - "ReturnType": "System.Int32", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IEqualityComparer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.RoutingFeature", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Routing.IRoutingFeature" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_RouteData", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.RouteData", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Routing.IRoutingFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RouteData", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Routing.RouteData" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Routing.IRoutingFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.Tree.InboundMatch", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Entry", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.Tree.InboundRouteEntry", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Entry", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Routing.Tree.InboundRouteEntry" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TemplateMatcher", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.Template.TemplateMatcher", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_TemplateMatcher", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Routing.Template.TemplateMatcher" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.Tree.InboundRouteEntry", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Constraints", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Constraints", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IDictionary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Defaults", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.RouteValueDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Defaults", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Handler", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.IRouter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Handler", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Routing.IRouter" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Order", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Precedence", - "Parameters": [], - "ReturnType": "System.Decimal", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Precedence", - "Parameters": [ - { - "Name": "value", - "Type": "System.Decimal" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RouteName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RouteName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RouteTemplate", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.Template.RouteTemplate", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RouteTemplate", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Routing.Template.RouteTemplate" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.Tree.OutboundMatch", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Entry", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.Tree.OutboundRouteEntry", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Entry", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Routing.Tree.OutboundRouteEntry" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TemplateBinder", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.Template.TemplateBinder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_TemplateBinder", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Routing.Template.TemplateBinder" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.Tree.OutboundRouteEntry", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Constraints", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Constraints", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IDictionary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Defaults", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.RouteValueDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Defaults", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Handler", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.IRouter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Handler", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Routing.IRouter" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Order", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Precedence", - "Parameters": [], - "ReturnType": "System.Decimal", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Precedence", - "Parameters": [ - { - "Name": "value", - "Type": "System.Decimal" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RouteName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RouteName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RequiredLinkValues", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.RouteValueDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RequiredLinkValues", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RouteTemplate", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.Template.RouteTemplate", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RouteTemplate", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Routing.Template.RouteTemplate" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.Tree.TreeRouteBuilder", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "MapInbound", - "Parameters": [ - { - "Name": "handler", - "Type": "Microsoft.AspNetCore.Routing.IRouter" - }, - { - "Name": "routeTemplate", - "Type": "Microsoft.AspNetCore.Routing.Template.RouteTemplate" - }, - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "order", - "Type": "System.Int32" - } - ], - "ReturnType": "Microsoft.AspNetCore.Routing.Tree.InboundRouteEntry", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MapOutbound", - "Parameters": [ - { - "Name": "handler", - "Type": "Microsoft.AspNetCore.Routing.IRouter" - }, - { - "Name": "routeTemplate", - "Type": "Microsoft.AspNetCore.Routing.Template.RouteTemplate" - }, - { - "Name": "requiredLinkValues", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - }, - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "order", - "Type": "System.Int32" - } - ], - "ReturnType": "Microsoft.AspNetCore.Routing.Tree.OutboundRouteEntry", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_InboundEntries", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_OutboundEntries", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Build", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.Tree.TreeRouter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Build", - "Parameters": [ - { - "Name": "version", - "Type": "System.Int32" - } - ], - "ReturnType": "Microsoft.AspNetCore.Routing.Tree.TreeRouter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Clear", - "Parameters": [], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - }, - { - "Name": "urlEncoder", - "Type": "System.Text.Encodings.Web.UrlEncoder" - }, - { - "Name": "objectPool", - "Type": "Microsoft.Extensions.ObjectPool.ObjectPool" - }, - { - "Name": "constraintResolver", - "Type": "Microsoft.AspNetCore.Routing.IInlineConstraintResolver" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - }, - { - "Name": "objectPool", - "Type": "Microsoft.Extensions.ObjectPool.ObjectPool" - }, - { - "Name": "constraintResolver", - "Type": "Microsoft.AspNetCore.Routing.IInlineConstraintResolver" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.Tree.TreeRouter", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Routing.IRouter" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Version", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetVirtualPath", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Routing.VirtualPathContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Routing.VirtualPathData", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Routing.IRouter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RouteAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Routing.RouteContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Routing.IRouter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "trees", - "Type": "Microsoft.AspNetCore.Routing.Tree.UrlMatchingTree[]" - }, - { - "Name": "linkGenerationEntries", - "Type": "System.Collections.Generic.IEnumerable" - }, - { - "Name": "urlEncoder", - "Type": "System.Text.Encodings.Web.UrlEncoder" - }, - { - "Name": "objectPool", - "Type": "Microsoft.Extensions.ObjectPool.ObjectPool" - }, - { - "Name": "routeLogger", - "Type": "Microsoft.Extensions.Logging.ILogger" - }, - { - "Name": "constraintLogger", - "Type": "Microsoft.Extensions.Logging.ILogger" - }, - { - "Name": "version", - "Type": "System.Int32" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "RouteGroupKey", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.Tree.UrlMatchingNode", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Depth", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsCatchAll", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IsCatchAll", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Matches", - "Parameters": [], - "ReturnType": "System.Collections.Generic.List", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Literals", - "Parameters": [], - "ReturnType": "System.Collections.Generic.Dictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ConstrainedParameters", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.Tree.UrlMatchingNode", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ConstrainedParameters", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Routing.Tree.UrlMatchingNode" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Parameters", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.Tree.UrlMatchingNode", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Parameters", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Routing.Tree.UrlMatchingNode" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ConstrainedCatchAlls", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.Tree.UrlMatchingNode", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ConstrainedCatchAlls", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Routing.Tree.UrlMatchingNode" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_CatchAlls", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.Tree.UrlMatchingNode", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_CatchAlls", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Routing.Tree.UrlMatchingNode" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "length", - "Type": "System.Int32" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.Tree.UrlMatchingTree", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Root", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.Tree.UrlMatchingNode", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "order", - "Type": "System.Int32" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.Template.InlineConstraint", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Constraint", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "constraint", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.Template.RoutePrecedence", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ComputeInbound", - "Parameters": [ - { - "Name": "template", - "Type": "Microsoft.AspNetCore.Routing.Template.RouteTemplate" - } - ], - "ReturnType": "System.Decimal", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ComputeOutbound", - "Parameters": [ - { - "Name": "template", - "Type": "Microsoft.AspNetCore.Routing.Template.RouteTemplate" - } - ], - "ReturnType": "System.Decimal", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.Template.RouteTemplate", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_TemplateText", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Parameters", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Segments", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetSegment", - "Parameters": [ - { - "Name": "index", - "Type": "System.Int32" - } - ], - "ReturnType": "Microsoft.AspNetCore.Routing.Template.TemplateSegment", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetParameter", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Routing.Template.TemplatePart", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "template", - "Type": "System.String" - }, - { - "Name": "segments", - "Type": "System.Collections.Generic.List" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.Template.TemplateBinder", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetValues", - "Parameters": [ - { - "Name": "ambientValues", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - }, - { - "Name": "values", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - } - ], - "ReturnType": "Microsoft.AspNetCore.Routing.Template.TemplateValuesResult", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BindValues", - "Parameters": [ - { - "Name": "acceptedValues", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - } - ], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RoutePartsEqual", - "Parameters": [ - { - "Name": "a", - "Type": "System.Object" - }, - { - "Name": "b", - "Type": "System.Object" - } - ], - "ReturnType": "System.Boolean", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "urlEncoder", - "Type": "System.Text.Encodings.Web.UrlEncoder" - }, - { - "Name": "pool", - "Type": "Microsoft.Extensions.ObjectPool.ObjectPool" - }, - { - "Name": "template", - "Type": "Microsoft.AspNetCore.Routing.Template.RouteTemplate" - }, - { - "Name": "defaults", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.Template.TemplateMatcher", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Defaults", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.RouteValueDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Template", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.Template.RouteTemplate", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TryMatch", - "Parameters": [ - { - "Name": "path", - "Type": "Microsoft.AspNetCore.Http.PathString" - }, - { - "Name": "values", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - } - ], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "template", - "Type": "Microsoft.AspNetCore.Routing.Template.RouteTemplate" - }, - { - "Name": "defaults", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.Template.TemplateParser", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Parse", - "Parameters": [ - { - "Name": "routeTemplate", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Routing.Template.RouteTemplate", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.Template.TemplatePart", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "CreateLiteral", - "Parameters": [ - { - "Name": "text", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Routing.Template.TemplatePart", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateParameter", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "isCatchAll", - "Type": "System.Boolean" - }, - { - "Name": "isOptional", - "Type": "System.Boolean" - }, - { - "Name": "defaultValue", - "Type": "System.Object" - }, - { - "Name": "inlineConstraints", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "ReturnType": "Microsoft.AspNetCore.Routing.Template.TemplatePart", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsCatchAll", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsLiteral", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsParameter", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsOptional", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsOptionalSeperator", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IsOptionalSeperator", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Name", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Text", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_DefaultValue", - "Parameters": [], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_InlineConstraints", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.Template.TemplateSegment", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_IsSimple", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Parts", - "Parameters": [], - "ReturnType": "System.Collections.Generic.List", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.Template.TemplateValuesResult", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_AcceptedValues", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.RouteValueDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AcceptedValues", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_CombinedValues", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.RouteValueDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_CombinedValues", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.Constraints.AlphaRouteConstraint", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Routing.Constraints.RegexRouteConstraint", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.Constraints.BoolRouteConstraint", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Routing.IRouteConstraint" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Match", - "Parameters": [ - { - "Name": "httpContext", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "route", - "Type": "Microsoft.AspNetCore.Routing.IRouter" - }, - { - "Name": "routeKey", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - }, - { - "Name": "routeDirection", - "Type": "Microsoft.AspNetCore.Routing.RouteDirection" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Routing.IRouteConstraint", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.Constraints.CompositeRouteConstraint", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Routing.IRouteConstraint" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Constraints", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Match", - "Parameters": [ - { - "Name": "httpContext", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "route", - "Type": "Microsoft.AspNetCore.Routing.IRouter" - }, - { - "Name": "routeKey", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - }, - { - "Name": "routeDirection", - "Type": "Microsoft.AspNetCore.Routing.RouteDirection" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Routing.IRouteConstraint", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "constraints", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.Constraints.DateTimeRouteConstraint", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Routing.IRouteConstraint" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Match", - "Parameters": [ - { - "Name": "httpContext", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "route", - "Type": "Microsoft.AspNetCore.Routing.IRouter" - }, - { - "Name": "routeKey", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - }, - { - "Name": "routeDirection", - "Type": "Microsoft.AspNetCore.Routing.RouteDirection" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Routing.IRouteConstraint", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.Constraints.DecimalRouteConstraint", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Routing.IRouteConstraint" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Match", - "Parameters": [ - { - "Name": "httpContext", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "route", - "Type": "Microsoft.AspNetCore.Routing.IRouter" - }, - { - "Name": "routeKey", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - }, - { - "Name": "routeDirection", - "Type": "Microsoft.AspNetCore.Routing.RouteDirection" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Routing.IRouteConstraint", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.Constraints.DoubleRouteConstraint", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Routing.IRouteConstraint" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Match", - "Parameters": [ - { - "Name": "httpContext", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "route", - "Type": "Microsoft.AspNetCore.Routing.IRouter" - }, - { - "Name": "routeKey", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - }, - { - "Name": "routeDirection", - "Type": "Microsoft.AspNetCore.Routing.RouteDirection" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Routing.IRouteConstraint", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.Constraints.FloatRouteConstraint", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Routing.IRouteConstraint" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Match", - "Parameters": [ - { - "Name": "httpContext", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "route", - "Type": "Microsoft.AspNetCore.Routing.IRouter" - }, - { - "Name": "routeKey", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - }, - { - "Name": "routeDirection", - "Type": "Microsoft.AspNetCore.Routing.RouteDirection" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Routing.IRouteConstraint", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.Constraints.GuidRouteConstraint", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Routing.IRouteConstraint" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Match", - "Parameters": [ - { - "Name": "httpContext", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "route", - "Type": "Microsoft.AspNetCore.Routing.IRouter" - }, - { - "Name": "routeKey", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - }, - { - "Name": "routeDirection", - "Type": "Microsoft.AspNetCore.Routing.RouteDirection" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Routing.IRouteConstraint", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.Constraints.HttpMethodRouteConstraint", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Routing.IRouteConstraint" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_AllowedMethods", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Match", - "Parameters": [ - { - "Name": "httpContext", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "route", - "Type": "Microsoft.AspNetCore.Routing.IRouter" - }, - { - "Name": "routeKey", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - }, - { - "Name": "routeDirection", - "Type": "Microsoft.AspNetCore.Routing.RouteDirection" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Routing.IRouteConstraint", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "allowedMethods", - "Type": "System.String[]", - "IsParams": true - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.Constraints.IntRouteConstraint", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Routing.IRouteConstraint" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Match", - "Parameters": [ - { - "Name": "httpContext", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "route", - "Type": "Microsoft.AspNetCore.Routing.IRouter" - }, - { - "Name": "routeKey", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - }, - { - "Name": "routeDirection", - "Type": "Microsoft.AspNetCore.Routing.RouteDirection" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Routing.IRouteConstraint", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.Constraints.LengthRouteConstraint", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Routing.IRouteConstraint" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_MinLength", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MaxLength", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Match", - "Parameters": [ - { - "Name": "httpContext", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "route", - "Type": "Microsoft.AspNetCore.Routing.IRouter" - }, - { - "Name": "routeKey", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - }, - { - "Name": "routeDirection", - "Type": "Microsoft.AspNetCore.Routing.RouteDirection" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Routing.IRouteConstraint", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "length", - "Type": "System.Int32" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "minLength", - "Type": "System.Int32" - }, - { - "Name": "maxLength", - "Type": "System.Int32" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.Constraints.LongRouteConstraint", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Routing.IRouteConstraint" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Match", - "Parameters": [ - { - "Name": "httpContext", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "route", - "Type": "Microsoft.AspNetCore.Routing.IRouter" - }, - { - "Name": "routeKey", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - }, - { - "Name": "routeDirection", - "Type": "Microsoft.AspNetCore.Routing.RouteDirection" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Routing.IRouteConstraint", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.Constraints.MaxLengthRouteConstraint", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Routing.IRouteConstraint" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_MaxLength", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Match", - "Parameters": [ - { - "Name": "httpContext", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "route", - "Type": "Microsoft.AspNetCore.Routing.IRouter" - }, - { - "Name": "routeKey", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - }, - { - "Name": "routeDirection", - "Type": "Microsoft.AspNetCore.Routing.RouteDirection" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Routing.IRouteConstraint", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "maxLength", - "Type": "System.Int32" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.Constraints.MaxRouteConstraint", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Routing.IRouteConstraint" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Max", - "Parameters": [], - "ReturnType": "System.Int64", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Match", - "Parameters": [ - { - "Name": "httpContext", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "route", - "Type": "Microsoft.AspNetCore.Routing.IRouter" - }, - { - "Name": "routeKey", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - }, - { - "Name": "routeDirection", - "Type": "Microsoft.AspNetCore.Routing.RouteDirection" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Routing.IRouteConstraint", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "max", - "Type": "System.Int64" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.Constraints.MinLengthRouteConstraint", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Routing.IRouteConstraint" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_MinLength", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Match", - "Parameters": [ - { - "Name": "httpContext", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "route", - "Type": "Microsoft.AspNetCore.Routing.IRouter" - }, - { - "Name": "routeKey", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - }, - { - "Name": "routeDirection", - "Type": "Microsoft.AspNetCore.Routing.RouteDirection" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Routing.IRouteConstraint", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "minLength", - "Type": "System.Int32" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.Constraints.MinRouteConstraint", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Routing.IRouteConstraint" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Min", - "Parameters": [], - "ReturnType": "System.Int64", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Match", - "Parameters": [ - { - "Name": "httpContext", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "route", - "Type": "Microsoft.AspNetCore.Routing.IRouter" - }, - { - "Name": "routeKey", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - }, - { - "Name": "routeDirection", - "Type": "Microsoft.AspNetCore.Routing.RouteDirection" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Routing.IRouteConstraint", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "min", - "Type": "System.Int64" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.Constraints.OptionalRouteConstraint", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Routing.IRouteConstraint" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_InnerConstraint", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.IRouteConstraint", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Match", - "Parameters": [ - { - "Name": "httpContext", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "route", - "Type": "Microsoft.AspNetCore.Routing.IRouter" - }, - { - "Name": "routeKey", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - }, - { - "Name": "routeDirection", - "Type": "Microsoft.AspNetCore.Routing.RouteDirection" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Routing.IRouteConstraint", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "innerConstraint", - "Type": "Microsoft.AspNetCore.Routing.IRouteConstraint" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.Constraints.RangeRouteConstraint", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Routing.IRouteConstraint" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Min", - "Parameters": [], - "ReturnType": "System.Int64", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Max", - "Parameters": [], - "ReturnType": "System.Int64", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Match", - "Parameters": [ - { - "Name": "httpContext", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "route", - "Type": "Microsoft.AspNetCore.Routing.IRouter" - }, - { - "Name": "routeKey", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - }, - { - "Name": "routeDirection", - "Type": "Microsoft.AspNetCore.Routing.RouteDirection" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Routing.IRouteConstraint", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "min", - "Type": "System.Int64" - }, - { - "Name": "max", - "Type": "System.Int64" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.Constraints.RegexInlineRouteConstraint", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Routing.Constraints.RegexRouteConstraint", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "regexPattern", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.Constraints.RegexRouteConstraint", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Routing.IRouteConstraint" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Constraint", - "Parameters": [], - "ReturnType": "System.Text.RegularExpressions.Regex", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Match", - "Parameters": [ - { - "Name": "httpContext", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "route", - "Type": "Microsoft.AspNetCore.Routing.IRouter" - }, - { - "Name": "routeKey", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - }, - { - "Name": "routeDirection", - "Type": "Microsoft.AspNetCore.Routing.RouteDirection" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Routing.IRouteConstraint", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "regex", - "Type": "System.Text.RegularExpressions.Regex" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "regexPattern", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.Constraints.RequiredRouteConstraint", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Routing.IRouteConstraint" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Match", - "Parameters": [ - { - "Name": "httpContext", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "route", - "Type": "Microsoft.AspNetCore.Routing.IRouter" - }, - { - "Name": "routeKey", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - }, - { - "Name": "routeDirection", - "Type": "Microsoft.AspNetCore.Routing.RouteDirection" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Routing.IRouteConstraint", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Routing.Constraints.StringRouteConstraint", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Routing.IRouteConstraint" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Match", - "Parameters": [ - { - "Name": "httpContext", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "route", - "Type": "Microsoft.AspNetCore.Routing.IRouter" - }, - { - "Name": "routeKey", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - }, - { - "Name": "routeDirection", - "Type": "Microsoft.AspNetCore.Routing.RouteDirection" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Routing.IRouteConstraint", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.Extensions.DependencyInjection.RoutingServiceCollectionExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddRouting", - "Parameters": [ - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IServiceCollection", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddRouting", - "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/Routing/test/UnitTests/Builder/RoutingEndpointConventionBuilderExtensionsTest.cs b/src/Http/Routing/test/UnitTests/Builder/RoutingEndpointConventionBuilderExtensionsTest.cs index ce7f9d2b3e..e2957e5470 100644 --- a/src/Http/Routing/test/UnitTests/Builder/RoutingEndpointConventionBuilderExtensionsTest.cs +++ b/src/Http/Routing/test/UnitTests/Builder/RoutingEndpointConventionBuilderExtensionsTest.cs @@ -1,6 +1,8 @@ // 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.Http; using Microsoft.AspNetCore.Routing; using Microsoft.AspNetCore.Routing.Patterns; using Xunit; @@ -26,6 +28,19 @@ namespace Microsoft.AspNetCore.Builder Assert.Equal(new[] { "www.example.com", "example.com" }, metadata.Hosts); } + [Fact] + public void RequireHost_ChainedCall_ReturnedBuilderIsDerivedType() + { + // Arrange + var builder = CreateBuilder(); + + // Act + var chainedBuilder = builder.RequireHost("test"); + + // Assert + Assert.True(chainedBuilder.TestProperty); + } + [Fact] public void WithDisplayName_String_SetsDisplayName() { @@ -40,6 +55,19 @@ namespace Microsoft.AspNetCore.Builder Assert.Equal("test", endpoint.DisplayName); } + [Fact] + public void WithDisplayName_ChainedCall_ReturnedBuilderIsDerivedType() + { + // Arrange + var builder = CreateBuilder(); + + // Act + var chainedBuilder = builder.WithDisplayName("test"); + + // Assert + Assert.True(chainedBuilder.TestProperty); + } + [Fact] public void WithDisplayName_Func_SetsDisplayName() { @@ -74,12 +102,48 @@ namespace Microsoft.AspNetCore.Builder Assert.Equal("test", @string); } - private DefaultEndpointConventionBuilder CreateBuilder() + [Fact] + public void WithMetadata_ChainedCall_ReturnedBuilderIsDerivedType() { - return new DefaultEndpointConventionBuilder(new RouteEndpointBuilder( + // Arrange + var builder = CreateBuilder(); + + // Act + var chainedBuilder = builder.WithMetadata("test"); + + // Assert + Assert.True(chainedBuilder.TestProperty); + } + + private TestEndpointConventionBuilder CreateBuilder() + { + var conventionBuilder = new DefaultEndpointConventionBuilder(new RouteEndpointBuilder( TestConstants.EmptyRequestDelegate, RoutePatternFactory.Parse("/test"), order: 0)); + + return new TestEndpointConventionBuilder(conventionBuilder); + } + + private class TestEndpointConventionBuilder : IEndpointConventionBuilder + { + private DefaultEndpointConventionBuilder _endpointConventionBuilder; + public bool TestProperty { get; } = true; + + public TestEndpointConventionBuilder(DefaultEndpointConventionBuilder endpointConventionBuilder) + { + _endpointConventionBuilder = endpointConventionBuilder; + } + + public void Add(Action convention) + { + _endpointConventionBuilder.Add(convention); + } + + public Endpoint Build() + { + return _endpointConventionBuilder.Build(); + } } } } diff --git a/src/Http/Routing/test/UnitTests/DefaultLinkGeneratorTest.cs b/src/Http/Routing/test/UnitTests/DefaultLinkGeneratorTest.cs index ef05217153..a6b288d0e9 100644 --- a/src/Http/Routing/test/UnitTests/DefaultLinkGeneratorTest.cs +++ b/src/Http/Routing/test/UnitTests/DefaultLinkGeneratorTest.cs @@ -635,12 +635,8 @@ namespace Microsoft.AspNetCore.Routing var linkGenerator = CreateLinkGenerator(endpointControllerAction, endpointController, endpointEmpty, endpointControllerActionParameter); - var context = new EndpointSelectorContext() - { - RouteValues = new RouteValueDictionary(new { controller = "Home", action = "Index", }) - }; var httpContext = CreateHttpContext(); - httpContext.Features.Set(context); + httpContext.Request.RouteValues = new RouteValueDictionary(new { controller = "Home", action = "Index" }); var values = new RouteValueDictionary(); for (int i = 0; i < routeNames.Length; i++) @@ -678,12 +674,8 @@ namespace Microsoft.AspNetCore.Routing var linkGenerator = CreateLinkGenerator(homeIndex, homeLogin); - var context = new EndpointSelectorContext() - { - RouteValues = new RouteValueDictionary(new { controller = "Home", action = "Index", }) - }; var httpContext = CreateHttpContext(); - httpContext.Features.Set(context); + httpContext.Request.RouteValues = new RouteValueDictionary(new { controller = "Home", action = "Index", }); var values = new RouteValueDictionary(); for (int i = 0; i < routeNames.Length; i++) @@ -721,9 +713,7 @@ namespace Microsoft.AspNetCore.Routing var linkGenerator = CreateLinkGenerator(homeIndex, homeLogin); - var context = new EndpointSelectorContext(); var httpContext = CreateHttpContext(); - httpContext.Features.Set(context); var values = new RouteValueDictionary(); for (int i = 0; i < routeNames.Length; i++) diff --git a/src/Http/Routing/test/UnitTests/DefaultLinkParserTest.cs b/src/Http/Routing/test/UnitTests/DefaultLinkParserTest.cs new file mode 100644 index 0000000000..d98ceb6a77 --- /dev/null +++ b/src/Http/Routing/test/UnitTests/DefaultLinkParserTest.cs @@ -0,0 +1,192 @@ +// 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 System.Linq; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Features; +using Microsoft.AspNetCore.Routing.Matching; +using Microsoft.AspNetCore.Routing.TestObjects; +using Microsoft.Extensions.DependencyInjection; +using Microsoft.Extensions.Logging; +using Microsoft.Extensions.Logging.Testing; +using Xunit; + +namespace Microsoft.AspNetCore.Routing +{ + // Tests LinkParser functionality using ParsePathByAddress - see tests for the extension + // methods for more E2E tests. + // + // Does not cover template processing in detail, those scenarios are validated by other tests. + public class DefaultLinkParserTest : LinkParserTestBase + { + [Fact] + public void ParsePathByAddresss_NoMatchingEndpoint_ReturnsNull() + { + // Arrange + var endpoint = EndpointFactory.CreateRouteEndpoint("{controller}/{action}/{id?}", displayName: "Test1", metadata: new object[] { new IntMetadata(1), }); + + var sink = new TestSink(); + var loggerFactory = new TestLoggerFactory(sink, enabled: true); + var parser = CreateLinkParser(services => { services.AddSingleton(loggerFactory); }, endpoint); + + // Act + var values = parser.ParsePathByAddress(0, "/Home/Index/17"); + + // Assert + Assert.Null(values); + + Assert.Collection( + sink.Writes, + w => Assert.Equal("No endpoints found for address 0", w.Message)); + } + + [Fact] + public void ParsePathByAddresss_HasMatches_ReturnsNullWhenParsingFails() + { + // Arrange + var endpoint1 = EndpointFactory.CreateRouteEndpoint("{controller}/{action}/{id}", displayName: "Test1", metadata: new object[] { new IntMetadata(1), }); + var endpoint2 = EndpointFactory.CreateRouteEndpoint("{controller}/{action}/{id2}", displayName: "Test2", metadata: new object[] { new IntMetadata(0), }); + + var sink = new TestSink(); + var loggerFactory = new TestLoggerFactory(sink, enabled: true); + var parser = CreateLinkParser(services => { services.AddSingleton(loggerFactory); }, endpoint1, endpoint2); + + // Act + var values = parser.ParsePathByAddress(0, "/"); + + // Assert + Assert.Null(values); + + Assert.Collection( + sink.Writes, + w => Assert.Equal("Found the endpoints Test2 for address 0", w.Message), + w => Assert.Equal("Path parsing failed for endpoints Test2 and URI path /", w.Message)); + } + + [Fact] + public void ParsePathByAddresss_HasMatches_ReturnsFirstSuccessfulParse() + { + // Arrange + var endpoint0 = EndpointFactory.CreateRouteEndpoint("{controller}/{action}", displayName: "Test1",metadata: new object[] { new IntMetadata(0), }); + var endpoint1 = EndpointFactory.CreateRouteEndpoint("{controller}/{action}/{id}", displayName: "Test2", metadata: new object[] { new IntMetadata(0), }); + var endpoint2 = EndpointFactory.CreateRouteEndpoint("{controller}/{action}/{id2}", displayName: "Test3", metadata: new object[] { new IntMetadata(0), }); + + var sink = new TestSink(); + var loggerFactory = new TestLoggerFactory(sink, enabled: true); + var parser = CreateLinkParser(services => { services.AddSingleton(loggerFactory); }, endpoint0, endpoint1, endpoint2); + + // Act + var values = parser.ParsePathByAddress(0, "/Home/Index/17"); + + // Assert + MatcherAssert.AssertRouteValuesEqual(new { controller= "Home", action = "Index", id = "17" }, values); + + Assert.Collection( + sink.Writes, + w => Assert.Equal("Found the endpoints Test1, Test2, Test3 for address 0", w.Message), + w => Assert.Equal("Path parsing succeeded for endpoint Test2 and URI path /Home/Index/17", w.Message)); + } + + [Fact] + public void ParsePathByAddresss_HasMatches_IncludesDefaults() + { + // Arrange + var endpoint = EndpointFactory.CreateRouteEndpoint("{controller=Home}/{action=Index}/{id?}", metadata: new object[] { new IntMetadata(0), }); + + var parser = CreateLinkParser(endpoint); + + // Act + var values = parser.ParsePathByAddress(0, "/"); + + // Assert + MatcherAssert.AssertRouteValuesEqual(new { controller = "Home", action = "Index", }, values); + } + + [Fact] + public void ParsePathByAddresss_HasMatches_RunsConstraints() + { + // Arrange + var endpoint0 = EndpointFactory.CreateRouteEndpoint("{controller}/{action}/{id:int}", metadata: new object[] { new IntMetadata(0), }); + var endpoint1 = EndpointFactory.CreateRouteEndpoint("{controller}/{action}/{id2:alpha}", metadata: new object[] { new IntMetadata(0), }); + + var parser = CreateLinkParser(endpoint0, endpoint1); + + // Act + var values = parser.ParsePathByAddress(0, "/Home/Index/abc"); + + // Assert + MatcherAssert.AssertRouteValuesEqual(new { controller = "Home", action = "Index", id2 = "abc" }, values); + } + + [Fact] + public void GetRoutePatternMatcher_CanCache() + { + // Arrange + var endpoint1 = EndpointFactory.CreateRouteEndpoint("{controller}/{action}/{id}", metadata: new object[] { new IntMetadata(1), }); + var dataSource = new DynamicEndpointDataSource(endpoint1); + + var parser = CreateLinkParser(dataSources: new[] { dataSource }); + + var expected = parser.GetMatcherState(endpoint1); + + // Act + var actual = parser.GetMatcherState(endpoint1); + + // Assert + Assert.Same(expected.Matcher, actual.Matcher); + Assert.Same(expected.Constraints, actual.Constraints); + } + + [Fact] + public void GetRoutePatternMatcherr_CanClearCache() + { + // Arrange + var endpoint1 = EndpointFactory.CreateRouteEndpoint("{controller}/{action}/{id}", metadata: new object[] { new IntMetadata(1), }); + var dataSource = new DynamicEndpointDataSource(endpoint1); + + var parser = CreateLinkParser(dataSources: new[] { dataSource }); + var original = parser.GetMatcherState(endpoint1); + + var endpoint2 = EndpointFactory.CreateRouteEndpoint("{controller}/{action}/{id}", metadata: new object[] { new IntMetadata(1), }); + dataSource.AddEndpoint(endpoint2); + + // Act + var actual = parser.GetMatcherState(endpoint1); + + // Assert + Assert.NotSame(original.Matcher, actual.Matcher); + Assert.NotSame(original.Constraints, actual.Constraints); + } + + protected override void AddAdditionalServices(IServiceCollection services) + { + services.AddSingleton, IntAddressScheme>(); + } + + private class IntAddressScheme : IEndpointAddressScheme + { + private readonly EndpointDataSource _dataSource; + + public IntAddressScheme(EndpointDataSource dataSource) + { + _dataSource = dataSource; + } + + public IEnumerable FindEndpoints(int address) + { + return _dataSource.Endpoints.Where(e => e.Metadata.GetMetadata().Value == address); + } + } + + private class IntMetadata + { + public IntMetadata(int value) + { + Value = value; + } + public int Value { get; } + } + } +} diff --git a/src/Http/Routing/test/UnitTests/EndpointMiddlewareTest.cs b/src/Http/Routing/test/UnitTests/EndpointMiddlewareTest.cs index 17832a6b48..4d0cafb81b 100644 --- a/src/Http/Routing/test/UnitTests/EndpointMiddlewareTest.cs +++ b/src/Http/Routing/test/UnitTests/EndpointMiddlewareTest.cs @@ -6,6 +6,7 @@ using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Cors.Infrastructure; using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Endpoints; using Microsoft.AspNetCore.Http.Features; using Microsoft.Extensions.Logging.Abstractions; using Microsoft.Extensions.Options; @@ -44,12 +45,8 @@ namespace Microsoft.AspNetCore.Routing // Arrange var httpContext = new DefaultHttpContext(); httpContext.RequestServices = new ServiceProvider(); - - httpContext.Features.Set(new EndpointSelectorContext() - { - Endpoint = null, - }); - + httpContext.SetEndpoint(null); + RequestDelegate next = (c) => { return Task.CompletedTask; @@ -77,11 +74,8 @@ namespace Microsoft.AspNetCore.Routing return Task.CompletedTask; }; - httpContext.Features.Set(new EndpointSelectorContext() - { - Endpoint = new Endpoint(endpointFunc, EndpointMetadataCollection.Empty, "Test"), - }); - + httpContext.SetEndpoint(new Endpoint(endpointFunc, EndpointMetadataCollection.Empty, "Test")); + RequestDelegate next = (c) => { return Task.CompletedTask; @@ -108,10 +102,7 @@ namespace Microsoft.AspNetCore.Routing RequestServices = new ServiceProvider() }; - httpContext.Features.Set(new EndpointSelectorContext() - { - Endpoint = new Endpoint(_ => Task.CompletedTask, new EndpointMetadataCollection(Mock.Of()), "Test"), - }); + httpContext.SetEndpoint(new Endpoint(_ => Task.CompletedTask, new EndpointMetadataCollection(Mock.Of()), "Test")); var middleware = new EndpointMiddleware(NullLogger.Instance, _ => Task.CompletedTask, RouteOptions); @@ -131,10 +122,7 @@ namespace Microsoft.AspNetCore.Routing RequestServices = new ServiceProvider() }; - httpContext.Features.Set(new EndpointSelectorContext() - { - Endpoint = new Endpoint(_ => Task.CompletedTask, new EndpointMetadataCollection(Mock.Of()), "Test"), - }); + httpContext.SetEndpoint(new Endpoint(_ => Task.CompletedTask, new EndpointMetadataCollection(Mock.Of()), "Test")); httpContext.Items[EndpointMiddleware.AuthorizationMiddlewareInvokedKey] = true; @@ -155,10 +143,8 @@ namespace Microsoft.AspNetCore.Routing RequestServices = new ServiceProvider() }; - httpContext.Features.Set(new EndpointSelectorContext() - { - Endpoint = new Endpoint(_ => Task.CompletedTask, new EndpointMetadataCollection(Mock.Of()), "Test"), - }); + httpContext.SetEndpoint(new Endpoint(_ => Task.CompletedTask, new EndpointMetadataCollection(Mock.Of()), "Test")); + var routeOptions = Options.Create(new RouteOptions { SuppressCheckForUnhandledSecurityMetadata = true }); var middleware = new EndpointMiddleware(NullLogger.Instance, _ => Task.CompletedTask, routeOptions); @@ -178,10 +164,7 @@ namespace Microsoft.AspNetCore.Routing RequestServices = new ServiceProvider() }; - httpContext.Features.Set(new EndpointSelectorContext() - { - Endpoint = new Endpoint(_ => Task.CompletedTask, new EndpointMetadataCollection(Mock.Of()), "Test"), - }); + httpContext.SetEndpoint(new Endpoint(_ => Task.CompletedTask, new EndpointMetadataCollection(Mock.Of()), "Test")); var middleware = new EndpointMiddleware(NullLogger.Instance, _ => Task.CompletedTask, RouteOptions); @@ -201,10 +184,7 @@ namespace Microsoft.AspNetCore.Routing RequestServices = new ServiceProvider() }; - httpContext.Features.Set(new EndpointSelectorContext() - { - Endpoint = new Endpoint(_ => Task.CompletedTask, new EndpointMetadataCollection(Mock.Of()), "Test"), - }); + httpContext.SetEndpoint(new Endpoint(_ => Task.CompletedTask, new EndpointMetadataCollection(Mock.Of()), "Test")); httpContext.Items[EndpointMiddleware.CorsMiddlewareInvokedKey] = true; @@ -225,10 +205,8 @@ namespace Microsoft.AspNetCore.Routing RequestServices = new ServiceProvider() }; - httpContext.Features.Set(new EndpointSelectorContext() - { - Endpoint = new Endpoint(_ => Task.CompletedTask, new EndpointMetadataCollection(Mock.Of()), "Test"), - }); + httpContext.SetEndpoint(new Endpoint(_ => Task.CompletedTask, new EndpointMetadataCollection(Mock.Of()), "Test")); + var routeOptions = Options.Create(new RouteOptions { SuppressCheckForUnhandledSecurityMetadata = true }); var middleware = new EndpointMiddleware(NullLogger.Instance, _ => Task.CompletedTask, routeOptions); diff --git a/src/Http/Routing/test/UnitTests/EndpointRoutingMiddlewareTest.cs b/src/Http/Routing/test/UnitTests/EndpointRoutingMiddlewareTest.cs index 97f33a2fbe..88b5de1555 100644 --- a/src/Http/Routing/test/UnitTests/EndpointRoutingMiddlewareTest.cs +++ b/src/Http/Routing/test/UnitTests/EndpointRoutingMiddlewareTest.cs @@ -2,17 +2,16 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Endpoints; using Microsoft.AspNetCore.Http.Features; using Microsoft.AspNetCore.Routing.Matching; using Microsoft.AspNetCore.Routing.TestObjects; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Abstractions; using Microsoft.Extensions.Logging.Testing; -using Microsoft.Extensions.Options; using Moq; using Xunit; @@ -36,6 +35,24 @@ namespace Microsoft.AspNetCore.Routing Assert.NotNull(endpointFeature); } + [Fact] + public async Task Invoke_SkipsRouting_IfEndpointSet() + { + // Arrange + var httpContext = CreateHttpContext(); + httpContext.SetEndpoint(new Endpoint(c => Task.CompletedTask, new EndpointMetadataCollection(), "myapp")); + + var middleware = CreateMiddleware(); + + // Act + await middleware.Invoke(httpContext); + + // Assert + var endpoint = httpContext.GetEndpoint(); + Assert.NotNull(endpoint); + Assert.Equal("myapp", endpoint.DisplayName); + } + [Fact] public async Task Invoke_OnCall_WritesToConfiguredLogger() { @@ -132,25 +149,22 @@ namespace Microsoft.AspNetCore.Routing private HttpContext CreateHttpContext() { - var context = new EndpointSelectorContext(); - - var httpContext = new DefaultHttpContext(); - httpContext.Features.Set(context); - httpContext.Features.Set(context); - - httpContext.RequestServices = new TestServiceProvider(); + var httpContext = new DefaultHttpContext + { + RequestServices = new TestServiceProvider() + }; return httpContext; } private EndpointRoutingMiddleware CreateMiddleware( Logger logger = null, - MatcherFactory matcherFactory = null) + MatcherFactory matcherFactory = null, + RequestDelegate next = null) { - RequestDelegate next = (c) => Task.FromResult(null); - - logger = logger ?? new Logger(NullLoggerFactory.Instance); - matcherFactory = matcherFactory ?? new TestMatcherFactory(true); + next ??= c => Task.CompletedTask; + logger ??= new Logger(NullLoggerFactory.Instance); + matcherFactory ??= new TestMatcherFactory(true); var middleware = new EndpointRoutingMiddleware( matcherFactory, diff --git a/src/Http/Routing/test/UnitTests/EndpointSelectorContextTest.cs b/src/Http/Routing/test/UnitTests/EndpointSelectorContextTest.cs index 05ca8850da..833d2697d0 100644 --- a/src/Http/Routing/test/UnitTests/EndpointSelectorContextTest.cs +++ b/src/Http/Routing/test/UnitTests/EndpointSelectorContextTest.cs @@ -1,9 +1,8 @@ -// 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.Linq; using Microsoft.AspNetCore.Http; -using Microsoft.AspNetCore.Routing.Matching; +using Microsoft.AspNetCore.Http.Endpoints; using Microsoft.AspNetCore.Routing.Patterns; using Xunit; @@ -12,48 +11,43 @@ namespace Microsoft.AspNetCore.Routing public class EndpointSelectorContextTest { [Fact] - public void RouteData_CanIntializeDataTokens_WithMetadata() + public void SettingEndpointSetsEndpointOnHttpContext() { - // Arrange - var expected = new RouteValueDictionary(new { foo = 17, bar = "hello", }); - - var context = new EndpointSelectorContext() - { - Endpoint = new RouteEndpoint( - TestConstants.EmptyRequestDelegate, - RoutePatternFactory.Parse("/"), - 0, - new EndpointMetadataCollection(new DataTokensMetadata(expected)), - "test"), - }; - - // Act - var routeData = ((IRoutingFeature)context).RouteData; - - // Assert - Assert.NotSame(expected, routeData.DataTokens); - Assert.Equal(expected.OrderBy(kvp => kvp.Key), routeData.DataTokens.OrderBy(kvp => kvp.Key)); - } - - [Fact] - public void RouteData_DataTokensIsEmpty_WithoutMetadata() - { - // Arrange - var context = new EndpointSelectorContext() - { - Endpoint = new RouteEndpoint( + var httpContext = new DefaultHttpContext(); + var ep = new RouteEndpoint( TestConstants.EmptyRequestDelegate, RoutePatternFactory.Parse("/"), 0, new EndpointMetadataCollection(), - "test"), + "test"); + + new EndpointSelectorContext(httpContext) + { + Endpoint = ep, }; - // Act - var routeData = ((IRoutingFeature)context).RouteData; + // Assert + var endpoint = httpContext.GetEndpoint(); + Assert.NotNull(endpoint); + Assert.Same(ep, endpoint); + } + + [Fact] + public void SettingRouteValuesSetRouteValuesHttpContext() + { + var httpContext = new DefaultHttpContext(); + var routeValues = new RouteValueDictionary(new { A = "1" }); + + new EndpointSelectorContext(httpContext) + { + RouteValues = routeValues + }; // Assert - Assert.Empty(routeData.DataTokens); + Assert.NotNull(httpContext.Request.RouteValues); + Assert.Same(routeValues, httpContext.Request.RouteValues); + Assert.Single(httpContext.Request.RouteValues); + Assert.Equal("1", httpContext.Request.RouteValues["A"]); } } } diff --git a/src/Http/Routing/test/UnitTests/LinkGeneratorEndpointNameExtensionsTest.cs b/src/Http/Routing/test/UnitTests/LinkGeneratorEndpointNameExtensionsTest.cs index e2a9382281..99ec7cb107 100644 --- a/src/Http/Routing/test/UnitTests/LinkGeneratorEndpointNameExtensionsTest.cs +++ b/src/Http/Routing/test/UnitTests/LinkGeneratorEndpointNameExtensionsTest.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.Linq; @@ -26,12 +26,8 @@ namespace Microsoft.AspNetCore.Routing var linkGenerator = CreateLinkGenerator(endpoint1, endpoint2); - var context = new EndpointSelectorContext() - { - RouteValues = new RouteValueDictionary(new { p = "5", }) - }; var httpContext = CreateHttpContext(); - httpContext.Features.Set(context); + httpContext.Request.RouteValues = new RouteValueDictionary(new { p = "5", }); httpContext.Request.PathBase = new PathString("/Foo/Bar?encodeme?"); var values = new { query = "some?query", }; diff --git a/src/Http/Routing/test/UnitTests/LinkGeneratorRouteValuesAddressExtensionsTest.cs b/src/Http/Routing/test/UnitTests/LinkGeneratorRouteValuesAddressExtensionsTest.cs index 5f8d509d54..181bb75601 100644 --- a/src/Http/Routing/test/UnitTests/LinkGeneratorRouteValuesAddressExtensionsTest.cs +++ b/src/Http/Routing/test/UnitTests/LinkGeneratorRouteValuesAddressExtensionsTest.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.Linq; @@ -32,12 +32,8 @@ namespace Microsoft.AspNetCore.Routing var linkGenerator = CreateLinkGenerator(endpoint1, endpoint2); - var context = new EndpointSelectorContext() - { - RouteValues = new RouteValueDictionary(new { action = "Index", }) - }; var httpContext = CreateHttpContext(); - httpContext.Features.Set(context); + httpContext.Request.RouteValues = new RouteValueDictionary(new { action = "Index", }); httpContext.Request.PathBase = new PathString("/Foo/Bar?encodeme?"); // Act diff --git a/src/Http/Routing/test/UnitTests/LinkGeneratorTestBase.cs b/src/Http/Routing/test/UnitTests/LinkGeneratorTestBase.cs index 19ded38c8b..579a0000ae 100644 --- a/src/Http/Routing/test/UnitTests/LinkGeneratorTestBase.cs +++ b/src/Http/Routing/test/UnitTests/LinkGeneratorTestBase.cs @@ -18,14 +18,7 @@ namespace Microsoft.AspNetCore.Routing protected HttpContext CreateHttpContext(object ambientValues = null) { var httpContext = new DefaultHttpContext(); - - var context = new EndpointSelectorContext - { - RouteValues = new RouteValueDictionary(ambientValues) - }; - - httpContext.Features.Set(context); - httpContext.Features.Set(context); + httpContext.Request.RouteValues = new RouteValueDictionary(ambientValues); return httpContext; } diff --git a/src/Http/Routing/test/UnitTests/LinkParserEndpointNameExtensionsTest.cs b/src/Http/Routing/test/UnitTests/LinkParserEndpointNameExtensionsTest.cs new file mode 100644 index 0000000000..bdc650d77b --- /dev/null +++ b/src/Http/Routing/test/UnitTests/LinkParserEndpointNameExtensionsTest.cs @@ -0,0 +1,57 @@ +// 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.Routing.Matching; +using Xunit; + +namespace Microsoft.AspNetCore.Routing +{ + public class LinkParserEndpointNameExtensionsTest : LinkParserTestBase + { + [Fact] + public void ParsePathByAddresss_NoMatchingEndpoint_ReturnsNull() + { + // Arrange + var endpoint = EndpointFactory.CreateRouteEndpoint("{controller}/{action}/{id?}", metadata: new object[] { new EndpointNameMetadata("Test2"), }); + + var parser = CreateLinkParser(endpoint); + + // Act + var values = parser.ParsePathByEndpointName("Test", "/Home/Index/17"); + + // Assert + Assert.Null(values); + } + + [Fact] + public void ParsePathByAddresss_HasMatches_ReturnsNullWhenParsingFails() + { + // Arrange + var endpoint1 = EndpointFactory.CreateRouteEndpoint("{controller}/{action}/{id}", metadata: new object[] { new EndpointNameMetadata("Test2"), }); + var endpoint2 = EndpointFactory.CreateRouteEndpoint("{controller}/{action}/{id2}", metadata: new object[] { new EndpointNameMetadata("Test"), }); + + var parser = CreateLinkParser(endpoint1, endpoint2); + + // Act + var values = parser.ParsePathByEndpointName("Test", "/"); + + // Assert + Assert.Null(values); + } + + [Fact] // Endpoint name does not support multiple matches + public void ParsePathByAddresss_HasMatches_ReturnsFirstSuccessfulParse() + { + // Arrange + var endpoint = EndpointFactory.CreateRouteEndpoint("{controller}/{action}/{id}", metadata: new object[] { new EndpointNameMetadata("Test"), }); + + var parser = CreateLinkParser(endpoint); + + // Act + var values = parser.ParsePathByEndpointName("Test", "/Home/Index/17"); + + // Assert + MatcherAssert.AssertRouteValuesEqual(new { controller = "Home", action = "Index", id = "17" }, values); + } + } +} diff --git a/src/Http/Routing/test/UnitTests/LinkParserTestBase.cs b/src/Http/Routing/test/UnitTests/LinkParserTestBase.cs new file mode 100644 index 0000000000..6cf48435b4 --- /dev/null +++ b/src/Http/Routing/test/UnitTests/LinkParserTestBase.cs @@ -0,0 +1,74 @@ +// 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.Http; +using Microsoft.Extensions.DependencyInjection; +using Microsoft.Extensions.Logging; +using Microsoft.Extensions.Logging.Abstractions; +using Microsoft.Extensions.Options; + +namespace Microsoft.AspNetCore.Routing +{ + public abstract class LinkParserTestBase + { + protected ServiceCollection GetBasicServices() + { + var services = new ServiceCollection(); + services.AddOptions(); + services.AddRouting(); + services.AddLogging(); + return services; + } + + protected virtual void AddAdditionalServices(IServiceCollection services) + { + } + + private protected DefaultLinkParser CreateLinkParser(params Endpoint[] endpoints) + { + return CreateLinkParser(configureServices: null, endpoints); + } + + private protected DefaultLinkParser CreateLinkParser( + Action configureServices, + params Endpoint[] endpoints) + { + return CreateLinkParser(configureServices, new[] { new DefaultEndpointDataSource(endpoints ?? Array.Empty()) }); + } + + private protected DefaultLinkParser CreateLinkParser(EndpointDataSource[] dataSources) + { + return CreateLinkParser(configureServices: null, dataSources); + } + + private protected DefaultLinkParser CreateLinkParser( + Action configureServices, + EndpointDataSource[] dataSources) + { + var services = GetBasicServices(); + AddAdditionalServices(services); + configureServices?.Invoke(services); + + services.Configure(o => + { + if (dataSources != null) + { + foreach (var dataSource in dataSources) + { + o.EndpointDataSources.Add(dataSource); + } + } + }); + + var serviceProvider = services.BuildServiceProvider(); + var routeOptions = serviceProvider.GetRequiredService>(); + + return new DefaultLinkParser( + new DefaultParameterPolicyFactory(routeOptions, serviceProvider), + new CompositeEndpointDataSource(routeOptions.Value.EndpointDataSources), + serviceProvider.GetRequiredService().CreateLogger(), + serviceProvider); + } + } +} diff --git a/src/Http/Routing/test/UnitTests/Matching/BarebonesMatcher.cs b/src/Http/Routing/test/UnitTests/Matching/BarebonesMatcher.cs index f1501b423f..87eecf6b0f 100644 --- a/src/Http/Routing/test/UnitTests/Matching/BarebonesMatcher.cs +++ b/src/Http/Routing/test/UnitTests/Matching/BarebonesMatcher.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; @@ -27,11 +27,6 @@ namespace Microsoft.AspNetCore.Routing.Matching throw new ArgumentNullException(nameof(httpContext)); } - if (context == null) - { - throw new ArgumentNullException(nameof(context)); - } - var path = httpContext.Request.Path.Value; for (var i = 0; i < Matchers.Length; i++) { @@ -133,4 +128,4 @@ namespace Microsoft.AspNetCore.Routing.Matching } } } -} \ No newline at end of file +} diff --git a/src/Http/Routing/test/UnitTests/Matching/DefaultEndpointSelectorTest.cs b/src/Http/Routing/test/UnitTests/Matching/DefaultEndpointSelectorTest.cs index 9d67c126d6..65b5660930 100644 --- a/src/Http/Routing/test/UnitTests/Matching/DefaultEndpointSelectorTest.cs +++ b/src/Http/Routing/test/UnitTests/Matching/DefaultEndpointSelectorTest.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; @@ -174,12 +174,8 @@ namespace Microsoft.AspNetCore.Routing.Matching private static (HttpContext httpContext, EndpointSelectorContext context) CreateContext() { - var context = new EndpointSelectorContext(); var httpContext = new DefaultHttpContext(); - httpContext.Features.Set(context); - httpContext.Features.Set(context); - - return (httpContext, context); + return (httpContext, new EndpointSelectorContext(httpContext)); } private static RouteEndpoint CreateEndpoint(string template) diff --git a/src/Http/Routing/test/UnitTests/Matching/DfaMatcherTest.cs b/src/Http/Routing/test/UnitTests/Matching/DfaMatcherTest.cs index e82f870043..ff706040c9 100644 --- a/src/Http/Routing/test/UnitTests/Matching/DfaMatcherTest.cs +++ b/src/Http/Routing/test/UnitTests/Matching/DfaMatcherTest.cs @@ -7,6 +7,7 @@ using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http.Features; +using Microsoft.AspNetCore.Routing.Constraints; using Microsoft.AspNetCore.Routing.Patterns; using Microsoft.AspNetCore.Routing.TestObjects; using Microsoft.Extensions.DependencyInjection; @@ -21,9 +22,9 @@ namespace Microsoft.AspNetCore.Routing.Matching // so we're reusing the services here. public class DfaMatcherTest { - private RouteEndpoint CreateEndpoint(string template, int order, object defaults = null, object requiredValues = null) + private RouteEndpoint CreateEndpoint(string template, int order, object defaults = null, object requiredValues = null, object policies = null) { - return EndpointFactory.CreateRouteEndpoint(template, defaults, requiredValues: requiredValues, order: order, displayName: template); + return EndpointFactory.CreateRouteEndpoint(template, defaults, policies, requiredValues, order, displayName: template); } private Matcher CreateDfaMatcher( @@ -402,7 +403,100 @@ namespace Microsoft.AspNetCore.Routing.Matching var endpointSelector = new Mock(); endpointSelector .Setup(s => s.SelectAsync(It.IsAny(), It.IsAny(), It.IsAny())) - .Callback((c, f, cs) => + .Callback((c, f, cs) => + { + Assert.Equal(2, cs.Count); + + Assert.Same(endpoint1, cs[0].Endpoint); + Assert.True(cs.IsValidCandidate(0)); + Assert.Equal(0, cs[0].Score); + Assert.Null(cs[0].Values); + + Assert.Same(endpoint2, cs[1].Endpoint); + Assert.True(cs.IsValidCandidate(1)); + Assert.Equal(1, cs[1].Score); + Assert.Null(cs[1].Values); + + f.Endpoint = endpoint2; + }) + .Returns(Task.CompletedTask); + + var endpointDataSource = new DefaultEndpointDataSource(new List + { + endpoint1, + endpoint2 + }); + + var matcher = CreateDfaMatcher(endpointDataSource, endpointSelector: endpointSelector.Object); + + var (httpContext, context) = CreateContext(); + httpContext.Request.Path = "/Teams"; + + // Act + await matcher.MatchAsync(httpContext, context); + + // Assert + Assert.Equal(endpoint2, context.Endpoint); + } + + [Fact] + public async Task MatchAsync_MultipleMatches_EndpointSelectorCalled_AllocatesDictionaryForRouteParameter() + { + // Arrange + var endpoint1 = CreateEndpoint("/Teams/{x?}", 0); + var endpoint2 = CreateEndpoint("/Teams/{x?}", 1); + + var endpointSelector = new Mock(); + endpointSelector + .Setup(s => s.SelectAsync(It.IsAny(), It.IsAny(), It.IsAny())) + .Callback((c, f, cs) => + { + Assert.Equal(2, cs.Count); + + Assert.Same(endpoint1, cs[0].Endpoint); + Assert.True(cs.IsValidCandidate(0)); + Assert.Equal(0, cs[0].Score); + Assert.Empty(cs[0].Values); + + Assert.Same(endpoint2, cs[1].Endpoint); + Assert.True(cs.IsValidCandidate(1)); + Assert.Equal(1, cs[1].Score); + Assert.Empty(cs[1].Values); + + f.Endpoint = endpoint2; + }) + .Returns(Task.CompletedTask); + + var endpointDataSource = new DefaultEndpointDataSource(new List + { + endpoint1, + endpoint2 + }); + + var matcher = CreateDfaMatcher(endpointDataSource, endpointSelector: endpointSelector.Object); + + var (httpContext, context) = CreateContext(); + httpContext.Request.Path = "/Teams"; + + // Act + await matcher.MatchAsync(httpContext, context); + + // Assert + Assert.Equal(endpoint2, context.Endpoint); + } + + [Fact] + public async Task MatchAsync_MultipleMatches_EndpointSelectorCalled_AllocatesDictionaryForRouteConstraint() + { + // Arrange + var constraint = new OptionalRouteConstraint(new IntRouteConstraint()); + var endpoint1 = CreateEndpoint("/Teams", 0, policies: new { x = constraint, }); + var endpoint2 = CreateEndpoint("/Teams", 1, policies: new { x = constraint, }); + + var endpointSelector = new Mock(); + endpointSelector + .Setup(s => s.SelectAsync(It.IsAny(), It.IsAny(), It.IsAny())) + .Callback((c, f, cs) => { Assert.Equal(2, cs.Count); @@ -633,7 +727,7 @@ namespace Microsoft.AspNetCore.Routing.Matching var (httpContext, context) = CreateContext(); httpContext.Request.Path = "/test/17"; - + // Act await matcher.MatchAsync(httpContext, context); @@ -727,13 +821,9 @@ namespace Microsoft.AspNetCore.Routing.Matching private (HttpContext httpContext, EndpointSelectorContext context) CreateContext() { - var context = new EndpointSelectorContext(); - var httpContext = new DefaultHttpContext(); - httpContext.Features.Set(context); - httpContext.Features.Set(context); - return (httpContext, context); + return (httpContext, new EndpointSelectorContext(httpContext)); } } } diff --git a/src/Http/Routing/test/UnitTests/Matching/HostMatcherPolicyIntegrationTestBase.cs b/src/Http/Routing/test/UnitTests/Matching/HostMatcherPolicyIntegrationTestBase.cs index c812ad8d4c..8fdef05eef 100644 --- a/src/Http/Routing/test/UnitTests/Matching/HostMatcherPolicyIntegrationTestBase.cs +++ b/src/Http/Routing/test/UnitTests/Matching/HostMatcherPolicyIntegrationTestBase.cs @@ -303,11 +303,7 @@ namespace Microsoft.AspNetCore.Routing.Matching httpContext.Request.Path = path; httpContext.Request.Scheme = scheme; - var context = new EndpointSelectorContext(); - httpContext.Features.Set(context); - httpContext.Features.Set(context); - - return (httpContext, context); + return (httpContext, new EndpointSelectorContext(httpContext)); } internal RouteEndpoint CreateEndpoint( diff --git a/src/Http/Routing/test/UnitTests/Matching/HttpMethodMatcherPolicyIntegrationTestBase.cs b/src/Http/Routing/test/UnitTests/Matching/HttpMethodMatcherPolicyIntegrationTestBase.cs index 258e9b0a92..6009c07d54 100644 --- a/src/Http/Routing/test/UnitTests/Matching/HttpMethodMatcherPolicyIntegrationTestBase.cs +++ b/src/Http/Routing/test/UnitTests/Matching/HttpMethodMatcherPolicyIntegrationTestBase.cs @@ -352,11 +352,7 @@ namespace Microsoft.AspNetCore.Routing.Matching httpContext.Request.Headers[AccessControlRequestMethod] = httpMethod; } - var context = new EndpointSelectorContext(); - httpContext.Features.Set(context); - httpContext.Features.Set(context); - - return (httpContext, context); + return (httpContext, new EndpointSelectorContext(httpContext)); } internal RouteEndpoint CreateEndpoint( diff --git a/src/Http/Routing/test/UnitTests/Matching/MatcherAssert.cs b/src/Http/Routing/test/UnitTests/Matching/MatcherAssert.cs index 28ec4c68a4..1cf3b31350 100644 --- a/src/Http/Routing/test/UnitTests/Matching/MatcherAssert.cs +++ b/src/Http/Routing/test/UnitTests/Matching/MatcherAssert.cs @@ -12,6 +12,21 @@ namespace Microsoft.AspNetCore.Routing.Matching { internal static class MatcherAssert { + public static void AssertRouteValuesEqual(object expectedValues, RouteValueDictionary actualValues) + { + AssertRouteValuesEqual(new RouteValueDictionary(expectedValues), actualValues); + } + + public static void AssertRouteValuesEqual(RouteValueDictionary expectedValues, RouteValueDictionary actualValues) + { + if (expectedValues.Count != actualValues.Count || + !expectedValues.OrderBy(kvp => kvp.Key).SequenceEqual(actualValues.OrderBy(kvp => kvp.Key))) + { + throw new XunitException( + $"Expected values:{FormatRouteValues(expectedValues)} Actual values: {FormatRouteValues(actualValues)}."); + } + } + public static void AssertMatch(EndpointSelectorContext context, HttpContext httpContext, Endpoint expected) { AssertMatch(context, httpContext, expected, new RouteValueDictionary()); @@ -53,7 +68,7 @@ namespace Microsoft.AspNetCore.Routing.Matching throw new XunitException($"Was expected to match '{expected.DisplayName}' but did not match."); } - var actualValues = httpContext.Features.Get().RouteValues; + var actualValues = httpContext.Request.RouteValues; if (actualValues == null) { diff --git a/src/Http/Routing/test/UnitTests/Matching/MatcherConformanceTest.cs b/src/Http/Routing/test/UnitTests/Matching/MatcherConformanceTest.cs index c7615bc19c..df0cdaf910 100644 --- a/src/Http/Routing/test/UnitTests/Matching/MatcherConformanceTest.cs +++ b/src/Http/Routing/test/UnitTests/Matching/MatcherConformanceTest.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; @@ -20,15 +20,7 @@ namespace Microsoft.AspNetCore.Routing.Matching httpContext.Request.Method = "TEST"; httpContext.Request.Path = path; httpContext.RequestServices = CreateServices(); - - var context = new EndpointSelectorContext() - { - RouteValues = new RouteValueDictionary() - }; - httpContext.Features.Set(context); - httpContext.Features.Set(context); - - return (httpContext, context); + return (httpContext, new EndpointSelectorContext(httpContext)); } // The older routing implementations retrieve services when they first execute. diff --git a/src/Http/Routing/test/UnitTests/Matching/RouteMatcher.cs b/src/Http/Routing/test/UnitTests/Matching/RouteMatcher.cs index 39eaee6cdd..24b4a006cb 100644 --- a/src/Http/Routing/test/UnitTests/Matching/RouteMatcher.cs +++ b/src/Http/Routing/test/UnitTests/Matching/RouteMatcher.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; @@ -24,11 +24,6 @@ namespace Microsoft.AspNetCore.Routing.Matching throw new ArgumentNullException(nameof(httpContext)); } - if (context == null) - { - throw new ArgumentNullException(nameof(context)); - } - var routeContext = new RouteContext(httpContext); await _inner.RouteAsync(routeContext); diff --git a/src/Http/Routing/test/UnitTests/Matching/RouteMatcherBuilder.cs b/src/Http/Routing/test/UnitTests/Matching/RouteMatcherBuilder.cs index da068f5198..058a7f40d9 100644 --- a/src/Http/Routing/test/UnitTests/Matching/RouteMatcherBuilder.cs +++ b/src/Http/Routing/test/UnitTests/Matching/RouteMatcherBuilder.cs @@ -1,10 +1,11 @@ -// 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; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; +using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http.Features; using Microsoft.AspNetCore.Routing.Patterns; using Microsoft.AspNetCore.Routing.TestObjects; @@ -95,10 +96,9 @@ namespace Microsoft.AspNetCore.Routing.Matching public async Task RouteAsync(RouteContext routeContext) { - var context = (EndpointSelectorContext)routeContext.HttpContext.Features.Get(); - - // This is needed due to a quirk of our tests - they reuse the endpoint feature - // across requests. + var context = new EndpointSelectorContext(routeContext.HttpContext); + + // This is needed due to a quirk of our tests - they reuse the endpoint feature. context.Endpoint = null; await _selector.SelectAsync(routeContext.HttpContext, context, new CandidateSet(_candidates, _values, _scores)); diff --git a/src/Http/Routing/test/UnitTests/Matching/TreeRouterMatcher.cs b/src/Http/Routing/test/UnitTests/Matching/TreeRouterMatcher.cs index c7477e4611..ec1c60105a 100644 --- a/src/Http/Routing/test/UnitTests/Matching/TreeRouterMatcher.cs +++ b/src/Http/Routing/test/UnitTests/Matching/TreeRouterMatcher.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; @@ -26,11 +26,6 @@ namespace Microsoft.AspNetCore.Routing.Matching throw new ArgumentNullException(nameof(httpContext)); } - if (context == null) - { - throw new ArgumentNullException(nameof(context)); - } - var routeContext = new RouteContext(httpContext); await _inner.RouteAsync(routeContext); diff --git a/src/Http/Routing/test/UnitTests/Matching/TreeRouterMatcherBuilder.cs b/src/Http/Routing/test/UnitTests/Matching/TreeRouterMatcherBuilder.cs index 5d4e25dfff..572308e9a4 100644 --- a/src/Http/Routing/test/UnitTests/Matching/TreeRouterMatcherBuilder.cs +++ b/src/Http/Routing/test/UnitTests/Matching/TreeRouterMatcherBuilder.cs @@ -99,11 +99,11 @@ namespace Microsoft.AspNetCore.Routing.Matching public async Task RouteAsync(RouteContext routeContext) { - var context = (EndpointSelectorContext)routeContext.HttpContext.Features.Get(); + var context = new EndpointSelectorContext(routeContext.HttpContext); // This is needed due to a quirk of our tests - they reuse the endpoint feature. context.Endpoint = null; - + await _selector.SelectAsync(routeContext.HttpContext, context, new CandidateSet(_candidates, _values, _scores)); if (context.Endpoint != null) { diff --git a/src/Http/Routing/test/UnitTests/RouteOptionsTests.cs b/src/Http/Routing/test/UnitTests/RouteOptionsTests.cs index 6dc6ceb2ad..0a480b41ce 100644 --- a/src/Http/Routing/test/UnitTests/RouteOptionsTests.cs +++ b/src/Http/Routing/test/UnitTests/RouteOptionsTests.cs @@ -2,6 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; +using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; @@ -27,6 +28,37 @@ namespace Microsoft.AspNetCore.Routing.Tests Assert.Equal("TestRouteConstraint", accessor.Value.ConstraintMap["foo"].Name); } + [Fact] + public void EndpointDataSources_WithDependencyInjection_AddedDataSourcesAddedToEndpointDataSource() + { + // Arrange + var services = new ServiceCollection(); + services.AddOptions(); + services.AddRouting(); + var serviceProvider = services.BuildServiceProvider(); + + var endpoint1 = new Endpoint((c) => Task.CompletedTask, EndpointMetadataCollection.Empty, string.Empty); + var endpoint2 = new Endpoint((c) => Task.CompletedTask, EndpointMetadataCollection.Empty, string.Empty); + + var options = serviceProvider.GetRequiredService>().Value; + var endpointDataSource = serviceProvider.GetRequiredService(); + + // Act 1 + options.EndpointDataSources.Add(new DefaultEndpointDataSource(endpoint1)); + + // Assert 1 + var result = Assert.Single(endpointDataSource.Endpoints); + Assert.Same(endpoint1, result); + + // Act 2 + options.EndpointDataSources.Add(new DefaultEndpointDataSource(endpoint2)); + + // Assert 2 + Assert.Collection(endpointDataSource.Endpoints, + ep => Assert.Same(endpoint1, ep), + ep => Assert.Same(endpoint2, ep)); + } + private class TestRouteConstraint : IRouteConstraint { public TestRouteConstraint(string pattern) diff --git a/src/Http/Routing/test/UnitTests/RouterMiddlewareTest.cs b/src/Http/Routing/test/UnitTests/RouterMiddlewareTest.cs index 3df8f6ad48..29a03c7e08 100644 --- a/src/Http/Routing/test/UnitTests/RouterMiddlewareTest.cs +++ b/src/Http/Routing/test/UnitTests/RouterMiddlewareTest.cs @@ -5,13 +5,65 @@ using System; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Features; +using Microsoft.Extensions.DependencyInjection; +using Microsoft.Extensions.Logging.Abstractions; using Microsoft.Extensions.Logging.Testing; +using Moq; using Xunit; namespace Microsoft.AspNetCore.Routing { public class RouterMiddlewareTest { + [Fact] + public async Task RoutingFeatureSetInIRouter() + { + // Arrange + var services = new ServiceCollection(); + services.AddLogging(); + var httpContext = new DefaultHttpContext + { + RequestServices = services.BuildServiceProvider() + }; + + httpContext.Request.Path = "/foo/10"; + + var routeHandlerExecuted = false; + + var handler = new RouteHandler(context => + { + routeHandlerExecuted = true; + + var routingFeature = context.Features.Get(); + + Assert.NotNull(routingFeature); + Assert.NotNull(context.Features.Get()); + + Assert.Single(routingFeature.RouteData.Values); + Assert.Single(context.Request.RouteValues); + Assert.True(routingFeature.RouteData.Values.ContainsKey("id")); + Assert.True(context.Request.RouteValues.ContainsKey("id")); + Assert.Equal("10", routingFeature.RouteData.Values["id"]); + Assert.Equal("10", context.Request.RouteValues["id"]); + Assert.Equal("10", context.GetRouteValue("id")); + Assert.Same(routingFeature.RouteData, context.GetRouteData()); + + return Task.CompletedTask; + }); + + var route = new Route(handler, "/foo/{id}", Mock.Of()); + + var middleware = new RouterMiddleware(context => Task.CompletedTask, NullLoggerFactory.Instance, route); + + // Act + await middleware.Invoke(httpContext); + + // Assert + Assert.True(routeHandlerExecuted); + + } + [Fact] public async Task Invoke_LogsCorrectValues_WhenNotHandled() { diff --git a/src/Http/Routing/test/testassets/RoutingSandbox/Program.cs b/src/Http/Routing/test/testassets/RoutingSandbox/Program.cs index 35e4e44c01..4f2d60bc76 100644 --- a/src/Http/Routing/test/testassets/RoutingSandbox/Program.cs +++ b/src/Http/Routing/test/testassets/RoutingSandbox/Program.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; diff --git a/src/Http/Routing/test/testassets/RoutingWebSite/UseEndpointRoutingStartup.cs b/src/Http/Routing/test/testassets/RoutingWebSite/UseEndpointRoutingStartup.cs index 1e866ea27e..f355ba7835 100644 --- a/src/Http/Routing/test/testassets/RoutingWebSite/UseEndpointRoutingStartup.cs +++ b/src/Http/Routing/test/testassets/RoutingWebSite/UseEndpointRoutingStartup.cs @@ -173,7 +173,7 @@ namespace RoutingWebSite app.UseRouting(); app.UseEndpoints(endpoints => { - endpoints.MapGet("api/get/{id}", (context) => context.Response.WriteAsync($"{name} - API Get {context.GetRouteData().Values["id"]}")); + endpoints.MapGet("api/get/{id}", (context) => context.Response.WriteAsync($"{name} - API Get {context.Request.RouteValues["id"]}")); }); } } diff --git a/src/Http/WebUtilities/ref/Microsoft.AspNetCore.WebUtilities.netcoreapp3.0.cs b/src/Http/WebUtilities/ref/Microsoft.AspNetCore.WebUtilities.netcoreapp3.0.cs index 45d806e297..afdad71011 100644 --- a/src/Http/WebUtilities/ref/Microsoft.AspNetCore.WebUtilities.netcoreapp3.0.cs +++ b/src/Http/WebUtilities/ref/Microsoft.AspNetCore.WebUtilities.netcoreapp3.0.cs @@ -41,6 +41,7 @@ namespace Microsoft.AspNetCore.WebUtilities } public partial class FileBufferingReadStream : System.IO.Stream { + public FileBufferingReadStream(System.IO.Stream inner, int memoryThreshold) { } public FileBufferingReadStream(System.IO.Stream inner, int memoryThreshold, long? bufferLimit, System.Func tempFileDirectoryAccessor) { } public FileBufferingReadStream(System.IO.Stream inner, int memoryThreshold, long? bufferLimit, System.Func tempFileDirectoryAccessor, System.Buffers.ArrayPool bytePool) { } public FileBufferingReadStream(System.IO.Stream inner, int memoryThreshold, long? bufferLimit, string tempFileDirectory) { } diff --git a/src/Http/WebUtilities/src/FileBufferingReadStream.cs b/src/Http/WebUtilities/src/FileBufferingReadStream.cs index 9dd1fbf13f..3aa1fef6b9 100644 --- a/src/Http/WebUtilities/src/FileBufferingReadStream.cs +++ b/src/Http/WebUtilities/src/FileBufferingReadStream.cs @@ -7,6 +7,7 @@ using System.Diagnostics; using System.IO; using System.Threading; using System.Threading.Tasks; +using Microsoft.AspNetCore.Internal; namespace Microsoft.AspNetCore.WebUtilities { @@ -33,6 +34,16 @@ namespace Microsoft.AspNetCore.WebUtilities private bool _disposed; + /// + /// Initializes a new instance of . + /// + /// The wrapping . + /// The maximum size to buffer in memory. + public FileBufferingReadStream(Stream inner, int memoryThreshold) + : this(inner, memoryThreshold, bufferLimit: null, tempFileDirectoryAccessor: AspNetCoreTempDirectory.TempDirectoryFactory) + { + } + public FileBufferingReadStream( Stream inner, int memoryThreshold, @@ -223,13 +234,19 @@ namespace Microsoft.AspNetCore.WebUtilities { oldBuffer.Position = 0; var rentedBuffer = _bytePool.Rent(Math.Min((int)oldBuffer.Length, _maxRentedBufferSize)); - var copyRead = oldBuffer.Read(rentedBuffer, 0, rentedBuffer.Length); - while (copyRead > 0) + try { - _buffer.Write(rentedBuffer, 0, copyRead); - copyRead = oldBuffer.Read(rentedBuffer, 0, rentedBuffer.Length); + var copyRead = oldBuffer.Read(rentedBuffer, 0, rentedBuffer.Length); + while (copyRead > 0) + { + _buffer.Write(rentedBuffer, 0, copyRead); + copyRead = oldBuffer.Read(rentedBuffer, 0, rentedBuffer.Length); + } + } + finally + { + _bytePool.Return(rentedBuffer); } - _bytePool.Return(rentedBuffer); } else { @@ -277,14 +294,20 @@ namespace Microsoft.AspNetCore.WebUtilities { oldBuffer.Position = 0; var rentedBuffer = _bytePool.Rent(Math.Min((int)oldBuffer.Length, _maxRentedBufferSize)); - // oldBuffer is a MemoryStream, no need to do async reads. - var copyRead = oldBuffer.Read(rentedBuffer, 0, rentedBuffer.Length); - while (copyRead > 0) + try { - await _buffer.WriteAsync(rentedBuffer, 0, copyRead, cancellationToken); - copyRead = oldBuffer.Read(rentedBuffer, 0, rentedBuffer.Length); + // oldBuffer is a MemoryStream, no need to do async reads. + var copyRead = oldBuffer.Read(rentedBuffer, 0, rentedBuffer.Length); + while (copyRead > 0) + { + await _buffer.WriteAsync(rentedBuffer, 0, copyRead, cancellationToken); + copyRead = oldBuffer.Read(rentedBuffer, 0, rentedBuffer.Length); + } + } + finally + { + _bytePool.Return(rentedBuffer); } - _bytePool.Return(rentedBuffer); } else { @@ -351,4 +374,4 @@ namespace Microsoft.AspNetCore.WebUtilities } } } -} \ No newline at end of file +} diff --git a/src/Http/WebUtilities/src/FileBufferingWriteStream.cs b/src/Http/WebUtilities/src/FileBufferingWriteStream.cs index ee03685312..fd9c993bad 100644 --- a/src/Http/WebUtilities/src/FileBufferingWriteStream.cs +++ b/src/Http/WebUtilities/src/FileBufferingWriteStream.cs @@ -69,7 +69,7 @@ namespace Microsoft.AspNetCore.WebUtilities public override bool CanWrite => true; /// - public override long Length => throw new NotSupportedException(); + public override long Length => PagedByteBuffer.Length + (FileStream?.Length ?? 0); /// public override long Position @@ -78,8 +78,6 @@ namespace Microsoft.AspNetCore.WebUtilities set => throw new NotSupportedException(); } - internal long BufferedLength => PagedByteBuffer.Length + (FileStream?.Length ?? 0); - internal PagedByteBuffer PagedByteBuffer { get; } internal FileStream FileStream { get; private set; } @@ -103,7 +101,7 @@ namespace Microsoft.AspNetCore.WebUtilities ThrowArgumentException(buffer, offset, count); ThrowIfDisposed(); - if (_bufferLimit.HasValue && _bufferLimit - BufferedLength < count) + if (_bufferLimit.HasValue && _bufferLimit - Length < count) { Dispose(); throw new IOException("Buffer limit exceeded."); @@ -136,7 +134,7 @@ namespace Microsoft.AspNetCore.WebUtilities ThrowArgumentException(buffer, offset, count); ThrowIfDisposed(); - if (_bufferLimit.HasValue && _bufferLimit - BufferedLength < count) + if (_bufferLimit.HasValue && _bufferLimit - Length < count) { Dispose(); throw new IOException("Buffer limit exceeded."); diff --git a/src/Http/WebUtilities/src/MultipartReaderStream.cs b/src/Http/WebUtilities/src/MultipartReaderStream.cs index e1c4f642c8..e306fbfee0 100644 --- a/src/Http/WebUtilities/src/MultipartReaderStream.cs +++ b/src/Http/WebUtilities/src/MultipartReaderStream.cs @@ -10,7 +10,7 @@ using System.Threading.Tasks; namespace Microsoft.AspNetCore.WebUtilities { - internal class MultipartReaderStream : Stream + internal sealed class MultipartReaderStream : Stream { private readonly MultipartBoundary _boundary; private readonly BufferedReadStream _innerStream; diff --git a/src/Http/WebUtilities/src/baseline.netcore.json b/src/Http/WebUtilities/src/baseline.netcore.json deleted file mode 100644 index 896fe0fcb3..0000000000 --- a/src/Http/WebUtilities/src/baseline.netcore.json +++ /dev/null @@ -1,2272 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.WebUtilities, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.WebUtilities.WebEncoders", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Base64UrlDecode", - "Parameters": [ - { - "Name": "input", - "Type": "System.String" - } - ], - "ReturnType": "System.Byte[]", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Base64UrlDecode", - "Parameters": [ - { - "Name": "input", - "Type": "System.String" - }, - { - "Name": "offset", - "Type": "System.Int32" - }, - { - "Name": "count", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Byte[]", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Base64UrlDecode", - "Parameters": [ - { - "Name": "input", - "Type": "System.String" - }, - { - "Name": "offset", - "Type": "System.Int32" - }, - { - "Name": "buffer", - "Type": "System.Char[]" - }, - { - "Name": "bufferOffset", - "Type": "System.Int32" - }, - { - "Name": "count", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Byte[]", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetArraySizeRequiredToDecode", - "Parameters": [ - { - "Name": "count", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Base64UrlEncode", - "Parameters": [ - { - "Name": "input", - "Type": "System.Byte[]" - } - ], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Base64UrlEncode", - "Parameters": [ - { - "Name": "input", - "Type": "System.Byte[]" - }, - { - "Name": "offset", - "Type": "System.Int32" - }, - { - "Name": "count", - "Type": "System.Int32" - } - ], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Base64UrlEncode", - "Parameters": [ - { - "Name": "input", - "Type": "System.Byte[]" - }, - { - "Name": "offset", - "Type": "System.Int32" - }, - { - "Name": "output", - "Type": "System.Char[]" - }, - { - "Name": "outputOffset", - "Type": "System.Int32" - }, - { - "Name": "count", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetArraySizeRequiredToEncode", - "Parameters": [ - { - "Name": "count", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.WebUtilities.Base64UrlTextEncoder", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Encode", - "Parameters": [ - { - "Name": "data", - "Type": "System.Byte[]" - } - ], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Decode", - "Parameters": [ - { - "Name": "text", - "Type": "System.String" - } - ], - "ReturnType": "System.Byte[]", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.WebUtilities.BufferedReadStream", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.IO.Stream", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_BufferedData", - "Parameters": [], - "ReturnType": "System.ArraySegment", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_CanRead", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_CanSeek", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_CanTimeout", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_CanWrite", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Length", - "Parameters": [], - "ReturnType": "System.Int64", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Position", - "Parameters": [], - "ReturnType": "System.Int64", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Position", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int64" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Seek", - "Parameters": [ - { - "Name": "offset", - "Type": "System.Int64" - }, - { - "Name": "origin", - "Type": "System.IO.SeekOrigin" - } - ], - "ReturnType": "System.Int64", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetLength", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int64" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Dispose", - "Parameters": [ - { - "Name": "disposing", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Flush", - "Parameters": [], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FlushAsync", - "Parameters": [ - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Write", - "Parameters": [ - { - "Name": "buffer", - "Type": "System.Byte[]" - }, - { - "Name": "offset", - "Type": "System.Int32" - }, - { - "Name": "count", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteAsync", - "Parameters": [ - { - "Name": "buffer", - "Type": "System.Byte[]" - }, - { - "Name": "offset", - "Type": "System.Int32" - }, - { - "Name": "count", - "Type": "System.Int32" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Read", - "Parameters": [ - { - "Name": "buffer", - "Type": "System.Byte[]" - }, - { - "Name": "offset", - "Type": "System.Int32" - }, - { - "Name": "count", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Int32", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ReadAsync", - "Parameters": [ - { - "Name": "buffer", - "Type": "System.Byte[]" - }, - { - "Name": "offset", - "Type": "System.Int32" - }, - { - "Name": "count", - "Type": "System.Int32" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "EnsureBuffered", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "EnsureBufferedAsync", - "Parameters": [ - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "EnsureBuffered", - "Parameters": [ - { - "Name": "minCount", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "EnsureBufferedAsync", - "Parameters": [ - { - "Name": "minCount", - "Type": "System.Int32" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ReadLine", - "Parameters": [ - { - "Name": "lengthLimit", - "Type": "System.Int32" - } - ], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ReadLineAsync", - "Parameters": [ - { - "Name": "lengthLimit", - "Type": "System.Int32" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "inner", - "Type": "System.IO.Stream" - }, - { - "Name": "bufferSize", - "Type": "System.Int32" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "inner", - "Type": "System.IO.Stream" - }, - { - "Name": "bufferSize", - "Type": "System.Int32" - }, - { - "Name": "bytePool", - "Type": "System.Buffers.ArrayPool" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.WebUtilities.FileBufferingReadStream", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.IO.Stream", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_InMemory", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TempFileName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_CanRead", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_CanSeek", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_CanWrite", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Length", - "Parameters": [], - "ReturnType": "System.Int64", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Position", - "Parameters": [], - "ReturnType": "System.Int64", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Position", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int64" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Seek", - "Parameters": [ - { - "Name": "offset", - "Type": "System.Int64" - }, - { - "Name": "origin", - "Type": "System.IO.SeekOrigin" - } - ], - "ReturnType": "System.Int64", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Read", - "Parameters": [ - { - "Name": "buffer", - "Type": "System.Byte[]" - }, - { - "Name": "offset", - "Type": "System.Int32" - }, - { - "Name": "count", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Int32", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ReadAsync", - "Parameters": [ - { - "Name": "buffer", - "Type": "System.Byte[]" - }, - { - "Name": "offset", - "Type": "System.Int32" - }, - { - "Name": "count", - "Type": "System.Int32" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Write", - "Parameters": [ - { - "Name": "buffer", - "Type": "System.Byte[]" - }, - { - "Name": "offset", - "Type": "System.Int32" - }, - { - "Name": "count", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteAsync", - "Parameters": [ - { - "Name": "buffer", - "Type": "System.Byte[]" - }, - { - "Name": "offset", - "Type": "System.Int32" - }, - { - "Name": "count", - "Type": "System.Int32" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetLength", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int64" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Flush", - "Parameters": [], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Dispose", - "Parameters": [ - { - "Name": "disposing", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "inner", - "Type": "System.IO.Stream" - }, - { - "Name": "memoryThreshold", - "Type": "System.Int32" - }, - { - "Name": "bufferLimit", - "Type": "System.Nullable" - }, - { - "Name": "tempFileDirectoryAccessor", - "Type": "System.Func" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "inner", - "Type": "System.IO.Stream" - }, - { - "Name": "memoryThreshold", - "Type": "System.Int32" - }, - { - "Name": "bufferLimit", - "Type": "System.Nullable" - }, - { - "Name": "tempFileDirectoryAccessor", - "Type": "System.Func" - }, - { - "Name": "bytePool", - "Type": "System.Buffers.ArrayPool" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "inner", - "Type": "System.IO.Stream" - }, - { - "Name": "memoryThreshold", - "Type": "System.Int32" - }, - { - "Name": "bufferLimit", - "Type": "System.Nullable" - }, - { - "Name": "tempFileDirectory", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "inner", - "Type": "System.IO.Stream" - }, - { - "Name": "memoryThreshold", - "Type": "System.Int32" - }, - { - "Name": "bufferLimit", - "Type": "System.Nullable" - }, - { - "Name": "tempFileDirectory", - "Type": "System.String" - }, - { - "Name": "bytePool", - "Type": "System.Buffers.ArrayPool" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.WebUtilities.FileMultipartSection", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Section", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.WebUtilities.MultipartSection", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_FileStream", - "Parameters": [], - "ReturnType": "System.IO.Stream", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Name", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_FileName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "section", - "Type": "Microsoft.AspNetCore.WebUtilities.MultipartSection" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "section", - "Type": "Microsoft.AspNetCore.WebUtilities.MultipartSection" - }, - { - "Name": "header", - "Type": "Microsoft.Net.Http.Headers.ContentDispositionHeaderValue" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.WebUtilities.FormMultipartSection", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Section", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.WebUtilities.MultipartSection", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Name", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetValueAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "section", - "Type": "Microsoft.AspNetCore.WebUtilities.MultipartSection" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "section", - "Type": "Microsoft.AspNetCore.WebUtilities.MultipartSection" - }, - { - "Name": "header", - "Type": "Microsoft.Net.Http.Headers.ContentDispositionHeaderValue" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.WebUtilities.FormReader", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "System.IDisposable" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_ValueCountLimit", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ValueCountLimit", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_KeyLengthLimit", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_KeyLengthLimit", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ValueLengthLimit", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ValueLengthLimit", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ReadNextPair", - "Parameters": [], - "ReturnType": "System.Nullable>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ReadNextPairAsync", - "Parameters": [ - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task>>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ReadForm", - "Parameters": [], - "ReturnType": "System.Collections.Generic.Dictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ReadFormAsync", - "Parameters": [ - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task>", - "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": "data", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "data", - "Type": "System.String" - }, - { - "Name": "charPool", - "Type": "System.Buffers.ArrayPool" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "stream", - "Type": "System.IO.Stream" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "stream", - "Type": "System.IO.Stream" - }, - { - "Name": "encoding", - "Type": "System.Text.Encoding" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "stream", - "Type": "System.IO.Stream" - }, - { - "Name": "encoding", - "Type": "System.Text.Encoding" - }, - { - "Name": "charPool", - "Type": "System.Buffers.ArrayPool" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "DefaultValueCountLimit", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "1024" - }, - { - "Kind": "Field", - "Name": "DefaultKeyLengthLimit", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "2048" - }, - { - "Kind": "Field", - "Name": "DefaultValueLengthLimit", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "4194304" - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.WebUtilities.HttpRequestStreamReader", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.IO.TextReader", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Dispose", - "Parameters": [ - { - "Name": "disposing", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Peek", - "Parameters": [], - "ReturnType": "System.Int32", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Read", - "Parameters": [], - "ReturnType": "System.Int32", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Read", - "Parameters": [ - { - "Name": "buffer", - "Type": "System.Char[]" - }, - { - "Name": "index", - "Type": "System.Int32" - }, - { - "Name": "count", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Int32", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ReadAsync", - "Parameters": [ - { - "Name": "buffer", - "Type": "System.Char[]" - }, - { - "Name": "index", - "Type": "System.Int32" - }, - { - "Name": "count", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "stream", - "Type": "System.IO.Stream" - }, - { - "Name": "encoding", - "Type": "System.Text.Encoding" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "stream", - "Type": "System.IO.Stream" - }, - { - "Name": "encoding", - "Type": "System.Text.Encoding" - }, - { - "Name": "bufferSize", - "Type": "System.Int32" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "stream", - "Type": "System.IO.Stream" - }, - { - "Name": "encoding", - "Type": "System.Text.Encoding" - }, - { - "Name": "bufferSize", - "Type": "System.Int32" - }, - { - "Name": "bytePool", - "Type": "System.Buffers.ArrayPool" - }, - { - "Name": "charPool", - "Type": "System.Buffers.ArrayPool" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.WebUtilities.HttpResponseStreamWriter", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.IO.TextWriter", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Encoding", - "Parameters": [], - "ReturnType": "System.Text.Encoding", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Write", - "Parameters": [ - { - "Name": "value", - "Type": "System.Char" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Write", - "Parameters": [ - { - "Name": "values", - "Type": "System.Char[]" - }, - { - "Name": "index", - "Type": "System.Int32" - }, - { - "Name": "count", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Write", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteAsync", - "Parameters": [ - { - "Name": "value", - "Type": "System.Char" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteAsync", - "Parameters": [ - { - "Name": "values", - "Type": "System.Char[]" - }, - { - "Name": "index", - "Type": "System.Int32" - }, - { - "Name": "count", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteAsync", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Flush", - "Parameters": [], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FlushAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Dispose", - "Parameters": [ - { - "Name": "disposing", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "stream", - "Type": "System.IO.Stream" - }, - { - "Name": "encoding", - "Type": "System.Text.Encoding" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "stream", - "Type": "System.IO.Stream" - }, - { - "Name": "encoding", - "Type": "System.Text.Encoding" - }, - { - "Name": "bufferSize", - "Type": "System.Int32" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "stream", - "Type": "System.IO.Stream" - }, - { - "Name": "encoding", - "Type": "System.Text.Encoding" - }, - { - "Name": "bufferSize", - "Type": "System.Int32" - }, - { - "Name": "bytePool", - "Type": "System.Buffers.ArrayPool" - }, - { - "Name": "charPool", - "Type": "System.Buffers.ArrayPool" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.WebUtilities.KeyValueAccumulator", - "Visibility": "Public", - "Kind": "Struct", - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Append", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HasValues", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_KeyCount", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ValueCount", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetResults", - "Parameters": [], - "ReturnType": "System.Collections.Generic.Dictionary", - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.WebUtilities.MultipartReader", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_HeadersCountLimit", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_HeadersCountLimit", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HeadersLengthLimit", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_HeadersLengthLimit", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_BodyLengthLimit", - "Parameters": [], - "ReturnType": "System.Nullable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_BodyLengthLimit", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ReadNextSectionAsync", - "Parameters": [ - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "boundary", - "Type": "System.String" - }, - { - "Name": "stream", - "Type": "System.IO.Stream" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "boundary", - "Type": "System.String" - }, - { - "Name": "stream", - "Type": "System.IO.Stream" - }, - { - "Name": "bufferSize", - "Type": "System.Int32" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "DefaultHeadersCountLimit", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "16" - }, - { - "Kind": "Field", - "Name": "DefaultHeadersLengthLimit", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "16384" - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.WebUtilities.MultipartSection", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ContentType", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ContentDisposition", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Headers", - "Parameters": [], - "ReturnType": "System.Collections.Generic.Dictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Headers", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.Dictionary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Body", - "Parameters": [], - "ReturnType": "System.IO.Stream", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Body", - "Parameters": [ - { - "Name": "value", - "Type": "System.IO.Stream" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_BaseStreamOffset", - "Parameters": [], - "ReturnType": "System.Nullable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_BaseStreamOffset", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.WebUtilities.MultipartSectionConverterExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AsFileSection", - "Parameters": [ - { - "Name": "section", - "Type": "Microsoft.AspNetCore.WebUtilities.MultipartSection" - } - ], - "ReturnType": "Microsoft.AspNetCore.WebUtilities.FileMultipartSection", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AsFormDataSection", - "Parameters": [ - { - "Name": "section", - "Type": "Microsoft.AspNetCore.WebUtilities.MultipartSection" - } - ], - "ReturnType": "Microsoft.AspNetCore.WebUtilities.FormMultipartSection", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetContentDispositionHeader", - "Parameters": [ - { - "Name": "section", - "Type": "Microsoft.AspNetCore.WebUtilities.MultipartSection" - } - ], - "ReturnType": "Microsoft.Net.Http.Headers.ContentDispositionHeaderValue", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.WebUtilities.MultipartSectionStreamExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ReadAsStringAsync", - "Parameters": [ - { - "Name": "section", - "Type": "Microsoft.AspNetCore.WebUtilities.MultipartSection" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.WebUtilities.QueryHelpers", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddQueryString", - "Parameters": [ - { - "Name": "uri", - "Type": "System.String" - }, - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddQueryString", - "Parameters": [ - { - "Name": "uri", - "Type": "System.String" - }, - { - "Name": "queryString", - "Type": "System.Collections.Generic.IDictionary" - } - ], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ParseQuery", - "Parameters": [ - { - "Name": "queryString", - "Type": "System.String" - } - ], - "ReturnType": "System.Collections.Generic.Dictionary", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ParseNullableQuery", - "Parameters": [ - { - "Name": "queryString", - "Type": "System.String" - } - ], - "ReturnType": "System.Collections.Generic.Dictionary", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.WebUtilities.ReasonPhrases", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetReasonPhrase", - "Parameters": [ - { - "Name": "statusCode", - "Type": "System.Int32" - } - ], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.WebUtilities.StreamHelperExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "DrainAsync", - "Parameters": [ - { - "Name": "stream", - "Type": "System.IO.Stream" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DrainAsync", - "Parameters": [ - { - "Name": "stream", - "Type": "System.IO.Stream" - }, - { - "Name": "limit", - "Type": "System.Nullable" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DrainAsync", - "Parameters": [ - { - "Name": "stream", - "Type": "System.IO.Stream" - }, - { - "Name": "bytePool", - "Type": "System.Buffers.ArrayPool" - }, - { - "Name": "limit", - "Type": "System.Nullable" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Http/WebUtilities/test/FileBufferingReadStreamTests.cs b/src/Http/WebUtilities/test/FileBufferingReadStreamTests.cs index a83f1574eb..a220635632 100644 --- a/src/Http/WebUtilities/test/FileBufferingReadStreamTests.cs +++ b/src/Http/WebUtilities/test/FileBufferingReadStreamTests.cs @@ -2,9 +2,11 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; +using System.Buffers; using System.IO; using System.Text; using System.Threading.Tasks; +using Moq; using Xunit; namespace Microsoft.AspNetCore.WebUtilities @@ -291,9 +293,67 @@ namespace Microsoft.AspNetCore.WebUtilities Assert.False(File.Exists(tempFileName)); } + [Fact] + public void FileBufferingReadStream_UsingMemoryStream_RentsAndReturnsRentedBuffer_WhenCopyingFromMemoryStreamDuringRead() + { + var inner = MakeStream(1024 * 1024 + 25); + string tempFileName; + var arrayPool = new Mock>(); + arrayPool.Setup(p => p.Rent(It.IsAny())) + .Returns((int m) => ArrayPool.Shared.Rent(m)); + arrayPool.Setup(p => p.Return(It.IsAny(), It.IsAny())) + .Callback((byte[] bytes, bool clear) => ArrayPool.Shared.Return(bytes, clear)); + + using (var stream = new FileBufferingReadStream(inner, 1024 * 1024 + 1, 2 * 1024 * 1024, GetCurrentDirectory(), arrayPool.Object)) + { + arrayPool.Verify(v => v.Rent(It.IsAny()), Times.Never()); + + stream.Read(new byte[1024 * 1024]); + Assert.False(File.Exists(stream.TempFileName), "tempFile should not be created as yet"); + + stream.Read(new byte[4]); + Assert.True(File.Exists(stream.TempFileName), "tempFile should be created"); + tempFileName = stream.TempFileName; + + arrayPool.Verify(v => v.Rent(It.IsAny()), Times.Once()); + arrayPool.Verify(v => v.Return(It.IsAny(), It.IsAny()), Times.Once()); + } + + Assert.False(File.Exists(tempFileName)); + } + + [Fact] + public async Task FileBufferingReadStream_UsingMemoryStream_RentsAndReturnsRentedBuffer_WhenCopyingFromMemoryStreamDuringReadAsync() + { + var inner = MakeStream(1024 * 1024 + 25); + string tempFileName; + var arrayPool = new Mock>(); + arrayPool.Setup(p => p.Rent(It.IsAny())) + .Returns((int m) => ArrayPool.Shared.Rent(m)); + arrayPool.Setup(p => p.Return(It.IsAny(), It.IsAny())) + .Callback((byte[] bytes, bool clear) => ArrayPool.Shared.Return(bytes, clear)); + + using (var stream = new FileBufferingReadStream(inner, 1024 * 1024 + 1, 2 * 1024 * 1024, GetCurrentDirectory(), arrayPool.Object)) + { + arrayPool.Verify(v => v.Rent(It.IsAny()), Times.Never()); + + await stream.ReadAsync(new byte[1024 * 1024]); + Assert.False(File.Exists(stream.TempFileName), "tempFile should not be created as yet"); + + await stream.ReadAsync(new byte[4]); + Assert.True(File.Exists(stream.TempFileName), "tempFile should be created"); + tempFileName = stream.TempFileName; + + arrayPool.Verify(v => v.Rent(It.IsAny()), Times.Once()); + arrayPool.Verify(v => v.Return(It.IsAny(), It.IsAny()), Times.Once()); + } + + Assert.False(File.Exists(tempFileName)); + } + private static string GetCurrentDirectory() { return AppContext.BaseDirectory; } } -} \ No newline at end of file +} diff --git a/src/Http/WebUtilities/test/FileBufferingWriteStreamTests.cs b/src/Http/WebUtilities/test/FileBufferingWriteStreamTests.cs index 14f0c081b5..987c6388e5 100644 --- a/src/Http/WebUtilities/test/FileBufferingWriteStreamTests.cs +++ b/src/Http/WebUtilities/test/FileBufferingWriteStreamTests.cs @@ -31,6 +31,8 @@ namespace Microsoft.AspNetCore.WebUtilities bufferingStream.Write(input, 0, input.Length); // Assert + Assert.Equal(input.Length, bufferingStream.Length); + // We should have written content to memory var pagedByteBuffer = bufferingStream.PagedByteBuffer; Assert.Equal(input, ReadBufferedContent(pagedByteBuffer)); @@ -53,6 +55,8 @@ namespace Microsoft.AspNetCore.WebUtilities var pageBuffer = bufferingStream.PagedByteBuffer; var fileStream = bufferingStream.FileStream; + Assert.Equal(input.Length, bufferingStream.Length); + // File should have been created. Assert.Null(fileStream); @@ -238,6 +242,8 @@ namespace Microsoft.AspNetCore.WebUtilities Assert.NotNull(fileStream); var fileBytes = ReadFileContent(fileStream); + Assert.Equal(input.Length, bufferingStream.Length); + Assert.Equal(new byte[] { 1, 2, 3, 4, 5, }, fileBytes); Assert.Equal(new byte[] { 6, 7 }, ReadBufferedContent(pageBuffer)); } @@ -344,6 +350,7 @@ namespace Microsoft.AspNetCore.WebUtilities // Assert Assert.Equal(input, memoryStream.ToArray()); + Assert.Equal(0, bufferingStream.Length); } [Fact] @@ -360,6 +367,7 @@ namespace Microsoft.AspNetCore.WebUtilities // Assert Assert.Equal(input, memoryStream.ToArray()); + Assert.Equal(0, bufferingStream.Length); } public void Dispose() diff --git a/src/Identity/ApiAuthorization.IdentityServer/ref/Microsoft.AspNetCore.ApiAuthorization.IdentityServer.netcoreapp3.0.cs b/src/Identity/ApiAuthorization.IdentityServer/ref/Microsoft.AspNetCore.ApiAuthorization.IdentityServer.netcoreapp3.0.cs index c97e039704..63439f559a 100644 --- a/src/Identity/ApiAuthorization.IdentityServer/ref/Microsoft.AspNetCore.ApiAuthorization.IdentityServer.netcoreapp3.0.cs +++ b/src/Identity/ApiAuthorization.IdentityServer/ref/Microsoft.AspNetCore.ApiAuthorization.IdentityServer.netcoreapp3.0.cs @@ -39,7 +39,6 @@ namespace Microsoft.AspNetCore.ApiAuthorization.IdentityServer public void AddApiResource(string name, System.Action configure) { } public void AddIdentityServerJwt(string name, System.Action configure) { } public void AddRange(params IdentityServer4.Models.ApiResource[] resources) { } - public void AddRange(System.Collections.Generic.IEnumerable resources) { } } public static partial class ApplicationProfiles { @@ -84,7 +83,6 @@ namespace Microsoft.AspNetCore.ApiAuthorization.IdentityServer public void AddIdentityServerSPA(string clientId, System.Action configure) { } public void AddNativeApp(string clientId, System.Action configure) { } public void AddRange(params IdentityServer4.Models.Client[] clients) { } - public void AddRange(System.Collections.Generic.IEnumerable clients) { } public void AddSPA(string clientId, System.Action configure) { } } [Microsoft.AspNetCore.Razor.TagHelpers.HtmlTargetElementAttribute("*", Attributes="[asp-apiauth-parameters]")] @@ -129,7 +127,6 @@ namespace Microsoft.AspNetCore.ApiAuthorization.IdentityServer public void AddProfile() { } public void AddProfile(System.Action configure) { } public void AddRange(params IdentityServer4.Models.IdentityResource[] identityResources) { } - public void AddRange(System.Collections.Generic.IEnumerable identityResources) { } } public partial class IdentityServerJwtConstants { diff --git a/src/Identity/ApiAuthorization.IdentityServer/src/Microsoft.AspNetCore.ApiAuthorization.IdentityServer.csproj b/src/Identity/ApiAuthorization.IdentityServer/src/Microsoft.AspNetCore.ApiAuthorization.IdentityServer.csproj index 1cd30a0cc2..b6489a710a 100644 --- a/src/Identity/ApiAuthorization.IdentityServer/src/Microsoft.AspNetCore.ApiAuthorization.IdentityServer.csproj +++ b/src/Identity/ApiAuthorization.IdentityServer/src/Microsoft.AspNetCore.ApiAuthorization.IdentityServer.csproj @@ -5,7 +5,6 @@ ASP.NET Core API Authorization package powered by Identity Server. true aspnetcore;apiauth;identity - false true diff --git a/src/Identity/ApiAuthorization.IdentityServer/src/Options/ApiResourceCollection.cs b/src/Identity/ApiAuthorization.IdentityServer/src/Options/ApiResourceCollection.cs index 38afb60fc7..104df03cbc 100644 --- a/src/Identity/ApiAuthorization.IdentityServer/src/Options/ApiResourceCollection.cs +++ b/src/Identity/ApiAuthorization.IdentityServer/src/Options/ApiResourceCollection.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; @@ -51,18 +51,6 @@ namespace Microsoft.AspNetCore.ApiAuthorization.IdentityServer } } - /// - /// Adds the resources in to the collection. - /// - /// The list of to add. - public void AddRange(IEnumerable resources) - { - foreach (var resource in resources) - { - Add(resource); - } - } - /// /// Adds the resources in to the collection. /// diff --git a/src/Identity/ApiAuthorization.IdentityServer/src/Options/ClientCollection.cs b/src/Identity/ApiAuthorization.IdentityServer/src/Options/ClientCollection.cs index ffc180bf30..b34e809eb3 100644 --- a/src/Identity/ApiAuthorization.IdentityServer/src/Options/ClientCollection.cs +++ b/src/Identity/ApiAuthorization.IdentityServer/src/Options/ClientCollection.cs @@ -51,18 +51,6 @@ namespace Microsoft.AspNetCore.ApiAuthorization.IdentityServer } } - /// - /// Adds the clients in to the collection. - /// - /// The list of to add. - public void AddRange(IEnumerable clients) - { - foreach (var client in clients) - { - Add(client); - } - } - /// /// Adds the clients in to the collection. /// diff --git a/src/Identity/ApiAuthorization.IdentityServer/src/Options/IdentityResourceCollection.cs b/src/Identity/ApiAuthorization.IdentityServer/src/Options/IdentityResourceCollection.cs index 22aa30344f..e57358489c 100644 --- a/src/Identity/ApiAuthorization.IdentityServer/src/Options/IdentityResourceCollection.cs +++ b/src/Identity/ApiAuthorization.IdentityServer/src/Options/IdentityResourceCollection.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 IdentityServer4.Models; @@ -51,18 +51,6 @@ namespace Microsoft.AspNetCore.ApiAuthorization.IdentityServer } } - /// - /// Adds the identity resources in to the collection. - /// - /// The list of to add. - public void AddRange(IEnumerable identityResources) - { - foreach (var resource in identityResources) - { - Add(resource); - } - } - /// /// Adds the identity resources in to the collection. /// diff --git a/src/Identity/Core/src/baseline.netcore.json b/src/Identity/Core/src/baseline.netcore.json deleted file mode 100644 index c6dc616ad3..0000000000 --- a/src/Identity/Core/src/baseline.netcore.json +++ /dev/null @@ -1,1927 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Identity, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.Extensions.DependencyInjection.IdentityServiceCollectionExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddIdentity", - "Parameters": [ - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - } - ], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TRole", - "ParameterPosition": 1, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "AddIdentity", - "Parameters": [ - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - }, - { - "Name": "setupAction", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TRole", - "ParameterPosition": 1, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "ConfigureApplicationCookie", - "Parameters": [ - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - }, - { - "Name": "configure", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IServiceCollection", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ConfigureExternalCookie", - "Parameters": [ - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - }, - { - "Name": "configure", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IServiceCollection", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.BuilderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseIdentity", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.AspNetRoleManager", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Identity.RoleManager", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_CancellationToken", - "Parameters": [], - "ReturnType": "System.Threading.CancellationToken", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "store", - "Type": "Microsoft.AspNetCore.Identity.IRoleStore" - }, - { - "Name": "roleValidators", - "Type": "System.Collections.Generic.IEnumerable>" - }, - { - "Name": "keyNormalizer", - "Type": "Microsoft.AspNetCore.Identity.ILookupNormalizer" - }, - { - "Name": "errors", - "Type": "Microsoft.AspNetCore.Identity.IdentityErrorDescriber" - }, - { - "Name": "logger", - "Type": "Microsoft.Extensions.Logging.ILogger>" - }, - { - "Name": "contextAccessor", - "Type": "Microsoft.AspNetCore.Http.IHttpContextAccessor" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TRole", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.AspNetUserManager", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Identity.UserManager", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_CancellationToken", - "Parameters": [], - "ReturnType": "System.Threading.CancellationToken", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "store", - "Type": "Microsoft.AspNetCore.Identity.IUserStore" - }, - { - "Name": "optionsAccessor", - "Type": "Microsoft.Extensions.Options.IOptions" - }, - { - "Name": "passwordHasher", - "Type": "Microsoft.AspNetCore.Identity.IPasswordHasher" - }, - { - "Name": "userValidators", - "Type": "System.Collections.Generic.IEnumerable>" - }, - { - "Name": "passwordValidators", - "Type": "System.Collections.Generic.IEnumerable>" - }, - { - "Name": "keyNormalizer", - "Type": "Microsoft.AspNetCore.Identity.ILookupNormalizer" - }, - { - "Name": "errors", - "Type": "Microsoft.AspNetCore.Identity.IdentityErrorDescriber" - }, - { - "Name": "services", - "Type": "System.IServiceProvider" - }, - { - "Name": "logger", - "Type": "Microsoft.Extensions.Logging.ILogger>" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.DataProtectorTokenProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IUserTwoFactorTokenProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Options", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.DataProtectionTokenProviderOptions", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Protector", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.DataProtection.IDataProtector", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Name", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateAsync", - "Parameters": [ - { - "Name": "purpose", - "Type": "System.String" - }, - { - "Name": "manager", - "Type": "Microsoft.AspNetCore.Identity.UserManager" - }, - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserTwoFactorTokenProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ValidateAsync", - "Parameters": [ - { - "Name": "purpose", - "Type": "System.String" - }, - { - "Name": "token", - "Type": "System.String" - }, - { - "Name": "manager", - "Type": "Microsoft.AspNetCore.Identity.UserManager" - }, - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserTwoFactorTokenProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanGenerateTwoFactorTokenAsync", - "Parameters": [ - { - "Name": "manager", - "Type": "Microsoft.AspNetCore.Identity.UserManager" - }, - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserTwoFactorTokenProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "dataProtectionProvider", - "Type": "Microsoft.AspNetCore.DataProtection.IDataProtectionProvider" - }, - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.DataProtectionTokenProviderOptions", - "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_TokenLifespan", - "Parameters": [], - "ReturnType": "System.TimeSpan", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_TokenLifespan", - "Parameters": [ - { - "Name": "value", - "Type": "System.TimeSpan" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.ExternalLoginInfo", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Identity.UserLoginInfo", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Principal", - "Parameters": [], - "ReturnType": "System.Security.Claims.ClaimsPrincipal", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Principal", - "Parameters": [ - { - "Name": "value", - "Type": "System.Security.Claims.ClaimsPrincipal" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AuthenticationTokens", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AuthenticationTokens", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "principal", - "Type": "System.Security.Claims.ClaimsPrincipal" - }, - { - "Name": "loginProvider", - "Type": "System.String" - }, - { - "Name": "providerKey", - "Type": "System.String" - }, - { - "Name": "displayName", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IdentityBuilderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddDefaultTokenProviders", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Identity.IdentityBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddSignInManager", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Identity.IdentityBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityBuilder", - "Static": true, - "New": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddSignInManager", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Identity.IdentityBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityBuilder", - "Static": true, - "New": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TSignInManager", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IdentityConstants", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "ApplicationScheme", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "ExternalScheme", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "TwoFactorRememberMeScheme", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "TwoFactorUserIdScheme", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IdentityCookiesBuilder", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ApplicationCookie", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.Options.OptionsBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ApplicationCookie", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.Extensions.Options.OptionsBuilder" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ExternalCookie", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.Options.OptionsBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ExternalCookie", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.Extensions.Options.OptionsBuilder" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TwoFactorRememberMeCookie", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.Options.OptionsBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_TwoFactorRememberMeCookie", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.Extensions.Options.OptionsBuilder" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TwoFactorUserIdCookie", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.Options.OptionsBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_TwoFactorUserIdCookie", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.Extensions.Options.OptionsBuilder" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IdentityCookieAuthenticationBuilderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddIdentityCookies", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityCookiesBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddIdentityCookies", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder" - }, - { - "Name": "configureCookies", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityCookiesBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddApplicationCookie", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder" - } - ], - "ReturnType": "Microsoft.Extensions.Options.OptionsBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddExternalCookie", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder" - } - ], - "ReturnType": "Microsoft.Extensions.Options.OptionsBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddTwoFactorRememberMeCookie", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder" - } - ], - "ReturnType": "Microsoft.Extensions.Options.OptionsBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddTwoFactorUserIdCookie", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder" - } - ], - "ReturnType": "Microsoft.Extensions.Options.OptionsBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.ISecurityStampValidator", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ValidateAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authentication.Cookies.CookieValidatePrincipalContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.ITwoFactorSecurityStampValidator", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.ISecurityStampValidator" - ], - "Members": [], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.SecurityStampRefreshingPrincipalContext", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_CurrentPrincipal", - "Parameters": [], - "ReturnType": "System.Security.Claims.ClaimsPrincipal", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_CurrentPrincipal", - "Parameters": [ - { - "Name": "value", - "Type": "System.Security.Claims.ClaimsPrincipal" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_NewPrincipal", - "Parameters": [], - "ReturnType": "System.Security.Claims.ClaimsPrincipal", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_NewPrincipal", - "Parameters": [ - { - "Name": "value", - "Type": "System.Security.Claims.ClaimsPrincipal" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.SecurityStampValidator", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.ISecurityStampValidator" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_SignInManager", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.SignInManager", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Options", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.SecurityStampValidatorOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Clock", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authentication.ISystemClock", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SecurityStampVerified", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authentication.Cookies.CookieValidatePrincipalContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "VerifySecurityStamp", - "Parameters": [ - { - "Name": "principal", - "Type": "System.Security.Claims.ClaimsPrincipal" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ValidateAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authentication.Cookies.CookieValidatePrincipalContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.ISecurityStampValidator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptions" - }, - { - "Name": "signInManager", - "Type": "Microsoft.AspNetCore.Identity.SignInManager" - }, - { - "Name": "clock", - "Type": "Microsoft.AspNetCore.Authentication.ISystemClock" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.SecurityStampValidator", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ValidatePrincipalAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authentication.Cookies.CookieValidatePrincipalContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ValidateAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authentication.Cookies.CookieValidatePrincipalContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TValidator", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.ISecurityStampValidator" - ] - } - ] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.SecurityStampValidatorOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ValidationInterval", - "Parameters": [], - "ReturnType": "System.TimeSpan", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ValidationInterval", - "Parameters": [ - { - "Name": "value", - "Type": "System.TimeSpan" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_OnRefreshingPrincipal", - "Parameters": [], - "ReturnType": "System.Func", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_OnRefreshingPrincipal", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.SignInManager", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Logger", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.Logging.ILogger", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Logger", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.Extensions.Logging.ILogger" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UserManager", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.UserManager", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_UserManager", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Identity.UserManager" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ClaimsFactory", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IUserClaimsPrincipalFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ClaimsFactory", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Identity.IUserClaimsPrincipalFactory" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Options", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Options", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Identity.IdentityOptions" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Context", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HttpContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Context", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateUserPrincipalAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsSignedIn", - "Parameters": [ - { - "Name": "principal", - "Type": "System.Security.Claims.ClaimsPrincipal" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanSignInAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RefreshSignInAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SignInAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "isPersistent", - "Type": "System.Boolean" - }, - { - "Name": "authenticationMethod", - "Type": "System.String", - "DefaultValue": "null" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SignInAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "authenticationProperties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - }, - { - "Name": "authenticationMethod", - "Type": "System.String", - "DefaultValue": "null" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SignOutAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ValidateSecurityStampAsync", - "Parameters": [ - { - "Name": "principal", - "Type": "System.Security.Claims.ClaimsPrincipal" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ValidateTwoFactorSecurityStampAsync", - "Parameters": [ - { - "Name": "principal", - "Type": "System.Security.Claims.ClaimsPrincipal" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ValidateSecurityStampAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "securityStamp", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PasswordSignInAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "password", - "Type": "System.String" - }, - { - "Name": "isPersistent", - "Type": "System.Boolean" - }, - { - "Name": "lockoutOnFailure", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PasswordSignInAsync", - "Parameters": [ - { - "Name": "userName", - "Type": "System.String" - }, - { - "Name": "password", - "Type": "System.String" - }, - { - "Name": "isPersistent", - "Type": "System.Boolean" - }, - { - "Name": "lockoutOnFailure", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CheckPasswordSignInAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "password", - "Type": "System.String" - }, - { - "Name": "lockoutOnFailure", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsTwoFactorClientRememberedAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RememberTwoFactorClientAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ForgetTwoFactorClientAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TwoFactorRecoveryCodeSignInAsync", - "Parameters": [ - { - "Name": "recoveryCode", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TwoFactorAuthenticatorSignInAsync", - "Parameters": [ - { - "Name": "code", - "Type": "System.String" - }, - { - "Name": "isPersistent", - "Type": "System.Boolean" - }, - { - "Name": "rememberClient", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TwoFactorSignInAsync", - "Parameters": [ - { - "Name": "provider", - "Type": "System.String" - }, - { - "Name": "code", - "Type": "System.String" - }, - { - "Name": "isPersistent", - "Type": "System.Boolean" - }, - { - "Name": "rememberClient", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetTwoFactorAuthenticationUserAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ExternalLoginSignInAsync", - "Parameters": [ - { - "Name": "loginProvider", - "Type": "System.String" - }, - { - "Name": "providerKey", - "Type": "System.String" - }, - { - "Name": "isPersistent", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ExternalLoginSignInAsync", - "Parameters": [ - { - "Name": "loginProvider", - "Type": "System.String" - }, - { - "Name": "providerKey", - "Type": "System.String" - }, - { - "Name": "isPersistent", - "Type": "System.Boolean" - }, - { - "Name": "bypassTwoFactor", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetExternalAuthenticationSchemesAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task>", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetExternalLoginInfoAsync", - "Parameters": [ - { - "Name": "expectedXsrf", - "Type": "System.String", - "DefaultValue": "null" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UpdateExternalAuthenticationTokensAsync", - "Parameters": [ - { - "Name": "externalLogin", - "Type": "Microsoft.AspNetCore.Identity.ExternalLoginInfo" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ConfigureExternalAuthenticationProperties", - "Parameters": [ - { - "Name": "provider", - "Type": "System.String" - }, - { - "Name": "redirectUrl", - "Type": "System.String" - }, - { - "Name": "userId", - "Type": "System.String", - "DefaultValue": "null" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationProperties", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SignInOrTwoFactorAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "isPersistent", - "Type": "System.Boolean" - }, - { - "Name": "loginProvider", - "Type": "System.String", - "DefaultValue": "null" - }, - { - "Name": "bypassTwoFactor", - "Type": "System.Boolean", - "DefaultValue": "False" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsLockedOut", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "LockedOut", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PreSignInCheck", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ResetLockout", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "userManager", - "Type": "Microsoft.AspNetCore.Identity.UserManager" - }, - { - "Name": "contextAccessor", - "Type": "Microsoft.AspNetCore.Http.IHttpContextAccessor" - }, - { - "Name": "claimsFactory", - "Type": "Microsoft.AspNetCore.Identity.IUserClaimsPrincipalFactory" - }, - { - "Name": "optionsAccessor", - "Type": "Microsoft.Extensions.Options.IOptions" - }, - { - "Name": "logger", - "Type": "Microsoft.Extensions.Logging.ILogger>" - }, - { - "Name": "schemes", - "Type": "Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.TwoFactorSecurityStampValidator", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Identity.SecurityStampValidator", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.ITwoFactorSecurityStampValidator" - ], - "Members": [ - { - "Kind": "Method", - "Name": "VerifySecurityStamp", - "Parameters": [ - { - "Name": "principal", - "Type": "System.Security.Claims.ClaimsPrincipal" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SecurityStampVerified", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authentication.Cookies.CookieValidatePrincipalContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptions" - }, - { - "Name": "signInManager", - "Type": "Microsoft.AspNetCore.Identity.SignInManager" - }, - { - "Name": "clock", - "Type": "Microsoft.AspNetCore.Authentication.ISystemClock" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - } - ] -} \ No newline at end of file diff --git a/src/Identity/Core/src/baseline.netframework.json b/src/Identity/Core/src/baseline.netframework.json deleted file mode 100644 index 62ab708f0b..0000000000 --- a/src/Identity/Core/src/baseline.netframework.json +++ /dev/null @@ -1,7153 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Identity, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "System.Security.Claims.PrincipalExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "FindFirstValue", - "Parameters": [ - { - "Name": "principal", - "Type": "System.Security.Claims.ClaimsPrincipal" - }, - { - "Name": "claimType", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.Extensions.DependencyInjection.IdentityServiceCollectionExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddIdentity", - "Parameters": [ - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - } - ], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TRole", - "ParameterPosition": 1, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "AddIdentity", - "Parameters": [ - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - }, - { - "Name": "setupAction", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TRole", - "ParameterPosition": 1, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.ClaimsIdentityOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_RoleClaimType", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RoleClaimType", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UserNameClaimType", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_UserNameClaimType", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UserIdClaimType", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_UserIdClaimType", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SecurityStampClaimType", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SecurityStampClaimType", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.DataProtectorTokenProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IUserTwoFactorTokenProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Options", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.DataProtectionTokenProviderOptions", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Protector", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.DataProtection.IDataProtector", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Name", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateAsync", - "Parameters": [ - { - "Name": "purpose", - "Type": "System.String" - }, - { - "Name": "manager", - "Type": "Microsoft.AspNetCore.Identity.UserManager" - }, - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserTwoFactorTokenProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ValidateAsync", - "Parameters": [ - { - "Name": "purpose", - "Type": "System.String" - }, - { - "Name": "token", - "Type": "System.String" - }, - { - "Name": "manager", - "Type": "Microsoft.AspNetCore.Identity.UserManager" - }, - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserTwoFactorTokenProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanGenerateTwoFactorTokenAsync", - "Parameters": [ - { - "Name": "manager", - "Type": "Microsoft.AspNetCore.Identity.UserManager" - }, - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserTwoFactorTokenProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "dataProtectionProvider", - "Type": "Microsoft.AspNetCore.DataProtection.IDataProtectionProvider" - }, - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.DataProtectionTokenProviderOptions", - "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_TokenLifespan", - "Parameters": [], - "ReturnType": "System.TimeSpan", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_TokenLifespan", - "Parameters": [ - { - "Name": "value", - "Type": "System.TimeSpan" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.EmailTokenProvider", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Identity.TotpSecurityStampBasedTokenProvider", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "CanGenerateTwoFactorTokenAsync", - "Parameters": [ - { - "Name": "manager", - "Type": "Microsoft.AspNetCore.Identity.UserManager" - }, - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserTwoFactorTokenProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetUserModifierAsync", - "Parameters": [ - { - "Name": "purpose", - "Type": "System.String" - }, - { - "Name": "manager", - "Type": "Microsoft.AspNetCore.Identity.UserManager" - }, - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.ExternalLoginInfo", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Identity.UserLoginInfo", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Principal", - "Parameters": [], - "ReturnType": "System.Security.Claims.ClaimsPrincipal", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Principal", - "Parameters": [ - { - "Name": "value", - "Type": "System.Security.Claims.ClaimsPrincipal" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AuthenticationTokens", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AuthenticationTokens", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "principal", - "Type": "System.Security.Claims.ClaimsPrincipal" - }, - { - "Name": "loginProvider", - "Type": "System.String" - }, - { - "Name": "providerKey", - "Type": "System.String" - }, - { - "Name": "displayName", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IdentityBuilder", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_UserType", - "Parameters": [], - "ReturnType": "System.Type", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RoleType", - "Parameters": [], - "ReturnType": "System.Type", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Services", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IServiceCollection", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddUserValidator", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityBuilder", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "AddRoleValidator", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityBuilder", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "AddErrorDescriber", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityBuilder", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TDescriber", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityErrorDescriber" - ] - } - ] - }, - { - "Kind": "Method", - "Name": "AddPasswordValidator", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityBuilder", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "AddUserStore", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityBuilder", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "AddRoleStore", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityBuilder", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "AddTokenProvider", - "Parameters": [ - { - "Name": "providerName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityBuilder", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TProvider", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "AddTokenProvider", - "Parameters": [ - { - "Name": "providerName", - "Type": "System.String" - }, - { - "Name": "provider", - "Type": "System.Type" - } - ], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityBuilder", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddDefaultTokenProviders", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityBuilder", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddUserManager", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityBuilder", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TUserManager", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "AddRoleManager", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityBuilder", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TRoleManager", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "user", - "Type": "System.Type" - }, - { - "Name": "role", - "Type": "System.Type" - }, - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IdentityCookieOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ApplicationCookie", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Builder.CookieAuthenticationOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ApplicationCookie", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Builder.CookieAuthenticationOptions" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ExternalCookie", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Builder.CookieAuthenticationOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ExternalCookie", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Builder.CookieAuthenticationOptions" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TwoFactorRememberMeCookie", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Builder.CookieAuthenticationOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_TwoFactorRememberMeCookie", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Builder.CookieAuthenticationOptions" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TwoFactorUserIdCookie", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Builder.CookieAuthenticationOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_TwoFactorUserIdCookie", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Builder.CookieAuthenticationOptions" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ApplicationCookieAuthenticationScheme", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ExternalCookieAuthenticationScheme", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TwoFactorUserIdCookieAuthenticationScheme", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TwoFactorRememberMeCookieAuthenticationScheme", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IdentityError", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Code", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Code", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Description", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Description", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IdentityErrorDescriber", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "DefaultError", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityError", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ConcurrencyFailure", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityError", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PasswordMismatch", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityError", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "InvalidToken", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityError", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "LoginAlreadyAssociated", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityError", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "InvalidUserName", - "Parameters": [ - { - "Name": "userName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityError", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "InvalidEmail", - "Parameters": [ - { - "Name": "email", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityError", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DuplicateUserName", - "Parameters": [ - { - "Name": "userName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityError", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DuplicateEmail", - "Parameters": [ - { - "Name": "email", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityError", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "InvalidRoleName", - "Parameters": [ - { - "Name": "role", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityError", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DuplicateRoleName", - "Parameters": [ - { - "Name": "role", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityError", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UserAlreadyHasPassword", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityError", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UserLockoutNotEnabled", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityError", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UserAlreadyInRole", - "Parameters": [ - { - "Name": "role", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityError", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UserNotInRole", - "Parameters": [ - { - "Name": "role", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityError", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PasswordTooShort", - "Parameters": [ - { - "Name": "length", - "Type": "System.Int32" - } - ], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityError", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PasswordRequiresNonAlphanumeric", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityError", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PasswordRequiresDigit", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityError", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PasswordRequiresLower", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityError", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PasswordRequiresUpper", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityError", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IdentityMarkerService", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IdentityResult", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Succeeded", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Succeeded", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Errors", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Success", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityResult", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Failed", - "Parameters": [ - { - "Name": "errors", - "Type": "Microsoft.AspNetCore.Identity.IdentityError[]", - "IsParams": true - } - ], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityResult", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ToString", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.ILookupNormalizer", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Normalize", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IPasswordHasher", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "HashPassword", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "password", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "VerifyHashedPassword", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "hashedPassword", - "Type": "System.String" - }, - { - "Name": "providedPassword", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Identity.PasswordVerificationResult", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IPasswordValidator", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ValidateAsync", - "Parameters": [ - { - "Name": "manager", - "Type": "Microsoft.AspNetCore.Identity.UserManager" - }, - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "password", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IQueryableRoleStore", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IRoleStore" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Roles", - "Parameters": [], - "ReturnType": "System.Linq.IQueryable", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TRole", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IQueryableUserStore", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IUserStore" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Users", - "Parameters": [], - "ReturnType": "System.Linq.IQueryable", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IRoleClaimStore", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IRoleStore" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetClaimsAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task>", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddClaimAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "claim", - "Type": "System.Security.Claims.Claim" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveClaimAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "claim", - "Type": "System.Security.Claims.Claim" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TRole", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IRoleStore", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "System.IDisposable" - ], - "Members": [ - { - "Kind": "Method", - "Name": "CreateAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UpdateAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DeleteAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetRoleIdAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetRoleNameAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetRoleNameAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "roleName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetNormalizedRoleNameAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetNormalizedRoleNameAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "normalizedName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindByIdAsync", - "Parameters": [ - { - "Name": "roleId", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindByNameAsync", - "Parameters": [ - { - "Name": "normalizedRoleName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TRole", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IRoleValidator", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ValidateAsync", - "Parameters": [ - { - "Name": "manager", - "Type": "Microsoft.AspNetCore.Identity.RoleManager" - }, - { - "Name": "role", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TRole", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.ISecurityStampValidator", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ValidateAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authentication.Cookies.CookieValidatePrincipalContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IUserAuthenticationTokenStore", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IUserStore" - ], - "Members": [ - { - "Kind": "Method", - "Name": "SetTokenAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "loginProvider", - "Type": "System.String" - }, - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveTokenAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "loginProvider", - "Type": "System.String" - }, - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetTokenAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "loginProvider", - "Type": "System.String" - }, - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IUserClaimsPrincipalFactory", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "CreateAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IUserClaimStore", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IUserStore" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetClaimsAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task>", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddClaimsAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "claims", - "Type": "System.Collections.Generic.IEnumerable" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ReplaceClaimAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "claim", - "Type": "System.Security.Claims.Claim" - }, - { - "Name": "newClaim", - "Type": "System.Security.Claims.Claim" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveClaimsAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "claims", - "Type": "System.Collections.Generic.IEnumerable" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetUsersForClaimAsync", - "Parameters": [ - { - "Name": "claim", - "Type": "System.Security.Claims.Claim" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task>", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IUserEmailStore", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IUserStore" - ], - "Members": [ - { - "Kind": "Method", - "Name": "SetEmailAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "email", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetEmailAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetEmailConfirmedAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetEmailConfirmedAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "confirmed", - "Type": "System.Boolean" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindByEmailAsync", - "Parameters": [ - { - "Name": "normalizedEmail", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetNormalizedEmailAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetNormalizedEmailAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "normalizedEmail", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IUserLockoutStore", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IUserStore" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetLockoutEndDateAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task>", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetLockoutEndDateAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "lockoutEnd", - "Type": "System.Nullable" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IncrementAccessFailedCountAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ResetAccessFailedCountAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetAccessFailedCountAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetLockoutEnabledAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetLockoutEnabledAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "enabled", - "Type": "System.Boolean" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IUserLoginStore", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IUserStore" - ], - "Members": [ - { - "Kind": "Method", - "Name": "AddLoginAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "login", - "Type": "Microsoft.AspNetCore.Identity.UserLoginInfo" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveLoginAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "loginProvider", - "Type": "System.String" - }, - { - "Name": "providerKey", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetLoginsAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task>", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindByLoginAsync", - "Parameters": [ - { - "Name": "loginProvider", - "Type": "System.String" - }, - { - "Name": "providerKey", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IUserPasswordStore", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IUserStore" - ], - "Members": [ - { - "Kind": "Method", - "Name": "SetPasswordHashAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "passwordHash", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetPasswordHashAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HasPasswordAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IUserPhoneNumberStore", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IUserStore" - ], - "Members": [ - { - "Kind": "Method", - "Name": "SetPhoneNumberAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "phoneNumber", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetPhoneNumberAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetPhoneNumberConfirmedAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetPhoneNumberConfirmedAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "confirmed", - "Type": "System.Boolean" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IUserRoleStore", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IUserStore" - ], - "Members": [ - { - "Kind": "Method", - "Name": "AddToRoleAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "roleName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveFromRoleAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "roleName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetRolesAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task>", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsInRoleAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "roleName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetUsersInRoleAsync", - "Parameters": [ - { - "Name": "roleName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task>", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IUserSecurityStampStore", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IUserStore" - ], - "Members": [ - { - "Kind": "Method", - "Name": "SetSecurityStampAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "stamp", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetSecurityStampAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IUserStore", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "System.IDisposable" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetUserIdAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetUserNameAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetUserNameAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "userName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetNormalizedUserNameAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetNormalizedUserNameAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "normalizedName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UpdateAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DeleteAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindByIdAsync", - "Parameters": [ - { - "Name": "userId", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindByNameAsync", - "Parameters": [ - { - "Name": "normalizedUserName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IUserTwoFactorStore", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IUserStore" - ], - "Members": [ - { - "Kind": "Method", - "Name": "SetTwoFactorEnabledAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "enabled", - "Type": "System.Boolean" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetTwoFactorEnabledAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IUserTwoFactorTokenProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GenerateAsync", - "Parameters": [ - { - "Name": "purpose", - "Type": "System.String" - }, - { - "Name": "manager", - "Type": "Microsoft.AspNetCore.Identity.UserManager" - }, - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ValidateAsync", - "Parameters": [ - { - "Name": "purpose", - "Type": "System.String" - }, - { - "Name": "token", - "Type": "System.String" - }, - { - "Name": "manager", - "Type": "Microsoft.AspNetCore.Identity.UserManager" - }, - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanGenerateTwoFactorTokenAsync", - "Parameters": [ - { - "Name": "manager", - "Type": "Microsoft.AspNetCore.Identity.UserManager" - }, - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IUserValidator", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ValidateAsync", - "Parameters": [ - { - "Name": "manager", - "Type": "Microsoft.AspNetCore.Identity.UserManager" - }, - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.LockoutOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_AllowedForNewUsers", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AllowedForNewUsers", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MaxFailedAccessAttempts", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MaxFailedAccessAttempts", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_DefaultLockoutTimeSpan", - "Parameters": [], - "ReturnType": "System.TimeSpan", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_DefaultLockoutTimeSpan", - "Parameters": [ - { - "Name": "value", - "Type": "System.TimeSpan" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.PasswordHasher", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IPasswordHasher" - ], - "Members": [ - { - "Kind": "Method", - "Name": "HashPassword", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "password", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IPasswordHasher", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "VerifyHashedPassword", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "hashedPassword", - "Type": "System.String" - }, - { - "Name": "providedPassword", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Identity.PasswordVerificationResult", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IPasswordHasher", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "optionsAccessor", - "Type": "Microsoft.Extensions.Options.IOptions", - "DefaultValue": "null" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.PasswordHasherCompatibilityMode", - "Visibility": "Public", - "Kind": "Enumeration", - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "IdentityV2", - "Parameters": [], - "GenericParameter": [], - "Literal": "0" - }, - { - "Kind": "Field", - "Name": "IdentityV3", - "Parameters": [], - "GenericParameter": [], - "Literal": "1" - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.PasswordHasherOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_CompatibilityMode", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.PasswordHasherCompatibilityMode", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_CompatibilityMode", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Identity.PasswordHasherCompatibilityMode" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IterationCount", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IterationCount", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.PasswordOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_RequiredLength", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RequiredLength", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RequireNonAlphanumeric", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RequireNonAlphanumeric", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RequireLowercase", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RequireLowercase", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RequireUppercase", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RequireUppercase", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RequireDigit", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RequireDigit", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.PasswordValidator", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IPasswordValidator" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Describer", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityErrorDescriber", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ValidateAsync", - "Parameters": [ - { - "Name": "manager", - "Type": "Microsoft.AspNetCore.Identity.UserManager" - }, - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "password", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IPasswordValidator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsDigit", - "Parameters": [ - { - "Name": "c", - "Type": "System.Char" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsLower", - "Parameters": [ - { - "Name": "c", - "Type": "System.Char" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsUpper", - "Parameters": [ - { - "Name": "c", - "Type": "System.Char" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsLetterOrDigit", - "Parameters": [ - { - "Name": "c", - "Type": "System.Char" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "errors", - "Type": "Microsoft.AspNetCore.Identity.IdentityErrorDescriber", - "DefaultValue": "null" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.PasswordVerificationResult", - "Visibility": "Public", - "Kind": "Enumeration", - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "Failed", - "Parameters": [], - "GenericParameter": [], - "Literal": "0" - }, - { - "Kind": "Field", - "Name": "Success", - "Parameters": [], - "GenericParameter": [], - "Literal": "1" - }, - { - "Kind": "Field", - "Name": "SuccessRehashNeeded", - "Parameters": [], - "GenericParameter": [], - "Literal": "2" - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.PhoneNumberTokenProvider", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Identity.TotpSecurityStampBasedTokenProvider", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "CanGenerateTwoFactorTokenAsync", - "Parameters": [ - { - "Name": "manager", - "Type": "Microsoft.AspNetCore.Identity.UserManager" - }, - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserTwoFactorTokenProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetUserModifierAsync", - "Parameters": [ - { - "Name": "purpose", - "Type": "System.String" - }, - { - "Name": "manager", - "Type": "Microsoft.AspNetCore.Identity.UserManager" - }, - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.RoleManager", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "System.IDisposable" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Store", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IRoleStore", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Logger", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.Logging.ILogger", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Logger", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.Extensions.Logging.ILogger" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Roles", - "Parameters": [], - "ReturnType": "System.Linq.IQueryable", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SupportsQueryableRoles", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SupportsRoleClaims", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UpdateNormalizedRoleNameAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UpdateAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DeleteAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RoleExistsAsync", - "Parameters": [ - { - "Name": "roleName", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "NormalizeKey", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindByIdAsync", - "Parameters": [ - { - "Name": "roleId", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetRoleNameAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetRoleNameAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "name", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetRoleIdAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindByNameAsync", - "Parameters": [ - { - "Name": "roleName", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddClaimAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "claim", - "Type": "System.Security.Claims.Claim" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveClaimAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "claim", - "Type": "System.Security.Claims.Claim" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetClaimsAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task>", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Dispose", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.IDisposable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Dispose", - "Parameters": [ - { - "Name": "disposing", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ThrowIfDisposed", - "Parameters": [], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "store", - "Type": "Microsoft.AspNetCore.Identity.IRoleStore" - }, - { - "Name": "roleValidators", - "Type": "System.Collections.Generic.IEnumerable>" - }, - { - "Name": "keyNormalizer", - "Type": "Microsoft.AspNetCore.Identity.ILookupNormalizer" - }, - { - "Name": "errors", - "Type": "Microsoft.AspNetCore.Identity.IdentityErrorDescriber" - }, - { - "Name": "logger", - "Type": "Microsoft.Extensions.Logging.ILogger>" - }, - { - "Name": "contextAccessor", - "Type": "Microsoft.AspNetCore.Http.IHttpContextAccessor" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TRole", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.RoleValidator", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IRoleValidator" - ], - "Members": [ - { - "Kind": "Method", - "Name": "ValidateAsync", - "Parameters": [ - { - "Name": "manager", - "Type": "Microsoft.AspNetCore.Identity.RoleManager" - }, - { - "Name": "role", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IRoleValidator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "errors", - "Type": "Microsoft.AspNetCore.Identity.IdentityErrorDescriber", - "DefaultValue": "null" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TRole", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.SecurityStampValidator", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.ISecurityStampValidator" - ], - "Members": [ - { - "Kind": "Method", - "Name": "ValidateAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authentication.Cookies.CookieValidatePrincipalContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.ISecurityStampValidator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptions" - }, - { - "Name": "signInManager", - "Type": "Microsoft.AspNetCore.Identity.SignInManager" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.SecurityStampValidator", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ValidatePrincipalAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authentication.Cookies.CookieValidatePrincipalContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.SignInManager", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Logger", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.Logging.ILogger", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Logger", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.Extensions.Logging.ILogger" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UserManager", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.UserManager", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_UserManager", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Identity.UserManager" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateUserPrincipalAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsSignedIn", - "Parameters": [ - { - "Name": "principal", - "Type": "System.Security.Claims.ClaimsPrincipal" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanSignInAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RefreshSignInAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SignInAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "isPersistent", - "Type": "System.Boolean" - }, - { - "Name": "authenticationMethod", - "Type": "System.String", - "DefaultValue": "null" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SignInAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "authenticationProperties", - "Type": "Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties" - }, - { - "Name": "authenticationMethod", - "Type": "System.String", - "DefaultValue": "null" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SignOutAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ValidateSecurityStampAsync", - "Parameters": [ - { - "Name": "principal", - "Type": "System.Security.Claims.ClaimsPrincipal" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PasswordSignInAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "password", - "Type": "System.String" - }, - { - "Name": "isPersistent", - "Type": "System.Boolean" - }, - { - "Name": "lockoutOnFailure", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PasswordSignInAsync", - "Parameters": [ - { - "Name": "userName", - "Type": "System.String" - }, - { - "Name": "password", - "Type": "System.String" - }, - { - "Name": "isPersistent", - "Type": "System.Boolean" - }, - { - "Name": "lockoutOnFailure", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsTwoFactorClientRememberedAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RememberTwoFactorClientAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ForgetTwoFactorClientAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TwoFactorSignInAsync", - "Parameters": [ - { - "Name": "provider", - "Type": "System.String" - }, - { - "Name": "code", - "Type": "System.String" - }, - { - "Name": "isPersistent", - "Type": "System.Boolean" - }, - { - "Name": "rememberClient", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetTwoFactorAuthenticationUserAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ExternalLoginSignInAsync", - "Parameters": [ - { - "Name": "loginProvider", - "Type": "System.String" - }, - { - "Name": "providerKey", - "Type": "System.String" - }, - { - "Name": "isPersistent", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetExternalAuthenticationSchemes", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetExternalLoginInfoAsync", - "Parameters": [ - { - "Name": "expectedXsrf", - "Type": "System.String", - "DefaultValue": "null" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UpdateExternalAuthenticationTokensAsync", - "Parameters": [ - { - "Name": "externalLogin", - "Type": "Microsoft.AspNetCore.Identity.ExternalLoginInfo" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ConfigureExternalAuthenticationProperties", - "Parameters": [ - { - "Name": "provider", - "Type": "System.String" - }, - { - "Name": "redirectUrl", - "Type": "System.String" - }, - { - "Name": "userId", - "Type": "System.String", - "DefaultValue": "null" - } - ], - "ReturnType": "Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "userManager", - "Type": "Microsoft.AspNetCore.Identity.UserManager" - }, - { - "Name": "contextAccessor", - "Type": "Microsoft.AspNetCore.Http.IHttpContextAccessor" - }, - { - "Name": "claimsFactory", - "Type": "Microsoft.AspNetCore.Identity.IUserClaimsPrincipalFactory" - }, - { - "Name": "optionsAccessor", - "Type": "Microsoft.Extensions.Options.IOptions" - }, - { - "Name": "logger", - "Type": "Microsoft.Extensions.Logging.ILogger>" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.SignInOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_RequireConfirmedEmail", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RequireConfirmedEmail", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RequireConfirmedPhoneNumber", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RequireConfirmedPhoneNumber", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.SignInResult", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Succeeded", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Succeeded", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsLockedOut", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IsLockedOut", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsNotAllowed", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IsNotAllowed", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RequiresTwoFactor", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RequiresTwoFactor", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Success", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.SignInResult", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Failed", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.SignInResult", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_LockedOut", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.SignInResult", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_NotAllowed", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.SignInResult", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TwoFactorRequired", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.SignInResult", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ToString", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.TokenOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ProviderMap", - "Parameters": [], - "ReturnType": "System.Collections.Generic.Dictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ProviderMap", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.Dictionary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_EmailConfirmationTokenProvider", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_EmailConfirmationTokenProvider", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PasswordResetTokenProvider", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_PasswordResetTokenProvider", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ChangeEmailTokenProvider", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ChangeEmailTokenProvider", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "DefaultProvider", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "DefaultEmailProvider", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "DefaultPhoneProvider", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.TokenProviderDescriptor", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ProviderType", - "Parameters": [], - "ReturnType": "System.Type", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "type", - "Type": "System.Type" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.TotpSecurityStampBasedTokenProvider", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IUserTwoFactorTokenProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GenerateAsync", - "Parameters": [ - { - "Name": "purpose", - "Type": "System.String" - }, - { - "Name": "manager", - "Type": "Microsoft.AspNetCore.Identity.UserManager" - }, - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserTwoFactorTokenProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ValidateAsync", - "Parameters": [ - { - "Name": "purpose", - "Type": "System.String" - }, - { - "Name": "token", - "Type": "System.String" - }, - { - "Name": "manager", - "Type": "Microsoft.AspNetCore.Identity.UserManager" - }, - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserTwoFactorTokenProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetUserModifierAsync", - "Parameters": [ - { - "Name": "purpose", - "Type": "System.String" - }, - { - "Name": "manager", - "Type": "Microsoft.AspNetCore.Identity.UserManager" - }, - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanGenerateTwoFactorTokenAsync", - "Parameters": [ - { - "Name": "manager", - "Type": "Microsoft.AspNetCore.Identity.UserManager" - }, - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserTwoFactorTokenProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.UpperInvariantLookupNormalizer", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.ILookupNormalizer" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Normalize", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.ILookupNormalizer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.UserClaimsPrincipalFactory", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IUserClaimsPrincipalFactory" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_UserManager", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.UserManager", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RoleManager", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.RoleManager", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Options", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Builder.IdentityOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserClaimsPrincipalFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "userManager", - "Type": "Microsoft.AspNetCore.Identity.UserManager" - }, - { - "Name": "roleManager", - "Type": "Microsoft.AspNetCore.Identity.RoleManager" - }, - { - "Name": "optionsAccessor", - "Type": "Microsoft.Extensions.Options.IOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TRole", - "ParameterPosition": 1, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.UserLoginInfo", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_LoginProvider", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_LoginProvider", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ProviderKey", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ProviderKey", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ProviderDisplayName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ProviderDisplayName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "loginProvider", - "Type": "System.String" - }, - { - "Name": "providerKey", - "Type": "System.String" - }, - { - "Name": "displayName", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.UserManager", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "System.IDisposable" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Store", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IUserStore", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Store", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Identity.IUserStore" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Logger", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.Logging.ILogger", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Logger", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.Extensions.Logging.ILogger" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SupportsUserAuthenticationTokens", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SupportsUserTwoFactor", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SupportsUserPassword", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SupportsUserSecurityStamp", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SupportsUserRole", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SupportsUserLogin", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SupportsUserEmail", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SupportsUserPhoneNumber", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SupportsUserClaim", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SupportsUserLockout", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SupportsQueryableUsers", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Users", - "Parameters": [], - "ReturnType": "System.Linq.IQueryable", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Dispose", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.IDisposable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetUserName", - "Parameters": [ - { - "Name": "principal", - "Type": "System.Security.Claims.ClaimsPrincipal" - } - ], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetUserId", - "Parameters": [ - { - "Name": "principal", - "Type": "System.Security.Claims.ClaimsPrincipal" - } - ], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetUserAsync", - "Parameters": [ - { - "Name": "principal", - "Type": "System.Security.Claims.ClaimsPrincipal" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateConcurrencyStampAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UpdateAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DeleteAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindByIdAsync", - "Parameters": [ - { - "Name": "userId", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindByNameAsync", - "Parameters": [ - { - "Name": "userName", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "password", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "NormalizeKey", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UpdateNormalizedUserNameAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetUserNameAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetUserNameAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "userName", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetUserIdAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CheckPasswordAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "password", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HasPasswordAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddPasswordAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "password", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ChangePasswordAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "currentPassword", - "Type": "System.String" - }, - { - "Name": "newPassword", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemovePasswordAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "VerifyPasswordAsync", - "Parameters": [ - { - "Name": "store", - "Type": "Microsoft.AspNetCore.Identity.IUserPasswordStore" - }, - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "password", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetSecurityStampAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UpdateSecurityStampAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GeneratePasswordResetTokenAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ResetPasswordAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "token", - "Type": "System.String" - }, - { - "Name": "newPassword", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindByLoginAsync", - "Parameters": [ - { - "Name": "loginProvider", - "Type": "System.String" - }, - { - "Name": "providerKey", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveLoginAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "loginProvider", - "Type": "System.String" - }, - { - "Name": "providerKey", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddLoginAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "login", - "Type": "Microsoft.AspNetCore.Identity.UserLoginInfo" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetLoginsAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task>", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddClaimAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "claim", - "Type": "System.Security.Claims.Claim" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddClaimsAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "claims", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ReplaceClaimAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "claim", - "Type": "System.Security.Claims.Claim" - }, - { - "Name": "newClaim", - "Type": "System.Security.Claims.Claim" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveClaimAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "claim", - "Type": "System.Security.Claims.Claim" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveClaimsAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "claims", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetClaimsAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task>", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddToRoleAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "role", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddToRolesAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "roles", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveFromRoleAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "role", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveFromRolesAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "roles", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetRolesAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task>", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsInRoleAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "role", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetEmailAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetEmailAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "email", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindByEmailAsync", - "Parameters": [ - { - "Name": "email", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UpdateNormalizedEmailAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateEmailConfirmationTokenAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ConfirmEmailAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "token", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsEmailConfirmedAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateChangeEmailTokenAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "newEmail", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ChangeEmailAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "newEmail", - "Type": "System.String" - }, - { - "Name": "token", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetPhoneNumberAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetPhoneNumberAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "phoneNumber", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ChangePhoneNumberAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "phoneNumber", - "Type": "System.String" - }, - { - "Name": "token", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsPhoneNumberConfirmedAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateChangePhoneNumberTokenAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "phoneNumber", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "VerifyChangePhoneNumberTokenAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "token", - "Type": "System.String" - }, - { - "Name": "phoneNumber", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "VerifyUserTokenAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "tokenProvider", - "Type": "System.String" - }, - { - "Name": "purpose", - "Type": "System.String" - }, - { - "Name": "token", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateUserTokenAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "tokenProvider", - "Type": "System.String" - }, - { - "Name": "purpose", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RegisterTokenProvider", - "Parameters": [ - { - "Name": "providerName", - "Type": "System.String" - }, - { - "Name": "provider", - "Type": "Microsoft.AspNetCore.Identity.IUserTwoFactorTokenProvider" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetValidTwoFactorProvidersAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task>", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "VerifyTwoFactorTokenAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "tokenProvider", - "Type": "System.String" - }, - { - "Name": "token", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateTwoFactorTokenAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "tokenProvider", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetTwoFactorEnabledAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetTwoFactorEnabledAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "enabled", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsLockedOutAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetLockoutEnabledAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "enabled", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetLockoutEnabledAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetLockoutEndDateAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task>", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetLockoutEndDateAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "lockoutEnd", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AccessFailedAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ResetAccessFailedCountAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetAccessFailedCountAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetUsersForClaimAsync", - "Parameters": [ - { - "Name": "claim", - "Type": "System.Security.Claims.Claim" - } - ], - "ReturnType": "System.Threading.Tasks.Task>", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetUsersInRoleAsync", - "Parameters": [ - { - "Name": "roleName", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task>", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetAuthenticationTokenAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "loginProvider", - "Type": "System.String" - }, - { - "Name": "tokenName", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetAuthenticationTokenAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "loginProvider", - "Type": "System.String" - }, - { - "Name": "tokenName", - "Type": "System.String" - }, - { - "Name": "tokenValue", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveAuthenticationTokenAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "loginProvider", - "Type": "System.String" - }, - { - "Name": "tokenName", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Dispose", - "Parameters": [ - { - "Name": "disposing", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetChangeEmailTokenPurpose", - "Parameters": [ - { - "Name": "newEmail", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ThrowIfDisposed", - "Parameters": [], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "store", - "Type": "Microsoft.AspNetCore.Identity.IUserStore" - }, - { - "Name": "optionsAccessor", - "Type": "Microsoft.Extensions.Options.IOptions" - }, - { - "Name": "passwordHasher", - "Type": "Microsoft.AspNetCore.Identity.IPasswordHasher" - }, - { - "Name": "userValidators", - "Type": "System.Collections.Generic.IEnumerable>" - }, - { - "Name": "passwordValidators", - "Type": "System.Collections.Generic.IEnumerable>" - }, - { - "Name": "keyNormalizer", - "Type": "Microsoft.AspNetCore.Identity.ILookupNormalizer" - }, - { - "Name": "errors", - "Type": "Microsoft.AspNetCore.Identity.IdentityErrorDescriber" - }, - { - "Name": "services", - "Type": "System.IServiceProvider" - }, - { - "Name": "logger", - "Type": "Microsoft.Extensions.Logging.ILogger>" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "ResetPasswordTokenPurpose", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Protected", - "GenericParameter": [], - "Constant": true, - "Literal": "\"ResetPassword\"" - }, - { - "Kind": "Field", - "Name": "ConfirmEmailTokenPurpose", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Protected", - "GenericParameter": [], - "Constant": true, - "Literal": "\"EmailConfirmation\"" - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.UserOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_AllowedUserNameCharacters", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AllowedUserNameCharacters", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RequireUniqueEmail", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RequireUniqueEmail", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.UserValidator", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IUserValidator" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Describer", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityErrorDescriber", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ValidateAsync", - "Parameters": [ - { - "Name": "manager", - "Type": "Microsoft.AspNetCore.Identity.UserManager" - }, - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserValidator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "errors", - "Type": "Microsoft.AspNetCore.Identity.IdentityErrorDescriber", - "DefaultValue": "null" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Builder.BuilderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseIdentity", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.IdentityOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ClaimsIdentity", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.ClaimsIdentityOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ClaimsIdentity", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Identity.ClaimsIdentityOptions" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_User", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.UserOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_User", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Identity.UserOptions" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Password", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.PasswordOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Password", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Identity.PasswordOptions" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Lockout", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.LockoutOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Lockout", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Identity.LockoutOptions" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SignIn", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.SignInOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SignIn", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Identity.SignInOptions" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Cookies", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityCookieOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Cookies", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Identity.IdentityCookieOptions" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Tokens", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.TokenOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Tokens", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Identity.TokenOptions" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SecurityStampValidationInterval", - "Parameters": [], - "ReturnType": "System.TimeSpan", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SecurityStampValidationInterval", - "Parameters": [ - { - "Name": "value", - "Type": "System.TimeSpan" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ], - "SourceFilters": [] -} \ No newline at end of file diff --git a/src/Identity/EntityFrameworkCore/ref/Microsoft.AspNetCore.Identity.EntityFrameworkCore.netcoreapp3.0.cs b/src/Identity/EntityFrameworkCore/ref/Microsoft.AspNetCore.Identity.EntityFrameworkCore.netcoreapp3.0.cs index 3a94922408..4b173fa883 100644 --- a/src/Identity/EntityFrameworkCore/ref/Microsoft.AspNetCore.Identity.EntityFrameworkCore.netcoreapp3.0.cs +++ b/src/Identity/EntityFrameworkCore/ref/Microsoft.AspNetCore.Identity.EntityFrameworkCore.netcoreapp3.0.cs @@ -63,7 +63,7 @@ namespace Microsoft.AspNetCore.Identity.EntityFrameworkCore { public RoleStore(TContext context, Microsoft.AspNetCore.Identity.IdentityErrorDescriber describer = null) { } public bool AutoSaveChanges { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } - public TContext Context { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } + public virtual TContext Context { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } public Microsoft.AspNetCore.Identity.IdentityErrorDescriber ErrorDescriber { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } public virtual System.Linq.IQueryable Roles { get { throw null; } } public virtual System.Threading.Tasks.Task AddClaimAsync(TRole role, System.Security.Claims.Claim claim, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -106,7 +106,7 @@ namespace Microsoft.AspNetCore.Identity.EntityFrameworkCore { public UserOnlyStore(TContext context, Microsoft.AspNetCore.Identity.IdentityErrorDescriber describer = null) : base (default(Microsoft.AspNetCore.Identity.IdentityErrorDescriber)) { } public bool AutoSaveChanges { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } - public TContext Context { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } + public virtual TContext Context { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } protected Microsoft.EntityFrameworkCore.DbSet UserClaims { get { throw null; } } protected Microsoft.EntityFrameworkCore.DbSet UserLogins { get { throw null; } } public override System.Linq.IQueryable Users { get { throw null; } } @@ -165,7 +165,7 @@ namespace Microsoft.AspNetCore.Identity.EntityFrameworkCore { public UserStore(TContext context, Microsoft.AspNetCore.Identity.IdentityErrorDescriber describer = null) : base (default(Microsoft.AspNetCore.Identity.IdentityErrorDescriber)) { } public bool AutoSaveChanges { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } - public TContext Context { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } + public virtual TContext Context { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } public override System.Linq.IQueryable Users { get { throw null; } } public override System.Threading.Tasks.Task AddClaimsAsync(TUser user, System.Collections.Generic.IEnumerable claims, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.Task AddLoginAsync(TUser user, Microsoft.AspNetCore.Identity.UserLoginInfo login, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } diff --git a/src/Identity/EntityFrameworkCore/src/RoleStore.cs b/src/Identity/EntityFrameworkCore/src/RoleStore.cs index 04745e024c..8cacb89b5f 100644 --- a/src/Identity/EntityFrameworkCore/src/RoleStore.cs +++ b/src/Identity/EntityFrameworkCore/src/RoleStore.cs @@ -103,7 +103,7 @@ namespace Microsoft.AspNetCore.Identity.EntityFrameworkCore /// /// Gets the database context for this store. /// - public TContext Context { get; private set; } + public virtual TContext Context { get; private set; } /// /// Gets or sets the for any error that occurred with the current operation. diff --git a/src/Identity/EntityFrameworkCore/src/UserOnlyStore.cs b/src/Identity/EntityFrameworkCore/src/UserOnlyStore.cs index 645156d208..9358ee3fce 100644 --- a/src/Identity/EntityFrameworkCore/src/UserOnlyStore.cs +++ b/src/Identity/EntityFrameworkCore/src/UserOnlyStore.cs @@ -109,7 +109,7 @@ namespace Microsoft.AspNetCore.Identity.EntityFrameworkCore /// /// Gets the database context for this store. /// - public TContext Context { get; private set; } + public virtual TContext Context { get; private set; } /// /// DbSet of users. diff --git a/src/Identity/EntityFrameworkCore/src/UserStore.cs b/src/Identity/EntityFrameworkCore/src/UserStore.cs index 85af27631b..28ae320a56 100644 --- a/src/Identity/EntityFrameworkCore/src/UserStore.cs +++ b/src/Identity/EntityFrameworkCore/src/UserStore.cs @@ -123,7 +123,7 @@ namespace Microsoft.AspNetCore.Identity.EntityFrameworkCore /// /// Gets the database context for this store. /// - public TContext Context { get; private set; } + public virtual TContext Context { get; private set; } private DbSet UsersSet { get { return Context.Set(); } } private DbSet Roles { get { return Context.Set(); } } diff --git a/src/Identity/EntityFrameworkCore/src/baseline.netcore.json b/src/Identity/EntityFrameworkCore/src/baseline.netcore.json deleted file mode 100644 index c20ee5296f..0000000000 --- a/src/Identity/EntityFrameworkCore/src/baseline.netcore.json +++ /dev/null @@ -1,2873 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Identity.EntityFrameworkCore, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.Extensions.DependencyInjection.IdentityEntityFrameworkBuilderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddEntityFrameworkStores", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Identity.IdentityBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TContext", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.EntityFrameworkCore.DbContext" - ] - } - ] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityDbContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityDbContext", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.EntityFrameworkCore.DbContextOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityDbContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityDbContext", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.EntityFrameworkCore.DbContextOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityUser" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityDbContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityDbContext, Microsoft.AspNetCore.Identity.IdentityUserRole, Microsoft.AspNetCore.Identity.IdentityUserLogin, Microsoft.AspNetCore.Identity.IdentityRoleClaim, Microsoft.AspNetCore.Identity.IdentityUserToken>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.EntityFrameworkCore.DbContextOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityUser" - ] - }, - { - "ParameterName": "TRole", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityRole" - ] - }, - { - "ParameterName": "TKey", - "ParameterPosition": 2, - "BaseTypeOrInterfaces": [ - "System.IEquatable" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityDbContext", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "BaseType": "Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserContext", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_UserRoles", - "Parameters": [], - "ReturnType": "Microsoft.EntityFrameworkCore.DbSet", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_UserRoles", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.EntityFrameworkCore.DbSet" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Roles", - "Parameters": [], - "ReturnType": "Microsoft.EntityFrameworkCore.DbSet", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Roles", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.EntityFrameworkCore.DbSet" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RoleClaims", - "Parameters": [], - "ReturnType": "Microsoft.EntityFrameworkCore.DbSet", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RoleClaims", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.EntityFrameworkCore.DbSet" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnModelCreating", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.EntityFrameworkCore.ModelBuilder" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.EntityFrameworkCore.DbContextOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityUser" - ] - }, - { - "ParameterName": "TRole", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityRole" - ] - }, - { - "ParameterName": "TKey", - "ParameterPosition": 2, - "BaseTypeOrInterfaces": [ - "System.IEquatable" - ] - }, - { - "ParameterName": "TUserClaim", - "ParameterPosition": 3, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityUserClaim" - ] - }, - { - "ParameterName": "TUserRole", - "ParameterPosition": 4, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityUserRole" - ] - }, - { - "ParameterName": "TUserLogin", - "ParameterPosition": 5, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityUserLogin" - ] - }, - { - "ParameterName": "TRoleClaim", - "ParameterPosition": 6, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityRoleClaim" - ] - }, - { - "ParameterName": "TUserToken", - "ParameterPosition": 7, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityUserToken" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserContext", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.EntityFrameworkCore.DbContextOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityUser" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserContext, Microsoft.AspNetCore.Identity.IdentityUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.EntityFrameworkCore.DbContextOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityUser" - ] - }, - { - "ParameterName": "TKey", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [ - "System.IEquatable" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserContext", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "BaseType": "Microsoft.EntityFrameworkCore.DbContext", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Users", - "Parameters": [], - "ReturnType": "Microsoft.EntityFrameworkCore.DbSet", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Users", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.EntityFrameworkCore.DbSet" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UserClaims", - "Parameters": [], - "ReturnType": "Microsoft.EntityFrameworkCore.DbSet", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_UserClaims", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.EntityFrameworkCore.DbSet" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UserLogins", - "Parameters": [], - "ReturnType": "Microsoft.EntityFrameworkCore.DbSet", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_UserLogins", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.EntityFrameworkCore.DbSet" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UserTokens", - "Parameters": [], - "ReturnType": "Microsoft.EntityFrameworkCore.DbSet", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_UserTokens", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.EntityFrameworkCore.DbSet" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnModelCreating", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.EntityFrameworkCore.ModelBuilder" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.EntityFrameworkCore.DbContextOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityUser" - ] - }, - { - "ParameterName": "TKey", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [ - "System.IEquatable" - ] - }, - { - "ParameterName": "TUserClaim", - "ParameterPosition": 2, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityUserClaim" - ] - }, - { - "ParameterName": "TUserLogin", - "ParameterPosition": 3, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityUserLogin" - ] - }, - { - "ParameterName": "TUserToken", - "ParameterPosition": 4, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityUserToken" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.EntityFrameworkCore.RoleStore", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Identity.EntityFrameworkCore.RoleStore", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.EntityFrameworkCore.DbContext" - }, - { - "Name": "describer", - "Type": "Microsoft.AspNetCore.Identity.IdentityErrorDescriber", - "DefaultValue": "null" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TRole", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityRole" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.EntityFrameworkCore.RoleStore", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Identity.EntityFrameworkCore.RoleStore", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "T1" - }, - { - "Name": "describer", - "Type": "Microsoft.AspNetCore.Identity.IdentityErrorDescriber", - "DefaultValue": "null" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TRole", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityRole" - ] - }, - { - "ParameterName": "TContext", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [ - "Microsoft.EntityFrameworkCore.DbContext" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.EntityFrameworkCore.RoleStore", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Identity.EntityFrameworkCore.RoleStore, Microsoft.AspNetCore.Identity.IdentityRoleClaim>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "T1" - }, - { - "Name": "describer", - "Type": "Microsoft.AspNetCore.Identity.IdentityErrorDescriber", - "DefaultValue": "null" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TRole", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityRole" - ] - }, - { - "ParameterName": "TContext", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [ - "Microsoft.EntityFrameworkCore.DbContext" - ] - }, - { - "ParameterName": "TKey", - "ParameterPosition": 2, - "BaseTypeOrInterfaces": [ - "System.IEquatable" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.EntityFrameworkCore.RoleStore", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IQueryableRoleStore", - "Microsoft.AspNetCore.Identity.IRoleClaimStore" - ], - "Members": [ - { - "Kind": "Method", - "Name": "CreateAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IRoleStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UpdateAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IRoleStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DeleteAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IRoleStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetRoleIdAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IRoleStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetRoleNameAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IRoleStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetRoleNameAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "roleName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IRoleStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetNormalizedRoleNameAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IRoleStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetNormalizedRoleNameAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "normalizedName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IRoleStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindByIdAsync", - "Parameters": [ - { - "Name": "id", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IRoleStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindByNameAsync", - "Parameters": [ - { - "Name": "normalizedName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IRoleStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Dispose", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.IDisposable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Context", - "Parameters": [], - "ReturnType": "T1", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ErrorDescriber", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityErrorDescriber", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ErrorDescriber", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Identity.IdentityErrorDescriber" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AutoSaveChanges", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AutoSaveChanges", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ConvertIdFromString", - "Parameters": [ - { - "Name": "id", - "Type": "System.String" - } - ], - "ReturnType": "T2", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ConvertIdToString", - "Parameters": [ - { - "Name": "id", - "Type": "T2" - } - ], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ThrowIfDisposed", - "Parameters": [], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetClaimsAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task>", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IRoleClaimStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddClaimAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "claim", - "Type": "System.Security.Claims.Claim" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IRoleClaimStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveClaimAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "claim", - "Type": "System.Security.Claims.Claim" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IRoleClaimStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Roles", - "Parameters": [], - "ReturnType": "System.Linq.IQueryable", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IQueryableRoleStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateRoleClaim", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "claim", - "Type": "System.Security.Claims.Claim" - } - ], - "ReturnType": "T4", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "T1" - }, - { - "Name": "describer", - "Type": "Microsoft.AspNetCore.Identity.IdentityErrorDescriber", - "DefaultValue": "null" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TRole", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityRole" - ] - }, - { - "ParameterName": "TContext", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [ - "Microsoft.EntityFrameworkCore.DbContext" - ] - }, - { - "ParameterName": "TKey", - "ParameterPosition": 2, - "BaseTypeOrInterfaces": [ - "System.IEquatable" - ] - }, - { - "ParameterName": "TUserRole", - "ParameterPosition": 3, - "New": true, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityUserRole" - ] - }, - { - "ParameterName": "TRoleClaim", - "ParameterPosition": 4, - "New": true, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityRoleClaim" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserOnlyStore", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserOnlyStore", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.EntityFrameworkCore.DbContext" - }, - { - "Name": "describer", - "Type": "Microsoft.AspNetCore.Identity.IdentityErrorDescriber", - "DefaultValue": "null" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "New": true, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityUser" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserOnlyStore", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserOnlyStore", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "T1" - }, - { - "Name": "describer", - "Type": "Microsoft.AspNetCore.Identity.IdentityErrorDescriber", - "DefaultValue": "null" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityUser" - ] - }, - { - "ParameterName": "TContext", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [ - "Microsoft.EntityFrameworkCore.DbContext" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserOnlyStore", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserOnlyStore, Microsoft.AspNetCore.Identity.IdentityUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "T1" - }, - { - "Name": "describer", - "Type": "Microsoft.AspNetCore.Identity.IdentityErrorDescriber", - "DefaultValue": "null" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityUser" - ] - }, - { - "ParameterName": "TContext", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [ - "Microsoft.EntityFrameworkCore.DbContext" - ] - }, - { - "ParameterName": "TKey", - "ParameterPosition": 2, - "BaseTypeOrInterfaces": [ - "System.IEquatable" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserOnlyStore", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Identity.UserStoreBase", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IProtectedUserStore" - ], - "Members": [ - { - "Kind": "Method", - "Name": "AddLoginAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "login", - "Type": "Microsoft.AspNetCore.Identity.UserLoginInfo" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserLoginStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveLoginAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "loginProvider", - "Type": "System.String" - }, - { - "Name": "providerKey", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserLoginStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetLoginsAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task>", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserLoginStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindByLoginAsync", - "Parameters": [ - { - "Name": "loginProvider", - "Type": "System.String" - }, - { - "Name": "providerKey", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserLoginStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UpdateAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DeleteAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindByIdAsync", - "Parameters": [ - { - "Name": "userId", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindByNameAsync", - "Parameters": [ - { - "Name": "normalizedUserName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetClaimsAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task>", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserClaimStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddClaimsAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "claims", - "Type": "System.Collections.Generic.IEnumerable" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserClaimStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ReplaceClaimAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "claim", - "Type": "System.Security.Claims.Claim" - }, - { - "Name": "newClaim", - "Type": "System.Security.Claims.Claim" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserClaimStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveClaimsAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "claims", - "Type": "System.Collections.Generic.IEnumerable" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserClaimStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetUsersForClaimAsync", - "Parameters": [ - { - "Name": "claim", - "Type": "System.Security.Claims.Claim" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task>", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserClaimStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindByEmailAsync", - "Parameters": [ - { - "Name": "normalizedEmail", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserEmailStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Users", - "Parameters": [], - "ReturnType": "System.Linq.IQueryable", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IQueryableUserStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Context", - "Parameters": [], - "ReturnType": "T1", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UsersSet", - "Parameters": [], - "ReturnType": "Microsoft.EntityFrameworkCore.DbSet", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UserClaims", - "Parameters": [], - "ReturnType": "Microsoft.EntityFrameworkCore.DbSet", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UserLogins", - "Parameters": [], - "ReturnType": "Microsoft.EntityFrameworkCore.DbSet", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UserTokens", - "Parameters": [], - "ReturnType": "Microsoft.EntityFrameworkCore.DbSet", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AutoSaveChanges", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AutoSaveChanges", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SaveChanges", - "Parameters": [ - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindUserAsync", - "Parameters": [ - { - "Name": "userId", - "Type": "T2" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindUserLoginAsync", - "Parameters": [ - { - "Name": "userId", - "Type": "T2" - }, - { - "Name": "loginProvider", - "Type": "System.String" - }, - { - "Name": "providerKey", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindUserLoginAsync", - "Parameters": [ - { - "Name": "loginProvider", - "Type": "System.String" - }, - { - "Name": "providerKey", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindTokenAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "loginProvider", - "Type": "System.String" - }, - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddUserTokenAsync", - "Parameters": [ - { - "Name": "token", - "Type": "T5" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveUserTokenAsync", - "Parameters": [ - { - "Name": "token", - "Type": "T5" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "T1" - }, - { - "Name": "describer", - "Type": "Microsoft.AspNetCore.Identity.IdentityErrorDescriber", - "DefaultValue": "null" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityUser" - ] - }, - { - "ParameterName": "TContext", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [ - "Microsoft.EntityFrameworkCore.DbContext" - ] - }, - { - "ParameterName": "TKey", - "ParameterPosition": 2, - "BaseTypeOrInterfaces": [ - "System.IEquatable" - ] - }, - { - "ParameterName": "TUserClaim", - "ParameterPosition": 3, - "New": true, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityUserClaim" - ] - }, - { - "ParameterName": "TUserLogin", - "ParameterPosition": 4, - "New": true, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityUserLogin" - ] - }, - { - "ParameterName": "TUserToken", - "ParameterPosition": 5, - "New": true, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityUserToken" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.EntityFrameworkCore.DbContext" - }, - { - "Name": "describer", - "Type": "Microsoft.AspNetCore.Identity.IdentityErrorDescriber", - "DefaultValue": "null" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.EntityFrameworkCore.DbContext" - }, - { - "Name": "describer", - "Type": "Microsoft.AspNetCore.Identity.IdentityErrorDescriber", - "DefaultValue": "null" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "New": true, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityUser" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "T2" - }, - { - "Name": "describer", - "Type": "Microsoft.AspNetCore.Identity.IdentityErrorDescriber", - "DefaultValue": "null" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityUser" - ] - }, - { - "ParameterName": "TRole", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityRole" - ] - }, - { - "ParameterName": "TContext", - "ParameterPosition": 2, - "BaseTypeOrInterfaces": [ - "Microsoft.EntityFrameworkCore.DbContext" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore, Microsoft.AspNetCore.Identity.IdentityUserRole, Microsoft.AspNetCore.Identity.IdentityUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken, Microsoft.AspNetCore.Identity.IdentityRoleClaim>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "T2" - }, - { - "Name": "describer", - "Type": "Microsoft.AspNetCore.Identity.IdentityErrorDescriber", - "DefaultValue": "null" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityUser" - ] - }, - { - "ParameterName": "TRole", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityRole" - ] - }, - { - "ParameterName": "TContext", - "ParameterPosition": 2, - "BaseTypeOrInterfaces": [ - "Microsoft.EntityFrameworkCore.DbContext" - ] - }, - { - "ParameterName": "TKey", - "ParameterPosition": 3, - "BaseTypeOrInterfaces": [ - "System.IEquatable" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Identity.UserStoreBase", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IProtectedUserStore" - ], - "Members": [ - { - "Kind": "Method", - "Name": "AddLoginAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "login", - "Type": "Microsoft.AspNetCore.Identity.UserLoginInfo" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserLoginStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveLoginAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "loginProvider", - "Type": "System.String" - }, - { - "Name": "providerKey", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserLoginStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetLoginsAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task>", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserLoginStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindByLoginAsync", - "Parameters": [ - { - "Name": "loginProvider", - "Type": "System.String" - }, - { - "Name": "providerKey", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserLoginStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UpdateAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DeleteAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindByIdAsync", - "Parameters": [ - { - "Name": "userId", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindByNameAsync", - "Parameters": [ - { - "Name": "normalizedUserName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetClaimsAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task>", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserClaimStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddClaimsAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "claims", - "Type": "System.Collections.Generic.IEnumerable" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserClaimStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ReplaceClaimAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "claim", - "Type": "System.Security.Claims.Claim" - }, - { - "Name": "newClaim", - "Type": "System.Security.Claims.Claim" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserClaimStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveClaimsAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "claims", - "Type": "System.Collections.Generic.IEnumerable" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserClaimStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetUsersForClaimAsync", - "Parameters": [ - { - "Name": "claim", - "Type": "System.Security.Claims.Claim" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task>", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserClaimStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindByEmailAsync", - "Parameters": [ - { - "Name": "normalizedEmail", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserEmailStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Users", - "Parameters": [], - "ReturnType": "System.Linq.IQueryable", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IQueryableUserStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddToRoleAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "normalizedRoleName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserRoleStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveFromRoleAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "normalizedRoleName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserRoleStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetRolesAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task>", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserRoleStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsInRoleAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "normalizedRoleName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserRoleStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetUsersInRoleAsync", - "Parameters": [ - { - "Name": "normalizedRoleName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task>", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserRoleStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Context", - "Parameters": [], - "ReturnType": "T2", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AutoSaveChanges", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AutoSaveChanges", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SaveChanges", - "Parameters": [ - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindRoleAsync", - "Parameters": [ - { - "Name": "normalizedRoleName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindUserRoleAsync", - "Parameters": [ - { - "Name": "userId", - "Type": "T3" - }, - { - "Name": "roleId", - "Type": "T3" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindUserAsync", - "Parameters": [ - { - "Name": "userId", - "Type": "T3" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindUserLoginAsync", - "Parameters": [ - { - "Name": "userId", - "Type": "T3" - }, - { - "Name": "loginProvider", - "Type": "System.String" - }, - { - "Name": "providerKey", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindUserLoginAsync", - "Parameters": [ - { - "Name": "loginProvider", - "Type": "System.String" - }, - { - "Name": "providerKey", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindTokenAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "loginProvider", - "Type": "System.String" - }, - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddUserTokenAsync", - "Parameters": [ - { - "Name": "token", - "Type": "T7" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveUserTokenAsync", - "Parameters": [ - { - "Name": "token", - "Type": "T7" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "T2" - }, - { - "Name": "describer", - "Type": "Microsoft.AspNetCore.Identity.IdentityErrorDescriber", - "DefaultValue": "null" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityUser" - ] - }, - { - "ParameterName": "TRole", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityRole" - ] - }, - { - "ParameterName": "TContext", - "ParameterPosition": 2, - "BaseTypeOrInterfaces": [ - "Microsoft.EntityFrameworkCore.DbContext" - ] - }, - { - "ParameterName": "TKey", - "ParameterPosition": 3, - "BaseTypeOrInterfaces": [ - "System.IEquatable" - ] - }, - { - "ParameterName": "TUserClaim", - "ParameterPosition": 4, - "New": true, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityUserClaim" - ] - }, - { - "ParameterName": "TUserRole", - "ParameterPosition": 5, - "New": true, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityUserRole" - ] - }, - { - "ParameterName": "TUserLogin", - "ParameterPosition": 6, - "New": true, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityUserLogin" - ] - }, - { - "ParameterName": "TUserToken", - "ParameterPosition": 7, - "New": true, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityUserToken" - ] - }, - { - "ParameterName": "TRoleClaim", - "ParameterPosition": 8, - "New": true, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityRoleClaim" - ] - } - ] - } - ] -} \ No newline at end of file diff --git a/src/Identity/Extensions.Core/src/PasswordHasher.cs b/src/Identity/Extensions.Core/src/PasswordHasher.cs index ebc0ded3dc..a9ee0cd6bf 100644 --- a/src/Identity/Extensions.Core/src/PasswordHasher.cs +++ b/src/Identity/Extensions.Core/src/PasswordHasher.cs @@ -65,26 +65,6 @@ namespace Microsoft.AspNetCore.Identity _rng = options.Rng; } - // Compares two byte arrays for equality. The method is specifically written so that the loop is not optimized. - [MethodImpl(MethodImplOptions.NoInlining | MethodImplOptions.NoOptimization)] - private static bool ByteArraysEqual(byte[] a, byte[] b) - { - if (a == null && b == null) - { - return true; - } - if (a == null || b == null || a.Length != b.Length) - { - return false; - } - var areSame = true; - for (var i = 0; i < a.Length; i++) - { - areSame &= (a[i] == b[i]); - } - return areSame; - } - /// /// Returns a hashed representation of the supplied for the specified . /// @@ -242,7 +222,7 @@ namespace Microsoft.AspNetCore.Identity // Hash the incoming password and verify it byte[] actualSubkey = KeyDerivation.Pbkdf2(password, salt, Pbkdf2Prf, Pbkdf2IterCount, Pbkdf2SubkeyLength); - return ByteArraysEqual(actualSubkey, expectedSubkey); + return CryptographicOperations.FixedTimeEquals(actualSubkey, expectedSubkey); } private static bool VerifyHashedPasswordV3(byte[] hashedPassword, string password, out int iterCount) @@ -275,7 +255,7 @@ namespace Microsoft.AspNetCore.Identity // Hash the incoming password and verify it byte[] actualSubkey = KeyDerivation.Pbkdf2(password, salt, prf, iterCount, subkeyLength); - return ByteArraysEqual(actualSubkey, expectedSubkey); + return CryptographicOperations.FixedTimeEquals(actualSubkey, expectedSubkey); } catch { @@ -294,4 +274,4 @@ namespace Microsoft.AspNetCore.Identity buffer[offset + 3] = (byte)(value >> 0); } } -} \ No newline at end of file +} diff --git a/src/Identity/Extensions.Core/src/baseline.netcore.json b/src/Identity/Extensions.Core/src/baseline.netcore.json deleted file mode 100644 index e99ba1ccec..0000000000 --- a/src/Identity/Extensions.Core/src/baseline.netcore.json +++ /dev/null @@ -1,7305 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.Extensions.Identity.Core, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "System.Security.Claims.PrincipalExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "FindFirstValue", - "Parameters": [ - { - "Name": "principal", - "Type": "System.Security.Claims.ClaimsPrincipal" - }, - { - "Name": "claimType", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.Extensions.DependencyInjection.IdentityServiceCollectionExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddIdentityCore", - "Parameters": [ - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - } - ], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "AddIdentityCore", - "Parameters": [ - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - }, - { - "Name": "setupAction", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.AuthenticatorTokenProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IUserTwoFactorTokenProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "CanGenerateTwoFactorTokenAsync", - "Parameters": [ - { - "Name": "manager", - "Type": "Microsoft.AspNetCore.Identity.UserManager" - }, - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserTwoFactorTokenProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateAsync", - "Parameters": [ - { - "Name": "purpose", - "Type": "System.String" - }, - { - "Name": "manager", - "Type": "Microsoft.AspNetCore.Identity.UserManager" - }, - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserTwoFactorTokenProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ValidateAsync", - "Parameters": [ - { - "Name": "purpose", - "Type": "System.String" - }, - { - "Name": "token", - "Type": "System.String" - }, - { - "Name": "manager", - "Type": "Microsoft.AspNetCore.Identity.UserManager" - }, - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserTwoFactorTokenProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.ClaimsIdentityOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_RoleClaimType", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RoleClaimType", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UserNameClaimType", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_UserNameClaimType", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UserIdClaimType", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_UserIdClaimType", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SecurityStampClaimType", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SecurityStampClaimType", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.DefaultPersonalDataProtector", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IPersonalDataProtector" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Unprotect", - "Parameters": [ - { - "Name": "data", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IPersonalDataProtector", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Protect", - "Parameters": [ - { - "Name": "data", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IPersonalDataProtector", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "keyRing", - "Type": "Microsoft.AspNetCore.Identity.ILookupProtectorKeyRing" - }, - { - "Name": "protector", - "Type": "Microsoft.AspNetCore.Identity.ILookupProtector" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.EmailTokenProvider", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Identity.TotpSecurityStampBasedTokenProvider", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "CanGenerateTwoFactorTokenAsync", - "Parameters": [ - { - "Name": "manager", - "Type": "Microsoft.AspNetCore.Identity.UserManager" - }, - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserTwoFactorTokenProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetUserModifierAsync", - "Parameters": [ - { - "Name": "purpose", - "Type": "System.String" - }, - { - "Name": "manager", - "Type": "Microsoft.AspNetCore.Identity.UserManager" - }, - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IdentityBuilder", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_UserType", - "Parameters": [], - "ReturnType": "System.Type", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RoleType", - "Parameters": [], - "ReturnType": "System.Type", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Services", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IServiceCollection", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddUserValidator", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityBuilder", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TValidator", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "AddClaimsPrincipalFactory", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityBuilder", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TFactory", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "AddErrorDescriber", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityBuilder", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TDescriber", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityErrorDescriber" - ] - } - ] - }, - { - "Kind": "Method", - "Name": "AddPasswordValidator", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityBuilder", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TValidator", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "AddUserStore", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityBuilder", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TStore", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "AddTokenProvider", - "Parameters": [ - { - "Name": "providerName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityBuilder", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TProvider", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "AddTokenProvider", - "Parameters": [ - { - "Name": "providerName", - "Type": "System.String" - }, - { - "Name": "provider", - "Type": "System.Type" - } - ], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityBuilder", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddUserManager", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityBuilder", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TUserManager", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "AddRoles", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityBuilder", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TRole", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "AddRoleValidator", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityBuilder", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TRole", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "AddPersonalDataProtection", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityBuilder", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TProtector", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.ILookupProtector" - ] - }, - { - "ParameterName": "TKeyRing", - "ParameterPosition": 1, - "Class": true, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.ILookupProtectorKeyRing" - ] - } - ] - }, - { - "Kind": "Method", - "Name": "AddRoleStore", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityBuilder", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TStore", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "AddRoleManager", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityBuilder", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TRoleManager", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "user", - "Type": "System.Type" - }, - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "user", - "Type": "System.Type" - }, - { - "Name": "role", - "Type": "System.Type" - }, - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IdentityError", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Code", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Code", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Description", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Description", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IdentityErrorDescriber", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "DefaultError", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityError", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ConcurrencyFailure", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityError", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PasswordMismatch", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityError", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "InvalidToken", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityError", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RecoveryCodeRedemptionFailed", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityError", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "LoginAlreadyAssociated", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityError", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "InvalidUserName", - "Parameters": [ - { - "Name": "userName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityError", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "InvalidEmail", - "Parameters": [ - { - "Name": "email", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityError", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DuplicateUserName", - "Parameters": [ - { - "Name": "userName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityError", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DuplicateEmail", - "Parameters": [ - { - "Name": "email", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityError", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "InvalidRoleName", - "Parameters": [ - { - "Name": "role", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityError", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DuplicateRoleName", - "Parameters": [ - { - "Name": "role", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityError", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UserAlreadyHasPassword", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityError", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UserLockoutNotEnabled", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityError", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UserAlreadyInRole", - "Parameters": [ - { - "Name": "role", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityError", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UserNotInRole", - "Parameters": [ - { - "Name": "role", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityError", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PasswordTooShort", - "Parameters": [ - { - "Name": "length", - "Type": "System.Int32" - } - ], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityError", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PasswordRequiresUniqueChars", - "Parameters": [ - { - "Name": "uniqueChars", - "Type": "System.Int32" - } - ], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityError", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PasswordRequiresNonAlphanumeric", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityError", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PasswordRequiresDigit", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityError", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PasswordRequiresLower", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityError", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PasswordRequiresUpper", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityError", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IdentityOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ClaimsIdentity", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.ClaimsIdentityOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ClaimsIdentity", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Identity.ClaimsIdentityOptions" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_User", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.UserOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_User", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Identity.UserOptions" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Password", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.PasswordOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Password", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Identity.PasswordOptions" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Lockout", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.LockoutOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Lockout", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Identity.LockoutOptions" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SignIn", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.SignInOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SignIn", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Identity.SignInOptions" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Tokens", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.TokenOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Tokens", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Identity.TokenOptions" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Stores", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.StoreOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Stores", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Identity.StoreOptions" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IdentityResult", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Succeeded", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Succeeded", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Errors", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Success", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityResult", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Failed", - "Parameters": [ - { - "Name": "errors", - "Type": "Microsoft.AspNetCore.Identity.IdentityError[]", - "IsParams": true - } - ], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityResult", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ToString", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.ILookupNormalizer", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Normalize", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.ILookupProtector", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Protect", - "Parameters": [ - { - "Name": "keyId", - "Type": "System.String" - }, - { - "Name": "data", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Unprotect", - "Parameters": [ - { - "Name": "keyId", - "Type": "System.String" - }, - { - "Name": "data", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.ILookupProtectorKeyRing", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_CurrentKeyId", - "Parameters": [], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Item", - "Parameters": [ - { - "Name": "keyId", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetAllKeyIds", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IPasswordHasher", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "HashPassword", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "password", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "VerifyHashedPassword", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "hashedPassword", - "Type": "System.String" - }, - { - "Name": "providedPassword", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Identity.PasswordVerificationResult", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IPasswordValidator", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ValidateAsync", - "Parameters": [ - { - "Name": "manager", - "Type": "Microsoft.AspNetCore.Identity.UserManager" - }, - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "password", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IPersonalDataProtector", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Protect", - "Parameters": [ - { - "Name": "data", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Unprotect", - "Parameters": [ - { - "Name": "data", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IProtectedUserStore", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IUserStore" - ], - "Members": [], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IQueryableRoleStore", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IRoleStore" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Roles", - "Parameters": [], - "ReturnType": "System.Linq.IQueryable", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TRole", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IQueryableUserStore", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IUserStore" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Users", - "Parameters": [], - "ReturnType": "System.Linq.IQueryable", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IRoleClaimStore", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IRoleStore" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetClaimsAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task>", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddClaimAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "claim", - "Type": "System.Security.Claims.Claim" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveClaimAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "claim", - "Type": "System.Security.Claims.Claim" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TRole", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IRoleStore", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "System.IDisposable" - ], - "Members": [ - { - "Kind": "Method", - "Name": "CreateAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UpdateAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DeleteAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetRoleIdAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetRoleNameAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetRoleNameAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "roleName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetNormalizedRoleNameAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetNormalizedRoleNameAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "normalizedName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindByIdAsync", - "Parameters": [ - { - "Name": "roleId", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindByNameAsync", - "Parameters": [ - { - "Name": "normalizedRoleName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TRole", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IRoleValidator", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ValidateAsync", - "Parameters": [ - { - "Name": "manager", - "Type": "Microsoft.AspNetCore.Identity.RoleManager" - }, - { - "Name": "role", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TRole", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IUserAuthenticationTokenStore", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IUserStore" - ], - "Members": [ - { - "Kind": "Method", - "Name": "SetTokenAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "loginProvider", - "Type": "System.String" - }, - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveTokenAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "loginProvider", - "Type": "System.String" - }, - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetTokenAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "loginProvider", - "Type": "System.String" - }, - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IUserAuthenticatorKeyStore", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IUserStore" - ], - "Members": [ - { - "Kind": "Method", - "Name": "SetAuthenticatorKeyAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetAuthenticatorKeyAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IUserClaimsPrincipalFactory", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "CreateAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IUserClaimStore", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IUserStore" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetClaimsAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task>", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddClaimsAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "claims", - "Type": "System.Collections.Generic.IEnumerable" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ReplaceClaimAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "claim", - "Type": "System.Security.Claims.Claim" - }, - { - "Name": "newClaim", - "Type": "System.Security.Claims.Claim" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveClaimsAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "claims", - "Type": "System.Collections.Generic.IEnumerable" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetUsersForClaimAsync", - "Parameters": [ - { - "Name": "claim", - "Type": "System.Security.Claims.Claim" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task>", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IUserEmailStore", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IUserStore" - ], - "Members": [ - { - "Kind": "Method", - "Name": "SetEmailAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "email", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetEmailAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetEmailConfirmedAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetEmailConfirmedAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "confirmed", - "Type": "System.Boolean" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindByEmailAsync", - "Parameters": [ - { - "Name": "normalizedEmail", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetNormalizedEmailAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetNormalizedEmailAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "normalizedEmail", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IUserLockoutStore", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IUserStore" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetLockoutEndDateAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task>", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetLockoutEndDateAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "lockoutEnd", - "Type": "System.Nullable" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IncrementAccessFailedCountAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ResetAccessFailedCountAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetAccessFailedCountAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetLockoutEnabledAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetLockoutEnabledAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "enabled", - "Type": "System.Boolean" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IUserLoginStore", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IUserStore" - ], - "Members": [ - { - "Kind": "Method", - "Name": "AddLoginAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "login", - "Type": "Microsoft.AspNetCore.Identity.UserLoginInfo" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveLoginAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "loginProvider", - "Type": "System.String" - }, - { - "Name": "providerKey", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetLoginsAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task>", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindByLoginAsync", - "Parameters": [ - { - "Name": "loginProvider", - "Type": "System.String" - }, - { - "Name": "providerKey", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IUserPasswordStore", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IUserStore" - ], - "Members": [ - { - "Kind": "Method", - "Name": "SetPasswordHashAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "passwordHash", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetPasswordHashAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HasPasswordAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IUserPhoneNumberStore", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IUserStore" - ], - "Members": [ - { - "Kind": "Method", - "Name": "SetPhoneNumberAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "phoneNumber", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetPhoneNumberAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetPhoneNumberConfirmedAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetPhoneNumberConfirmedAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "confirmed", - "Type": "System.Boolean" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IUserRoleStore", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IUserStore" - ], - "Members": [ - { - "Kind": "Method", - "Name": "AddToRoleAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "roleName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveFromRoleAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "roleName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetRolesAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task>", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsInRoleAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "roleName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetUsersInRoleAsync", - "Parameters": [ - { - "Name": "roleName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task>", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IUserSecurityStampStore", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IUserStore" - ], - "Members": [ - { - "Kind": "Method", - "Name": "SetSecurityStampAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "stamp", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetSecurityStampAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IUserStore", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "System.IDisposable" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetUserIdAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetUserNameAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetUserNameAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "userName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetNormalizedUserNameAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetNormalizedUserNameAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "normalizedName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UpdateAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DeleteAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindByIdAsync", - "Parameters": [ - { - "Name": "userId", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindByNameAsync", - "Parameters": [ - { - "Name": "normalizedUserName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IUserTwoFactorRecoveryCodeStore", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IUserStore" - ], - "Members": [ - { - "Kind": "Method", - "Name": "ReplaceCodesAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "recoveryCodes", - "Type": "System.Collections.Generic.IEnumerable" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedeemCodeAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "code", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CountCodesAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IUserTwoFactorStore", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IUserStore" - ], - "Members": [ - { - "Kind": "Method", - "Name": "SetTwoFactorEnabledAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "enabled", - "Type": "System.Boolean" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetTwoFactorEnabledAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IUserTwoFactorTokenProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GenerateAsync", - "Parameters": [ - { - "Name": "purpose", - "Type": "System.String" - }, - { - "Name": "manager", - "Type": "Microsoft.AspNetCore.Identity.UserManager" - }, - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ValidateAsync", - "Parameters": [ - { - "Name": "purpose", - "Type": "System.String" - }, - { - "Name": "token", - "Type": "System.String" - }, - { - "Name": "manager", - "Type": "Microsoft.AspNetCore.Identity.UserManager" - }, - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanGenerateTwoFactorTokenAsync", - "Parameters": [ - { - "Name": "manager", - "Type": "Microsoft.AspNetCore.Identity.UserManager" - }, - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IUserValidator", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ValidateAsync", - "Parameters": [ - { - "Name": "manager", - "Type": "Microsoft.AspNetCore.Identity.UserManager" - }, - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.LockoutOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_AllowedForNewUsers", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AllowedForNewUsers", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MaxFailedAccessAttempts", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MaxFailedAccessAttempts", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_DefaultLockoutTimeSpan", - "Parameters": [], - "ReturnType": "System.TimeSpan", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_DefaultLockoutTimeSpan", - "Parameters": [ - { - "Name": "value", - "Type": "System.TimeSpan" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.PasswordHasher", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IPasswordHasher" - ], - "Members": [ - { - "Kind": "Method", - "Name": "HashPassword", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "password", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IPasswordHasher", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "VerifyHashedPassword", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "hashedPassword", - "Type": "System.String" - }, - { - "Name": "providedPassword", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Identity.PasswordVerificationResult", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IPasswordHasher", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "optionsAccessor", - "Type": "Microsoft.Extensions.Options.IOptions", - "DefaultValue": "null" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.PasswordHasherCompatibilityMode", - "Visibility": "Public", - "Kind": "Enumeration", - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "IdentityV2", - "Parameters": [], - "GenericParameter": [], - "Literal": "0" - }, - { - "Kind": "Field", - "Name": "IdentityV3", - "Parameters": [], - "GenericParameter": [], - "Literal": "1" - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.PasswordHasherOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_CompatibilityMode", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.PasswordHasherCompatibilityMode", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_CompatibilityMode", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Identity.PasswordHasherCompatibilityMode" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IterationCount", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IterationCount", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.PasswordOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_RequiredLength", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RequiredLength", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RequiredUniqueChars", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RequiredUniqueChars", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RequireNonAlphanumeric", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RequireNonAlphanumeric", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RequireLowercase", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RequireLowercase", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RequireUppercase", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RequireUppercase", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RequireDigit", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RequireDigit", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.PasswordValidator", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IPasswordValidator" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Describer", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityErrorDescriber", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ValidateAsync", - "Parameters": [ - { - "Name": "manager", - "Type": "Microsoft.AspNetCore.Identity.UserManager" - }, - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "password", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IPasswordValidator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsDigit", - "Parameters": [ - { - "Name": "c", - "Type": "System.Char" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsLower", - "Parameters": [ - { - "Name": "c", - "Type": "System.Char" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsUpper", - "Parameters": [ - { - "Name": "c", - "Type": "System.Char" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsLetterOrDigit", - "Parameters": [ - { - "Name": "c", - "Type": "System.Char" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "errors", - "Type": "Microsoft.AspNetCore.Identity.IdentityErrorDescriber", - "DefaultValue": "null" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.PasswordVerificationResult", - "Visibility": "Public", - "Kind": "Enumeration", - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "Failed", - "Parameters": [], - "GenericParameter": [], - "Literal": "0" - }, - { - "Kind": "Field", - "Name": "Success", - "Parameters": [], - "GenericParameter": [], - "Literal": "1" - }, - { - "Kind": "Field", - "Name": "SuccessRehashNeeded", - "Parameters": [], - "GenericParameter": [], - "Literal": "2" - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.PersonalDataAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.PhoneNumberTokenProvider", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Identity.TotpSecurityStampBasedTokenProvider", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "CanGenerateTwoFactorTokenAsync", - "Parameters": [ - { - "Name": "manager", - "Type": "Microsoft.AspNetCore.Identity.UserManager" - }, - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserTwoFactorTokenProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetUserModifierAsync", - "Parameters": [ - { - "Name": "purpose", - "Type": "System.String" - }, - { - "Name": "manager", - "Type": "Microsoft.AspNetCore.Identity.UserManager" - }, - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.ProtectedPersonalDataAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Identity.PersonalDataAttribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.RoleManager", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "System.IDisposable" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_CancellationToken", - "Parameters": [], - "ReturnType": "System.Threading.CancellationToken", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Store", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IRoleStore", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Logger", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.Logging.ILogger", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Logger", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.Extensions.Logging.ILogger" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RoleValidators", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ErrorDescriber", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityErrorDescriber", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ErrorDescriber", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Identity.IdentityErrorDescriber" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_KeyNormalizer", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.ILookupNormalizer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_KeyNormalizer", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Identity.ILookupNormalizer" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Roles", - "Parameters": [], - "ReturnType": "System.Linq.IQueryable", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SupportsQueryableRoles", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SupportsRoleClaims", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UpdateNormalizedRoleNameAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UpdateAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DeleteAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RoleExistsAsync", - "Parameters": [ - { - "Name": "roleName", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "NormalizeKey", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindByIdAsync", - "Parameters": [ - { - "Name": "roleId", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetRoleNameAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetRoleNameAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "name", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetRoleIdAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindByNameAsync", - "Parameters": [ - { - "Name": "roleName", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddClaimAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "claim", - "Type": "System.Security.Claims.Claim" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveClaimAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "claim", - "Type": "System.Security.Claims.Claim" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetClaimsAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task>", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Dispose", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.IDisposable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Dispose", - "Parameters": [ - { - "Name": "disposing", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ValidateRoleAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UpdateRoleAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ThrowIfDisposed", - "Parameters": [], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "store", - "Type": "Microsoft.AspNetCore.Identity.IRoleStore" - }, - { - "Name": "roleValidators", - "Type": "System.Collections.Generic.IEnumerable>" - }, - { - "Name": "keyNormalizer", - "Type": "Microsoft.AspNetCore.Identity.ILookupNormalizer" - }, - { - "Name": "errors", - "Type": "Microsoft.AspNetCore.Identity.IdentityErrorDescriber" - }, - { - "Name": "logger", - "Type": "Microsoft.Extensions.Logging.ILogger>" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TRole", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.RoleValidator", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IRoleValidator" - ], - "Members": [ - { - "Kind": "Method", - "Name": "ValidateAsync", - "Parameters": [ - { - "Name": "manager", - "Type": "Microsoft.AspNetCore.Identity.RoleManager" - }, - { - "Name": "role", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IRoleValidator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "errors", - "Type": "Microsoft.AspNetCore.Identity.IdentityErrorDescriber", - "DefaultValue": "null" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TRole", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.SignInOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_RequireConfirmedEmail", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RequireConfirmedEmail", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RequireConfirmedPhoneNumber", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RequireConfirmedPhoneNumber", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.SignInResult", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Succeeded", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Succeeded", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsLockedOut", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IsLockedOut", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsNotAllowed", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IsNotAllowed", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RequiresTwoFactor", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RequiresTwoFactor", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Success", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.SignInResult", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Failed", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.SignInResult", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_LockedOut", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.SignInResult", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_NotAllowed", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.SignInResult", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TwoFactorRequired", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.SignInResult", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ToString", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.StoreOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_MaxLengthForKeys", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MaxLengthForKeys", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ProtectPersonalData", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ProtectPersonalData", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.TokenOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ProviderMap", - "Parameters": [], - "ReturnType": "System.Collections.Generic.Dictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ProviderMap", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.Dictionary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_EmailConfirmationTokenProvider", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_EmailConfirmationTokenProvider", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PasswordResetTokenProvider", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_PasswordResetTokenProvider", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ChangeEmailTokenProvider", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ChangeEmailTokenProvider", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ChangePhoneNumberTokenProvider", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ChangePhoneNumberTokenProvider", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AuthenticatorTokenProvider", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AuthenticatorTokenProvider", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "DefaultProvider", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "DefaultEmailProvider", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "DefaultPhoneProvider", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "DefaultAuthenticatorProvider", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.TokenProviderDescriptor", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ProviderType", - "Parameters": [], - "ReturnType": "System.Type", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ProviderInstance", - "Parameters": [], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ProviderInstance", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "type", - "Type": "System.Type" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.TotpSecurityStampBasedTokenProvider", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IUserTwoFactorTokenProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GenerateAsync", - "Parameters": [ - { - "Name": "purpose", - "Type": "System.String" - }, - { - "Name": "manager", - "Type": "Microsoft.AspNetCore.Identity.UserManager" - }, - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserTwoFactorTokenProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ValidateAsync", - "Parameters": [ - { - "Name": "purpose", - "Type": "System.String" - }, - { - "Name": "token", - "Type": "System.String" - }, - { - "Name": "manager", - "Type": "Microsoft.AspNetCore.Identity.UserManager" - }, - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserTwoFactorTokenProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetUserModifierAsync", - "Parameters": [ - { - "Name": "purpose", - "Type": "System.String" - }, - { - "Name": "manager", - "Type": "Microsoft.AspNetCore.Identity.UserManager" - }, - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanGenerateTwoFactorTokenAsync", - "Parameters": [ - { - "Name": "manager", - "Type": "Microsoft.AspNetCore.Identity.UserManager" - }, - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserTwoFactorTokenProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.UpperInvariantLookupNormalizer", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.ILookupNormalizer" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Normalize", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.ILookupNormalizer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.UserClaimsPrincipalFactory", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IUserClaimsPrincipalFactory" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_UserManager", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.UserManager", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Options", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserClaimsPrincipalFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateClaimsAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "userManager", - "Type": "Microsoft.AspNetCore.Identity.UserManager" - }, - { - "Name": "optionsAccessor", - "Type": "Microsoft.Extensions.Options.IOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.UserClaimsPrincipalFactory", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Identity.UserClaimsPrincipalFactory", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_RoleManager", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.RoleManager", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateClaimsAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "userManager", - "Type": "Microsoft.AspNetCore.Identity.UserManager" - }, - { - "Name": "roleManager", - "Type": "Microsoft.AspNetCore.Identity.RoleManager" - }, - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TRole", - "ParameterPosition": 1, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.UserLoginInfo", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_LoginProvider", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_LoginProvider", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ProviderKey", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ProviderKey", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ProviderDisplayName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ProviderDisplayName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "loginProvider", - "Type": "System.String" - }, - { - "Name": "providerKey", - "Type": "System.String" - }, - { - "Name": "displayName", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.UserManager", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "System.IDisposable" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_CancellationToken", - "Parameters": [], - "ReturnType": "System.Threading.CancellationToken", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Store", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IUserStore", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Store", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Identity.IUserStore" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Logger", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.Logging.ILogger", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Logger", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.Extensions.Logging.ILogger" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PasswordHasher", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IPasswordHasher", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_PasswordHasher", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Identity.IPasswordHasher" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UserValidators", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PasswordValidators", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_KeyNormalizer", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.ILookupNormalizer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_KeyNormalizer", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Identity.ILookupNormalizer" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ErrorDescriber", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityErrorDescriber", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ErrorDescriber", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Identity.IdentityErrorDescriber" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Options", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Options", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Identity.IdentityOptions" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SupportsUserAuthenticationTokens", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SupportsUserAuthenticatorKey", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SupportsUserTwoFactorRecoveryCodes", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SupportsUserTwoFactor", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SupportsUserPassword", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SupportsUserSecurityStamp", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SupportsUserRole", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SupportsUserLogin", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SupportsUserEmail", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SupportsUserPhoneNumber", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SupportsUserClaim", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SupportsUserLockout", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SupportsQueryableUsers", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Users", - "Parameters": [], - "ReturnType": "System.Linq.IQueryable", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Dispose", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.IDisposable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetUserName", - "Parameters": [ - { - "Name": "principal", - "Type": "System.Security.Claims.ClaimsPrincipal" - } - ], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetUserId", - "Parameters": [ - { - "Name": "principal", - "Type": "System.Security.Claims.ClaimsPrincipal" - } - ], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetUserAsync", - "Parameters": [ - { - "Name": "principal", - "Type": "System.Security.Claims.ClaimsPrincipal" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateConcurrencyStampAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UpdateAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DeleteAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindByIdAsync", - "Parameters": [ - { - "Name": "userId", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindByNameAsync", - "Parameters": [ - { - "Name": "userName", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "password", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "NormalizeKey", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UpdateNormalizedUserNameAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetUserNameAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetUserNameAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "userName", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetUserIdAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CheckPasswordAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "password", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HasPasswordAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddPasswordAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "password", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ChangePasswordAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "currentPassword", - "Type": "System.String" - }, - { - "Name": "newPassword", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemovePasswordAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "VerifyPasswordAsync", - "Parameters": [ - { - "Name": "store", - "Type": "Microsoft.AspNetCore.Identity.IUserPasswordStore" - }, - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "password", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetSecurityStampAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UpdateSecurityStampAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GeneratePasswordResetTokenAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ResetPasswordAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "token", - "Type": "System.String" - }, - { - "Name": "newPassword", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindByLoginAsync", - "Parameters": [ - { - "Name": "loginProvider", - "Type": "System.String" - }, - { - "Name": "providerKey", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveLoginAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "loginProvider", - "Type": "System.String" - }, - { - "Name": "providerKey", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddLoginAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "login", - "Type": "Microsoft.AspNetCore.Identity.UserLoginInfo" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetLoginsAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task>", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddClaimAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "claim", - "Type": "System.Security.Claims.Claim" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddClaimsAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "claims", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ReplaceClaimAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "claim", - "Type": "System.Security.Claims.Claim" - }, - { - "Name": "newClaim", - "Type": "System.Security.Claims.Claim" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveClaimAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "claim", - "Type": "System.Security.Claims.Claim" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveClaimsAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "claims", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetClaimsAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task>", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddToRoleAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "role", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddToRolesAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "roles", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveFromRoleAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "role", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveFromRolesAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "roles", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetRolesAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task>", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsInRoleAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "role", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetEmailAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetEmailAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "email", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindByEmailAsync", - "Parameters": [ - { - "Name": "email", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UpdateNormalizedEmailAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateEmailConfirmationTokenAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ConfirmEmailAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "token", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsEmailConfirmedAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateChangeEmailTokenAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "newEmail", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ChangeEmailAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "newEmail", - "Type": "System.String" - }, - { - "Name": "token", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetPhoneNumberAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetPhoneNumberAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "phoneNumber", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ChangePhoneNumberAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "phoneNumber", - "Type": "System.String" - }, - { - "Name": "token", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsPhoneNumberConfirmedAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateChangePhoneNumberTokenAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "phoneNumber", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "VerifyChangePhoneNumberTokenAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "token", - "Type": "System.String" - }, - { - "Name": "phoneNumber", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "VerifyUserTokenAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "tokenProvider", - "Type": "System.String" - }, - { - "Name": "purpose", - "Type": "System.String" - }, - { - "Name": "token", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateUserTokenAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "tokenProvider", - "Type": "System.String" - }, - { - "Name": "purpose", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RegisterTokenProvider", - "Parameters": [ - { - "Name": "providerName", - "Type": "System.String" - }, - { - "Name": "provider", - "Type": "Microsoft.AspNetCore.Identity.IUserTwoFactorTokenProvider" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetValidTwoFactorProvidersAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task>", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "VerifyTwoFactorTokenAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "tokenProvider", - "Type": "System.String" - }, - { - "Name": "token", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateTwoFactorTokenAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "tokenProvider", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetTwoFactorEnabledAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetTwoFactorEnabledAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "enabled", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsLockedOutAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetLockoutEnabledAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "enabled", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetLockoutEnabledAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetLockoutEndDateAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task>", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetLockoutEndDateAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "lockoutEnd", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AccessFailedAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ResetAccessFailedCountAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetAccessFailedCountAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetUsersForClaimAsync", - "Parameters": [ - { - "Name": "claim", - "Type": "System.Security.Claims.Claim" - } - ], - "ReturnType": "System.Threading.Tasks.Task>", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetUsersInRoleAsync", - "Parameters": [ - { - "Name": "roleName", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task>", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetAuthenticationTokenAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "loginProvider", - "Type": "System.String" - }, - { - "Name": "tokenName", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetAuthenticationTokenAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "loginProvider", - "Type": "System.String" - }, - { - "Name": "tokenName", - "Type": "System.String" - }, - { - "Name": "tokenValue", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveAuthenticationTokenAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "loginProvider", - "Type": "System.String" - }, - { - "Name": "tokenName", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetAuthenticatorKeyAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ResetAuthenticatorKeyAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateNewAuthenticatorKey", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateNewTwoFactorRecoveryCodesAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "number", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Threading.Tasks.Task>", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateTwoFactorRecoveryCode", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedeemTwoFactorRecoveryCodeAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "code", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CountRecoveryCodesAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Dispose", - "Parameters": [ - { - "Name": "disposing", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateSecurityTokenAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UpdatePasswordHash", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "newPassword", - "Type": "System.String" - }, - { - "Name": "validatePassword", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetChangeEmailTokenPurpose", - "Parameters": [ - { - "Name": "newEmail", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ValidateUserAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ValidatePasswordAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "password", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UpdateUserAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ThrowIfDisposed", - "Parameters": [], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "store", - "Type": "Microsoft.AspNetCore.Identity.IUserStore" - }, - { - "Name": "optionsAccessor", - "Type": "Microsoft.Extensions.Options.IOptions" - }, - { - "Name": "passwordHasher", - "Type": "Microsoft.AspNetCore.Identity.IPasswordHasher" - }, - { - "Name": "userValidators", - "Type": "System.Collections.Generic.IEnumerable>" - }, - { - "Name": "passwordValidators", - "Type": "System.Collections.Generic.IEnumerable>" - }, - { - "Name": "keyNormalizer", - "Type": "Microsoft.AspNetCore.Identity.ILookupNormalizer" - }, - { - "Name": "errors", - "Type": "Microsoft.AspNetCore.Identity.IdentityErrorDescriber" - }, - { - "Name": "services", - "Type": "System.IServiceProvider" - }, - { - "Name": "logger", - "Type": "Microsoft.Extensions.Logging.ILogger>" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "ResetPasswordTokenPurpose", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "\"ResetPassword\"" - }, - { - "Kind": "Field", - "Name": "ChangePhoneNumberTokenPurpose", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "\"ChangePhoneNumber\"" - }, - { - "Kind": "Field", - "Name": "ConfirmEmailTokenPurpose", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "\"EmailConfirmation\"" - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.UserOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_AllowedUserNameCharacters", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AllowedUserNameCharacters", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RequireUniqueEmail", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RequireUniqueEmail", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.UserValidator", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IUserValidator" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Describer", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityErrorDescriber", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ValidateAsync", - "Parameters": [ - { - "Name": "manager", - "Type": "Microsoft.AspNetCore.Identity.UserManager" - }, - { - "Name": "user", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserValidator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "errors", - "Type": "Microsoft.AspNetCore.Identity.IdentityErrorDescriber", - "DefaultValue": "null" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - } - ] -} \ No newline at end of file diff --git a/src/Identity/Extensions.Stores/src/baseline.netcore.json b/src/Identity/Extensions.Stores/src/baseline.netcore.json deleted file mode 100644 index a046318800..0000000000 --- a/src/Identity/Extensions.Stores/src/baseline.netcore.json +++ /dev/null @@ -1,3380 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.Extensions.Identity.Stores, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.Identity.IdentityRole", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Identity.IdentityRole", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "roleName", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IdentityRole", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Id", - "Parameters": [], - "ReturnType": "T0", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Id", - "Parameters": [ - { - "Name": "value", - "Type": "T0" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Name", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Name", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_NormalizedName", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_NormalizedName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ConcurrencyStamp", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ConcurrencyStamp", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ToString", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "roleName", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TKey", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "System.IEquatable" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IdentityRoleClaim", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Id", - "Parameters": [], - "ReturnType": "System.Int32", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Id", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RoleId", - "Parameters": [], - "ReturnType": "T0", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RoleId", - "Parameters": [ - { - "Name": "value", - "Type": "T0" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ClaimType", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ClaimType", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ClaimValue", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ClaimValue", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ToClaim", - "Parameters": [], - "ReturnType": "System.Security.Claims.Claim", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "InitializeFromClaim", - "Parameters": [ - { - "Name": "other", - "Type": "System.Security.Claims.Claim" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TKey", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "System.IEquatable" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IdentityUser", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Identity.IdentityUser", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "userName", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IdentityUser", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Id", - "Parameters": [], - "ReturnType": "T0", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Id", - "Parameters": [ - { - "Name": "value", - "Type": "T0" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UserName", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_UserName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_NormalizedUserName", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_NormalizedUserName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Email", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Email", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_NormalizedEmail", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_NormalizedEmail", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_EmailConfirmed", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_EmailConfirmed", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PasswordHash", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_PasswordHash", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SecurityStamp", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SecurityStamp", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ConcurrencyStamp", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ConcurrencyStamp", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PhoneNumber", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_PhoneNumber", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PhoneNumberConfirmed", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_PhoneNumberConfirmed", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TwoFactorEnabled", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_TwoFactorEnabled", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_LockoutEnd", - "Parameters": [], - "ReturnType": "System.Nullable", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_LockoutEnd", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_LockoutEnabled", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_LockoutEnabled", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AccessFailedCount", - "Parameters": [], - "ReturnType": "System.Int32", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AccessFailedCount", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ToString", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "userName", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TKey", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "System.IEquatable" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IdentityUserClaim", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Id", - "Parameters": [], - "ReturnType": "System.Int32", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Id", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UserId", - "Parameters": [], - "ReturnType": "T0", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_UserId", - "Parameters": [ - { - "Name": "value", - "Type": "T0" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ClaimType", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ClaimType", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ClaimValue", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ClaimValue", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ToClaim", - "Parameters": [], - "ReturnType": "System.Security.Claims.Claim", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "InitializeFromClaim", - "Parameters": [ - { - "Name": "claim", - "Type": "System.Security.Claims.Claim" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TKey", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "System.IEquatable" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IdentityUserLogin", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_LoginProvider", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_LoginProvider", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ProviderKey", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ProviderKey", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ProviderDisplayName", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ProviderDisplayName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UserId", - "Parameters": [], - "ReturnType": "T0", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_UserId", - "Parameters": [ - { - "Name": "value", - "Type": "T0" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TKey", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "System.IEquatable" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IdentityUserRole", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_UserId", - "Parameters": [], - "ReturnType": "T0", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_UserId", - "Parameters": [ - { - "Name": "value", - "Type": "T0" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RoleId", - "Parameters": [], - "ReturnType": "T0", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RoleId", - "Parameters": [ - { - "Name": "value", - "Type": "T0" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TKey", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "System.IEquatable" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IdentityUserToken", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_UserId", - "Parameters": [], - "ReturnType": "T0", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_UserId", - "Parameters": [ - { - "Name": "value", - "Type": "T0" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_LoginProvider", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_LoginProvider", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Name", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Name", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Value", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Value", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TKey", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "System.IEquatable" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.RoleStoreBase", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IQueryableRoleStore", - "Microsoft.AspNetCore.Identity.IRoleClaimStore" - ], - "Members": [ - { - "Kind": "Method", - "Name": "CreateAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IRoleStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UpdateAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IRoleStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DeleteAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IRoleStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetRoleIdAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IRoleStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetRoleNameAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IRoleStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetRoleNameAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "roleName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IRoleStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetNormalizedRoleNameAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IRoleStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetNormalizedRoleNameAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "normalizedName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IRoleStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindByIdAsync", - "Parameters": [ - { - "Name": "id", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IRoleStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindByNameAsync", - "Parameters": [ - { - "Name": "normalizedName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IRoleStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Dispose", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.IDisposable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ErrorDescriber", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityErrorDescriber", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ErrorDescriber", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Identity.IdentityErrorDescriber" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ConvertIdFromString", - "Parameters": [ - { - "Name": "id", - "Type": "System.String" - } - ], - "ReturnType": "T1", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ConvertIdToString", - "Parameters": [ - { - "Name": "id", - "Type": "T1" - } - ], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ThrowIfDisposed", - "Parameters": [], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetClaimsAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task>", - "Virtual": true, - "Abstract": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IRoleClaimStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddClaimAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "claim", - "Type": "System.Security.Claims.Claim" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IRoleClaimStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveClaimAsync", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "claim", - "Type": "System.Security.Claims.Claim" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IRoleClaimStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Roles", - "Parameters": [], - "ReturnType": "System.Linq.IQueryable", - "Virtual": true, - "Abstract": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IQueryableRoleStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateRoleClaim", - "Parameters": [ - { - "Name": "role", - "Type": "T0" - }, - { - "Name": "claim", - "Type": "System.Security.Claims.Claim" - } - ], - "ReturnType": "T3", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "describer", - "Type": "Microsoft.AspNetCore.Identity.IdentityErrorDescriber" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TRole", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityRole" - ] - }, - { - "ParameterName": "TKey", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [ - "System.IEquatable" - ] - }, - { - "ParameterName": "TUserRole", - "ParameterPosition": 2, - "New": true, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityUserRole" - ] - }, - { - "ParameterName": "TRoleClaim", - "ParameterPosition": 3, - "New": true, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityRoleClaim" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.UserStoreBase", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IUserLoginStore", - "Microsoft.AspNetCore.Identity.IUserClaimStore", - "Microsoft.AspNetCore.Identity.IUserPasswordStore", - "Microsoft.AspNetCore.Identity.IUserSecurityStampStore", - "Microsoft.AspNetCore.Identity.IUserEmailStore", - "Microsoft.AspNetCore.Identity.IUserLockoutStore", - "Microsoft.AspNetCore.Identity.IUserPhoneNumberStore", - "Microsoft.AspNetCore.Identity.IQueryableUserStore", - "Microsoft.AspNetCore.Identity.IUserTwoFactorStore", - "Microsoft.AspNetCore.Identity.IUserAuthenticationTokenStore", - "Microsoft.AspNetCore.Identity.IUserAuthenticatorKeyStore", - "Microsoft.AspNetCore.Identity.IUserTwoFactorRecoveryCodeStore" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetUserIdAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetUserNameAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetUserNameAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "userName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetNormalizedUserNameAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetNormalizedUserNameAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "normalizedName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UpdateAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DeleteAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindByIdAsync", - "Parameters": [ - { - "Name": "userId", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindByNameAsync", - "Parameters": [ - { - "Name": "normalizedUserName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Dispose", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.IDisposable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ErrorDescriber", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityErrorDescriber", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ErrorDescriber", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Identity.IdentityErrorDescriber" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateUserClaim", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "claim", - "Type": "System.Security.Claims.Claim" - } - ], - "ReturnType": "T2", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateUserLogin", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "login", - "Type": "Microsoft.AspNetCore.Identity.UserLoginInfo" - } - ], - "ReturnType": "T3", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateUserToken", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "loginProvider", - "Type": "System.String" - }, - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "T4", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ConvertIdFromString", - "Parameters": [ - { - "Name": "id", - "Type": "System.String" - } - ], - "ReturnType": "T1", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ConvertIdToString", - "Parameters": [ - { - "Name": "id", - "Type": "T1" - } - ], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Users", - "Parameters": [], - "ReturnType": "System.Linq.IQueryable", - "Virtual": true, - "Abstract": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IQueryableUserStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetPasswordHashAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "passwordHash", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserPasswordStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetPasswordHashAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserPasswordStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HasPasswordAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserPasswordStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindUserAsync", - "Parameters": [ - { - "Name": "userId", - "Type": "T1" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindUserLoginAsync", - "Parameters": [ - { - "Name": "userId", - "Type": "T1" - }, - { - "Name": "loginProvider", - "Type": "System.String" - }, - { - "Name": "providerKey", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindUserLoginAsync", - "Parameters": [ - { - "Name": "loginProvider", - "Type": "System.String" - }, - { - "Name": "providerKey", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ThrowIfDisposed", - "Parameters": [], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetClaimsAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task>", - "Virtual": true, - "Abstract": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserClaimStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddClaimsAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "claims", - "Type": "System.Collections.Generic.IEnumerable" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserClaimStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ReplaceClaimAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "claim", - "Type": "System.Security.Claims.Claim" - }, - { - "Name": "newClaim", - "Type": "System.Security.Claims.Claim" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserClaimStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveClaimsAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "claims", - "Type": "System.Collections.Generic.IEnumerable" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserClaimStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddLoginAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "login", - "Type": "Microsoft.AspNetCore.Identity.UserLoginInfo" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserLoginStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveLoginAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "loginProvider", - "Type": "System.String" - }, - { - "Name": "providerKey", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserLoginStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetLoginsAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task>", - "Virtual": true, - "Abstract": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserLoginStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindByLoginAsync", - "Parameters": [ - { - "Name": "loginProvider", - "Type": "System.String" - }, - { - "Name": "providerKey", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserLoginStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetEmailConfirmedAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserEmailStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetEmailConfirmedAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "confirmed", - "Type": "System.Boolean" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserEmailStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetEmailAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "email", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserEmailStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetEmailAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserEmailStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetNormalizedEmailAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserEmailStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetNormalizedEmailAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "normalizedEmail", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserEmailStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindByEmailAsync", - "Parameters": [ - { - "Name": "normalizedEmail", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserEmailStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetLockoutEndDateAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task>", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserLockoutStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetLockoutEndDateAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "lockoutEnd", - "Type": "System.Nullable" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserLockoutStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IncrementAccessFailedCountAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserLockoutStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ResetAccessFailedCountAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserLockoutStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetAccessFailedCountAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserLockoutStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetLockoutEnabledAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserLockoutStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetLockoutEnabledAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "enabled", - "Type": "System.Boolean" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserLockoutStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetPhoneNumberAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "phoneNumber", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserPhoneNumberStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetPhoneNumberAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserPhoneNumberStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetPhoneNumberConfirmedAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserPhoneNumberStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetPhoneNumberConfirmedAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "confirmed", - "Type": "System.Boolean" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserPhoneNumberStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetSecurityStampAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "stamp", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserSecurityStampStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetSecurityStampAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserSecurityStampStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetTwoFactorEnabledAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "enabled", - "Type": "System.Boolean" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserTwoFactorStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetTwoFactorEnabledAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserTwoFactorStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetUsersForClaimAsync", - "Parameters": [ - { - "Name": "claim", - "Type": "System.Security.Claims.Claim" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task>", - "Virtual": true, - "Abstract": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserClaimStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindTokenAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "loginProvider", - "Type": "System.String" - }, - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddUserTokenAsync", - "Parameters": [ - { - "Name": "token", - "Type": "T4" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveUserTokenAsync", - "Parameters": [ - { - "Name": "token", - "Type": "T4" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetTokenAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "loginProvider", - "Type": "System.String" - }, - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserAuthenticationTokenStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveTokenAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "loginProvider", - "Type": "System.String" - }, - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserAuthenticationTokenStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetTokenAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "loginProvider", - "Type": "System.String" - }, - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserAuthenticationTokenStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetAuthenticatorKeyAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserAuthenticatorKeyStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetAuthenticatorKeyAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserAuthenticatorKeyStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CountCodesAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserTwoFactorRecoveryCodeStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ReplaceCodesAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "recoveryCodes", - "Type": "System.Collections.Generic.IEnumerable" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserTwoFactorRecoveryCodeStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedeemCodeAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "code", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserTwoFactorRecoveryCodeStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "describer", - "Type": "Microsoft.AspNetCore.Identity.IdentityErrorDescriber" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityUser" - ] - }, - { - "ParameterName": "TKey", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [ - "System.IEquatable" - ] - }, - { - "ParameterName": "TUserClaim", - "ParameterPosition": 2, - "New": true, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityUserClaim" - ] - }, - { - "ParameterName": "TUserLogin", - "ParameterPosition": 3, - "New": true, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityUserLogin" - ] - }, - { - "ParameterName": "TUserToken", - "ParameterPosition": 4, - "New": true, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityUserToken" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.UserStoreBase", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "BaseType": "Microsoft.AspNetCore.Identity.UserStoreBase", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Identity.IUserRoleStore" - ], - "Members": [ - { - "Kind": "Method", - "Name": "CreateUserRole", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "role", - "Type": "T1" - } - ], - "ReturnType": "T4", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetUsersInRoleAsync", - "Parameters": [ - { - "Name": "normalizedRoleName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task>", - "Virtual": true, - "Abstract": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserRoleStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddToRoleAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "normalizedRoleName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserRoleStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveFromRoleAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "normalizedRoleName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserRoleStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetRolesAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task>", - "Virtual": true, - "Abstract": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserRoleStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsInRoleAsync", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "normalizedRoleName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.IUserRoleStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindRoleAsync", - "Parameters": [ - { - "Name": "normalizedRoleName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindUserRoleAsync", - "Parameters": [ - { - "Name": "userId", - "Type": "T2" - }, - { - "Name": "roleId", - "Type": "T2" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "describer", - "Type": "Microsoft.AspNetCore.Identity.IdentityErrorDescriber" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityUser" - ] - }, - { - "ParameterName": "TRole", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityRole" - ] - }, - { - "ParameterName": "TKey", - "ParameterPosition": 2, - "BaseTypeOrInterfaces": [ - "System.IEquatable" - ] - }, - { - "ParameterName": "TUserClaim", - "ParameterPosition": 3, - "New": true, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityUserClaim" - ] - }, - { - "ParameterName": "TUserRole", - "ParameterPosition": 4, - "New": true, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityUserRole" - ] - }, - { - "ParameterName": "TUserLogin", - "ParameterPosition": 5, - "New": true, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityUserLogin" - ] - }, - { - "ParameterName": "TUserToken", - "ParameterPosition": 6, - "New": true, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityUserToken" - ] - }, - { - "ParameterName": "TRoleClaim", - "ParameterPosition": 7, - "New": true, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Identity.IdentityRoleClaim" - ] - } - ] - } - ] -} \ No newline at end of file diff --git a/src/Identity/Specification.Tests/src/baseline.netcore.json b/src/Identity/Specification.Tests/src/baseline.netcore.json deleted file mode 100644 index f8a2885880..0000000000 --- a/src/Identity/Specification.Tests/src/baseline.netcore.json +++ /dev/null @@ -1,1536 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Identity.Specification.Tests, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.Identity.Test.IdentityResultAssert", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "IsSuccess", - "Parameters": [ - { - "Name": "result", - "Type": "Microsoft.AspNetCore.Identity.IdentityResult" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsFailure", - "Parameters": [ - { - "Name": "result", - "Type": "Microsoft.AspNetCore.Identity.IdentityResult" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsFailure", - "Parameters": [ - { - "Name": "result", - "Type": "Microsoft.AspNetCore.Identity.IdentityResult" - }, - { - "Name": "error", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsFailure", - "Parameters": [ - { - "Name": "result", - "Type": "Microsoft.AspNetCore.Identity.IdentityResult" - }, - { - "Name": "error", - "Type": "Microsoft.AspNetCore.Identity.IdentityError" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "VerifyLogMessage", - "Parameters": [ - { - "Name": "logger", - "Type": "Microsoft.Extensions.Logging.ILogger" - }, - { - "Name": "expectedLog", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.Test.IdentitySpecificationTestBase", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "BaseType": "Microsoft.AspNetCore.Identity.Test.IdentitySpecificationTestBase", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TRole", - "ParameterPosition": 1, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.Test.IdentitySpecificationTestBase", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "BaseType": "Microsoft.AspNetCore.Identity.Test.UserManagerSpecificationTestBase", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "SetupIdentityServices", - "Parameters": [ - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - }, - { - "Name": "context", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetupBuilder", - "Parameters": [ - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - }, - { - "Name": "context", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityBuilder", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateRoleManager", - "Parameters": [ - { - "Name": "context", - "Type": "System.Object", - "DefaultValue": "null" - }, - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection", - "DefaultValue": "null" - } - ], - "ReturnType": "Microsoft.AspNetCore.Identity.RoleManager", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddRoleStore", - "Parameters": [ - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - }, - { - "Name": "context", - "Type": "System.Object", - "DefaultValue": "null" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateTestRole", - "Parameters": [ - { - "Name": "roleNamePrefix", - "Type": "System.String", - "DefaultValue": "\"\"" - }, - { - "Name": "useRoleNamePrefixAsRoleName", - "Type": "System.Boolean", - "DefaultValue": "False" - } - ], - "ReturnType": "T1", - "Virtual": true, - "Abstract": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RoleNameEqualsPredicate", - "Parameters": [ - { - "Name": "roleName", - "Type": "System.String" - } - ], - "ReturnType": "System.Linq.Expressions.Expression>", - "Virtual": true, - "Abstract": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RoleNameStartsWithPredicate", - "Parameters": [ - { - "Name": "roleName", - "Type": "System.String" - } - ], - "ReturnType": "System.Linq.Expressions.Expression>", - "Virtual": true, - "Abstract": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanCreateRoleTest", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BadValidatorBlocksCreateRole", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanChainRoleValidators", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BadValidatorBlocksRoleUpdate", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanDeleteRole", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanAddRemoveRoleClaim", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanRoleFindById", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanRoleFindByName", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanUpdateRoleName", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanQueryableRoles", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateRoleFailsIfExists", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanAddUsersToRole", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanGetRolesForUser", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveUserFromRoleWithMultipleRoles", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanRemoveUsersFromRole", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveUserNotInRoleFails", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddUserToRoleFailsIfAlreadyInRole", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddUserToRolesIgnoresDuplicates", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanFindRoleByNameWithManager", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanFindRoleWithManager", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanGetUsersInRole", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TRole", - "ParameterPosition": 1, - "Class": true, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TKey", - "ParameterPosition": 2, - "BaseTypeOrInterfaces": [ - "System.IEquatable" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.Test.ITestLogger", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_LogMessages", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.Test.TestLogger", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.Extensions.Logging.ILogger", - "Microsoft.AspNetCore.Identity.Test.ITestLogger" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Log", - "Parameters": [ - { - "Name": "logLevel", - "Type": "Microsoft.Extensions.Logging.LogLevel" - }, - { - "Name": "eventId", - "Type": "Microsoft.Extensions.Logging.EventId" - }, - { - "Name": "state", - "Type": "T0" - }, - { - "Name": "exception", - "Type": "System.Exception" - }, - { - "Name": "formatter", - "Type": "System.Func" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.Extensions.Logging.ILogger", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TState", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "IsEnabled", - "Parameters": [ - { - "Name": "logLevel", - "Type": "Microsoft.Extensions.Logging.LogLevel" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.Extensions.Logging.ILogger", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BeginScope", - "Parameters": [ - { - "Name": "state", - "Type": "T0" - } - ], - "ReturnType": "System.IDisposable", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.Extensions.Logging.ILogger", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TState", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "get_LogMessages", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Identity.Test.ITestLogger", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TName", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.Test.UserManagerSpecificationTestBase", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "BaseType": "Microsoft.AspNetCore.Identity.Test.UserManagerSpecificationTestBase", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Identity.Test.UserManagerSpecificationTestBase", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "SetupIdentityServices", - "Parameters": [ - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - }, - { - "Name": "context", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetupBuilder", - "Parameters": [ - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - }, - { - "Name": "context", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityBuilder", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ShouldSkipDbTests", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateManager", - "Parameters": [ - { - "Name": "context", - "Type": "System.Object", - "DefaultValue": "null" - }, - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection", - "DefaultValue": "null" - }, - { - "Name": "configureServices", - "Type": "System.Action", - "DefaultValue": "null" - } - ], - "ReturnType": "Microsoft.AspNetCore.Identity.UserManager", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateTestContext", - "Parameters": [], - "ReturnType": "System.Object", - "Virtual": true, - "Abstract": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddUserStore", - "Parameters": [ - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - }, - { - "Name": "context", - "Type": "System.Object", - "DefaultValue": "null" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetUserPasswordHash", - "Parameters": [ - { - "Name": "user", - "Type": "T0" - }, - { - "Name": "hashedPassword", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateTestUser", - "Parameters": [ - { - "Name": "namePrefix", - "Type": "System.String", - "DefaultValue": "\"\"" - }, - { - "Name": "email", - "Type": "System.String", - "DefaultValue": "\"\"" - }, - { - "Name": "phoneNumber", - "Type": "System.String", - "DefaultValue": "\"\"" - }, - { - "Name": "lockoutEnabled", - "Type": "System.Boolean", - "DefaultValue": "False" - }, - { - "Name": "lockoutEnd", - "Type": "System.Nullable", - "DefaultValue": "default(System.Nullable)" - }, - { - "Name": "useNamePrefixAsUserName", - "Type": "System.Boolean", - "DefaultValue": "False" - } - ], - "ReturnType": "T0", - "Virtual": true, - "Abstract": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UserNameEqualsPredicate", - "Parameters": [ - { - "Name": "userName", - "Type": "System.String" - } - ], - "ReturnType": "System.Linq.Expressions.Expression>", - "Virtual": true, - "Abstract": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UserNameStartsWithPredicate", - "Parameters": [ - { - "Name": "userName", - "Type": "System.String" - } - ], - "ReturnType": "System.Linq.Expressions.Expression>", - "Virtual": true, - "Abstract": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateUserWillSetCreateDateOnlyIfSupported", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanDeleteUser", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanUpdateUserName", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CheckSetUserNameValidatesUser", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetUserNameUpdatesSecurityStamp", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateUpdatesSecurityStamp", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ResetAuthenticatorKeyUpdatesSecurityStamp", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CheckSetEmailValidatesUser", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanUpdatePasswordUsingHasher", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanFindById", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UserValidatorCanBlockCreate", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UserValidatorCanBlockUpdate", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanChainUserValidators", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UserValidatorBlocksShortEmailsWhenRequiresUniqueEmail", - "Parameters": [ - { - "Name": "email", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UserValidatorBlocksInvalidEmailsWhenRequiresUniqueEmail", - "Parameters": [ - { - "Name": "email", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PasswordValidatorCanBlockAddPassword", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanChainPasswordValidators", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PasswordValidatorCanBlockChangePassword", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PasswordValidatorCanBlockCreateUser", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanCreateUserNoPassword", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanCreateUserAddLogin", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanCreateUserLoginAndAddPassword", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddPasswordFailsIfAlreadyHave", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanCreateUserAddRemoveLogin", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanRemovePassword", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanChangePassword", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanAddRemoveUserClaim", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveClaimOnlyAffectsUser", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanReplaceUserClaim", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ReplaceUserClaimOnlyAffectsUser", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ChangePasswordFallsIfPasswordWrong", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddDupeUserNameFails", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddDupeEmailAllowedByDefault", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddDupeEmailFailsWhenUniqueEmailRequired", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UpdateSecurityStampActuallyChanges", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddDupeLoginFails", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanFindByEmail", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanFindUsersViaUserQuerable", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ConfirmEmailFalseByDefaultTest", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanResetPasswordWithStaticTokenProvider", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PasswordValidatorCanBlockResetPasswordWithStaticTokenProvider", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ResetPasswordWithStaticTokenProviderFailsWithWrongToken", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanGenerateAndVerifyUserTokenWithStaticTokenProvider", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanConfirmEmailWithStaticToken", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ConfirmEmailWithStaticTokenFailsWithWrongToken", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ConfirmTokenFailsAfterPasswordChange", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SingleFailureLockout", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TwoFailureLockout", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ResetAccessCountPreventsLockout", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanEnableLockoutManuallyAndLockout", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UserNotLockedOutWithNullDateTimeAndIsSetToNullDate", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "LockoutFailsIfNotEnabled", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "LockoutEndToUtcNowMinus1SecInUserShouldNotBeLockedOut", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "LockoutEndToUtcNowSubOneSecondWithManagerShouldNotBeLockedOut", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "LockoutEndToUtcNowPlus5ShouldBeLockedOut", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UserLockedOutWithDateTimeLocalKindNowPlus30", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetPhoneNumberTest", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanChangePhoneNumber", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ChangePhoneNumberTokenIsInt", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ChangePhoneNumberFailsWithWrongToken", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ChangePhoneNumberWithCustomProvider", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ChangePhoneNumberFailsWithWrongPhoneNumber", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanVerifyPhoneNumber", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanChangeEmail", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanChangeEmailWithDifferentTokenProvider", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ChangeEmailTokensFailsAfterEmailChanged", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ChangeEmailFailsWithWrongToken", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ChangeEmailFailsWithEmail", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "EmailFactorFailsAfterSecurityStampChangeTest", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "EnableTwoFactorChangesSecurityStamp", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateTwoFactorWithUnknownFactorProviderWillThrow", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetValidTwoFactorTestEmptyWithNoProviders", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanGetSetUpdateAndRemoveUserToken", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanRedeemRecoveryCodeOnlyOnce", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RecoveryCodesInvalidAfterReplace", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanGetValidTwoFactor", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PhoneFactorFailsAfterSecurityStampChangeTest", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "VerifyTokenFromWrongTokenProviderFails", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "VerifyWithWrongSmsTokenFails", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "NullableDateTimeOperationTest", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanGetUsersWithClaims", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateUsers", - "Parameters": [ - { - "Name": "userNamePrefix", - "Type": "System.String" - }, - { - "Name": "count", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Collections.Generic.List", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "_errorDescriber", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityErrorDescriber", - "ReadOnly": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "NullValue", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Protected", - "GenericParameter": [], - "Constant": true, - "Literal": "\"(null)\"" - } - ], - "GenericParameters": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TKey", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [ - "System.IEquatable" - ] - } - ] - } - ] -} \ No newline at end of file diff --git a/src/Identity/UI/src/IdentityDefaultUIConfigureOptions.cs b/src/Identity/UI/src/IdentityDefaultUIConfigureOptions.cs index 0a35d53a27..3ef8438ba5 100644 --- a/src/Identity/UI/src/IdentityDefaultUIConfigureOptions.cs +++ b/src/Identity/UI/src/IdentityDefaultUIConfigureOptions.cs @@ -17,7 +17,7 @@ namespace Microsoft.AspNetCore.Identity.UI internal class IdentityDefaultUIConfigureOptions : IPostConfigureOptions, IPostConfigureOptions, - IPostConfigureOptions where TUser : class + IConfigureNamedOptions where TUser : class { private const string IdentityUIDefaultAreaName = "Identity"; @@ -72,7 +72,9 @@ namespace Microsoft.AspNetCore.Identity.UI options.FileProvider = new CompositeFileProvider(options.FileProvider, filesProvider); } - public void PostConfigure(string name, CookieAuthenticationOptions options) + public void Configure(CookieAuthenticationOptions options) { } + + public void Configure(string name, CookieAuthenticationOptions options) { name = name ?? throw new ArgumentNullException(nameof(name)); options = options ?? throw new ArgumentNullException(nameof(options)); diff --git a/src/Identity/UI/src/baseline.netcore.json b/src/Identity/UI/src/baseline.netcore.json deleted file mode 100644 index 8462b9d551..0000000000 --- a/src/Identity/UI/src/baseline.netcore.json +++ /dev/null @@ -1,176 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Identity.UI, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.Extensions.DependencyInjection.IdentityServiceCollectionUIExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddDefaultIdentity", - "Parameters": [ - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - } - ], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "AddDefaultIdentity", - "Parameters": [ - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - }, - { - "Name": "configureOptions", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TUser", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.IdentityBuilderUIExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddDefaultUI", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Identity.IdentityBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Identity.IdentityBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.UI.Services.IEmailSender", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "SendEmailAsync", - "Parameters": [ - { - "Name": "email", - "Type": "System.String" - }, - { - "Name": "subject", - "Type": "System.String" - }, - { - "Name": "htmlMessage", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Identity.UI.Pages.ErrorModel", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.RazorPages.PageModel", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_RequestId", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RequestId", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ShowRequestId", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnGet", - "Parameters": [], - "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/Identity/UI/src/breakingchanges.netcore.json b/src/Identity/UI/src/breakingchanges.netcore.json deleted file mode 100644 index e8c05039ea..0000000000 --- a/src/Identity/UI/src/breakingchanges.netcore.json +++ /dev/null @@ -1,6 +0,0 @@ -[ - { - "TypeId": "public class Microsoft.AspNetCore.Identity.UI.Pages.ErrorModel : Microsoft.AspNetCore.Mvc.RazorPages.PageModel", - "Kind": "Removal" - } -] \ No newline at end of file diff --git a/src/Installers/Windows/AspNetCoreModule-Setup/ANCMIISExpressV2/AncmIISExpressV2.wixproj b/src/Installers/Windows/AspNetCoreModule-Setup/ANCMIISExpressV2/AncmIISExpressV2.wixproj index bcf3ba3c6d..1186611de3 100644 --- a/src/Installers/Windows/AspNetCoreModule-Setup/ANCMIISExpressV2/AncmIISExpressV2.wixproj +++ b/src/Installers/Windows/AspNetCoreModule-Setup/ANCMIISExpressV2/AncmIISExpressV2.wixproj @@ -58,8 +58,10 @@ AfterTargets="Build"> + + diff --git a/src/Installers/Windows/SharedFrameworkBundle/thm.wxl b/src/Installers/Windows/SharedFrameworkBundle/thm.wxl index bb88e23d9e..11f484d7dd 100644 --- a/src/Installers/Windows/SharedFrameworkBundle/thm.wxl +++ b/src/Installers/Windows/SharedFrameworkBundle/thm.wxl @@ -58,4 +58,7 @@ &Do not close applications. A reboot will be required. &OK &Cancel - \ No newline at end of file + + Welcome to the [WixBundle] Setup. + [WixBundleName] <a href="https://go.microsoft.com/fwlink/?LinkId=320539">license terms</a> and <a href="https://go.microsoft.com/fwlink/?LinkId=786378">privacy statement</a>. + diff --git a/src/Installers/Windows/SharedFrameworkBundle/thm.xml b/src/Installers/Windows/SharedFrameworkBundle/thm.xml index f9323a366f..c41ead0cf7 100644 --- a/src/Installers/Windows/SharedFrameworkBundle/thm.xml +++ b/src/Installers/Windows/SharedFrameworkBundle/thm.xml @@ -17,8 +17,8 @@ - Welcome to the #(loc.Caption). - [WixBundleName] <a href="https://go.microsoft.com/fwlink/?LinkId=320539">license terms</a> and <a href="https://go.microsoft.com/fwlink/?LinkId=786378">privacy statement</a>. + #(loc.Welcome) + #(loc.EulaPrivacy) #(loc.InstallAcceptCheckbox) @@ -77,4 +77,4 @@ - \ No newline at end of file + diff --git a/src/Installers/Windows/WindowsHostingBundle/thm.wxl b/src/Installers/Windows/WindowsHostingBundle/thm.wxl index 87ae937c7d..4ec741bf68 100644 --- a/src/Installers/Windows/WindowsHostingBundle/thm.wxl +++ b/src/Installers/Windows/WindowsHostingBundle/thm.wxl @@ -58,4 +58,12 @@ &Do not close applications. A reboot will be required. &OK &Cancel - \ No newline at end of file + + + Welcome to the [WixBundleName] Setup. + Please restart IIS after the installation completes. You can find additional information <a href="https://go.microsoft.com/fwlink/?LinkId=798277">here</a>. + IIS is not enabled on this machine. If you intend to run ASP.NET Core applications with IIS, you must install IIS before running this installer. You can find additional information <a href="https://go.microsoft.com/fwlink/?LinkId=798277">here</a>. + [WixBundleName] <a href="https://go.microsoft.com/fwlink/?LinkId=320539">license terms</a> and <a href="https://go.microsoft.com/fwlink/?LinkId=786378">privacy statement</a>. + Please restart IIS after the installation completes. You can find additional information <a href="https://go.microsoft.com/fwlink/?LinkId=798277">here</a>. + IIS is not enabled on this machine. If you intend to run ASP.NET Core applications with IIS, you must install IIS before running this installer. You can find additional information <a href="https://go.microsoft.com/fwlink/?LinkId=798277">here</a>. + diff --git a/src/Installers/Windows/WindowsHostingBundle/thm.xml b/src/Installers/Windows/WindowsHostingBundle/thm.xml index 8ca4905b72..77de329ec9 100644 --- a/src/Installers/Windows/WindowsHostingBundle/thm.xml +++ b/src/Installers/Windows/WindowsHostingBundle/thm.xml @@ -17,10 +17,10 @@ - Welcome to the #(loc.Caption). - Please restart IIS after the installation completes. You can find additional information <a href="https://go.microsoft.com/fwlink/?LinkId=798277">here</a>. - IIS is not enabled on this machine. If you intend to run ASP.NET Core applications with IIS, you must install IIS before running this installer. You can find additional information <a href="https://go.microsoft.com/fwlink/?LinkId=798277">here</a>. - [WixBundleName] <a href="https://go.microsoft.com/fwlink/?LinkId=320539">license terms</a> and <a href="https://go.microsoft.com/fwlink/?LinkId=786378">privacy statement</a>. + #(loc.Welcome) + #(loc.InstallResetIIS) + #(loc.InstallNoIIS) + #(loc.EulaPrivacy) #(loc.InstallAcceptCheckbox) @@ -54,8 +54,8 @@ #(loc.ModifyHeader) - Please restart IIS after the installation completes. You can find additional information <a href="https://go.microsoft.com/fwlink/?LinkId=798277">here</a>. - IIS is not enabled on this machine. If you intend to run ASP.NET Core applications with IIS, you must install IIS before running this installer. You can find additional information <a href="https://go.microsoft.com/fwlink/?LinkId=798277">here</a>. + #(loc.ModifyResetIIS) + #(loc.ModifyNoIIS) @@ -81,4 +81,4 @@ - \ No newline at end of file + diff --git a/src/Middleware/CORS/ref/Microsoft.AspNetCore.Cors.netcoreapp3.0.cs b/src/Middleware/CORS/ref/Microsoft.AspNetCore.Cors.netcoreapp3.0.cs index 4072d5f068..f000293212 100644 --- a/src/Middleware/CORS/ref/Microsoft.AspNetCore.Cors.netcoreapp3.0.cs +++ b/src/Middleware/CORS/ref/Microsoft.AspNetCore.Cors.netcoreapp3.0.cs @@ -5,8 +5,8 @@ namespace Microsoft.AspNetCore.Builder { public static partial class CorsEndpointConventionBuilderExtensions { - public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder WithCorsPolicy(this Microsoft.AspNetCore.Builder.IEndpointConventionBuilder builder, System.Action configurePolicy) { throw null; } - public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder WithCorsPolicy(this Microsoft.AspNetCore.Builder.IEndpointConventionBuilder builder, string policyName) { throw null; } + public static TBuilder WithCorsPolicy(this TBuilder builder, System.Action configurePolicy) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder { throw null; } + public static TBuilder WithCorsPolicy(this TBuilder builder, string policyName) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder { throw null; } } public static partial class CorsMiddlewareExtensions { diff --git a/src/Middleware/CORS/src/Infrastructure/CorsEndpointConventionBuilderExtensions.cs b/src/Middleware/CORS/src/Infrastructure/CorsEndpointConventionBuilderExtensions.cs index 84c4021956..1b82f90dfa 100644 --- a/src/Middleware/CORS/src/Infrastructure/CorsEndpointConventionBuilderExtensions.cs +++ b/src/Middleware/CORS/src/Infrastructure/CorsEndpointConventionBuilderExtensions.cs @@ -19,7 +19,7 @@ namespace Microsoft.AspNetCore.Builder /// The endpoint convention builder. /// The CORS policy name. /// The original convention builder parameter. - public static IEndpointConventionBuilder WithCorsPolicy(this IEndpointConventionBuilder builder, string policyName) + public static TBuilder WithCorsPolicy(this TBuilder builder, string policyName) where TBuilder : IEndpointConventionBuilder { if (builder == null) { @@ -39,7 +39,7 @@ namespace Microsoft.AspNetCore.Builder /// The endpoint convention builder. /// A delegate which can use a policy builder to build a policy. /// The original convention builder parameter. - public static IEndpointConventionBuilder WithCorsPolicy(this IEndpointConventionBuilder builder, Action configurePolicy) + public static TBuilder WithCorsPolicy(this TBuilder builder, Action configurePolicy) where TBuilder : IEndpointConventionBuilder { if (builder == null) { diff --git a/src/Middleware/CORS/src/baseline.netcore.json b/src/Middleware/CORS/src/baseline.netcore.json deleted file mode 100644 index ef96cf2eed..0000000000 --- a/src/Middleware/CORS/src/baseline.netcore.json +++ /dev/null @@ -1,1250 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Cors, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.Builder.CorsMiddlewareExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseCors", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseCors", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "policyName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseCors", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "configurePolicy", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Cors.DisableCorsAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Cors.Infrastructure.IDisableCorsAttribute" - ], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Cors.EnableCorsAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Cors.Infrastructure.IEnableCorsAttribute" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_PolicyName", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Cors.Infrastructure.IEnableCorsAttribute", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_PolicyName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Cors.Infrastructure.IEnableCorsAttribute", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "policyName", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Cors.Infrastructure.CorsConstants", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "PreflightHttpMethod", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "Origin", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "AnyOrigin", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "AccessControlRequestMethod", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "AccessControlRequestHeaders", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "AccessControlAllowOrigin", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "AccessControlAllowHeaders", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "AccessControlExposeHeaders", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "AccessControlAllowMethods", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "AccessControlAllowCredentials", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "AccessControlMaxAge", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Invoke", - "Parameters": [ - { - "Name": "context", - "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": "corsService", - "Type": "Microsoft.AspNetCore.Cors.Infrastructure.ICorsService" - }, - { - "Name": "policyProvider", - "Type": "Microsoft.AspNetCore.Cors.Infrastructure.ICorsPolicyProvider" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "next", - "Type": "Microsoft.AspNetCore.Http.RequestDelegate" - }, - { - "Name": "corsService", - "Type": "Microsoft.AspNetCore.Cors.Infrastructure.ICorsService" - }, - { - "Name": "policyProvider", - "Type": "Microsoft.AspNetCore.Cors.Infrastructure.ICorsPolicyProvider" - }, - { - "Name": "policyName", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "next", - "Type": "Microsoft.AspNetCore.Http.RequestDelegate" - }, - { - "Name": "corsService", - "Type": "Microsoft.AspNetCore.Cors.Infrastructure.ICorsService" - }, - { - "Name": "policy", - "Type": "Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Cors.Infrastructure.CorsOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_DefaultPolicyName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_DefaultPolicyName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddDefaultPolicy", - "Parameters": [ - { - "Name": "policy", - "Type": "Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddDefaultPolicy", - "Parameters": [ - { - "Name": "configurePolicy", - "Type": "System.Action" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddPolicy", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "policy", - "Type": "Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddPolicy", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "configurePolicy", - "Type": "System.Action" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetPolicy", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_AllowAnyHeader", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AllowAnyMethod", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AllowAnyOrigin", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsOriginAllowed", - "Parameters": [], - "ReturnType": "System.Func", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IsOriginAllowed", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ExposedHeaders", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Headers", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Methods", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Origins", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PreflightMaxAge", - "Parameters": [], - "ReturnType": "System.Nullable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_PreflightMaxAge", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SupportsCredentials", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SupportsCredentials", - "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": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "WithOrigins", - "Parameters": [ - { - "Name": "origins", - "Type": "System.String[]", - "IsParams": true - } - ], - "ReturnType": "Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WithHeaders", - "Parameters": [ - { - "Name": "headers", - "Type": "System.String[]", - "IsParams": true - } - ], - "ReturnType": "Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WithExposedHeaders", - "Parameters": [ - { - "Name": "exposedHeaders", - "Type": "System.String[]", - "IsParams": true - } - ], - "ReturnType": "Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WithMethods", - "Parameters": [ - { - "Name": "methods", - "Type": "System.String[]", - "IsParams": true - } - ], - "ReturnType": "Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AllowCredentials", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DisallowCredentials", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AllowAnyOrigin", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AllowAnyMethod", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AllowAnyHeader", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetPreflightMaxAge", - "Parameters": [ - { - "Name": "preflightMaxAge", - "Type": "System.TimeSpan" - } - ], - "ReturnType": "Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetIsOriginAllowed", - "Parameters": [ - { - "Name": "isOriginAllowed", - "Type": "System.Func" - } - ], - "ReturnType": "Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetIsOriginAllowedToAllowWildcardSubdomains", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Build", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "origins", - "Type": "System.String[]", - "IsParams": true - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "policy", - "Type": "Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Cors.Infrastructure.CorsResult", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_AllowedOrigin", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AllowedOrigin", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SupportsCredentials", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SupportsCredentials", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AllowedMethods", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AllowedHeaders", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AllowedExposedHeaders", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_VaryByOrigin", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_VaryByOrigin", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PreflightMaxAge", - "Parameters": [], - "ReturnType": "System.Nullable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_PreflightMaxAge", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ToString", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Cors.Infrastructure.CorsService", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Cors.Infrastructure.ICorsService" - ], - "Members": [ - { - "Kind": "Method", - "Name": "EvaluatePolicy", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "policyName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Cors.Infrastructure.CorsResult", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "EvaluatePolicy", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "policy", - "Type": "Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy" - } - ], - "ReturnType": "Microsoft.AspNetCore.Cors.Infrastructure.CorsResult", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Cors.Infrastructure.ICorsService", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "EvaluateRequest", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "policy", - "Type": "Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy" - }, - { - "Name": "result", - "Type": "Microsoft.AspNetCore.Cors.Infrastructure.CorsResult" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "EvaluatePreflightRequest", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "policy", - "Type": "Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy" - }, - { - "Name": "result", - "Type": "Microsoft.AspNetCore.Cors.Infrastructure.CorsResult" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ApplyResult", - "Parameters": [ - { - "Name": "result", - "Type": "Microsoft.AspNetCore.Cors.Infrastructure.CorsResult" - }, - { - "Name": "response", - "Type": "Microsoft.AspNetCore.Http.HttpResponse" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Cors.Infrastructure.ICorsService", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptions" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Cors.Infrastructure.DefaultCorsPolicyProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Cors.Infrastructure.ICorsPolicyProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetPolicyAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "policyName", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Cors.Infrastructure.ICorsPolicyProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Cors.Infrastructure.ICorsPolicyProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetPolicyAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "policyName", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Cors.Infrastructure.ICorsService", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "EvaluatePolicy", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "policy", - "Type": "Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy" - } - ], - "ReturnType": "Microsoft.AspNetCore.Cors.Infrastructure.CorsResult", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ApplyResult", - "Parameters": [ - { - "Name": "result", - "Type": "Microsoft.AspNetCore.Cors.Infrastructure.CorsResult" - }, - { - "Name": "response", - "Type": "Microsoft.AspNetCore.Http.HttpResponse" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Cors.Infrastructure.IDisableCorsAttribute", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Cors.Infrastructure.IEnableCorsAttribute", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_PolicyName", - "Parameters": [], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_PolicyName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.Extensions.DependencyInjection.CorsServiceCollectionExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddCors", - "Parameters": [ - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IServiceCollection", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddCors", - "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": [] - } - ] -} \ No newline at end of file diff --git a/src/Middleware/CORS/src/breakingchanges.netcore.json b/src/Middleware/CORS/src/breakingchanges.netcore.json deleted file mode 100644 index e30bbaf3a8..0000000000 --- a/src/Middleware/CORS/src/breakingchanges.netcore.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "TypeId": "public class Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware", - "MemberId": "public .ctor(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Cors.Infrastructure.ICorsService corsService, Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy policy)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware", - "MemberId": "public .ctor(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Cors.Infrastructure.ICorsService corsService, Microsoft.AspNetCore.Cors.Infrastructure.ICorsPolicyProvider policyProvider)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware", - "MemberId": "public .ctor(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Cors.Infrastructure.ICorsService corsService, Microsoft.AspNetCore.Cors.Infrastructure.ICorsPolicyProvider policyProvider, System.String policyName)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware", - "MemberId": "public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext context)", - "Kind": "Removal" - } - ] diff --git a/src/Middleware/CORS/test/FunctionalTests/CORS.FunctionalTests.npmproj b/src/Middleware/CORS/test/FunctionalTests/CORS.FunctionalTests.npmproj index 5f99a4e561..87da25f520 100644 --- a/src/Middleware/CORS/test/FunctionalTests/CORS.FunctionalTests.npmproj +++ b/src/Middleware/CORS/test/FunctionalTests/CORS.FunctionalTests.npmproj @@ -12,10 +12,5 @@ false - - - - - diff --git a/src/Middleware/CORS/test/FunctionalTests/package.json b/src/Middleware/CORS/test/FunctionalTests/package.json index e5ab47f4c9..08c657f2bf 100644 --- a/src/Middleware/CORS/test/FunctionalTests/package.json +++ b/src/Middleware/CORS/test/FunctionalTests/package.json @@ -3,7 +3,7 @@ "devDependencies": { "jest": "^23.6.0", "merge": "^1.2.1", - "puppeteer": "^1.14.0" + "puppeteer": "^1.15.0" }, "dependencies": {}, "scripts": { diff --git a/src/Middleware/CORS/test/FunctionalTests/yarn.lock b/src/Middleware/CORS/test/FunctionalTests/yarn.lock index aece67a346..8e698e1e0d 100644 --- a/src/Middleware/CORS/test/FunctionalTests/yarn.lock +++ b/src/Middleware/CORS/test/FunctionalTests/yarn.lock @@ -2826,10 +2826,10 @@ punycode@^2.1.0: resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== -puppeteer@^1.14.0: - version "1.14.0" - resolved "https://registry.yarnpkg.com/puppeteer/-/puppeteer-1.14.0.tgz#828c1926b307200d5fc8289b99df4e13e962d339" - integrity sha512-SayS2wUX/8LF8Yo2Rkpc5nkAu4Jg3qu+OLTDSOZtisVQMB2Z5vjlY2TdPi/5CgZKiZroYIiyUN3sRX63El9iaw== +puppeteer@^1.15.0: + version "1.15.0" + resolved "https://registry.yarnpkg.com/puppeteer/-/puppeteer-1.15.0.tgz#1680fac13e51f609143149a5b7fa99eec392b34f" + integrity sha512-D2y5kwA9SsYkNUmcBzu9WZ4V1SGHiQTmgvDZSx6sRYFsgV25IebL4V6FaHjF6MbwLK9C6f3G3pmck9qmwM8H3w== dependencies: debug "^4.1.0" extract-zip "^1.6.6" diff --git a/src/Middleware/CORS/test/UnitTests/CorsEndpointConventionBuilderExtensionsTests.cs b/src/Middleware/CORS/test/UnitTests/CorsEndpointConventionBuilderExtensionsTests.cs index 490a1d3644..6b1ce451d0 100644 --- a/src/Middleware/CORS/test/UnitTests/CorsEndpointConventionBuilderExtensionsTests.cs +++ b/src/Middleware/CORS/test/UnitTests/CorsEndpointConventionBuilderExtensionsTests.cs @@ -55,6 +55,19 @@ namespace Microsoft.AspNetCore.Cors.Infrastructure Assert.True(metadata.Policy.AllowAnyOrigin); } + [Fact] + public void WithCorsPolicy_ChainedCall_ReturnedBuilderIsDerivedType() + { + // Arrange + var testConventionBuilder = new TestEndpointConventionBuilder(); + + // Act + var builder = testConventionBuilder.WithCorsPolicy("TestPolicyName"); + + // Assert + Assert.True(builder.TestProperty); + } + private class TestEndpointBuilder : EndpointBuilder { public override Endpoint Build() @@ -66,6 +79,7 @@ namespace Microsoft.AspNetCore.Cors.Infrastructure private class TestEndpointConventionBuilder : IEndpointConventionBuilder { public IList> Conventions { get; } = new List>(); + public bool TestProperty { get; } = true; public void Add(Action convention) { diff --git a/src/Middleware/Diagnostics.Abstractions/src/baseline.netcore.json b/src/Middleware/Diagnostics.Abstractions/src/baseline.netcore.json deleted file mode 100644 index 6cbf6b065c..0000000000 --- a/src/Middleware/Diagnostics.Abstractions/src/baseline.netcore.json +++ /dev/null @@ -1,356 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Diagnostics.Abstractions, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.Diagnostics.CompilationFailure", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_SourceFilePath", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SourceFileContent", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_CompiledContent", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Messages", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_FailureSummary", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "sourceFilePath", - "Type": "System.String" - }, - { - "Name": "sourceFileContent", - "Type": "System.String" - }, - { - "Name": "compiledContent", - "Type": "System.String" - }, - { - "Name": "messages", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "sourceFilePath", - "Type": "System.String" - }, - { - "Name": "sourceFileContent", - "Type": "System.String" - }, - { - "Name": "compiledContent", - "Type": "System.String" - }, - { - "Name": "messages", - "Type": "System.Collections.Generic.IEnumerable" - }, - { - "Name": "failureSummary", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Diagnostics.DiagnosticMessage", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_SourceFilePath", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Message", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_StartLine", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_StartColumn", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_EndLine", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_EndColumn", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_FormattedMessage", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "message", - "Type": "System.String" - }, - { - "Name": "formattedMessage", - "Type": "System.String" - }, - { - "Name": "filePath", - "Type": "System.String" - }, - { - "Name": "startLine", - "Type": "System.Int32" - }, - { - "Name": "startColumn", - "Type": "System.Int32" - }, - { - "Name": "endLine", - "Type": "System.Int32" - }, - { - "Name": "endColumn", - "Type": "System.Int32" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Diagnostics.ICompilationException", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_CompilationFailures", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Diagnostics.IExceptionHandlerFeature", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Error", - "Parameters": [], - "ReturnType": "System.Exception", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Diagnostics.IExceptionHandlerPathFeature", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Diagnostics.IExceptionHandlerFeature" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Path", - "Parameters": [], - "ReturnType": "System.String", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Diagnostics.IStatusCodePagesFeature", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Enabled", - "Parameters": [], - "ReturnType": "System.Boolean", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Enabled", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Diagnostics.IStatusCodeReExecuteFeature", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_OriginalPathBase", - "Parameters": [], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_OriginalPathBase", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_OriginalPath", - "Parameters": [], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_OriginalPath", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_OriginalQueryString", - "Parameters": [], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_OriginalQueryString", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Middleware/Diagnostics.EntityFrameworkCore/src/baseline.netcore.json b/src/Middleware/Diagnostics.EntityFrameworkCore/src/baseline.netcore.json deleted file mode 100644 index 287e144156..0000000000 --- a/src/Middleware/Diagnostics.EntityFrameworkCore/src/baseline.netcore.json +++ /dev/null @@ -1,795 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.DiagnosticsViewPage.Views.AttributeValue", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Prefix", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Value", - "Parameters": [], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Literal", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FromTuple", - "Parameters": [ - { - "Name": "value", - "Type": "System.Tuple" - } - ], - "ReturnType": "Microsoft.AspNetCore.DiagnosticsViewPage.Views.AttributeValue", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FromTuple", - "Parameters": [ - { - "Name": "value", - "Type": "System.Tuple" - } - ], - "ReturnType": "Microsoft.AspNetCore.DiagnosticsViewPage.Views.AttributeValue", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "op_Implicit", - "Parameters": [ - { - "Name": "value", - "Type": "System.Tuple" - } - ], - "ReturnType": "Microsoft.AspNetCore.DiagnosticsViewPage.Views.AttributeValue", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "prefix", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "literal", - "Type": "System.Boolean" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.DiagnosticsViewPage.Views.BaseView", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Context", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HttpContext", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Request", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HttpRequest", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Response", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HttpResponse", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Output", - "Parameters": [], - "ReturnType": "System.IO.StreamWriter", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HtmlEncoder", - "Parameters": [], - "ReturnType": "System.Text.Encodings.Web.HtmlEncoder", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_HtmlEncoder", - "Parameters": [ - { - "Name": "value", - "Type": "System.Text.Encodings.Web.HtmlEncoder" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UrlEncoder", - "Parameters": [], - "ReturnType": "System.Text.Encodings.Web.UrlEncoder", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_UrlEncoder", - "Parameters": [ - { - "Name": "value", - "Type": "System.Text.Encodings.Web.UrlEncoder" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_JavaScriptEncoder", - "Parameters": [], - "ReturnType": "System.Text.Encodings.Web.JavaScriptEncoder", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_JavaScriptEncoder", - "Parameters": [ - { - "Name": "value", - "Type": "System.Text.Encodings.Web.JavaScriptEncoder" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ExecuteAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ExecuteAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteLiteral", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteLiteral", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteAttributeValue", - "Parameters": [ - { - "Name": "thingy", - "Type": "System.String" - }, - { - "Name": "startPostion", - "Type": "System.Int32" - }, - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "endValue", - "Type": "System.Int32" - }, - { - "Name": "dealyo", - "Type": "System.Int32" - }, - { - "Name": "yesno", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BeginWriteAttribute", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "begining", - "Type": "System.String" - }, - { - "Name": "startPosition", - "Type": "System.Int32" - }, - { - "Name": "ending", - "Type": "System.String" - }, - { - "Name": "endPosition", - "Type": "System.Int32" - }, - { - "Name": "thingy", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "EndWriteAttribute", - "Parameters": [], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteAttributeTo", - "Parameters": [ - { - "Name": "writer", - "Type": "System.IO.TextWriter" - }, - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "leader", - "Type": "System.String" - }, - { - "Name": "trailer", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "Microsoft.AspNetCore.DiagnosticsViewPage.Views.AttributeValue[]", - "IsParams": true - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Write", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Write", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Write", - "Parameters": [ - { - "Name": "result", - "Type": "Microsoft.AspNetCore.DiagnosticsViewPage.Views.HelperResult" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteTo", - "Parameters": [ - { - "Name": "writer", - "Type": "System.IO.TextWriter" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteTo", - "Parameters": [ - { - "Name": "writer", - "Type": "System.IO.TextWriter" - }, - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteLiteralTo", - "Parameters": [ - { - "Name": "writer", - "Type": "System.IO.TextWriter" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteLiteralTo", - "Parameters": [ - { - "Name": "writer", - "Type": "System.IO.TextWriter" - }, - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HtmlEncodeAndReplaceLineBreaks", - "Parameters": [ - { - "Name": "input", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.DiagnosticsViewPage.Views.HelperResult", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_WriteAction", - "Parameters": [], - "ReturnType": "System.Action", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteTo", - "Parameters": [ - { - "Name": "writer", - "Type": "System.IO.TextWriter" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "action", - "Type": "System.Action" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.DatabaseErrorPageMiddleware", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "System.IObserver", - "System.IObserver>" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Invoke", - "Parameters": [ - { - "Name": "httpContext", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "next", - "Type": "Microsoft.AspNetCore.Http.RequestDelegate" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - }, - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.MigrationsEndPointMiddleware", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Invoke", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "next", - "Type": "Microsoft.AspNetCore.Http.RequestDelegate" - }, - { - "Name": "logger", - "Type": "Microsoft.Extensions.Logging.ILogger" - }, - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.DatabaseErrorPageExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseDatabaseErrorPage", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseDatabaseErrorPage", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Builder.DatabaseErrorPageOptions" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.DatabaseErrorPageOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_MigrationsEndPointPath", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.PathString", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MigrationsEndPointPath", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.PathString" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.MigrationsEndPointExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseMigrationsEndPoint", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseMigrationsEndPoint", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Builder.MigrationsEndPointOptions" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.MigrationsEndPointOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Path", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.PathString", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Path", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.PathString" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "DefaultPath", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.PathString", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Middleware/Diagnostics/src/baseline.netcore.json b/src/Middleware/Diagnostics/src/baseline.netcore.json deleted file mode 100644 index eeea95de0b..0000000000 --- a/src/Middleware/Diagnostics/src/baseline.netcore.json +++ /dev/null @@ -1,1543 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Diagnostics, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.DiagnosticsViewPage.Views.AttributeValue", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Prefix", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Value", - "Parameters": [], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Literal", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FromTuple", - "Parameters": [ - { - "Name": "value", - "Type": "System.Tuple" - } - ], - "ReturnType": "Microsoft.AspNetCore.DiagnosticsViewPage.Views.AttributeValue", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FromTuple", - "Parameters": [ - { - "Name": "value", - "Type": "System.Tuple" - } - ], - "ReturnType": "Microsoft.AspNetCore.DiagnosticsViewPage.Views.AttributeValue", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "op_Implicit", - "Parameters": [ - { - "Name": "value", - "Type": "System.Tuple" - } - ], - "ReturnType": "Microsoft.AspNetCore.DiagnosticsViewPage.Views.AttributeValue", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "prefix", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "literal", - "Type": "System.Boolean" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.DiagnosticsViewPage.Views.BaseView", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Context", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HttpContext", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Request", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HttpRequest", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Response", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HttpResponse", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Output", - "Parameters": [], - "ReturnType": "System.IO.StreamWriter", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HtmlEncoder", - "Parameters": [], - "ReturnType": "System.Text.Encodings.Web.HtmlEncoder", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_HtmlEncoder", - "Parameters": [ - { - "Name": "value", - "Type": "System.Text.Encodings.Web.HtmlEncoder" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UrlEncoder", - "Parameters": [], - "ReturnType": "System.Text.Encodings.Web.UrlEncoder", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_UrlEncoder", - "Parameters": [ - { - "Name": "value", - "Type": "System.Text.Encodings.Web.UrlEncoder" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_JavaScriptEncoder", - "Parameters": [], - "ReturnType": "System.Text.Encodings.Web.JavaScriptEncoder", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_JavaScriptEncoder", - "Parameters": [ - { - "Name": "value", - "Type": "System.Text.Encodings.Web.JavaScriptEncoder" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ExecuteAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ExecuteAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteLiteral", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteLiteral", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteAttributeValue", - "Parameters": [ - { - "Name": "thingy", - "Type": "System.String" - }, - { - "Name": "startPostion", - "Type": "System.Int32" - }, - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "endValue", - "Type": "System.Int32" - }, - { - "Name": "dealyo", - "Type": "System.Int32" - }, - { - "Name": "yesno", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BeginWriteAttribute", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "begining", - "Type": "System.String" - }, - { - "Name": "startPosition", - "Type": "System.Int32" - }, - { - "Name": "ending", - "Type": "System.String" - }, - { - "Name": "endPosition", - "Type": "System.Int32" - }, - { - "Name": "thingy", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "EndWriteAttribute", - "Parameters": [], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteAttributeTo", - "Parameters": [ - { - "Name": "writer", - "Type": "System.IO.TextWriter" - }, - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "leader", - "Type": "System.String" - }, - { - "Name": "trailer", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "Microsoft.AspNetCore.DiagnosticsViewPage.Views.AttributeValue[]", - "IsParams": true - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Write", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Write", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Write", - "Parameters": [ - { - "Name": "result", - "Type": "Microsoft.AspNetCore.DiagnosticsViewPage.Views.HelperResult" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteTo", - "Parameters": [ - { - "Name": "writer", - "Type": "System.IO.TextWriter" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteTo", - "Parameters": [ - { - "Name": "writer", - "Type": "System.IO.TextWriter" - }, - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteLiteralTo", - "Parameters": [ - { - "Name": "writer", - "Type": "System.IO.TextWriter" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteLiteralTo", - "Parameters": [ - { - "Name": "writer", - "Type": "System.IO.TextWriter" - }, - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HtmlEncodeAndReplaceLineBreaks", - "Parameters": [ - { - "Name": "input", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.DiagnosticsViewPage.Views.HelperResult", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_WriteAction", - "Parameters": [], - "ReturnType": "System.Action", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteTo", - "Parameters": [ - { - "Name": "writer", - "Type": "System.IO.TextWriter" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "action", - "Type": "System.Action" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Invoke", - "Parameters": [ - { - "Name": "context", - "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": "options", - "Type": "Microsoft.Extensions.Options.IOptions" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - }, - { - "Name": "hostingEnvironment", - "Type": "Microsoft.AspNetCore.Hosting.IHostingEnvironment" - }, - { - "Name": "diagnosticSource", - "Type": "System.Diagnostics.DiagnosticSource" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Diagnostics.ExceptionHandlerFeature", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Diagnostics.IExceptionHandlerPathFeature" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Error", - "Parameters": [], - "ReturnType": "System.Exception", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Diagnostics.IExceptionHandlerFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Error", - "Parameters": [ - { - "Name": "value", - "Type": "System.Exception" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Path", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Diagnostics.IExceptionHandlerPathFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Path", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Invoke", - "Parameters": [ - { - "Name": "context", - "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": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - }, - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptions" - }, - { - "Name": "diagnosticSource", - "Type": "System.Diagnostics.DiagnosticSource" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Diagnostics.StatusCodeContext", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_HttpContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HttpContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Options", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Builder.StatusCodePagesOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Next", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.RequestDelegate", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Builder.StatusCodePagesOptions" - }, - { - "Name": "next", - "Type": "Microsoft.AspNetCore.Http.RequestDelegate" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Diagnostics.StatusCodePagesFeature", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Diagnostics.IStatusCodePagesFeature" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Enabled", - "Parameters": [], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Diagnostics.IStatusCodePagesFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Enabled", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Diagnostics.IStatusCodePagesFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Diagnostics.StatusCodePagesMiddleware", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Invoke", - "Parameters": [ - { - "Name": "context", - "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": "options", - "Type": "Microsoft.Extensions.Options.IOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Diagnostics.StatusCodeReExecuteFeature", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Diagnostics.IStatusCodeReExecuteFeature" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_OriginalPath", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Diagnostics.IStatusCodeReExecuteFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_OriginalPath", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Diagnostics.IStatusCodeReExecuteFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_OriginalPathBase", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Diagnostics.IStatusCodeReExecuteFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_OriginalPathBase", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Diagnostics.IStatusCodeReExecuteFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_OriginalQueryString", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Diagnostics.IStatusCodeReExecuteFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_OriginalQueryString", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Diagnostics.IStatusCodeReExecuteFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Diagnostics.WelcomePageMiddleware", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Invoke", - "Parameters": [ - { - "Name": "context", - "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": "options", - "Type": "Microsoft.Extensions.Options.IOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Diagnostics.Views.WelcomePage", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.DiagnosticsViewPage.Views.BaseView", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ExecuteAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.DeveloperExceptionPageExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseDeveloperExceptionPage", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseDeveloperExceptionPage", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Builder.DeveloperExceptionPageOptions" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.DeveloperExceptionPageOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_SourceCodeLineCount", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SourceCodeLineCount", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_FileProvider", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.FileProviders.IFileProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_FileProvider", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.Extensions.FileProviders.IFileProvider" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.ExceptionHandlerExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseExceptionHandler", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseExceptionHandler", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "errorHandlingPath", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseExceptionHandler", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "configure", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseExceptionHandler", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Builder.ExceptionHandlerOptions" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.ExceptionHandlerOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ExceptionHandlingPath", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.PathString", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ExceptionHandlingPath", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.PathString" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ExceptionHandler", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.RequestDelegate", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ExceptionHandler", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.RequestDelegate" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.StatusCodePagesExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseStatusCodePages", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Builder.StatusCodePagesOptions" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseStatusCodePages", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseStatusCodePages", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "handler", - "Type": "System.Func" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseStatusCodePages", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "contentType", - "Type": "System.String" - }, - { - "Name": "bodyFormat", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseStatusCodePagesWithRedirects", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "locationFormat", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseStatusCodePages", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "configuration", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseStatusCodePagesWithReExecute", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "pathFormat", - "Type": "System.String" - }, - { - "Name": "queryFormat", - "Type": "System.String", - "DefaultValue": "null" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.StatusCodePagesOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_HandleAsync", - "Parameters": [], - "ReturnType": "System.Func", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_HandleAsync", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.WelcomePageExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseWelcomePage", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Builder.WelcomePageOptions" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseWelcomePage", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "path", - "Type": "Microsoft.AspNetCore.Http.PathString" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseWelcomePage", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "path", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseWelcomePage", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.WelcomePageOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Path", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.PathString", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Path", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.PathString" - } - ], - "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/Middleware/HealthChecks/src/baseline.netcore.json b/src/Middleware/HealthChecks/src/baseline.netcore.json deleted file mode 100644 index d089d2470d..0000000000 --- a/src/Middleware/HealthChecks/src/baseline.netcore.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Diagnostics.HealthChecks, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - ] -} \ No newline at end of file diff --git a/src/Middleware/HostFiltering/src/baseline.netcore.json b/src/Middleware/HostFiltering/src/baseline.netcore.json deleted file mode 100644 index 18c6e39345..0000000000 --- a/src/Middleware/HostFiltering/src/baseline.netcore.json +++ /dev/null @@ -1,184 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.HostFiltering, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.HostFiltering.HostFilteringMiddleware", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Invoke", - "Parameters": [ - { - "Name": "context", - "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": "logger", - "Type": "Microsoft.Extensions.Logging.ILogger" - }, - { - "Name": "optionsMonitor", - "Type": "Microsoft.Extensions.Options.IOptionsMonitor" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.HostFiltering.HostFilteringOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_AllowedHosts", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AllowedHosts", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IList" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AllowEmptyHosts", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AllowEmptyHosts", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IncludeFailureMessage", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IncludeFailureMessage", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.HostFilteringBuilderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseHostFiltering", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.HostFilteringServicesExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddHostFiltering", - "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/Middleware/HttpOverrides/ref/Microsoft.AspNetCore.HttpOverrides.netcoreapp3.0.cs b/src/Middleware/HttpOverrides/ref/Microsoft.AspNetCore.HttpOverrides.netcoreapp3.0.cs index 81bd5fcc5a..cb7ee21e14 100644 --- a/src/Middleware/HttpOverrides/ref/Microsoft.AspNetCore.HttpOverrides.netcoreapp3.0.cs +++ b/src/Middleware/HttpOverrides/ref/Microsoft.AspNetCore.HttpOverrides.netcoreapp3.0.cs @@ -40,11 +40,11 @@ namespace Microsoft.AspNetCore.HttpOverrides [System.FlagsAttribute] public enum ForwardedHeaders { - All = 7, None = 0, XForwardedFor = 1, XForwardedHost = 2, XForwardedProto = 4, + All = 7, } public static partial class ForwardedHeadersDefaults { diff --git a/src/Middleware/HttpOverrides/src/baseline.net45.json b/src/Middleware/HttpOverrides/src/baseline.net45.json deleted file mode 100644 index 7182bc500f..0000000000 --- a/src/Middleware/HttpOverrides/src/baseline.net45.json +++ /dev/null @@ -1,421 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.HttpOverrides, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.Builder.ForwardedHeadersExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseForwardedHeaders", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseForwardedHeaders", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Builder.ForwardedHeadersOptions" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.ForwardedHeadersOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ForwardedHeaders", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.HttpOverrides.ForwardedHeaders", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ForwardedHeaders", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.HttpOverrides.ForwardedHeaders" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ForwardLimit", - "Parameters": [], - "ReturnType": "System.Nullable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ForwardLimit", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_KnownProxies", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_KnownNetworks", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RequireHeaderSymmetry", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RequireHeaderSymmetry", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.HttpMethodOverrideExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseHttpMethodOverride", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseHttpMethodOverride", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Builder.HttpMethodOverrideOptions" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.HttpMethodOverrideOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "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": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.HttpOverrides.ForwardedHeaders", - "Visibility": "Public", - "Kind": "Enumeration", - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "None", - "Parameters": [], - "GenericParameter": [], - "Literal": "0" - }, - { - "Kind": "Field", - "Name": "XForwardedFor", - "Parameters": [], - "GenericParameter": [], - "Literal": "1" - }, - { - "Kind": "Field", - "Name": "XForwardedHost", - "Parameters": [], - "GenericParameter": [], - "Literal": "2" - }, - { - "Kind": "Field", - "Name": "XForwardedProto", - "Parameters": [], - "GenericParameter": [], - "Literal": "4" - }, - { - "Kind": "Field", - "Name": "All", - "Parameters": [], - "GenericParameter": [], - "Literal": "7" - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.HttpOverrides.ForwardedHeadersMiddleware", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Invoke", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ApplyForwarders", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "next", - "Type": "Microsoft.AspNetCore.Http.RequestDelegate" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - }, - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.HttpOverrides.HttpMethodOverrideMiddleware", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Invoke", - "Parameters": [ - { - "Name": "context", - "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": "options", - "Type": "Microsoft.Extensions.Options.IOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.HttpOverrides.IPNetwork", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Prefix", - "Parameters": [], - "ReturnType": "System.Net.IPAddress", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PrefixLength", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Contains", - "Parameters": [ - { - "Name": "address", - "Type": "System.Net.IPAddress" - } - ], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "prefix", - "Type": "System.Net.IPAddress" - }, - { - "Name": "prefixLength", - "Type": "System.Int32" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} diff --git a/src/Middleware/HttpOverrides/src/baseline.netcore.json b/src/Middleware/HttpOverrides/src/baseline.netcore.json deleted file mode 100644 index 7764941a52..0000000000 --- a/src/Middleware/HttpOverrides/src/baseline.netcore.json +++ /dev/null @@ -1,634 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.HttpOverrides, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.Builder.ForwardedHeadersExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseForwardedHeaders", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseForwardedHeaders", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Builder.ForwardedHeadersOptions" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.ForwardedHeadersOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ForwardedForHeaderName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ForwardedForHeaderName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ForwardedHostHeaderName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ForwardedHostHeaderName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ForwardedProtoHeaderName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ForwardedProtoHeaderName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_OriginalForHeaderName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_OriginalForHeaderName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_OriginalHostHeaderName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_OriginalHostHeaderName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_OriginalProtoHeaderName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_OriginalProtoHeaderName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ForwardedHeaders", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.HttpOverrides.ForwardedHeaders", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ForwardedHeaders", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.HttpOverrides.ForwardedHeaders" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ForwardLimit", - "Parameters": [], - "ReturnType": "System.Nullable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ForwardLimit", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_KnownProxies", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_KnownNetworks", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AllowedHosts", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AllowedHosts", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IList" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RequireHeaderSymmetry", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RequireHeaderSymmetry", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.HttpMethodOverrideExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseHttpMethodOverride", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseHttpMethodOverride", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Builder.HttpMethodOverrideOptions" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.HttpMethodOverrideOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "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": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.HttpOverrides.ForwardedHeaders", - "Visibility": "Public", - "Kind": "Enumeration", - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "None", - "Parameters": [], - "GenericParameter": [], - "Literal": "0" - }, - { - "Kind": "Field", - "Name": "XForwardedFor", - "Parameters": [], - "GenericParameter": [], - "Literal": "1" - }, - { - "Kind": "Field", - "Name": "XForwardedHost", - "Parameters": [], - "GenericParameter": [], - "Literal": "2" - }, - { - "Kind": "Field", - "Name": "XForwardedProto", - "Parameters": [], - "GenericParameter": [], - "Literal": "4" - }, - { - "Kind": "Field", - "Name": "All", - "Parameters": [], - "GenericParameter": [], - "Literal": "7" - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.HttpOverrides.ForwardedHeadersDefaults", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_XForwardedForHeaderName", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_XForwardedHostHeaderName", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_XForwardedProtoHeaderName", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_XOriginalForHeaderName", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_XOriginalHostHeaderName", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_XOriginalProtoHeaderName", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.HttpOverrides.ForwardedHeadersMiddleware", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Invoke", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ApplyForwarders", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "next", - "Type": "Microsoft.AspNetCore.Http.RequestDelegate" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - }, - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.HttpOverrides.HttpMethodOverrideMiddleware", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Invoke", - "Parameters": [ - { - "Name": "context", - "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": "options", - "Type": "Microsoft.Extensions.Options.IOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.HttpOverrides.IPNetwork", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Prefix", - "Parameters": [], - "ReturnType": "System.Net.IPAddress", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PrefixLength", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Contains", - "Parameters": [ - { - "Name": "address", - "Type": "System.Net.IPAddress" - } - ], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "prefix", - "Type": "System.Net.IPAddress" - }, - { - "Name": "prefixLength", - "Type": "System.Int32" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Middleware/HttpsPolicy/src/baseline.netcore.json b/src/Middleware/HttpsPolicy/src/baseline.netcore.json deleted file mode 100644 index 26f1f412f9..0000000000 --- a/src/Middleware/HttpsPolicy/src/baseline.netcore.json +++ /dev/null @@ -1,378 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.HttpsPolicy, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.HttpsPolicy.HstsMiddleware", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Invoke", - "Parameters": [ - { - "Name": "context", - "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": "options", - "Type": "Microsoft.Extensions.Options.IOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.HttpsPolicy.HstsOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_MaxAge", - "Parameters": [], - "ReturnType": "System.TimeSpan", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MaxAge", - "Parameters": [ - { - "Name": "value", - "Type": "System.TimeSpan" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IncludeSubDomains", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IncludeSubDomains", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Preload", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Preload", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ExcludedHosts", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Invoke", - "Parameters": [ - { - "Name": "context", - "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": "options", - "Type": "Microsoft.Extensions.Options.IOptions" - }, - { - "Name": "config", - "Type": "Microsoft.Extensions.Configuration.IConfiguration" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "next", - "Type": "Microsoft.AspNetCore.Http.RequestDelegate" - }, - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptions" - }, - { - "Name": "config", - "Type": "Microsoft.Extensions.Configuration.IConfiguration" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - }, - { - "Name": "serverAddressesFeature", - "Type": "Microsoft.AspNetCore.Hosting.Server.Features.IServerAddressesFeature" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_RedirectStatusCode", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RedirectStatusCode", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HttpsPort", - "Parameters": [], - "ReturnType": "System.Nullable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_HttpsPort", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.HstsBuilderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseHsts", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.HstsServicesExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddHsts", - "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": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.HttpsPolicyBuilderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseHttpsRedirection", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.HttpsRedirectionServicesExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddHttpsRedirection", - "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/Middleware/Localization.Routing/src/baseline.netcore.json b/src/Middleware/Localization.Routing/src/baseline.netcore.json deleted file mode 100644 index 12c789d631..0000000000 --- a/src/Middleware/Localization.Routing/src/baseline.netcore.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Localization.Routing, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.Localization.Routing.RouteDataRequestCultureProvider", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Localization.RequestCultureProvider", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "DetermineProviderCultureResult", - "Parameters": [ - { - "Name": "httpContext", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Localization.IRequestCultureProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RouteDataStringKey", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RouteDataStringKey", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UIRouteDataStringKey", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_UIRouteDataStringKey", - "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/Middleware/Localization/src/baseline.netcore.json b/src/Middleware/Localization/src/baseline.netcore.json deleted file mode 100644 index 3462bcd492..0000000000 --- a/src/Middleware/Localization/src/baseline.netcore.json +++ /dev/null @@ -1,893 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Localization, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.Builder.ApplicationBuilderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseRequestLocalization", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseRequestLocalization", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Builder.RequestLocalizationOptions" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseRequestLocalization", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "optionsAction", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseRequestLocalization", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "cultures", - "Type": "System.String[]", - "IsParams": true - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.RequestLocalizationOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_DefaultRequestCulture", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Localization.RequestCulture", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_DefaultRequestCulture", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Localization.RequestCulture" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_FallBackToParentCultures", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_FallBackToParentCultures", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_FallBackToParentUICultures", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_FallBackToParentUICultures", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SupportedCultures", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SupportedCultures", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IList" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SupportedUICultures", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SupportedUICultures", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IList" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RequestCultureProviders", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RequestCultureProviders", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IList" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddSupportedCultures", - "Parameters": [ - { - "Name": "cultures", - "Type": "System.String[]", - "IsParams": true - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.RequestLocalizationOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddSupportedUICultures", - "Parameters": [ - { - "Name": "uiCultures", - "Type": "System.String[]", - "IsParams": true - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.RequestLocalizationOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetDefaultCulture", - "Parameters": [ - { - "Name": "defaultCulture", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.RequestLocalizationOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Localization.AcceptLanguageHeaderRequestCultureProvider", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Localization.RequestCultureProvider", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "DetermineProviderCultureResult", - "Parameters": [ - { - "Name": "httpContext", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Localization.IRequestCultureProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MaximumAcceptLanguageHeaderValuesToTry", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MaximumAcceptLanguageHeaderValuesToTry", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Localization.CookieRequestCultureProvider", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Localization.RequestCultureProvider", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "DetermineProviderCultureResult", - "Parameters": [ - { - "Name": "httpContext", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Localization.IRequestCultureProvider", - "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": "MakeCookieValue", - "Parameters": [ - { - "Name": "requestCulture", - "Type": "Microsoft.AspNetCore.Localization.RequestCulture" - } - ], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ParseCookieValue", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Localization.ProviderCultureResult", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "DefaultCookieName", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Localization.CustomRequestCultureProvider", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Localization.RequestCultureProvider", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "DetermineProviderCultureResult", - "Parameters": [ - { - "Name": "httpContext", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Localization.IRequestCultureProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "provider", - "Type": "System.Func>" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Localization.IRequestCultureFeature", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_RequestCulture", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Localization.RequestCulture", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Provider", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Localization.IRequestCultureProvider", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Localization.IRequestCultureProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "DetermineProviderCultureResult", - "Parameters": [ - { - "Name": "httpContext", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Localization.ProviderCultureResult", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Cultures", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UICultures", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "culture", - "Type": "Microsoft.Extensions.Primitives.StringSegment" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "culture", - "Type": "Microsoft.Extensions.Primitives.StringSegment" - }, - { - "Name": "uiCulture", - "Type": "Microsoft.Extensions.Primitives.StringSegment" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "cultures", - "Type": "System.Collections.Generic.IList" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "cultures", - "Type": "System.Collections.Generic.IList" - }, - { - "Name": "uiCultures", - "Type": "System.Collections.Generic.IList" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Localization.QueryStringRequestCultureProvider", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Localization.RequestCultureProvider", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "DetermineProviderCultureResult", - "Parameters": [ - { - "Name": "httpContext", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Localization.IRequestCultureProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_QueryStringKey", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_QueryStringKey", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UIQueryStringKey", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_UIQueryStringKey", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Localization.RequestCulture", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Culture", - "Parameters": [], - "ReturnType": "System.Globalization.CultureInfo", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UICulture", - "Parameters": [], - "ReturnType": "System.Globalization.CultureInfo", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "culture", - "Type": "System.Globalization.CultureInfo" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "culture", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "culture", - "Type": "System.String" - }, - { - "Name": "uiCulture", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "culture", - "Type": "System.Globalization.CultureInfo" - }, - { - "Name": "uiCulture", - "Type": "System.Globalization.CultureInfo" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Localization.RequestCultureFeature", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Localization.IRequestCultureFeature" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_RequestCulture", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Localization.RequestCulture", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Localization.IRequestCultureFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Provider", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Localization.IRequestCultureProvider", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Localization.IRequestCultureFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "requestCulture", - "Type": "Microsoft.AspNetCore.Localization.RequestCulture" - }, - { - "Name": "provider", - "Type": "Microsoft.AspNetCore.Localization.IRequestCultureProvider" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Localization.RequestCultureProvider", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Localization.IRequestCultureProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "DetermineProviderCultureResult", - "Parameters": [ - { - "Name": "httpContext", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "ImplementedInterface": "Microsoft.AspNetCore.Localization.IRequestCultureProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Options", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Builder.RequestLocalizationOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Options", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Builder.RequestLocalizationOptions" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "NullProviderCultureResult", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "ReadOnly": true, - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Invoke", - "Parameters": [ - { - "Name": "context", - "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": "options", - "Type": "Microsoft.Extensions.Options.IOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Middleware/MiddlewareAnalysis/src/baseline.netcore.json b/src/Middleware/MiddlewareAnalysis/src/baseline.netcore.json deleted file mode 100644 index fe220573ae..0000000000 --- a/src/Middleware/MiddlewareAnalysis/src/baseline.netcore.json +++ /dev/null @@ -1,218 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.MiddlewareAnalysis, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.Extensions.DependencyInjection.AnalysisServiceCollectionExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddMiddlewareAnalysis", - "Parameters": [ - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IServiceCollection", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.MiddlewareAnalysis.AnalysisBuilder", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Builder.IApplicationBuilder" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_ApplicationServices", - "Parameters": [], - "ReturnType": "System.IServiceProvider", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ApplicationServices", - "Parameters": [ - { - "Name": "value", - "Type": "System.IServiceProvider" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Properties", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ServerFeatures", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.Features.IFeatureCollection", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Build", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.RequestDelegate", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "New", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Use", - "Parameters": [ - { - "Name": "middleware", - "Type": "System.Func" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "inner", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.MiddlewareAnalysis.AnalysisMiddleware", - "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": "diagnosticSource", - "Type": "System.Diagnostics.DiagnosticSource" - }, - { - "Name": "middlewareName", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.MiddlewareAnalysis.AnalysisStartupFilter", - "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": [] - } - ] -} \ No newline at end of file diff --git a/src/Middleware/NodeServices/src/Microsoft.AspNetCore.NodeServices.csproj b/src/Middleware/NodeServices/src/Microsoft.AspNetCore.NodeServices.csproj index e7ba91bc8e..17b6bea51b 100644 --- a/src/Middleware/NodeServices/src/Microsoft.AspNetCore.NodeServices.csproj +++ b/src/Middleware/NodeServices/src/Microsoft.AspNetCore.NodeServices.csproj @@ -21,7 +21,7 @@ - + diff --git a/src/Middleware/NodeServices/src/baseline.netcore.json b/src/Middleware/NodeServices/src/baseline.netcore.json deleted file mode 100644 index c91f911c9a..0000000000 --- a/src/Middleware/NodeServices/src/baseline.netcore.json +++ /dev/null @@ -1,935 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.NodeServices, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.Extensions.DependencyInjection.NodeServicesServiceCollectionExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddNodeServices", - "Parameters": [ - { - "Name": "serviceCollection", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddNodeServices", - "Parameters": [ - { - "Name": "serviceCollection", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - }, - { - "Name": "setupAction", - "Type": "System.Action" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.NodeServices.NodeServicesFactory", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "CreateNodeServices", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.AspNetCore.NodeServices.NodeServicesOptions" - } - ], - "ReturnType": "Microsoft.AspNetCore.NodeServices.INodeServices", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.NodeServices.NodeServicesOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_NodeInstanceFactory", - "Parameters": [], - "ReturnType": "System.Func", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_NodeInstanceFactory", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ProjectPath", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ProjectPath", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_WatchFileExtensions", - "Parameters": [], - "ReturnType": "System.String[]", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_WatchFileExtensions", - "Parameters": [ - { - "Name": "value", - "Type": "System.String[]" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_NodeInstanceOutputLogger", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.Logging.ILogger", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_NodeInstanceOutputLogger", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.Extensions.Logging.ILogger" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_LaunchWithDebugging", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_LaunchWithDebugging", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_DebuggingPort", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_DebuggingPort", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_EnvironmentVariables", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_EnvironmentVariables", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IDictionary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_InvocationTimeoutMilliseconds", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_InvocationTimeoutMilliseconds", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ApplicationStoppingToken", - "Parameters": [], - "ReturnType": "System.Threading.CancellationToken", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ApplicationStoppingToken", - "Parameters": [ - { - "Name": "value", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "serviceProvider", - "Type": "System.IServiceProvider" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.NodeServices.INodeServices", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "System.IDisposable" - ], - "Members": [ - { - "Kind": "Method", - "Name": "InvokeAsync", - "Parameters": [ - { - "Name": "moduleName", - "Type": "System.String" - }, - { - "Name": "args", - "Type": "System.Object[]", - "IsParams": true - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "InvokeAsync", - "Parameters": [ - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - }, - { - "Name": "moduleName", - "Type": "System.String" - }, - { - "Name": "args", - "Type": "System.Object[]", - "IsParams": true - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "InvokeExportAsync", - "Parameters": [ - { - "Name": "moduleName", - "Type": "System.String" - }, - { - "Name": "exportedFunctionName", - "Type": "System.String" - }, - { - "Name": "args", - "Type": "System.Object[]", - "IsParams": true - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "InvokeExportAsync", - "Parameters": [ - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - }, - { - "Name": "moduleName", - "Type": "System.String" - }, - { - "Name": "exportedFunctionName", - "Type": "System.String" - }, - { - "Name": "args", - "Type": "System.Object[]", - "IsParams": true - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.NodeServices.EmbeddedResourceReader", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Read", - "Parameters": [ - { - "Name": "assemblyContainingType", - "Type": "System.Type" - }, - { - "Name": "path", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.NodeServices.StringAsTempFile", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "ImplementedInterfaces": [ - "System.IDisposable" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_FileName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Dispose", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.IDisposable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Finalize", - "Parameters": [], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "content", - "Type": "System.String" - }, - { - "Name": "applicationStoppingToken", - "Type": "System.Threading.CancellationToken" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.NodeServices.HostingModels.INodeInstance", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "System.IDisposable" - ], - "Members": [ - { - "Kind": "Method", - "Name": "InvokeExportAsync", - "Parameters": [ - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - }, - { - "Name": "moduleName", - "Type": "System.String" - }, - { - "Name": "exportNameOrNull", - "Type": "System.String" - }, - { - "Name": "args", - "Type": "System.Object[]", - "IsParams": true - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.NodeServices.HostingModels.NodeInvocationException", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Exception", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_NodeInstanceUnavailable", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AllowConnectionDraining", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "message", - "Type": "System.String" - }, - { - "Name": "details", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "message", - "Type": "System.String" - }, - { - "Name": "details", - "Type": "System.String" - }, - { - "Name": "nodeInstanceUnavailable", - "Type": "System.Boolean" - }, - { - "Name": "allowConnectionDraining", - "Type": "System.Boolean" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.NodeServices.HostingModels.NodeInvocationInfo", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ModuleName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ModuleName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ExportedFunctionName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ExportedFunctionName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Args", - "Parameters": [], - "ReturnType": "System.Object[]", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Args", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object[]" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.NodeServices.HostingModels.NodeServicesOptionsExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseHttpHosting", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.AspNetCore.NodeServices.NodeServicesOptions" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.NodeServices.HostingModels.OutOfProcessNodeInstance", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.NodeServices.HostingModels.INodeInstance" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Dispose", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.IDisposable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "InvokeExportAsync", - "Parameters": [ - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - }, - { - "Name": "moduleName", - "Type": "System.String" - }, - { - "Name": "exportNameOrNull", - "Type": "System.String" - }, - { - "Name": "args", - "Type": "System.Object[]", - "IsParams": true - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.NodeServices.HostingModels.INodeInstance", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "InvokeExportAsync", - "Parameters": [ - { - "Name": "invocationInfo", - "Type": "Microsoft.AspNetCore.NodeServices.HostingModels.NodeInvocationInfo" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "Visibility": "Protected", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "PrepareNodeProcessStartInfo", - "Parameters": [ - { - "Name": "entryPointFilename", - "Type": "System.String" - }, - { - "Name": "projectPath", - "Type": "System.String" - }, - { - "Name": "commandLineArguments", - "Type": "System.String" - }, - { - "Name": "environmentVars", - "Type": "System.Collections.Generic.IDictionary" - }, - { - "Name": "launchWithDebugging", - "Type": "System.Boolean" - }, - { - "Name": "debuggingPort", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Diagnostics.ProcessStartInfo", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnOutputDataReceived", - "Parameters": [ - { - "Name": "outputData", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnErrorDataReceived", - "Parameters": [ - { - "Name": "errorData", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Dispose", - "Parameters": [ - { - "Name": "disposing", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Finalize", - "Parameters": [], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "entryPointScript", - "Type": "System.String" - }, - { - "Name": "projectPath", - "Type": "System.String" - }, - { - "Name": "watchFileExtensions", - "Type": "System.String[]" - }, - { - "Name": "commandLineArguments", - "Type": "System.String" - }, - { - "Name": "applicationStoppingToken", - "Type": "System.Threading.CancellationToken" - }, - { - "Name": "nodeOutputLogger", - "Type": "Microsoft.Extensions.Logging.ILogger" - }, - { - "Name": "environmentVars", - "Type": "System.Collections.Generic.IDictionary" - }, - { - "Name": "invocationTimeoutMilliseconds", - "Type": "System.Int32" - }, - { - "Name": "launchWithDebugging", - "Type": "System.Boolean" - }, - { - "Name": "debuggingPort", - "Type": "System.Int32" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "OutputLogger", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.Logging.ILogger", - "ReadOnly": true, - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Middleware/ResponseCaching.Abstractions/src/baseline.netcore.json b/src/Middleware/ResponseCaching.Abstractions/src/baseline.netcore.json deleted file mode 100644 index 56b84962ce..0000000000 --- a/src/Middleware/ResponseCaching.Abstractions/src/baseline.netcore.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.ResponseCaching.Abstractions, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.ResponseCaching.IResponseCachingFeature", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_VaryByQueryKeys", - "Parameters": [], - "ReturnType": "System.String[]", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_VaryByQueryKeys", - "Parameters": [ - { - "Name": "value", - "Type": "System.String[]" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Middleware/ResponseCaching/src/baseline.netcore.json b/src/Middleware/ResponseCaching/src/baseline.netcore.json deleted file mode 100644 index 9bec30264e..0000000000 --- a/src/Middleware/ResponseCaching/src/baseline.netcore.json +++ /dev/null @@ -1,252 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.ResponseCaching, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.Extensions.DependencyInjection.ResponseCachingServicesExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddResponseCaching", - "Parameters": [ - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IServiceCollection", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddResponseCaching", - "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": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.ResponseCachingExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseResponseCaching", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.ResponseCaching.ResponseCachingFeature", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.ResponseCaching.IResponseCachingFeature" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_VaryByQueryKeys", - "Parameters": [], - "ReturnType": "System.String[]", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.ResponseCaching.IResponseCachingFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_VaryByQueryKeys", - "Parameters": [ - { - "Name": "value", - "Type": "System.String[]" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.ResponseCaching.IResponseCachingFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.ResponseCaching.ResponseCachingMiddleware", - "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": "options", - "Type": "Microsoft.Extensions.Options.IOptions" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - }, - { - "Name": "policyProvider", - "Type": "Microsoft.AspNetCore.ResponseCaching.Internal.IResponseCachingPolicyProvider" - }, - { - "Name": "keyProvider", - "Type": "Microsoft.AspNetCore.ResponseCaching.Internal.IResponseCachingKeyProvider" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.ResponseCaching.ResponseCachingOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_SizeLimit", - "Parameters": [], - "ReturnType": "System.Int64", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SizeLimit", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int64" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MaximumBodySize", - "Parameters": [], - "ReturnType": "System.Int64", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MaximumBodySize", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int64" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UseCaseSensitivePaths", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_UseCaseSensitivePaths", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "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/Middleware/ResponseCompression/src/baseline.netcore.json b/src/Middleware/ResponseCompression/src/baseline.netcore.json deleted file mode 100644 index b778eaf322..0000000000 --- a/src/Middleware/ResponseCompression/src/baseline.netcore.json +++ /dev/null @@ -1,509 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.ResponseCompression, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.Builder.ResponseCompressionBuilderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseResponseCompression", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.ResponseCompressionServicesExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddResponseCompression", - "Parameters": [ - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IServiceCollection", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddResponseCompression", - "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": [] - }, - { - "Name": "Microsoft.AspNetCore.ResponseCompression.CompressionProviderCollection", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Collections.ObjectModel.Collection", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Add", - "Parameters": [], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TCompressionProvider", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.ResponseCompression.ICompressionProvider" - ] - } - ] - }, - { - "Kind": "Method", - "Name": "Add", - "Parameters": [ - { - "Name": "providerType", - "Type": "System.Type" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.ResponseCompression.GzipCompressionProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.ResponseCompression.ICompressionProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_EncodingName", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.ResponseCompression.ICompressionProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SupportsFlush", - "Parameters": [], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.ResponseCompression.ICompressionProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateStream", - "Parameters": [ - { - "Name": "outputStream", - "Type": "System.IO.Stream" - } - ], - "ReturnType": "System.IO.Stream", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.ResponseCompression.ICompressionProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.ResponseCompression.GzipCompressionProviderOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.Extensions.Options.IOptions" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Level", - "Parameters": [], - "ReturnType": "System.IO.Compression.CompressionLevel", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Level", - "Parameters": [ - { - "Name": "value", - "Type": "System.IO.Compression.CompressionLevel" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.ResponseCompression.ICompressionProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_EncodingName", - "Parameters": [], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SupportsFlush", - "Parameters": [], - "ReturnType": "System.Boolean", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateStream", - "Parameters": [ - { - "Name": "outputStream", - "Type": "System.IO.Stream" - } - ], - "ReturnType": "System.IO.Stream", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.ResponseCompression.IResponseCompressionProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetCompressionProvider", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.ResponseCompression.ICompressionProvider", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ShouldCompressResponse", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - } - ], - "ReturnType": "System.Boolean", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CheckRequestAcceptsCompression", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - } - ], - "ReturnType": "System.Boolean", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.ResponseCompression.ResponseCompressionDefaults", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "MimeTypes", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Invoke", - "Parameters": [ - { - "Name": "context", - "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": "provider", - "Type": "Microsoft.AspNetCore.ResponseCompression.IResponseCompressionProvider" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.ResponseCompression.ResponseCompressionOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_MimeTypes", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MimeTypes", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_EnableForHttps", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_EnableForHttps", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Providers", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.ResponseCompression.CompressionProviderCollection", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.ResponseCompression.ResponseCompressionProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.ResponseCompression.IResponseCompressionProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetCompressionProvider", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.ResponseCompression.ICompressionProvider", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.ResponseCompression.IResponseCompressionProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ShouldCompressResponse", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.ResponseCompression.IResponseCompressionProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CheckRequestAcceptsCompression", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.ResponseCompression.IResponseCompressionProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "services", - "Type": "System.IServiceProvider" - }, - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Middleware/ResponseCompression/src/baseline.netframework.json b/src/Middleware/ResponseCompression/src/baseline.netframework.json deleted file mode 100644 index b778eaf322..0000000000 --- a/src/Middleware/ResponseCompression/src/baseline.netframework.json +++ /dev/null @@ -1,509 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.ResponseCompression, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.Builder.ResponseCompressionBuilderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseResponseCompression", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.ResponseCompressionServicesExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddResponseCompression", - "Parameters": [ - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IServiceCollection", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddResponseCompression", - "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": [] - }, - { - "Name": "Microsoft.AspNetCore.ResponseCompression.CompressionProviderCollection", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Collections.ObjectModel.Collection", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Add", - "Parameters": [], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TCompressionProvider", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.ResponseCompression.ICompressionProvider" - ] - } - ] - }, - { - "Kind": "Method", - "Name": "Add", - "Parameters": [ - { - "Name": "providerType", - "Type": "System.Type" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.ResponseCompression.GzipCompressionProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.ResponseCompression.ICompressionProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_EncodingName", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.ResponseCompression.ICompressionProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SupportsFlush", - "Parameters": [], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.ResponseCompression.ICompressionProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateStream", - "Parameters": [ - { - "Name": "outputStream", - "Type": "System.IO.Stream" - } - ], - "ReturnType": "System.IO.Stream", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.ResponseCompression.ICompressionProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.ResponseCompression.GzipCompressionProviderOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.Extensions.Options.IOptions" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Level", - "Parameters": [], - "ReturnType": "System.IO.Compression.CompressionLevel", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Level", - "Parameters": [ - { - "Name": "value", - "Type": "System.IO.Compression.CompressionLevel" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.ResponseCompression.ICompressionProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_EncodingName", - "Parameters": [], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SupportsFlush", - "Parameters": [], - "ReturnType": "System.Boolean", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateStream", - "Parameters": [ - { - "Name": "outputStream", - "Type": "System.IO.Stream" - } - ], - "ReturnType": "System.IO.Stream", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.ResponseCompression.IResponseCompressionProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetCompressionProvider", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.ResponseCompression.ICompressionProvider", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ShouldCompressResponse", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - } - ], - "ReturnType": "System.Boolean", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CheckRequestAcceptsCompression", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - } - ], - "ReturnType": "System.Boolean", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.ResponseCompression.ResponseCompressionDefaults", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "MimeTypes", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Invoke", - "Parameters": [ - { - "Name": "context", - "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": "provider", - "Type": "Microsoft.AspNetCore.ResponseCompression.IResponseCompressionProvider" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.ResponseCompression.ResponseCompressionOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_MimeTypes", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MimeTypes", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_EnableForHttps", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_EnableForHttps", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Providers", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.ResponseCompression.CompressionProviderCollection", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.ResponseCompression.ResponseCompressionProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.ResponseCompression.IResponseCompressionProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetCompressionProvider", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.ResponseCompression.ICompressionProvider", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.ResponseCompression.IResponseCompressionProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ShouldCompressResponse", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.ResponseCompression.IResponseCompressionProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CheckRequestAcceptsCompression", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.ResponseCompression.IResponseCompressionProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "services", - "Type": "System.IServiceProvider" - }, - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Middleware/Rewrite/ref/Microsoft.AspNetCore.Rewrite.netcoreapp3.0.cs b/src/Middleware/Rewrite/ref/Microsoft.AspNetCore.Rewrite.netcoreapp3.0.cs index 9b2eafedb2..180d85f51d 100644 --- a/src/Middleware/Rewrite/ref/Microsoft.AspNetCore.Rewrite.netcoreapp3.0.cs +++ b/src/Middleware/Rewrite/ref/Microsoft.AspNetCore.Rewrite.netcoreapp3.0.cs @@ -184,10 +184,10 @@ namespace Microsoft.AspNetCore.Rewrite.Internal.ApacheModRewrite } public enum ConditionType { - IntComp = 3, - PropertyTest = 1, Regex = 0, + PropertyTest = 1, StringComp = 2, + IntComp = 3, } public partial class CookieActionFactory { @@ -216,12 +216,12 @@ namespace Microsoft.AspNetCore.Rewrite.Internal.ApacheModRewrite } public enum FlagType { + EscapeBackreference = 0, Chain = 1, Cookie = 2, DiscardPath = 3, - End = 5, Env = 4, - EscapeBackreference = 0, + End = 5, Forbidden = 6, Gone = 7, Handler = 8, @@ -232,8 +232,8 @@ namespace Microsoft.AspNetCore.Rewrite.Internal.ApacheModRewrite NoSubReq = 13, NoVary = 14, Or = 15, - PassThrough = 17, Proxy = 16, + PassThrough = 17, QSAppend = 18, QSDiscard = 19, QSLast = 20, @@ -243,20 +243,20 @@ namespace Microsoft.AspNetCore.Rewrite.Internal.ApacheModRewrite } public enum OperationType { - Directory = 7, + None = 0, Equal = 1, - Executable = 13, - ExistingFile = 9, - ExistingUrl = 12, Greater = 2, GreaterEqual = 3, Less = 4, LessEqual = 5, - None = 0, NotEqual = 6, + Directory = 7, RegularFile = 8, - Size = 11, + ExistingFile = 9, SymbolicLink = 10, + Size = 11, + ExistingUrl = 12, + Executable = 13, } public partial class ParsedModRewriteInput { @@ -283,10 +283,10 @@ namespace Microsoft.AspNetCore.Rewrite.Internal.ApacheModRewrite } public enum SegmentType { - ConditionParameter = 2, Literal = 0, - RuleParameter = 3, ServerParameter = 1, + ConditionParameter = 2, + RuleParameter = 3, } public static partial class ServerVariables { @@ -307,11 +307,11 @@ namespace Microsoft.AspNetCore.Rewrite.Internal.IISUrlRewrite { public enum ActionType { - AbortRequest = 4, - CustomResponse = 3, None = 0, - Redirect = 2, Rewrite = 1, + Redirect = 2, + CustomResponse = 3, + AbortRequest = 4, } public partial class Condition { @@ -384,20 +384,20 @@ namespace Microsoft.AspNetCore.Rewrite.Internal.IISUrlRewrite } public enum MatchType { - IsDirectory = 2, - IsFile = 1, Pattern = 0, + IsFile = 1, + IsDirectory = 2, } public enum PatternSyntax { ECMAScript = 0, - ExactMatch = 2, Wildcard = 1, + ExactMatch = 2, } public enum RedirectType { - Found = 302, Permanent = 301, + Found = 302, SeeOther = 303, Temporary = 307, } diff --git a/src/Middleware/Rewrite/src/baseline.netcore.json b/src/Middleware/Rewrite/src/baseline.netcore.json deleted file mode 100644 index d3f82fd1cd..0000000000 --- a/src/Middleware/Rewrite/src/baseline.netcore.json +++ /dev/null @@ -1,651 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Rewrite, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.Builder.RewriteBuilderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseRewriter", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseRewriter", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Rewrite.RewriteOptions" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Rewrite.ApacheModRewriteOptionsExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddApacheModRewrite", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Rewrite.RewriteOptions" - }, - { - "Name": "fileProvider", - "Type": "Microsoft.Extensions.FileProviders.IFileProvider" - }, - { - "Name": "filePath", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Rewrite.RewriteOptions", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddApacheModRewrite", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Rewrite.RewriteOptions" - }, - { - "Name": "reader", - "Type": "System.IO.TextReader" - } - ], - "ReturnType": "Microsoft.AspNetCore.Rewrite.RewriteOptions", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Rewrite.IISUrlRewriteOptionsExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddIISUrlRewrite", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Rewrite.RewriteOptions" - }, - { - "Name": "fileProvider", - "Type": "Microsoft.Extensions.FileProviders.IFileProvider" - }, - { - "Name": "filePath", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Rewrite.RewriteOptions", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddIISUrlRewrite", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Rewrite.RewriteOptions" - }, - { - "Name": "reader", - "Type": "System.IO.TextReader" - } - ], - "ReturnType": "Microsoft.AspNetCore.Rewrite.RewriteOptions", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Rewrite.IRule", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ApplyRule", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Rewrite.RewriteContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Rewrite.RewriteContext", - "Visibility": "Public", - "Kind": "Class", - "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_StaticFileProvider", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.FileProviders.IFileProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_StaticFileProvider", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.Extensions.FileProviders.IFileProvider" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Logger", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.Logging.ILogger", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Logger", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.Extensions.Logging.ILogger" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Result", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Rewrite.RuleResult", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Result", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Rewrite.RuleResult" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Rewrite.RewriteMiddleware", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Invoke", - "Parameters": [ - { - "Name": "context", - "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": "hostingEnvironment", - "Type": "Microsoft.AspNetCore.Hosting.IHostingEnvironment" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - }, - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Rewrite.RewriteOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Rules", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_StaticFileProvider", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.FileProviders.IFileProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_StaticFileProvider", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.Extensions.FileProviders.IFileProvider" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Rewrite.RewriteOptionsExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Add", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Rewrite.RewriteOptions" - }, - { - "Name": "rule", - "Type": "Microsoft.AspNetCore.Rewrite.IRule" - } - ], - "ReturnType": "Microsoft.AspNetCore.Rewrite.RewriteOptions", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Add", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Rewrite.RewriteOptions" - }, - { - "Name": "applyRule", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.AspNetCore.Rewrite.RewriteOptions", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddRewrite", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Rewrite.RewriteOptions" - }, - { - "Name": "regex", - "Type": "System.String" - }, - { - "Name": "replacement", - "Type": "System.String" - }, - { - "Name": "skipRemainingRules", - "Type": "System.Boolean" - } - ], - "ReturnType": "Microsoft.AspNetCore.Rewrite.RewriteOptions", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddRedirect", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Rewrite.RewriteOptions" - }, - { - "Name": "regex", - "Type": "System.String" - }, - { - "Name": "replacement", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Rewrite.RewriteOptions", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddRedirect", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Rewrite.RewriteOptions" - }, - { - "Name": "regex", - "Type": "System.String" - }, - { - "Name": "replacement", - "Type": "System.String" - }, - { - "Name": "statusCode", - "Type": "System.Int32" - } - ], - "ReturnType": "Microsoft.AspNetCore.Rewrite.RewriteOptions", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddRedirectToHttpsPermanent", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Rewrite.RewriteOptions" - } - ], - "ReturnType": "Microsoft.AspNetCore.Rewrite.RewriteOptions", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddRedirectToHttps", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Rewrite.RewriteOptions" - } - ], - "ReturnType": "Microsoft.AspNetCore.Rewrite.RewriteOptions", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddRedirectToHttps", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Rewrite.RewriteOptions" - }, - { - "Name": "statusCode", - "Type": "System.Int32" - } - ], - "ReturnType": "Microsoft.AspNetCore.Rewrite.RewriteOptions", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddRedirectToHttps", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Rewrite.RewriteOptions" - }, - { - "Name": "statusCode", - "Type": "System.Int32" - }, - { - "Name": "sslPort", - "Type": "System.Nullable" - } - ], - "ReturnType": "Microsoft.AspNetCore.Rewrite.RewriteOptions", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddRedirectToWwwPermanent", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Rewrite.RewriteOptions" - } - ], - "ReturnType": "Microsoft.AspNetCore.Rewrite.RewriteOptions", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddRedirectToWww", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Rewrite.RewriteOptions" - } - ], - "ReturnType": "Microsoft.AspNetCore.Rewrite.RewriteOptions", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddRedirectToWww", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Rewrite.RewriteOptions" - }, - { - "Name": "statusCode", - "Type": "System.Int32" - } - ], - "ReturnType": "Microsoft.AspNetCore.Rewrite.RewriteOptions", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Rewrite.RuleResult", - "Visibility": "Public", - "Kind": "Enumeration", - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "ContinueRules", - "Parameters": [], - "GenericParameter": [], - "Literal": "0" - }, - { - "Kind": "Field", - "Name": "EndResponse", - "Parameters": [], - "GenericParameter": [], - "Literal": "1" - }, - { - "Kind": "Field", - "Name": "SkipRemainingRules", - "Parameters": [], - "GenericParameter": [], - "Literal": "2" - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Middleware/Session/src/baseline.netcore.json b/src/Middleware/Session/src/baseline.netcore.json deleted file mode 100644 index 0958674919..0000000000 --- a/src/Middleware/Session/src/baseline.netcore.json +++ /dev/null @@ -1,687 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Session, Version=2.2.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.Extensions.DependencyInjection.SessionServiceCollectionExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddSession", - "Parameters": [ - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IServiceCollection", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddSession", - "Parameters": [ - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - }, - { - "Name": "configure", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IServiceCollection", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.SessionMiddlewareExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseSession", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseSession", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Builder.SessionOptions" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.SessionOptions", - "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_IdleTimeout", - "Parameters": [], - "ReturnType": "System.TimeSpan", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IdleTimeout", - "Parameters": [ - { - "Name": "value", - "Type": "System.TimeSpan" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IOTimeout", - "Parameters": [], - "ReturnType": "System.TimeSpan", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IOTimeout", - "Parameters": [ - { - "Name": "value", - "Type": "System.TimeSpan" - } - ], - "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_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_CookiePath", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_CookiePath", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_CookieHttpOnly", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_CookieHttpOnly", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_CookieSecure", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.CookieSecurePolicy", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_CookieSecure", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.CookieSecurePolicy" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Session.DistributedSession", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Http.ISession" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_IsAvailable", - "Parameters": [], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.ISession", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Id", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.ISession", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Keys", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.ISession", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TryGetValue", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Byte[]", - "Direction": "Out" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.ISession", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Set", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Byte[]" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.ISession", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Remove", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.ISession", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Clear", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.ISession", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "LoadAsync", - "Parameters": [ - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.ISession", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CommitAsync", - "Parameters": [ - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.ISession", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "cache", - "Type": "Microsoft.Extensions.Caching.Distributed.IDistributedCache" - }, - { - "Name": "sessionKey", - "Type": "System.String" - }, - { - "Name": "idleTimeout", - "Type": "System.TimeSpan" - }, - { - "Name": "ioTimeout", - "Type": "System.TimeSpan" - }, - { - "Name": "tryEstablishSession", - "Type": "System.Func" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - }, - { - "Name": "isNewSessionKey", - "Type": "System.Boolean" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Session.DistributedSessionStore", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Session.ISessionStore" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Create", - "Parameters": [ - { - "Name": "sessionKey", - "Type": "System.String" - }, - { - "Name": "idleTimeout", - "Type": "System.TimeSpan" - }, - { - "Name": "ioTimeout", - "Type": "System.TimeSpan" - }, - { - "Name": "tryEstablishSession", - "Type": "System.Func" - }, - { - "Name": "isNewSessionKey", - "Type": "System.Boolean" - } - ], - "ReturnType": "Microsoft.AspNetCore.Http.ISession", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Session.ISessionStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "cache", - "Type": "Microsoft.Extensions.Caching.Distributed.IDistributedCache" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Session.ISessionStore", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Create", - "Parameters": [ - { - "Name": "sessionKey", - "Type": "System.String" - }, - { - "Name": "idleTimeout", - "Type": "System.TimeSpan" - }, - { - "Name": "ioTimeout", - "Type": "System.TimeSpan" - }, - { - "Name": "tryEstablishSession", - "Type": "System.Func" - }, - { - "Name": "isNewSessionKey", - "Type": "System.Boolean" - } - ], - "ReturnType": "Microsoft.AspNetCore.Http.ISession", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Session.SessionDefaults", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "CookieName", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "CookiePath", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Session.SessionFeature", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Http.Features.ISessionFeature" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Session", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.ISession", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.ISessionFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Session", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.ISession" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Http.Features.ISessionFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Session.SessionMiddleware", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Invoke", - "Parameters": [ - { - "Name": "context", - "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": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - }, - { - "Name": "dataProtectionProvider", - "Type": "Microsoft.AspNetCore.DataProtection.IDataProtectionProvider" - }, - { - "Name": "sessionStore", - "Type": "Microsoft.AspNetCore.Session.ISessionStore" - }, - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Middleware/Session/src/breakingchanges.netcore.json b/src/Middleware/Session/src/breakingchanges.netcore.json deleted file mode 100644 index eb0235bd59..0000000000 --- a/src/Middleware/Session/src/breakingchanges.netcore.json +++ /dev/null @@ -1,52 +0,0 @@ -[ - { - "TypeId": "public class Microsoft.AspNetCore.Builder.SessionOptions", - "MemberId": "public Microsoft.AspNetCore.Http.CookieSecurePolicy get_CookieSecure()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Builder.SessionOptions", - "MemberId": "public System.Boolean get_CookieHttpOnly()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Builder.SessionOptions", - "MemberId": "public System.String get_CookieDomain()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Builder.SessionOptions", - "MemberId": "public System.String get_CookieName()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Builder.SessionOptions", - "MemberId": "public System.String get_CookiePath()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Builder.SessionOptions", - "MemberId": "public System.Void set_CookieDomain(System.String value)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Builder.SessionOptions", - "MemberId": "public System.Void set_CookieHttpOnly(System.Boolean value)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Builder.SessionOptions", - "MemberId": "public System.Void set_CookieName(System.String value)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Builder.SessionOptions", - "MemberId": "public System.Void set_CookiePath(System.String value)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Builder.SessionOptions", - "MemberId": "public System.Void set_CookieSecure(Microsoft.AspNetCore.Http.CookieSecurePolicy value)", - "Kind": "Removal" - } - ] \ No newline at end of file diff --git a/src/Middleware/SpaServices.Extensions/src/Proxying/SpaProxy.cs b/src/Middleware/SpaServices.Extensions/src/Proxying/SpaProxy.cs index bda454a4c9..91c6b72f96 100644 --- a/src/Middleware/SpaServices.Extensions/src/Proxying/SpaProxy.cs +++ b/src/Middleware/SpaServices.Extensions/src/Proxying/SpaProxy.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.Http; @@ -32,7 +32,6 @@ namespace Microsoft.AspNetCore.SpaServices.Extensions.Proxy { AllowAutoRedirect = false, UseCookies = false, - }; return new HttpClient(handler) @@ -229,7 +228,7 @@ namespace Microsoft.AspNetCore.SpaServices.Extensions.Proxy // on Windows, by which time the logic in SockJS has already timed out and made // it fall back on some other transport (xhr_streaming, usually). It's fine // on Linux though, completing almost instantly. - // + // // The slowness on Windows does not cause a problem though, because the transport // fallback logic works correctly and doesn't surface any errors, but it would be // better if ConnectAsync was fast enough and the initial Websocket transport diff --git a/src/Middleware/SpaServices.Extensions/src/baseline.netcore.json b/src/Middleware/SpaServices.Extensions/src/baseline.netcore.json deleted file mode 100644 index 21d6857e98..0000000000 --- a/src/Middleware/SpaServices.Extensions/src/baseline.netcore.json +++ /dev/null @@ -1,825 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.SpaServices.Extensions, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.Extensions.DependencyInjection.SpaStaticFilesExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddSpaStaticFiles", - "Parameters": [ - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - }, - { - "Name": "configuration", - "Type": "System.Action", - "DefaultValue": "null" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseSpaStaticFiles", - "Parameters": [ - { - "Name": "applicationBuilder", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseSpaStaticFiles", - "Parameters": [ - { - "Name": "applicationBuilder", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Builder.StaticFileOptions" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.SpaPrerenderingExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseSpaPrerendering", - "Parameters": [ - { - "Name": "spaBuilder", - "Type": "Microsoft.AspNetCore.SpaServices.ISpaBuilder" - }, - { - "Name": "configuration", - "Type": "System.Action" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.SpaPrerenderingOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_BootModuleBuilder", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.SpaServices.Prerendering.ISpaPrerendererBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_BootModuleBuilder", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.SpaServices.Prerendering.ISpaPrerendererBuilder" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_BootModulePath", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_BootModulePath", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ExcludeUrls", - "Parameters": [], - "ReturnType": "System.String[]", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ExcludeUrls", - "Parameters": [ - { - "Name": "value", - "Type": "System.String[]" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SupplyData", - "Parameters": [], - "ReturnType": "System.Action>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SupplyData", - "Parameters": [ - { - "Name": "value", - "Type": "System.Action>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.SpaProxyingExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseProxyToSpaDevelopmentServer", - "Parameters": [ - { - "Name": "spaBuilder", - "Type": "Microsoft.AspNetCore.SpaServices.ISpaBuilder" - }, - { - "Name": "baseUri", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseProxyToSpaDevelopmentServer", - "Parameters": [ - { - "Name": "spaBuilder", - "Type": "Microsoft.AspNetCore.SpaServices.ISpaBuilder" - }, - { - "Name": "baseUri", - "Type": "System.Uri" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseProxyToSpaDevelopmentServer", - "Parameters": [ - { - "Name": "spaBuilder", - "Type": "Microsoft.AspNetCore.SpaServices.ISpaBuilder" - }, - { - "Name": "baseUriTaskFactory", - "Type": "System.Func>" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.SpaApplicationBuilderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseSpa", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "configuration", - "Type": "System.Action" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SpaServices.ISpaBuilder", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ApplicationBuilder", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Options", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.SpaServices.SpaOptions", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SpaServices.SpaOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_DefaultPage", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.PathString", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_DefaultPage", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.PathString" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_DefaultPageStaticFileOptions", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Builder.StaticFileOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_DefaultPageStaticFileOptions", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Builder.StaticFileOptions" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SourcePath", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SourcePath", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_StartupTimeout", - "Parameters": [], - "ReturnType": "System.TimeSpan", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_StartupTimeout", - "Parameters": [ - { - "Name": "value", - "Type": "System.TimeSpan" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SpaServices.StaticFiles.ISpaStaticFileProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_FileProvider", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.FileProviders.IFileProvider", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SpaServices.StaticFiles.SpaStaticFilesOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_RootPath", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RootPath", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SpaServices.ReactDevelopmentServer.ReactDevelopmentServerMiddlewareExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseReactDevelopmentServer", - "Parameters": [ - { - "Name": "spaBuilder", - "Type": "Microsoft.AspNetCore.SpaServices.ISpaBuilder" - }, - { - "Name": "npmScript", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SpaServices.Prerendering.ISpaPrerendererBuilder", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Build", - "Parameters": [ - { - "Name": "spaBuilder", - "Type": "Microsoft.AspNetCore.SpaServices.ISpaBuilder" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SpaServices.AngularCli.AngularCliBuilder", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.SpaServices.Prerendering.ISpaPrerendererBuilder" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Build", - "Parameters": [ - { - "Name": "spaBuilder", - "Type": "Microsoft.AspNetCore.SpaServices.ISpaBuilder" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.SpaServices.Prerendering.ISpaPrerendererBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "npmScript", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SpaServices.AngularCli.AngularCliMiddlewareExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseAngularCliServer", - "Parameters": [ - { - "Name": "spaBuilder", - "Type": "Microsoft.AspNetCore.SpaServices.ISpaBuilder" - }, - { - "Name": "npmScript", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.NodeServices.Util.EventedStreamReader+OnReceivedChunkHandler", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "BaseType": "System.MulticastDelegate", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Invoke", - "Parameters": [ - { - "Name": "chunk", - "Type": "System.ArraySegment" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BeginInvoke", - "Parameters": [ - { - "Name": "chunk", - "Type": "System.ArraySegment" - }, - { - "Name": "callback", - "Type": "System.AsyncCallback" - }, - { - "Name": "object", - "Type": "System.Object" - } - ], - "ReturnType": "System.IAsyncResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "EndInvoke", - "Parameters": [ - { - "Name": "result", - "Type": "System.IAsyncResult" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "object", - "Type": "System.Object" - }, - { - "Name": "method", - "Type": "System.IntPtr" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.NodeServices.Util.EventedStreamReader+OnReceivedLineHandler", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "BaseType": "System.MulticastDelegate", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Invoke", - "Parameters": [ - { - "Name": "line", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BeginInvoke", - "Parameters": [ - { - "Name": "line", - "Type": "System.String" - }, - { - "Name": "callback", - "Type": "System.AsyncCallback" - }, - { - "Name": "object", - "Type": "System.Object" - } - ], - "ReturnType": "System.IAsyncResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "EndInvoke", - "Parameters": [ - { - "Name": "result", - "Type": "System.IAsyncResult" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "object", - "Type": "System.Object" - }, - { - "Name": "method", - "Type": "System.IntPtr" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.NodeServices.Util.EventedStreamReader+OnStreamClosedHandler", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "BaseType": "System.MulticastDelegate", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Invoke", - "Parameters": [], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BeginInvoke", - "Parameters": [ - { - "Name": "callback", - "Type": "System.AsyncCallback" - }, - { - "Name": "object", - "Type": "System.Object" - } - ], - "ReturnType": "System.IAsyncResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "EndInvoke", - "Parameters": [ - { - "Name": "result", - "Type": "System.IAsyncResult" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "object", - "Type": "System.Object" - }, - { - "Name": "method", - "Type": "System.IntPtr" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Middleware/SpaServices/src/Microsoft.AspNetCore.SpaServices.csproj b/src/Middleware/SpaServices/src/Microsoft.AspNetCore.SpaServices.csproj index 8987a271df..1541835389 100644 --- a/src/Middleware/SpaServices/src/Microsoft.AspNetCore.SpaServices.csproj +++ b/src/Middleware/SpaServices/src/Microsoft.AspNetCore.SpaServices.csproj @@ -25,7 +25,7 @@ - + diff --git a/src/Middleware/SpaServices/src/baseline.netcore.json b/src/Middleware/SpaServices/src/baseline.netcore.json deleted file mode 100644 index d6301ef42b..0000000000 --- a/src/Middleware/SpaServices/src/baseline.netcore.json +++ /dev/null @@ -1,751 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.SpaServices, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.Extensions.DependencyInjection.PrerenderingServiceCollectionExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddSpaPrerenderer", - "Parameters": [ - { - "Name": "serviceCollection", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.SpaRouteExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "MapSpaFallbackRoute", - "Parameters": [ - { - "Name": "routeBuilder", - "Type": "Microsoft.AspNetCore.Routing.IRouteBuilder" - }, - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "defaults", - "Type": "System.Object" - }, - { - "Name": "constraints", - "Type": "System.Object", - "DefaultValue": "null" - }, - { - "Name": "dataTokens", - "Type": "System.Object", - "DefaultValue": "null" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MapSpaFallbackRoute", - "Parameters": [ - { - "Name": "routeBuilder", - "Type": "Microsoft.AspNetCore.Routing.IRouteBuilder" - }, - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "templatePrefix", - "Type": "System.String" - }, - { - "Name": "defaults", - "Type": "System.Object" - }, - { - "Name": "constraints", - "Type": "System.Object", - "DefaultValue": "null" - }, - { - "Name": "dataTokens", - "Type": "System.Object", - "DefaultValue": "null" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.WebpackDevMiddleware", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseWebpackDevMiddleware", - "Parameters": [ - { - "Name": "appBuilder", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.SpaServices.Webpack.WebpackDevMiddlewareOptions", - "DefaultValue": "null" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SpaServices.Webpack.WebpackDevMiddlewareOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_HotModuleReplacement", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_HotModuleReplacement", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HotModuleReplacementEndpoint", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_HotModuleReplacementEndpoint", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HotModuleReplacementServerPort", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_HotModuleReplacementServerPort", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ReactHotModuleReplacement", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ReactHotModuleReplacement", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HotModuleReplacementClientOptions", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_HotModuleReplacementClientOptions", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IDictionary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ConfigFile", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ConfigFile", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ProjectPath", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ProjectPath", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_EnvironmentVariables", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_EnvironmentVariables", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IDictionary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_EnvParam", - "Parameters": [], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_EnvParam", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SpaServices.Prerendering.ISpaPrerenderer", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "RenderToString", - "Parameters": [ - { - "Name": "moduleName", - "Type": "System.String" - }, - { - "Name": "exportName", - "Type": "System.String", - "DefaultValue": "null" - }, - { - "Name": "customDataParameter", - "Type": "System.Object", - "DefaultValue": "null" - }, - { - "Name": "timeoutMilliseconds", - "Type": "System.Int32", - "DefaultValue": "0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SpaServices.Prerendering.JavaScriptModuleExport", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ModuleName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ExportName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ExportName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "moduleName", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SpaServices.Prerendering.Prerenderer", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "RenderToString", - "Parameters": [ - { - "Name": "applicationBasePath", - "Type": "System.String" - }, - { - "Name": "nodeServices", - "Type": "Microsoft.AspNetCore.NodeServices.INodeServices" - }, - { - "Name": "applicationStoppingToken", - "Type": "System.Threading.CancellationToken" - }, - { - "Name": "bootModule", - "Type": "Microsoft.AspNetCore.SpaServices.Prerendering.JavaScriptModuleExport" - }, - { - "Name": "requestAbsoluteUrl", - "Type": "System.String" - }, - { - "Name": "requestPathAndQuery", - "Type": "System.String" - }, - { - "Name": "customDataParameter", - "Type": "System.Object" - }, - { - "Name": "timeoutMilliseconds", - "Type": "System.Int32" - }, - { - "Name": "requestPathBase", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SpaServices.Prerendering.PrerenderTagHelper", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelper", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ProcessAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext" - }, - { - "Name": "output", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ModuleName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ModuleName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ExportName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ExportName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_CustomDataParameter", - "Parameters": [], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_CustomDataParameter", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TimeoutMillisecondsParameter", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_TimeoutMillisecondsParameter", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ViewContext", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "serviceProvider", - "Type": "System.IServiceProvider" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SpaServices.Prerendering.RenderToStringResult", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Globals", - "Parameters": [], - "ReturnType": "Newtonsoft.Json.Linq.JObject", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Globals", - "Parameters": [ - { - "Name": "value", - "Type": "Newtonsoft.Json.Linq.JObject" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Html", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Html", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RedirectUrl", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RedirectUrl", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_StatusCode", - "Parameters": [], - "ReturnType": "System.Nullable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_StatusCode", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateGlobalsAssignmentScript", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Middleware/StaticFiles/src/HtmlDirectoryFormatter.cs b/src/Middleware/StaticFiles/src/HtmlDirectoryFormatter.cs index a5ac8e7ea1..e27624ec1c 100644 --- a/src/Middleware/StaticFiles/src/HtmlDirectoryFormatter.cs +++ b/src/Middleware/StaticFiles/src/HtmlDirectoryFormatter.cs @@ -2,6 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; +using System.IO; using System.Collections.Generic; using System.Globalization; using System.Linq; @@ -33,7 +34,7 @@ namespace Microsoft.AspNetCore.StaticFiles throw new ArgumentNullException(nameof(encoder)); } _htmlEncoder = encoder; - } + } /// /// Generates an HTML view for a directory. @@ -81,8 +82,8 @@ namespace Microsoft.AspNetCore.StaticFiles margin-top: 5px; margin-bottom: 0px;} #index { - border-collapse: separate; - border-spacing: 0; + border-collapse: separate; + border-spacing: 0; margin: 0 0 20px; } #index th { vertical-align: bottom; @@ -132,27 +133,66 @@ namespace Microsoft.AspNetCore.StaticFiles foreach (var subdir in contents.Where(info => info.IsDirectory)) { - builder.AppendFormat(@" + // Collect directory metadata in a try...catch in case the file is deleted while we're getting the data. + // The metadata is retrieved prior to calling AppendFormat so if it throws, we won't have written a row + // to the table. + try + { + builder.AppendFormat(@" {0}/ {1} ", - HtmlEncode(subdir.Name), - HtmlEncode(subdir.LastModified.ToString(CultureInfo.CurrentCulture))); + HtmlEncode(subdir.Name), + HtmlEncode(subdir.LastModified.ToString(CultureInfo.CurrentCulture))); + } + catch (DirectoryNotFoundException) + { + // The physical DirectoryInfo class doesn't appear to throw for either + // of Name or LastWriteTimeUtc (which backs LastModified in the physical provider) + // if the directory doesn't exist. However, we don't know what other providers might do. + + // Just skip this directory. It was deleted while we were enumerating. + } + catch (FileNotFoundException) + { + // The physical DirectoryInfo class doesn't appear to throw for either + // of Name or LastWriteTimeUtc (which backs LastModified in the physical provider) + // if the directory doesn't exist. However, we don't know what other providers might do. + + // Just skip this directory. It was deleted while we were enumerating. + } } foreach (var file in contents.Where(info => !info.IsDirectory)) { - builder.AppendFormat(@" + // Collect file metadata in a try...catch in case the file is deleted while we're getting the data. + // The metadata is retrieved prior to calling AppendFormat so if it throws, we won't have written a row + // to the table. + try + { + builder.AppendFormat(@" {0} {1} {2} ", - HtmlEncode(file.Name), - HtmlEncode(file.Length.ToString("n0", CultureInfo.CurrentCulture)), - HtmlEncode(file.LastModified.ToString(CultureInfo.CurrentCulture))); + HtmlEncode(file.Name), + HtmlEncode(file.Length.ToString("n0", CultureInfo.CurrentCulture)), + HtmlEncode(file.LastModified.ToString(CultureInfo.CurrentCulture))); + } + catch (DirectoryNotFoundException) + { + // There doesn't appear to be a case where DirectoryNotFound is thrown in the physical provider, + // but we don't know what other providers might do. + + // Just skip this file. It was deleted while we were enumerating. + } + catch (FileNotFoundException) + { + // Just skip this file. It was deleted while we were enumerating. + } } builder.Append(@" diff --git a/src/Middleware/StaticFiles/src/StaticFileContext.cs b/src/Middleware/StaticFiles/src/StaticFileContext.cs index c21e3df7fe..3d5f7aa9e6 100644 --- a/src/Middleware/StaticFiles/src/StaticFileContext.cs +++ b/src/Middleware/StaticFiles/src/StaticFileContext.cs @@ -2,13 +2,13 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; +using System.Diagnostics; using System.IO; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http; -using Microsoft.AspNetCore.Http.Endpoints; using Microsoft.AspNetCore.Http.Extensions; using Microsoft.AspNetCore.Http.Features; using Microsoft.AspNetCore.Http.Headers; @@ -22,129 +22,99 @@ namespace Microsoft.AspNetCore.StaticFiles internal struct StaticFileContext { private const int StreamCopyBufferSize = 64 * 1024; + private readonly HttpContext _context; private readonly StaticFileOptions _options; - private readonly PathString _matchUrl; private readonly HttpRequest _request; private readonly HttpResponse _response; private readonly ILogger _logger; private readonly IFileProvider _fileProvider; - private readonly IContentTypeProvider _contentTypeProvider; - private string _method; - private bool _isGet; - private bool _isHead; - private PathString _subPath; - private string _contentType; - private IFileInfo _fileInfo; - private long _length; - private DateTimeOffset _lastModified; - private EntityTagHeaderValue _etag; + private readonly string _method; + private readonly string _contentType; + private IFileInfo _fileInfo; + private EntityTagHeaderValue _etag; private RequestHeaders _requestHeaders; private ResponseHeaders _responseHeaders; + private RangeItemHeaderValue _range; + + private long _length; + private readonly PathString _subPath; + private DateTimeOffset _lastModified; private PreconditionState _ifMatchState; private PreconditionState _ifNoneMatchState; private PreconditionState _ifModifiedSinceState; private PreconditionState _ifUnmodifiedSinceState; - private RangeItemHeaderValue _range; - private bool _isRangeRequest; + private RequestType _requestType; - public StaticFileContext(HttpContext context, StaticFileOptions options, PathString matchUrl, ILogger logger, IFileProvider fileProvider, IContentTypeProvider contentTypeProvider) + public StaticFileContext(HttpContext context, StaticFileOptions options, ILogger logger, IFileProvider fileProvider, string contentType, PathString subPath) { _context = context; _options = options; - _matchUrl = matchUrl; _request = context.Request; _response = context.Response; _logger = logger; - _requestHeaders = _request.GetTypedHeaders(); - _responseHeaders = _response.GetTypedHeaders(); _fileProvider = fileProvider; - _contentTypeProvider = contentTypeProvider; - - _method = null; - _isGet = false; - _isHead = false; - _subPath = PathString.Empty; - _contentType = null; + _method = _request.Method; + _contentType = contentType; _fileInfo = null; - _length = 0; - _lastModified = new DateTimeOffset(); _etag = null; + _requestHeaders = null; + _responseHeaders = null; + _range = null; + + _length = 0; + _subPath = subPath; + _lastModified = new DateTimeOffset(); _ifMatchState = PreconditionState.Unspecified; _ifNoneMatchState = PreconditionState.Unspecified; _ifModifiedSinceState = PreconditionState.Unspecified; _ifUnmodifiedSinceState = PreconditionState.Unspecified; - _range = null; - _isRangeRequest = false; + + if (HttpMethods.IsGet(_method)) + { + _requestType = RequestType.IsGet; + } + else if (HttpMethods.IsHead(_method)) + { + _requestType = RequestType.IsHead; + } + else + { + _requestType = RequestType.Unspecified; + } } - internal enum PreconditionState - { - Unspecified, - NotModified, - ShouldProcess, - PreconditionFailed - } + private RequestHeaders RequestHeaders => (_requestHeaders ??= _request.GetTypedHeaders()); - public bool IsHeadMethod - { - get { return _isHead; } - } + private ResponseHeaders ResponseHeaders => (_responseHeaders ??= _response.GetTypedHeaders()); + + public bool IsHeadMethod => _requestType.HasFlag(RequestType.IsHead); + + public bool IsGetMethod => _requestType.HasFlag(RequestType.IsGet); public bool IsRangeRequest { - get { return _isRangeRequest; } - } - - public string SubPath - { - get { return _subPath.Value; } - } - - public string PhysicalPath - { - get { return _fileInfo?.PhysicalPath; } - } - - public bool ValidateNoEndpoint() - { - // Return true because we only want to run if there is no endpoint. - return _context.GetEndpoint() == null; - } - - public bool ValidateMethod() - { - _method = _request.Method; - _isGet = HttpMethods.IsGet(_method); - _isHead = HttpMethods.IsHead(_method); - return _isGet || _isHead; - } - - // Check if the URL matches any expected paths - public bool ValidatePath() - { - return Helpers.TryMatchPath(_context, _matchUrl, forDirectory: false, subpath: out _subPath); - } - - public bool LookupContentType() - { - if (_contentTypeProvider.TryGetContentType(_subPath.Value, out _contentType)) + get => _requestType.HasFlag(RequestType.IsRange); + private set { - return true; + if (value) + { + _requestType |= RequestType.IsRange; + } + else + { + _requestType &= ~RequestType.IsRange; + } } - - if (_options.ServeUnknownFileTypes) - { - _contentType = _options.DefaultContentType; - return true; - } - - return false; } + public string SubPath => _subPath.Value; + + public string PhysicalPath => _fileInfo?.PhysicalPath; + public bool LookupFileInfo() { _fileInfo = _fileProvider.GetFileInfo(_subPath.Value); @@ -175,8 +145,10 @@ namespace Microsoft.AspNetCore.StaticFiles private void ComputeIfMatch() { + var requestHeaders = RequestHeaders; + // 14.24 If-Match - var ifMatch = _requestHeaders.IfMatch; + var ifMatch = requestHeaders.IfMatch; if (ifMatch != null && ifMatch.Any()) { _ifMatchState = PreconditionState.PreconditionFailed; @@ -191,7 +163,7 @@ namespace Microsoft.AspNetCore.StaticFiles } // 14.26 If-None-Match - var ifNoneMatch = _requestHeaders.IfNoneMatch; + var ifNoneMatch = requestHeaders.IfNoneMatch; if (ifNoneMatch != null && ifNoneMatch.Any()) { _ifNoneMatchState = PreconditionState.ShouldProcess; @@ -208,10 +180,11 @@ namespace Microsoft.AspNetCore.StaticFiles private void ComputeIfModifiedSince() { + var requestHeaders = RequestHeaders; var now = DateTimeOffset.UtcNow; // 14.25 If-Modified-Since - var ifModifiedSince = _requestHeaders.IfModifiedSince; + var ifModifiedSince = requestHeaders.IfModifiedSince; if (ifModifiedSince.HasValue && ifModifiedSince <= now) { bool modified = ifModifiedSince < _lastModified; @@ -219,7 +192,7 @@ namespace Microsoft.AspNetCore.StaticFiles } // 14.28 If-Unmodified-Since - var ifUnmodifiedSince = _requestHeaders.IfUnmodifiedSince; + var ifUnmodifiedSince = requestHeaders.IfUnmodifiedSince; if (ifUnmodifiedSince.HasValue && ifUnmodifiedSince <= now) { bool unmodified = ifUnmodifiedSince >= _lastModified; @@ -230,7 +203,7 @@ namespace Microsoft.AspNetCore.StaticFiles private void ComputeIfRange() { // 14.27 If-Range - var ifRangeHeader = _requestHeaders.IfRange; + var ifRangeHeader = RequestHeaders.IfRange; if (ifRangeHeader != null) { // If the validator given in the If-Range header field matches the @@ -242,12 +215,12 @@ namespace Microsoft.AspNetCore.StaticFiles { if (_lastModified > ifRangeHeader.LastModified) { - _isRangeRequest = false; + IsRangeRequest = false; } } else if (_etag != null && ifRangeHeader.EntityTag != null && !ifRangeHeader.EntityTag.Compare(_etag, useStrongComparison: true)) { - _isRangeRequest = false; + IsRangeRequest = false; } } } @@ -259,12 +232,15 @@ namespace Microsoft.AspNetCore.StaticFiles // A server MUST ignore a Range header field received with a request method other // than GET. - if (!_isGet) + if (!IsGetMethod) { return; } - (_isRangeRequest, _range) = RangeHelper.ParseRange(_context, _requestHeaders, _length, _logger); + (var isRangeRequest, var range) = RangeHelper.ParseRange(_context, RequestHeaders, _length, _logger); + + _range = range; + IsRangeRequest = isRangeRequest; } public void ApplyResponseHeaders(int statusCode) @@ -278,9 +254,11 @@ namespace Microsoft.AspNetCore.StaticFiles { _response.ContentType = _contentType; } - _responseHeaders.LastModified = _lastModified; - _responseHeaders.ETag = _etag; - _responseHeaders.Headers[HeaderNames.AcceptRanges] = "bytes"; + + var responseHeaders = ResponseHeaders; + responseHeaders.LastModified = _lastModified; + responseHeaders.ETag = _etag; + responseHeaders.Headers[HeaderNames.AcceptRanges] = "bytes"; } if (statusCode == Constants.Status200Ok) { @@ -294,10 +272,7 @@ namespace Microsoft.AspNetCore.StaticFiles } public PreconditionState GetPreconditionState() - { - return GetMaxPreconditionState(_ifMatchState, _ifNoneMatchState, - _ifModifiedSinceState, _ifUnmodifiedSinceState); - } + => GetMaxPreconditionState(_ifMatchState, _ifNoneMatchState, _ifModifiedSinceState, _ifUnmodifiedSinceState); private static PreconditionState GetMaxPreconditionState(params PreconditionState[] states) { @@ -320,6 +295,52 @@ namespace Microsoft.AspNetCore.StaticFiles return Task.CompletedTask; } + public async Task ServeStaticFile(HttpContext context, RequestDelegate next) + { + ComprehendRequestHeaders(); + switch (GetPreconditionState()) + { + case PreconditionState.Unspecified: + case PreconditionState.ShouldProcess: + if (IsHeadMethod) + { + await SendStatusAsync(Constants.Status200Ok); + return; + } + + try + { + if (IsRangeRequest) + { + await SendRangeAsync(); + return; + } + + await SendAsync(); + _logger.FileServed(SubPath, PhysicalPath); + return; + } + catch (FileNotFoundException) + { + context.Response.Clear(); + } + await next(context); + return; + case PreconditionState.NotModified: + _logger.FileNotModified(SubPath); + await SendStatusAsync(Constants.Status304NotModified); + return; + case PreconditionState.PreconditionFailed: + _logger.PreconditionFailed(SubPath); + await SendStatusAsync(Constants.Status412PreconditionFailed); + return; + default: + var exception = new NotImplementedException(GetPreconditionState().ToString()); + Debug.Fail(exception.ToString()); + throw exception; + } + } + public async Task SendAsync() { SetCompressionMode(); @@ -358,14 +379,14 @@ namespace Microsoft.AspNetCore.StaticFiles // 14.16 Content-Range - A server sending a response with status code 416 (Requested range not satisfiable) // SHOULD include a Content-Range field with a byte-range-resp-spec of "*". The instance-length specifies // the current length of the selected resource. e.g. */length - _responseHeaders.ContentRange = new ContentRangeHeaderValue(_length); + ResponseHeaders.ContentRange = new ContentRangeHeaderValue(_length); ApplyResponseHeaders(Constants.Status416RangeNotSatisfiable); _logger.RangeNotSatisfiable(SubPath); return; } - _responseHeaders.ContentRange = ComputeContentRange(_range, out var start, out var length); + ResponseHeaders.ContentRange = ComputeContentRange(_range, out var start, out var length); _response.ContentLength = length; SetCompressionMode(); ApplyResponseHeaders(Constants.Status206PartialContent); @@ -416,5 +437,22 @@ namespace Microsoft.AspNetCore.StaticFiles responseCompressionFeature.Mode = _options.HttpsCompression; } } + + internal enum PreconditionState : byte + { + Unspecified, + NotModified, + ShouldProcess, + PreconditionFailed + } + + [Flags] + private enum RequestType : byte + { + Unspecified = 0b_000, + IsHead = 0b_001, + IsGet = 0b_010, + IsRange = 0b_100, + } } } diff --git a/src/Middleware/StaticFiles/src/StaticFileMiddleware.cs b/src/Middleware/StaticFiles/src/StaticFileMiddleware.cs index 5f1dbb4e0f..b05c58f6e0 100644 --- a/src/Middleware/StaticFiles/src/StaticFileMiddleware.cs +++ b/src/Middleware/StaticFiles/src/StaticFileMiddleware.cs @@ -2,12 +2,11 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using System.Diagnostics; -using System.IO; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Endpoints; using Microsoft.Extensions.FileProviders; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; @@ -70,83 +69,83 @@ namespace Microsoft.AspNetCore.StaticFiles /// public Task Invoke(HttpContext context) { - var fileContext = new StaticFileContext(context, _options, _matchUrl, _logger, _fileProvider, _contentTypeProvider); - - if (!fileContext.ValidateNoEndpoint()) + if (!ValidateNoEndpoint(context)) { _logger.EndpointMatched(); } - else if (!fileContext.ValidateMethod()) + else if (!ValidateMethod(context)) { _logger.RequestMethodNotSupported(context.Request.Method); } - else if (!fileContext.ValidatePath()) + else if (!ValidatePath(context, _matchUrl, out var subPath)) { - _logger.PathMismatch(fileContext.SubPath); + _logger.PathMismatch(subPath); } - else if (!fileContext.LookupContentType()) + else if (!LookupContentType(_contentTypeProvider, _options, subPath, out var contentType)) { - _logger.FileTypeNotSupported(fileContext.SubPath); + _logger.FileTypeNotSupported(subPath); } - else if (!fileContext.LookupFileInfo()) + else + { + // If we get here, we can try to serve the file + return TryServeStaticFile(context, contentType, subPath); + } + + return _next(context); + } + + // Return true because we only want to run if there is no endpoint. + private static bool ValidateNoEndpoint(HttpContext context) => context.GetEndpoint() == null; + + private static bool ValidateMethod(HttpContext context) + { + var method = context.Request.Method; + var isValid = false; + if (HttpMethods.IsGet(method)) + { + isValid = true; + } + else if (HttpMethods.IsHead(method)) + { + isValid = true; + } + + return isValid; + } + + internal static bool ValidatePath(HttpContext context, PathString matchUrl, out PathString subPath) => Helpers.TryMatchPath(context, matchUrl, forDirectory: false, out subPath); + + internal static bool LookupContentType(IContentTypeProvider contentTypeProvider, StaticFileOptions options, PathString subPath, out string contentType) + { + if (contentTypeProvider.TryGetContentType(subPath.Value, out contentType)) + { + return true; + } + + if (options.ServeUnknownFileTypes) + { + contentType = options.DefaultContentType; + return true; + } + + return false; + } + + private Task TryServeStaticFile(HttpContext context, string contentType, PathString subPath) + { + var fileContext = new StaticFileContext(context, _options, _logger, _fileProvider, contentType, subPath); + + if (!fileContext.LookupFileInfo()) { _logger.FileNotFound(fileContext.SubPath); } else { // If we get here, we can try to serve the file - return ServeStaticFile(context, fileContext); + return fileContext.ServeStaticFile(context, _next); } return _next(context); } - - private async Task ServeStaticFile(HttpContext context, StaticFileContext fileContext) - { - fileContext.ComprehendRequestHeaders(); - switch (fileContext.GetPreconditionState()) - { - case StaticFileContext.PreconditionState.Unspecified: - case StaticFileContext.PreconditionState.ShouldProcess: - if (fileContext.IsHeadMethod) - { - await fileContext.SendStatusAsync(Constants.Status200Ok); - return; - } - - try - { - if (fileContext.IsRangeRequest) - { - await fileContext.SendRangeAsync(); - return; - } - - await fileContext.SendAsync(); - _logger.FileServed(fileContext.SubPath, fileContext.PhysicalPath); - return; - } - catch (FileNotFoundException) - { - context.Response.Clear(); - } - await _next(context); - return; - case StaticFileContext.PreconditionState.NotModified: - _logger.FileNotModified(fileContext.SubPath); - await fileContext.SendStatusAsync(Constants.Status304NotModified); - return; - - case StaticFileContext.PreconditionState.PreconditionFailed: - _logger.PreconditionFailed(fileContext.SubPath); - await fileContext.SendStatusAsync(Constants.Status412PreconditionFailed); - return; - - default: - var exception = new NotImplementedException(fileContext.GetPreconditionState().ToString()); - Debug.Fail(exception.ToString()); - throw exception; - } - } } } diff --git a/src/Middleware/StaticFiles/src/baseline.netcore.json b/src/Middleware/StaticFiles/src/baseline.netcore.json deleted file mode 100644 index 489e7f3a81..0000000000 --- a/src/Middleware/StaticFiles/src/baseline.netcore.json +++ /dev/null @@ -1,1077 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.StaticFiles, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.Extensions.DependencyInjection.DirectoryBrowserServiceExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddDirectoryBrowser", - "Parameters": [ - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IServiceCollection", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.DefaultFilesExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseDefaultFiles", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseDefaultFiles", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "requestPath", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseDefaultFiles", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Builder.DefaultFilesOptions" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.DefaultFilesOptions", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.StaticFiles.Infrastructure.SharedOptionsBase", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_DefaultFileNames", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_DefaultFileNames", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IList" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "sharedOptions", - "Type": "Microsoft.AspNetCore.StaticFiles.Infrastructure.SharedOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.DirectoryBrowserExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseDirectoryBrowser", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseDirectoryBrowser", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "requestPath", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseDirectoryBrowser", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Builder.DirectoryBrowserOptions" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.DirectoryBrowserOptions", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.StaticFiles.Infrastructure.SharedOptionsBase", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Formatter", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.StaticFiles.IDirectoryFormatter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Formatter", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.StaticFiles.IDirectoryFormatter" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "sharedOptions", - "Type": "Microsoft.AspNetCore.StaticFiles.Infrastructure.SharedOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.FileServerExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseFileServer", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseFileServer", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "enableDirectoryBrowsing", - "Type": "System.Boolean" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseFileServer", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "requestPath", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseFileServer", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Builder.FileServerOptions" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.FileServerOptions", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.StaticFiles.Infrastructure.SharedOptionsBase", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_StaticFileOptions", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Builder.StaticFileOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_DirectoryBrowserOptions", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Builder.DirectoryBrowserOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_DefaultFilesOptions", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Builder.DefaultFilesOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_EnableDirectoryBrowsing", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_EnableDirectoryBrowsing", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_EnableDefaultFiles", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_EnableDefaultFiles", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.StaticFileExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseStaticFiles", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseStaticFiles", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "requestPath", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseStaticFiles", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Builder.StaticFileOptions" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.StaticFileOptions", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.StaticFiles.Infrastructure.SharedOptionsBase", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ContentTypeProvider", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.StaticFiles.IContentTypeProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ContentTypeProvider", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.StaticFiles.IContentTypeProvider" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_DefaultContentType", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_DefaultContentType", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ServeUnknownFileTypes", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ServeUnknownFileTypes", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_OnPrepareResponse", - "Parameters": [], - "ReturnType": "System.Action", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_OnPrepareResponse", - "Parameters": [ - { - "Name": "value", - "Type": "System.Action" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "sharedOptions", - "Type": "Microsoft.AspNetCore.StaticFiles.Infrastructure.SharedOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.StaticFiles.DefaultFilesMiddleware", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Invoke", - "Parameters": [ - { - "Name": "context", - "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": "hostingEnv", - "Type": "Microsoft.AspNetCore.Hosting.IHostingEnvironment" - }, - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.StaticFiles.DirectoryBrowserMiddleware", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Invoke", - "Parameters": [ - { - "Name": "context", - "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": "hostingEnv", - "Type": "Microsoft.AspNetCore.Hosting.IHostingEnvironment" - }, - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "next", - "Type": "Microsoft.AspNetCore.Http.RequestDelegate" - }, - { - "Name": "hostingEnv", - "Type": "Microsoft.AspNetCore.Hosting.IHostingEnvironment" - }, - { - "Name": "encoder", - "Type": "System.Text.Encodings.Web.HtmlEncoder" - }, - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.StaticFiles.FileExtensionContentTypeProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.StaticFiles.IContentTypeProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Mappings", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TryGetContentType", - "Parameters": [ - { - "Name": "subpath", - "Type": "System.String" - }, - { - "Name": "contentType", - "Type": "System.String", - "Direction": "Out" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.StaticFiles.IContentTypeProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "mapping", - "Type": "System.Collections.Generic.IDictionary" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.StaticFiles.HtmlDirectoryFormatter", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.StaticFiles.IDirectoryFormatter" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GenerateContentAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "contents", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.StaticFiles.IDirectoryFormatter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "encoder", - "Type": "System.Text.Encodings.Web.HtmlEncoder" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.StaticFiles.IContentTypeProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "TryGetContentType", - "Parameters": [ - { - "Name": "subpath", - "Type": "System.String" - }, - { - "Name": "contentType", - "Type": "System.String", - "Direction": "Out" - } - ], - "ReturnType": "System.Boolean", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.StaticFiles.IDirectoryFormatter", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GenerateContentAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "contents", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Invoke", - "Parameters": [ - { - "Name": "context", - "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": "hostingEnv", - "Type": "Microsoft.AspNetCore.Hosting.IHostingEnvironment" - }, - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptions" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.StaticFiles.StaticFileResponseContext", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Context", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HttpContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_File", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.FileProviders.IFileInfo", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.StaticFiles.Infrastructure.SharedOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_RequestPath", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.PathString", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RequestPath", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.PathString" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_FileProvider", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.FileProviders.IFileProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_FileProvider", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.Extensions.FileProviders.IFileProvider" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.StaticFiles.Infrastructure.SharedOptionsBase", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_SharedOptions", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.StaticFiles.Infrastructure.SharedOptions", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RequestPath", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.PathString", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RequestPath", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.PathString" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_FileProvider", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.FileProviders.IFileProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_FileProvider", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.Extensions.FileProviders.IFileProvider" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "sharedOptions", - "Type": "Microsoft.AspNetCore.StaticFiles.Infrastructure.SharedOptions" - } - ], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Middleware/StaticFiles/test/UnitTests/StaticFileContextTest.cs b/src/Middleware/StaticFiles/test/UnitTests/StaticFileContextTest.cs index d61609657a..efea2a08e5 100644 --- a/src/Middleware/StaticFiles/test/UnitTests/StaticFileContextTest.cs +++ b/src/Middleware/StaticFiles/test/UnitTests/StaticFileContextTest.cs @@ -22,14 +22,18 @@ namespace Microsoft.AspNetCore.StaticFiles { // Arrange var options = new StaticFileOptions(); - var context = new StaticFileContext(new DefaultHttpContext(), options, PathString.Empty, NullLogger.Instance, new TestFileProvider(), new FileExtensionContentTypeProvider()); + var httpContext = new DefaultHttpContext(); + var pathString = PathString.Empty; + var validateResult = StaticFileMiddleware.ValidatePath(httpContext, pathString, out var subPath); + var contentTypeResult = StaticFileMiddleware.LookupContentType(new FileExtensionContentTypeProvider(), options, subPath, out var contentType); + var context = new StaticFileContext(httpContext, options, NullLogger.Instance, new TestFileProvider(), contentType, subPath); // Act - var validateResult = context.ValidatePath(); var lookupResult = context.LookupFileInfo(); // Assert Assert.True(validateResult); + Assert.False(contentTypeResult); Assert.False(lookupResult); } @@ -46,13 +50,17 @@ namespace Microsoft.AspNetCore.StaticFiles var pathString = new PathString("/test"); var httpContext = new DefaultHttpContext(); httpContext.Request.Path = new PathString("/test/foo.txt"); - var context = new StaticFileContext(httpContext, options, pathString, NullLogger.Instance, fileProvider, new FileExtensionContentTypeProvider()); + var validateResult = StaticFileMiddleware.ValidatePath(httpContext, pathString, out var subPath); + var contentTypeResult = StaticFileMiddleware.LookupContentType(new FileExtensionContentTypeProvider(), options, subPath, out var contentType); + + var context = new StaticFileContext(httpContext, options, NullLogger.Instance, fileProvider, contentType, subPath); // Act - context.ValidatePath(); var result = context.LookupFileInfo(); // Assert + Assert.True(validateResult); + Assert.True(contentTypeResult); Assert.True(result); } @@ -70,10 +78,14 @@ namespace Microsoft.AspNetCore.StaticFiles var httpsCompressionFeature = new TestHttpsCompressionFeature(); httpContext.Features.Set(httpsCompressionFeature); httpContext.Request.Path = new PathString("/test/foo.txt"); - var context = new StaticFileContext(httpContext, options, pathString, NullLogger.Instance, fileProvider, new FileExtensionContentTypeProvider()); + var validateResult = StaticFileMiddleware.ValidatePath(httpContext, pathString, out var subPath); + var contentTypeResult = StaticFileMiddleware.LookupContentType(new FileExtensionContentTypeProvider(), options, subPath, out var contentType); + + var context = new StaticFileContext(httpContext, options, NullLogger.Instance, fileProvider, contentType, subPath); - context.ValidatePath(); var result = context.LookupFileInfo(); + Assert.True(validateResult); + Assert.True(contentTypeResult); Assert.True(result); await context.SendAsync(); @@ -95,10 +107,14 @@ namespace Microsoft.AspNetCore.StaticFiles var httpsCompressionFeature = new TestHttpsCompressionFeature(); httpContext.Features.Set(httpsCompressionFeature); httpContext.Request.Path = new PathString("/test/bar.txt"); - var context = new StaticFileContext(httpContext, options, pathString, NullLogger.Instance, fileProvider, new FileExtensionContentTypeProvider()); + var validateResult = StaticFileMiddleware.ValidatePath(httpContext, pathString, out var subPath); + var contentTypeResult = StaticFileMiddleware.LookupContentType(new FileExtensionContentTypeProvider(), options, subPath, out var contentType); + + var context = new StaticFileContext(httpContext, options, NullLogger.Instance, fileProvider, contentType, subPath); - context.ValidatePath(); var result = context.LookupFileInfo(); + Assert.True(validateResult); + Assert.True(contentTypeResult); Assert.False(result); Assert.Equal(HttpsCompressionMode.Default, httpsCompressionFeature.Mode); diff --git a/src/Middleware/WebSockets/src/baseline.netcore.json b/src/Middleware/WebSockets/src/baseline.netcore.json deleted file mode 100644 index 4a3d74e18c..0000000000 --- a/src/Middleware/WebSockets/src/baseline.netcore.json +++ /dev/null @@ -1,231 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.WebSockets, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.Builder.WebSocketMiddlewareExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseWebSockets", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseWebSockets", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Builder.WebSocketOptions" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.WebSocketOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_KeepAliveInterval", - "Parameters": [], - "ReturnType": "System.TimeSpan", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_KeepAliveInterval", - "Parameters": [ - { - "Name": "value", - "Type": "System.TimeSpan" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ReceiveBufferSize", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ReceiveBufferSize", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.WebSockets.ExtendedWebSocketAcceptContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Http.WebSocketAcceptContext", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_SubProtocol", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SubProtocol", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ReceiveBufferSize", - "Parameters": [], - "ReturnType": "System.Nullable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ReceiveBufferSize", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_KeepAliveInterval", - "Parameters": [], - "ReturnType": "System.Nullable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_KeepAliveInterval", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.WebSockets.WebSocketMiddleware", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Invoke", - "Parameters": [ - { - "Name": "context", - "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": "options", - "Type": "Microsoft.Extensions.Options.IOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Mvc/Extensions.ApiDescription.Client/src/Microsoft.Extensions.ApiDescription.Client.csproj b/src/Mvc/Extensions.ApiDescription.Client/src/Microsoft.Extensions.ApiDescription.Client.csproj index 56ef2bdc24..aa61b7ef35 100644 --- a/src/Mvc/Extensions.ApiDescription.Client/src/Microsoft.Extensions.ApiDescription.Client.csproj +++ b/src/Mvc/Extensions.ApiDescription.Client/src/Microsoft.Extensions.ApiDescription.Client.csproj @@ -8,7 +8,6 @@ Microsoft.Extensions.ApiDescription.Tasks MSBuild tasks and targets for code generation - false false false false diff --git a/src/Mvc/Mvc.Abstractions/ref/Microsoft.AspNetCore.Mvc.Abstractions.netcoreapp3.0.cs b/src/Mvc/Mvc.Abstractions/ref/Microsoft.AspNetCore.Mvc.Abstractions.netcoreapp3.0.cs index c336ba8563..3dc69d93e8 100644 --- a/src/Mvc/Mvc.Abstractions/ref/Microsoft.AspNetCore.Mvc.Abstractions.netcoreapp3.0.cs +++ b/src/Mvc/Mvc.Abstractions/ref/Microsoft.AspNetCore.Mvc.Abstractions.netcoreapp3.0.cs @@ -814,10 +814,10 @@ namespace Microsoft.AspNetCore.Mvc.ModelBinding } public enum ModelValidationState { - Invalid = 1, - Skipped = 3, Unvalidated = 0, + Invalid = 1, Valid = 2, + Skipped = 3, } public partial class TooManyModelErrorsException : System.Exception { @@ -888,9 +888,9 @@ namespace Microsoft.AspNetCore.Mvc.ModelBinding.Metadata } public enum ModelMetadataKind { - Parameter = 2, - Property = 1, Type = 0, + Property = 1, + Parameter = 2, } } namespace Microsoft.AspNetCore.Mvc.ModelBinding.Validation diff --git a/src/Mvc/Mvc.Abstractions/src/baseline.netcore.json b/src/Mvc/Mvc.Abstractions/src/baseline.netcore.json deleted file mode 100644 index a3ee847f2f..0000000000 --- a/src/Mvc/Mvc.Abstractions/src/baseline.netcore.json +++ /dev/null @@ -1,9358 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Mvc.Abstractions, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.Mvc.ActionContext", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ActionDescriptor", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ActionDescriptor", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "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_ModelState", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RouteData", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.RouteData", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RouteData", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Routing.RouteData" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "actionContext", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "httpContext", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "routeData", - "Type": "Microsoft.AspNetCore.Routing.RouteData" - }, - { - "Name": "actionDescriptor", - "Type": "Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "httpContext", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "routeData", - "Type": "Microsoft.AspNetCore.Routing.RouteData" - }, - { - "Name": "actionDescriptor", - "Type": "Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor" - }, - { - "Name": "modelState", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.IActionResult", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ExecuteResultAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.IUrlHelper", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ActionContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ActionContext", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Action", - "Parameters": [ - { - "Name": "actionContext", - "Type": "Microsoft.AspNetCore.Mvc.Routing.UrlActionContext" - } - ], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Content", - "Parameters": [ - { - "Name": "contentPath", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsLocalUrl", - "Parameters": [ - { - "Name": "url", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RouteUrl", - "Parameters": [ - { - "Name": "routeContext", - "Type": "Microsoft.AspNetCore.Mvc.Routing.UrlRouteContext" - } - ], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Link", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "System.Object" - } - ], - "ReturnType": "System.String", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Routing.AttributeRouteInfo", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Template", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Template", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Order", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "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_SuppressLinkGeneration", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SuppressLinkGeneration", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SuppressPathMatching", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SuppressPathMatching", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Routing.UrlActionContext", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Action", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Action", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Controller", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Controller", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Values", - "Parameters": [], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Values", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Protocol", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Protocol", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Host", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Host", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Fragment", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Fragment", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Routing.UrlRouteContext", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_RouteName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RouteName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Values", - "Parameters": [], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Values", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Protocol", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Protocol", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Host", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Host", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Fragment", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Fragment", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingInfo", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_BindingSource", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_BindingSource", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_BinderModelName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_BinderModelName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_BinderType", - "Parameters": [], - "ReturnType": "System.Type", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_BinderType", - "Parameters": [ - { - "Name": "value", - "Type": "System.Type" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PropertyFilterProvider", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.IPropertyFilterProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_PropertyFilterProvider", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IPropertyFilterProvider" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RequestPredicate", - "Parameters": [], - "ReturnType": "System.Func", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RequestPredicate", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetBindingInfo", - "Parameters": [ - { - "Name": "attributes", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingInfo", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetBindingInfo", - "Parameters": [ - { - "Name": "attributes", - "Type": "System.Collections.Generic.IEnumerable" - }, - { - "Name": "modelMetadata", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingInfo", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TryApplyBindingInfo", - "Parameters": [ - { - "Name": "modelMetadata", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata" - } - ], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "other", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingInfo" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "System.IEquatable" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_DisplayName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Id", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsGreedy", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsFromRequest", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanAcceptDataFrom", - "Parameters": [ - { - "Name": "bindingSource", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Equals", - "Parameters": [ - { - "Name": "other", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.IEquatable", - "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": "op_Equality", - "Parameters": [ - { - "Name": "s1", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource" - }, - { - "Name": "s2", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource" - } - ], - "ReturnType": "System.Boolean", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "op_Inequality", - "Parameters": [ - { - "Name": "s1", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource" - }, - { - "Name": "s2", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource" - } - ], - "ReturnType": "System.Boolean", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "id", - "Type": "System.String" - }, - { - "Name": "displayName", - "Type": "System.String" - }, - { - "Name": "isGreedy", - "Type": "System.Boolean" - }, - { - "Name": "isFromRequest", - "Type": "System.Boolean" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "Body", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "Custom", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "Form", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "Header", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "ModelBinding", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "Path", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "Query", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "Services", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "Special", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "FormFile", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.CompositeBindingSource", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Create", - "Parameters": [ - { - "Name": "bindingSources", - "Type": "System.Collections.Generic.IEnumerable" - }, - { - "Name": "displayName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.CompositeBindingSource", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_BindingSources", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanAcceptDataFrom", - "Parameters": [ - { - "Name": "bindingSource", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.EnumGroupAndName", - "Visibility": "Public", - "Kind": "Struct", - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Group", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Name", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "group", - "Type": "System.String" - }, - { - "Name": "name", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "group", - "Type": "System.String" - }, - { - "Name": "name", - "Type": "System.Func" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.IBinderTypeProviderMetadata", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_BinderType", - "Parameters": [], - "ReturnType": "System.Type", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_BindingSource", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "BindModelAsync", - "Parameters": [ - { - "Name": "bindingContext", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetBinder", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetMetadataForType", - "Parameters": [ - { - "Name": "modelType", - "Type": "System.Type" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetMetadataForProperties", - "Parameters": [ - { - "Name": "modelType", - "Type": "System.Type" - } - ], - "ReturnType": "System.Collections.Generic.IEnumerable", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelNameProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Name", - "Parameters": [], - "ReturnType": "System.String", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.IPropertyFilterProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_PropertyFilter", - "Parameters": [], - "ReturnType": "System.Func", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.IRequestPredicateProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_RequestPredicate", - "Parameters": [], - "ReturnType": "System.Func", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ContainsPrefix", - "Parameters": [ - { - "Name": "prefix", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetValue", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderResult", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProviderFactory", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "CreateValueProviderAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderFactoryContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "CreateBinder", - "Parameters": [ - { - "Name": "metadata", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateBinder", - "Parameters": [ - { - "Name": "metadata", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata" - }, - { - "Name": "bindingInfo", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingInfo" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_BindingInfo", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingInfo", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Metadata", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MetadataProvider", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Services", - "Parameters": [], - "ReturnType": "System.IServiceProvider", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ActionContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ActionContext", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ActionContext", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_BinderModelName", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_BinderModelName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_BindingSource", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_BindingSource", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_FieldName", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_FieldName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HttpContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HttpContext", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsTopLevelObject", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IsTopLevelObject", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Model", - "Parameters": [], - "ReturnType": "System.Object", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Model", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ModelMetadata", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ModelMetadata", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ModelName", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ModelName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ModelState", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ModelState", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ModelType", - "Parameters": [], - "ReturnType": "System.Type", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PropertyFilter", - "Parameters": [], - "ReturnType": "System.Func", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_PropertyFilter", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ValidationState", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateDictionary", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ValidationState", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateDictionary" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ValueProvider", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ValueProvider", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Result", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Result", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "EnterNestedScope", - "Parameters": [ - { - "Name": "modelMetadata", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata" - }, - { - "Name": "fieldName", - "Type": "System.String" - }, - { - "Name": "modelName", - "Type": "System.String" - }, - { - "Name": "model", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext+NestedScope", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "EnterNestedScope", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext+NestedScope", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ExitNestedScope", - "Parameters": [], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult", - "Visibility": "Public", - "Kind": "Struct", - "Sealed": true, - "ImplementedInterfaces": [ - "System.IEquatable" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Failed", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Success", - "Parameters": [ - { - "Name": "model", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Model", - "Parameters": [], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsModelSet", - "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": "Equals", - "Parameters": [ - { - "Name": "other", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.IEquatable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ToString", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "op_Equality", - "Parameters": [ - { - "Name": "x", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult" - }, - { - "Name": "y", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult" - } - ], - "ReturnType": "System.Boolean", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "op_Inequality", - "Parameters": [ - { - "Name": "x", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult" - }, - { - "Name": "y", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult" - } - ], - "ReturnType": "System.Boolean", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelError", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Exception", - "Parameters": [], - "ReturnType": "System.Exception", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ErrorMessage", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "exception", - "Type": "System.Exception" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "exception", - "Type": "System.Exception" - }, - { - "Name": "errorMessage", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "errorMessage", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelErrorCollection", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Collections.ObjectModel.Collection", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Add", - "Parameters": [ - { - "Name": "exception", - "Type": "System.Exception" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Add", - "Parameters": [ - { - "Name": "errorMessage", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [ - "System.IEquatable", - "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_ContainerType", - "Parameters": [], - "ReturnType": "System.Type", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ContainerMetadata", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MetadataKind", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataKind", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ModelType", - "Parameters": [], - "ReturnType": "System.Type", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Name", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ParameterName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PropertyName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Identity", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataIdentity", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AdditionalValues", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyDictionary", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Properties", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelPropertyCollection", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_BinderModelName", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_BinderType", - "Parameters": [], - "ReturnType": "System.Type", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_BindingSource", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ConvertEmptyStringToNull", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_DataTypeName", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Description", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_DisplayFormatString", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_DisplayName", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_EditFormatString", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ElementMetadata", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_EnumGroupedDisplayNamesAndValues", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable>", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_EnumNamesAndValues", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyDictionary", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HasNonDefaultEditFormat", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HtmlEncode", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HideSurroundingHtml", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsBindingAllowed", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsBindingRequired", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsEnum", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsFlagsEnum", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsReadOnly", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsRequired", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ModelBindingMessageProvider", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelBindingMessageProvider", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Placeholder", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_NullDisplayText", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PropertyFilterProvider", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.IPropertyFilterProvider", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ShowForDisplay", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ShowForEdit", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SimpleDisplayProperty", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TemplateHint", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PropertyValidationFilter", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IPropertyValidationFilter", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ValidateChildren", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ValidatorMetadata", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ElementType", - "Parameters": [], - "ReturnType": "System.Type", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsComplexType", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsNullableValueType", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsCollectionType", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsEnumerableType", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsReferenceOrNullableType", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UnderlyingOrModelType", - "Parameters": [], - "ReturnType": "System.Type", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PropertyGetter", - "Parameters": [], - "ReturnType": "System.Func", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PropertySetter", - "Parameters": [], - "ReturnType": "System.Action", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetDisplayName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Equals", - "Parameters": [ - { - "Name": "other", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.IEquatable", - "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": "GetMetadataForType", - "Parameters": [ - { - "Name": "modelType", - "Type": "System.Type" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetMetadataForProperties", - "Parameters": [ - { - "Name": "modelType", - "Type": "System.Type" - } - ], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "identity", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataIdentity" - } - ], - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "DefaultOrder", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadataProvider", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetMetadataForProperties", - "Parameters": [ - { - "Name": "modelType", - "Type": "System.Type" - } - ], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Virtual": true, - "Abstract": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetMetadataForType", - "Parameters": [ - { - "Name": "modelType", - "Type": "System.Type" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata", - "Virtual": true, - "Abstract": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetMetadataForParameter", - "Parameters": [ - { - "Name": "parameter", - "Type": "System.Reflection.ParameterInfo" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelPropertyCollection", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Collections.ObjectModel.ReadOnlyCollection", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Item", - "Parameters": [ - { - "Name": "propertyName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "properties", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "System.Collections.Generic.IReadOnlyDictionary" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Count", - "Parameters": [], - "ReturnType": "System.Int32", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IReadOnlyCollection>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Root", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateEntry", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MaxAllowedErrors", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MaxAllowedErrors", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HasReachedMaxErrors", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ErrorCount", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Keys", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary+KeyEnumerable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Values", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary+ValueEnumerable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsValid", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ValidationState", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelValidationState", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Item", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateEntry", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IReadOnlyDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TryAddModelException", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "exception", - "Type": "System.Exception" - } - ], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddModelError", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "exception", - "Type": "System.Exception" - }, - { - "Name": "metadata", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TryAddModelError", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "exception", - "Type": "System.Exception" - }, - { - "Name": "metadata", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata" - } - ], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddModelError", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "errorMessage", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TryAddModelError", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "errorMessage", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetFieldValidationState", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelValidationState", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetValidationState", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelValidationState", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MarkFieldValid", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MarkFieldSkipped", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Merge", - "Parameters": [ - { - "Name": "dictionary", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetModelValue", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "rawValue", - "Type": "System.Object" - }, - { - "Name": "attemptedValue", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetModelValue", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "valueProviderResult", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderResult" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ClearValidationState", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Clear", - "Parameters": [], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ContainsKey", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IReadOnlyDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Remove", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TryGetValue", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateEntry", - "Direction": "Out" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IReadOnlyDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetEnumerator", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary+Enumerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "StartsWithPrefix", - "Parameters": [ - { - "Name": "prefix", - "Type": "System.String" - }, - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindKeysWithPrefix", - "Parameters": [ - { - "Name": "prefix", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary+PrefixEnumerable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "maxAllowedErrors", - "Type": "System.Int32" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "dictionary", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "DefaultMaxAllowedErrors", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateEntry", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_RawValue", - "Parameters": [], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RawValue", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AttemptedValue", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AttemptedValue", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Errors", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelErrorCollection", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ValidationState", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelValidationState", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ValidationState", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelValidationState" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsContainerNode", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetModelStateForProperty", - "Parameters": [ - { - "Name": "propertyName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateEntry", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Children", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelValidationState", - "Visibility": "Public", - "Kind": "Enumeration", - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "Unvalidated", - "Parameters": [], - "GenericParameter": [], - "Literal": "0" - }, - { - "Kind": "Field", - "Name": "Invalid", - "Parameters": [], - "GenericParameter": [], - "Literal": "1" - }, - { - "Kind": "Field", - "Name": "Valid", - "Parameters": [], - "GenericParameter": [], - "Literal": "2" - }, - { - "Kind": "Field", - "Name": "Skipped", - "Parameters": [], - "GenericParameter": [], - "Literal": "3" - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.TooManyModelErrorsException", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Exception", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "message", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderFactoryContext", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ActionContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ActionContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ValueProviders", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderResult", - "Visibility": "Public", - "Kind": "Struct", - "Sealed": true, - "ImplementedInterfaces": [ - "System.IEquatable", - "System.Collections.Generic.IEnumerable" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Culture", - "Parameters": [], - "ReturnType": "System.Globalization.CultureInfo", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Values", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.Primitives.StringValues", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_FirstValue", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Length", - "Parameters": [], - "ReturnType": "System.Int32", - "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": "Equals", - "Parameters": [ - { - "Name": "other", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderResult" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.IEquatable", - "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": "GetEnumerator", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerator", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IEnumerable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "op_Explicit", - "Parameters": [ - { - "Name": "result", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderResult" - } - ], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "op_Explicit", - "Parameters": [ - { - "Name": "result", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderResult" - } - ], - "ReturnType": "System.String[]", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "op_Equality", - "Parameters": [ - { - "Name": "x", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderResult" - }, - { - "Name": "y", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderResult" - } - ], - "ReturnType": "System.Boolean", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "op_Inequality", - "Parameters": [ - { - "Name": "x", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderResult" - }, - { - "Name": "y", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderResult" - } - ], - "ReturnType": "System.Boolean", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "values", - "Type": "Microsoft.Extensions.Primitives.StringValues" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "values", - "Type": "Microsoft.Extensions.Primitives.StringValues" - }, - { - "Name": "culture", - "Type": "System.Globalization.CultureInfo" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "None", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderResult", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientModelValidationContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidationContextBase", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Attributes", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "actionContext", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "metadata", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata" - }, - { - "Name": "metadataProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider" - }, - { - "Name": "attributes", - "Type": "System.Collections.Generic.IDictionary" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientValidatorItem", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ValidatorMetadata", - "Parameters": [], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Validator", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IClientModelValidator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Validator", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IClientModelValidator" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsReusable", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IsReusable", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "validatorMetadata", - "Type": "System.Object" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientValidatorProviderContext", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ModelMetadata", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ValidatorMetadata", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Results", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "modelMetadata", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata" - }, - { - "Name": "items", - "Type": "System.Collections.Generic.IList" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IClientModelValidator", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddValidation", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientModelValidationContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IClientModelValidatorProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "CreateValidators", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientValidatorProviderContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IModelValidator", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Validate", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidationContext" - } - ], - "ReturnType": "System.Collections.Generic.IEnumerable", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IModelValidatorProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "CreateValidators", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidatorProviderContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IPropertyValidationFilter", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ShouldValidateEntry", - "Parameters": [ - { - "Name": "entry", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationEntry" - }, - { - "Name": "parentEntry", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationEntry" - } - ], - "ReturnType": "System.Boolean", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IValidationStrategy", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetChildren", - "Parameters": [ - { - "Name": "metadata", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata" - }, - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "model", - "Type": "System.Object" - } - ], - "ReturnType": "System.Collections.Generic.IEnumerator", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidationContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidationContextBase", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Model", - "Parameters": [], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Container", - "Parameters": [], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "actionContext", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "modelMetadata", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata" - }, - { - "Name": "metadataProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider" - }, - { - "Name": "container", - "Type": "System.Object" - }, - { - "Name": "model", - "Type": "System.Object" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidationContextBase", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ActionContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ActionContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ModelMetadata", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MetadataProvider", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "actionContext", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "modelMetadata", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata" - }, - { - "Name": "metadataProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidationResult", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_MemberName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Message", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "memberName", - "Type": "System.String" - }, - { - "Name": "message", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidatorProviderContext", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ModelMetadata", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ModelMetadata", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ValidatorMetadata", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Results", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "modelMetadata", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata" - }, - { - "Name": "items", - "Type": "System.Collections.Generic.IList" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationEntry", - "Visibility": "Public", - "Kind": "Struct", - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Key", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Metadata", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Model", - "Parameters": [], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "metadata", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata" - }, - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "model", - "Type": "System.Object" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "metadata", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata" - }, - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "modelAccessor", - "Type": "System.Func" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateDictionary", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "System.Collections.Generic.IDictionary", - "System.Collections.Generic.IReadOnlyDictionary" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Count", - "Parameters": [], - "ReturnType": "System.Int32", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.ICollection>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsReadOnly", - "Parameters": [], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.ICollection>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Add", - "Parameters": [ - { - "Name": "item", - "Type": "System.Collections.Generic.KeyValuePair" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.ICollection>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Clear", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.ICollection>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Contains", - "Parameters": [ - { - "Name": "item", - "Type": "System.Collections.Generic.KeyValuePair" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.ICollection>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CopyTo", - "Parameters": [ - { - "Name": "array", - "Type": "System.Collections.Generic.KeyValuePair[]" - }, - { - "Name": "arrayIndex", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.ICollection>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Remove", - "Parameters": [ - { - "Name": "item", - "Type": "System.Collections.Generic.KeyValuePair" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.ICollection>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetEnumerator", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerator>", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IEnumerable>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Item", - "Parameters": [ - { - "Name": "key", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateEntry", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Item", - "Parameters": [ - { - "Name": "key", - "Type": "System.Object" - }, - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateEntry" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Keys", - "Parameters": [], - "ReturnType": "System.Collections.Generic.ICollection", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Values", - "Parameters": [], - "ReturnType": "System.Collections.Generic.ICollection", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Add", - "Parameters": [ - { - "Name": "key", - "Type": "System.Object" - }, - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateEntry" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ContainsKey", - "Parameters": [ - { - "Name": "key", - "Type": "System.Object" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Remove", - "Parameters": [ - { - "Name": "key", - "Type": "System.Object" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TryGetValue", - "Parameters": [ - { - "Name": "key", - "Type": "System.Object" - }, - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateEntry", - "Direction": "Out" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateEntry", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Key", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Key", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Metadata", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Metadata", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SuppressValidation", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SuppressValidation", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Strategy", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IValidationStrategy", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Strategy", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IValidationStrategy" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidatorItem", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ValidatorMetadata", - "Parameters": [], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Validator", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IModelValidator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Validator", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IModelValidator" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsReusable", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IsReusable", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "validatorMetadata", - "Type": "System.Object" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelBindingMessageProvider", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_MissingBindRequiredValueAccessor", - "Parameters": [], - "ReturnType": "System.Func", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MissingKeyOrValueAccessor", - "Parameters": [], - "ReturnType": "System.Func", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MissingRequestBodyRequiredValueAccessor", - "Parameters": [], - "ReturnType": "System.Func", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ValueMustNotBeNullAccessor", - "Parameters": [], - "ReturnType": "System.Func", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AttemptedValueIsInvalidAccessor", - "Parameters": [], - "ReturnType": "System.Func", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_NonPropertyAttemptedValueIsInvalidAccessor", - "Parameters": [], - "ReturnType": "System.Func", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UnknownValueIsInvalidAccessor", - "Parameters": [], - "ReturnType": "System.Func", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_NonPropertyUnknownValueIsInvalidAccessor", - "Parameters": [], - "ReturnType": "System.Func", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ValueIsInvalidAccessor", - "Parameters": [], - "ReturnType": "System.Func", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ValueMustBeANumberAccessor", - "Parameters": [], - "ReturnType": "System.Func", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_NonPropertyValueMustBeANumberAccessor", - "Parameters": [], - "ReturnType": "System.Func", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataIdentity", - "Visibility": "Public", - "Kind": "Struct", - "Sealed": true, - "ImplementedInterfaces": [ - "System.IEquatable" - ], - "Members": [ - { - "Kind": "Method", - "Name": "ForType", - "Parameters": [ - { - "Name": "modelType", - "Type": "System.Type" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataIdentity", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ForProperty", - "Parameters": [ - { - "Name": "modelType", - "Type": "System.Type" - }, - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "containerType", - "Type": "System.Type" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataIdentity", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ForParameter", - "Parameters": [ - { - "Name": "parameter", - "Type": "System.Reflection.ParameterInfo" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataIdentity", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ContainerType", - "Parameters": [], - "ReturnType": "System.Type", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ModelType", - "Parameters": [], - "ReturnType": "System.Type", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MetadataKind", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataKind", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Name", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ParameterInfo", - "Parameters": [], - "ReturnType": "System.Reflection.ParameterInfo", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Equals", - "Parameters": [ - { - "Name": "other", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataIdentity" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.IEquatable", - "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": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataKind", - "Visibility": "Public", - "Kind": "Enumeration", - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "Type", - "Parameters": [], - "GenericParameter": [], - "Literal": "0" - }, - { - "Kind": "Field", - "Name": "Property", - "Parameters": [], - "GenericParameter": [], - "Literal": "1" - }, - { - "Kind": "Field", - "Name": "Parameter", - "Parameters": [], - "GenericParameter": [], - "Literal": "2" - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Formatters.FormatterCollection", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Collections.ObjectModel.Collection", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "RemoveType", - "Parameters": [], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "RemoveType", - "Parameters": [ - { - "Name": "formatterType", - "Type": "System.Type" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "list", - "Type": "System.Collections.Generic.IList" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TFormatter", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Formatters.IInputFormatter", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "CanRead", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.InputFormatterContext" - } - ], - "ReturnType": "System.Boolean", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ReadAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.InputFormatterContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Formatters.IInputFormatterExceptionPolicy", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ExceptionPolicy", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Formatters.InputFormatterExceptionPolicy", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Formatters.InputFormatterContext", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_TreatEmptyInputAsDefaultValue", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HttpContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HttpContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ModelName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ModelState", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Metadata", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ModelType", - "Parameters": [], - "ReturnType": "System.Type", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ReaderFactory", - "Parameters": [], - "ReturnType": "System.Func", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "httpContext", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "modelName", - "Type": "System.String" - }, - { - "Name": "modelState", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary" - }, - { - "Name": "metadata", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata" - }, - { - "Name": "readerFactory", - "Type": "System.Func" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "httpContext", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "modelName", - "Type": "System.String" - }, - { - "Name": "modelState", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary" - }, - { - "Name": "metadata", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata" - }, - { - "Name": "readerFactory", - "Type": "System.Func" - }, - { - "Name": "treatEmptyInputAsDefaultValue", - "Type": "System.Boolean" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Formatters.InputFormatterException", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Exception", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "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.Mvc.Formatters.InputFormatterExceptionPolicy", - "Visibility": "Public", - "Kind": "Enumeration", - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "AllExceptions", - "Parameters": [], - "GenericParameter": [], - "Literal": "0" - }, - { - "Kind": "Field", - "Name": "MalformedInputExceptions", - "Parameters": [], - "GenericParameter": [], - "Literal": "1" - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Formatters.InputFormatterResult", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_HasError", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsModelSet", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Model", - "Parameters": [], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Failure", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Formatters.InputFormatterResult", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FailureAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Success", - "Parameters": [ - { - "Name": "model", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Formatters.InputFormatterResult", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SuccessAsync", - "Parameters": [ - { - "Name": "model", - "Type": "System.Object" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "NoValue", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Formatters.InputFormatterResult", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "NoValueAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Formatters.IOutputFormatter", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "CanWriteResult", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterCanWriteContext" - } - ], - "ReturnType": "System.Boolean", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterCanWriteContext", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_HttpContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HttpContext", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_HttpContext", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ContentType", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.Primitives.StringSegment", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ContentType", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.Extensions.Primitives.StringSegment" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ContentTypeIsServerDefined", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ContentTypeIsServerDefined", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Object", - "Parameters": [], - "ReturnType": "System.Object", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Object", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ObjectType", - "Parameters": [], - "ReturnType": "System.Type", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ObjectType", - "Parameters": [ - { - "Name": "value", - "Type": "System.Type" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "httpContext", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - } - ], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterCanWriteContext", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_WriterFactory", - "Parameters": [], - "ReturnType": "System.Func", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_WriterFactory", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "httpContext", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "writerFactory", - "Type": "System.Func" - }, - { - "Name": "objectType", - "Type": "System.Type" - }, - { - "Name": "object", - "Type": "System.Object" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Filters.ActionExecutedContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.Filters.FilterContext", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Canceled", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Canceled", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Controller", - "Parameters": [], - "ReturnType": "System.Object", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Exception", - "Parameters": [], - "ReturnType": "System.Exception", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Exception", - "Parameters": [ - { - "Name": "value", - "Type": "System.Exception" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ExceptionDispatchInfo", - "Parameters": [], - "ReturnType": "System.Runtime.ExceptionServices.ExceptionDispatchInfo", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ExceptionDispatchInfo", - "Parameters": [ - { - "Name": "value", - "Type": "System.Runtime.ExceptionServices.ExceptionDispatchInfo" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ExceptionHandled", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ExceptionHandled", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Result", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.IActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Result", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.IActionResult" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "actionContext", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "filters", - "Type": "System.Collections.Generic.IList" - }, - { - "Name": "controller", - "Type": "System.Object" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.Filters.FilterContext", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Result", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.IActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Result", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.IActionResult" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ActionArguments", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Controller", - "Parameters": [], - "ReturnType": "System.Object", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "actionContext", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "filters", - "Type": "System.Collections.Generic.IList" - }, - { - "Name": "actionArguments", - "Type": "System.Collections.Generic.IDictionary" - }, - { - "Name": "controller", - "Type": "System.Object" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Filters.ActionExecutionDelegate", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "BaseType": "System.MulticastDelegate", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Invoke", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BeginInvoke", - "Parameters": [ - { - "Name": "callback", - "Type": "System.AsyncCallback" - }, - { - "Name": "object", - "Type": "System.Object" - } - ], - "ReturnType": "System.IAsyncResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "EndInvoke", - "Parameters": [ - { - "Name": "result", - "Type": "System.IAsyncResult" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "object", - "Type": "System.Object" - }, - { - "Name": "method", - "Type": "System.IntPtr" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Filters.AuthorizationFilterContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.Filters.FilterContext", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Result", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.IActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Result", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.IActionResult" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "actionContext", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "filters", - "Type": "System.Collections.Generic.IList" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Filters.ExceptionContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.Filters.FilterContext", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Exception", - "Parameters": [], - "ReturnType": "System.Exception", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Exception", - "Parameters": [ - { - "Name": "value", - "Type": "System.Exception" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ExceptionDispatchInfo", - "Parameters": [], - "ReturnType": "System.Runtime.ExceptionServices.ExceptionDispatchInfo", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ExceptionDispatchInfo", - "Parameters": [ - { - "Name": "value", - "Type": "System.Runtime.ExceptionServices.ExceptionDispatchInfo" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ExceptionHandled", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ExceptionHandled", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Result", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.IActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Result", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.IActionResult" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "actionContext", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "filters", - "Type": "System.Collections.Generic.IList" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Filters.FilterContext", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "BaseType": "Microsoft.AspNetCore.Mvc.ActionContext", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Filters", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsEffectivePolicy", - "Parameters": [ - { - "Name": "policy", - "Type": "T0" - } - ], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TMetadata", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata" - ] - } - ] - }, - { - "Kind": "Method", - "Name": "FindEffectivePolicy", - "Parameters": [], - "ReturnType": "T0", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TMetadata", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata" - ] - } - ] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "actionContext", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "filters", - "Type": "System.Collections.Generic.IList" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Filters.FilterDescriptor", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Filter", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Order", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Scope", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "filter", - "Type": "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata" - }, - { - "Name": "filterScope", - "Type": "System.Int32" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Filters.FilterItem", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Descriptor", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Filters.FilterDescriptor", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Filter", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Filter", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsReusable", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IsReusable", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "descriptor", - "Type": "Microsoft.AspNetCore.Mvc.Filters.FilterDescriptor" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "descriptor", - "Type": "Microsoft.AspNetCore.Mvc.Filters.FilterDescriptor" - }, - { - "Name": "filter", - "Type": "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Filters.FilterProviderContext", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ActionContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ActionContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ActionContext", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Results", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Results", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IList" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "actionContext", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "items", - "Type": "System.Collections.Generic.IList" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Filters.IActionFilter", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata" - ], - "Members": [ - { - "Kind": "Method", - "Name": "OnActionExecuting", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnActionExecuted", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.ActionExecutedContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Filters.IAlwaysRunResultFilter", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IResultFilter" - ], - "Members": [], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Filters.IAsyncActionFilter", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata" - ], - "Members": [ - { - "Kind": "Method", - "Name": "OnActionExecutionAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext" - }, - { - "Name": "next", - "Type": "Microsoft.AspNetCore.Mvc.Filters.ActionExecutionDelegate" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Filters.IAsyncAlwaysRunResultFilter", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IAsyncResultFilter" - ], - "Members": [], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Filters.IAsyncAuthorizationFilter", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata" - ], - "Members": [ - { - "Kind": "Method", - "Name": "OnAuthorizationAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.AuthorizationFilterContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Filters.IAsyncExceptionFilter", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata" - ], - "Members": [ - { - "Kind": "Method", - "Name": "OnExceptionAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.ExceptionContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Filters.IAsyncResourceFilter", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata" - ], - "Members": [ - { - "Kind": "Method", - "Name": "OnResourceExecutionAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.ResourceExecutingContext" - }, - { - "Name": "next", - "Type": "Microsoft.AspNetCore.Mvc.Filters.ResourceExecutionDelegate" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Filters.IAsyncResultFilter", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata" - ], - "Members": [ - { - "Kind": "Method", - "Name": "OnResultExecutionAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.ResultExecutingContext" - }, - { - "Name": "next", - "Type": "Microsoft.AspNetCore.Mvc.Filters.ResultExecutionDelegate" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Filters.IAuthorizationFilter", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata" - ], - "Members": [ - { - "Kind": "Method", - "Name": "OnAuthorization", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.AuthorizationFilterContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Filters.IExceptionFilter", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata" - ], - "Members": [ - { - "Kind": "Method", - "Name": "OnException", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.ExceptionContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Filters.IFilterContainer", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_FilterDefinition", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_FilterDefinition", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Filters.IFilterFactory", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_IsReusable", - "Parameters": [], - "ReturnType": "System.Boolean", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateInstance", - "Parameters": [ - { - "Name": "serviceProvider", - "Type": "System.IServiceProvider" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Filters.IFilterProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnProvidersExecuting", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.FilterProviderContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnProvidersExecuted", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.FilterProviderContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Filters.IResourceFilter", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata" - ], - "Members": [ - { - "Kind": "Method", - "Name": "OnResourceExecuting", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.ResourceExecutingContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnResourceExecuted", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.ResourceExecutedContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Filters.IResultFilter", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata" - ], - "Members": [ - { - "Kind": "Method", - "Name": "OnResultExecuting", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.ResultExecutingContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnResultExecuted", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.ResultExecutedContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Filters.ResourceExecutedContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.Filters.FilterContext", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Canceled", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Canceled", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Exception", - "Parameters": [], - "ReturnType": "System.Exception", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Exception", - "Parameters": [ - { - "Name": "value", - "Type": "System.Exception" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ExceptionDispatchInfo", - "Parameters": [], - "ReturnType": "System.Runtime.ExceptionServices.ExceptionDispatchInfo", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ExceptionDispatchInfo", - "Parameters": [ - { - "Name": "value", - "Type": "System.Runtime.ExceptionServices.ExceptionDispatchInfo" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ExceptionHandled", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ExceptionHandled", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Result", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.IActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Result", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.IActionResult" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "actionContext", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "filters", - "Type": "System.Collections.Generic.IList" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Filters.ResourceExecutingContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.Filters.FilterContext", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Result", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.IActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Result", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.IActionResult" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ValueProviderFactories", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "actionContext", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "filters", - "Type": "System.Collections.Generic.IList" - }, - { - "Name": "valueProviderFactories", - "Type": "System.Collections.Generic.IList" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Filters.ResourceExecutionDelegate", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "BaseType": "System.MulticastDelegate", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Invoke", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BeginInvoke", - "Parameters": [ - { - "Name": "callback", - "Type": "System.AsyncCallback" - }, - { - "Name": "object", - "Type": "System.Object" - } - ], - "ReturnType": "System.IAsyncResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "EndInvoke", - "Parameters": [ - { - "Name": "result", - "Type": "System.IAsyncResult" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "object", - "Type": "System.Object" - }, - { - "Name": "method", - "Type": "System.IntPtr" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Filters.ResultExecutedContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.Filters.FilterContext", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Canceled", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Canceled", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Controller", - "Parameters": [], - "ReturnType": "System.Object", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Exception", - "Parameters": [], - "ReturnType": "System.Exception", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Exception", - "Parameters": [ - { - "Name": "value", - "Type": "System.Exception" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ExceptionDispatchInfo", - "Parameters": [], - "ReturnType": "System.Runtime.ExceptionServices.ExceptionDispatchInfo", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ExceptionDispatchInfo", - "Parameters": [ - { - "Name": "value", - "Type": "System.Runtime.ExceptionServices.ExceptionDispatchInfo" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ExceptionHandled", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ExceptionHandled", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Result", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.IActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "actionContext", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "filters", - "Type": "System.Collections.Generic.IList" - }, - { - "Name": "result", - "Type": "Microsoft.AspNetCore.Mvc.IActionResult" - }, - { - "Name": "controller", - "Type": "System.Object" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Filters.ResultExecutingContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.Filters.FilterContext", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Controller", - "Parameters": [], - "ReturnType": "System.Object", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Result", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.IActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Result", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.IActionResult" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Cancel", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Cancel", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "actionContext", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "filters", - "Type": "System.Collections.Generic.IList" - }, - { - "Name": "result", - "Type": "Microsoft.AspNetCore.Mvc.IActionResult" - }, - { - "Name": "controller", - "Type": "System.Object" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Filters.ResultExecutionDelegate", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "BaseType": "System.MulticastDelegate", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Invoke", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BeginInvoke", - "Parameters": [ - { - "Name": "callback", - "Type": "System.AsyncCallback" - }, - { - "Name": "object", - "Type": "System.Object" - } - ], - "ReturnType": "System.IAsyncResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "EndInvoke", - "Parameters": [ - { - "Name": "result", - "Type": "System.IAsyncResult" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "object", - "Type": "System.Object" - }, - { - "Name": "method", - "Type": "System.IntPtr" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Authorization.IAllowAnonymousFilter", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata" - ], - "Members": [], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescription", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ActionDescriptor", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ActionDescriptor", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_GroupName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_GroupName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HttpMethod", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_HttpMethod", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ParameterDescriptions", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Properties", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RelativePath", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RelativePath", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SupportedRequestFormats", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SupportedResponseTypes", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescriptionProviderContext", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Actions", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Results", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "actions", - "Type": "System.Collections.Generic.IReadOnlyList" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApiExplorer.ApiParameterDescription", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ModelMetadata", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ModelMetadata", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "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_RouteInfo", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ApiExplorer.ApiParameterRouteInfo", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RouteInfo", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ApiExplorer.ApiParameterRouteInfo" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Source", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Source", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Type", - "Parameters": [], - "ReturnType": "System.Type", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Type", - "Parameters": [ - { - "Name": "value", - "Type": "System.Type" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ParameterDescriptor", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Abstractions.ParameterDescriptor", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ParameterDescriptor", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.Abstractions.ParameterDescriptor" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApiExplorer.ApiParameterRouteInfo", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Constraints", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Constraints", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_DefaultValue", - "Parameters": [], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_DefaultValue", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsOptional", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IsOptional", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApiExplorer.ApiRequestFormat", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Formatter", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Formatters.IInputFormatter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Formatter", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.IInputFormatter" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MediaType", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MediaType", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApiExplorer.ApiResponseFormat", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Formatter", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Formatters.IOutputFormatter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Formatter", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.IOutputFormatter" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MediaType", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MediaType", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApiExplorer.ApiResponseType", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ApiResponseFormats", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ApiResponseFormats", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IList" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ModelMetadata", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ModelMetadata", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Type", - "Parameters": [], - "ReturnType": "System.Type", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Type", - "Parameters": [ - { - "Name": "value", - "Type": "System.Type" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_StatusCode", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_StatusCode", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsDefaultResponse", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IsDefaultResponse", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnProvidersExecuting", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescriptionProviderContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnProvidersExecuted", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescriptionProviderContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintContext", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Candidates", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Candidates", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IReadOnlyList" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_CurrentCandidate", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ActionConstraints.ActionSelectorCandidate", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_CurrentCandidate", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ActionConstraints.ActionSelectorCandidate" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RouteContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.RouteContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RouteContext", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Routing.RouteContext" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintItem", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Constraint", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraint", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Constraint", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraint" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Metadata", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraintMetadata", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsReusable", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IsReusable", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "metadata", - "Type": "Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraintMetadata" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintProviderContext", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_HttpContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HttpContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Action", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Results", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "action", - "Type": "Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor" - }, - { - "Name": "items", - "Type": "System.Collections.Generic.IList" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ActionConstraints.ActionSelectorCandidate", - "Visibility": "Public", - "Kind": "Struct", - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Action", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Constraints", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "action", - "Type": "Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor" - }, - { - "Name": "constraints", - "Type": "System.Collections.Generic.IReadOnlyList" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraint", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraintMetadata" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Accept", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintContext" - } - ], - "ReturnType": "System.Boolean", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraintFactory", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraintMetadata" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_IsReusable", - "Parameters": [], - "ReturnType": "System.Boolean", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateInstance", - "Parameters": [ - { - "Name": "services", - "Type": "System.IServiceProvider" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraint", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraintMetadata", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraintProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnProvidersExecuting", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintProviderContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnProvidersExecuted", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintProviderContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Id", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RouteValues", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RouteValues", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IDictionary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AttributeRouteInfo", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Routing.AttributeRouteInfo", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AttributeRouteInfo", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.Routing.AttributeRouteInfo" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ActionConstraints", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ActionConstraints", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IList" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Parameters", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Parameters", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IList" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_BoundProperties", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_BoundProperties", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IList" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_FilterDescriptors", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_FilterDescriptors", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IList" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_DisplayName", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_DisplayName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Properties", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Properties", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IDictionary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptorExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetProperty", - "Parameters": [ - { - "Name": "actionDescriptor", - "Type": "Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor" - } - ], - "ReturnType": "T0", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "SetProperty", - "Parameters": [ - { - "Name": "actionDescriptor", - "Type": "Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor" - }, - { - "Name": "value", - "Type": "T0" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptorProviderContext", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Results", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Abstractions.ActionInvokerProviderContext", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ActionContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ActionContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Result", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Abstractions.IActionInvoker", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Result", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.Abstractions.IActionInvoker" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "actionContext", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnProvidersExecuting", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptorProviderContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnProvidersExecuted", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptorProviderContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Abstractions.IActionInvoker", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "InvokeAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Abstractions.IActionInvokerProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnProvidersExecuting", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Abstractions.ActionInvokerProviderContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnProvidersExecuted", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Abstractions.ActionInvokerProviderContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Abstractions.ParameterDescriptor", - "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_ParameterType", - "Parameters": [], - "ReturnType": "System.Type", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ParameterType", - "Parameters": [ - { - "Name": "value", - "Type": "System.Type" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_BindingInfo", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingInfo", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_BindingInfo", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingInfo" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext+NestedScope", - "Visibility": "Public", - "Kind": "Struct", - "Sealed": true, - "ImplementedInterfaces": [ - "System.IDisposable" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Dispose", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.IDisposable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary+PrefixEnumerable", - "Visibility": "Public", - "Kind": "Struct", - "Sealed": true, - "ImplementedInterfaces": [ - "System.Collections.Generic.IEnumerable>" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetEnumerator", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary+Enumerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "dictionary", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary" - }, - { - "Name": "prefix", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary+Enumerator", - "Visibility": "Public", - "Kind": "Struct", - "Sealed": true, - "ImplementedInterfaces": [ - "System.Collections.Generic.IEnumerator>" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Dispose", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.IDisposable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MoveNext", - "Parameters": [], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.IEnumerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Reset", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.IEnumerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Current", - "Parameters": [], - "ReturnType": "System.Collections.Generic.KeyValuePair", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IEnumerator>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "dictionary", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary" - }, - { - "Name": "prefix", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary+KeyEnumerable", - "Visibility": "Public", - "Kind": "Struct", - "Sealed": true, - "ImplementedInterfaces": [ - "System.Collections.Generic.IEnumerable" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetEnumerator", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary+KeyEnumerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "dictionary", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary+KeyEnumerator", - "Visibility": "Public", - "Kind": "Struct", - "Sealed": true, - "ImplementedInterfaces": [ - "System.Collections.Generic.IEnumerator" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Dispose", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.IDisposable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MoveNext", - "Parameters": [], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.IEnumerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Reset", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.IEnumerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Current", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IEnumerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "dictionary", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary" - }, - { - "Name": "prefix", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary+ValueEnumerable", - "Visibility": "Public", - "Kind": "Struct", - "Sealed": true, - "ImplementedInterfaces": [ - "System.Collections.Generic.IEnumerable" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetEnumerator", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary+ValueEnumerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "dictionary", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary+ValueEnumerator", - "Visibility": "Public", - "Kind": "Struct", - "Sealed": true, - "ImplementedInterfaces": [ - "System.Collections.Generic.IEnumerator" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Dispose", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.IDisposable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MoveNext", - "Parameters": [], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.IEnumerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Reset", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.IEnumerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Current", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateEntry", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IEnumerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "dictionary", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary" - }, - { - "Name": "prefix", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Mvc/Mvc.Analyzers/src/Microsoft.AspNetCore.Mvc.Analyzers.csproj b/src/Mvc/Mvc.Analyzers/src/Microsoft.AspNetCore.Mvc.Analyzers.csproj index 8de9fae1d9..83e6385814 100644 --- a/src/Mvc/Mvc.Analyzers/src/Microsoft.AspNetCore.Mvc.Analyzers.csproj +++ b/src/Mvc/Mvc.Analyzers/src/Microsoft.AspNetCore.Mvc.Analyzers.csproj @@ -7,7 +7,6 @@ netstandard1.3 false - false false $(MSBuildProjectName).nuspec diff --git a/src/Mvc/Mvc.Api.Analyzers/src/Microsoft.AspNetCore.Mvc.Api.Analyzers.csproj b/src/Mvc/Mvc.Api.Analyzers/src/Microsoft.AspNetCore.Mvc.Api.Analyzers.csproj index 6c6fe08735..ad062a7403 100644 --- a/src/Mvc/Mvc.Api.Analyzers/src/Microsoft.AspNetCore.Mvc.Api.Analyzers.csproj +++ b/src/Mvc/Mvc.Api.Analyzers/src/Microsoft.AspNetCore.Mvc.Api.Analyzers.csproj @@ -7,7 +7,6 @@ netstandard1.3 false - false false $(MSBuildProjectName).nuspec diff --git a/src/Mvc/Mvc.ApiExplorer/src/baseline.netcore.json b/src/Mvc/Mvc.ApiExplorer/src/baseline.netcore.json deleted file mode 100644 index 798fc429d3..0000000000 --- a/src/Mvc/Mvc.ApiExplorer/src/baseline.netcore.json +++ /dev/null @@ -1,993 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Mvc.ApiExplorer, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescriptionExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetProperty", - "Parameters": [ - { - "Name": "apiDescription", - "Type": "Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescription" - } - ], - "ReturnType": "T0", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "SetProperty", - "Parameters": [ - { - "Name": "apiDescription", - "Type": "Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescription" - }, - { - "Name": "value", - "Type": "T0" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescriptionGroup", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_GroupName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Items", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "groupName", - "Type": "System.String" - }, - { - "Name": "items", - "Type": "System.Collections.Generic.IReadOnlyList" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescriptionGroupCollection", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Items", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Version", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "items", - "Type": "System.Collections.Generic.IReadOnlyList" - }, - { - "Name": "version", - "Type": "System.Int32" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescriptionGroupCollectionProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionGroupCollectionProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_ApiDescriptionGroups", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescriptionGroupCollection", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionGroupCollectionProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "actionDescriptorCollectionProvider", - "Type": "Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider" - }, - { - "Name": "apiDescriptionProviders", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApiExplorer.DefaultApiDescriptionProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnProvidersExecuting", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescriptionProviderContext" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnProvidersExecuted", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescriptionProviderContext" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "optionsAccessor", - "Type": "Microsoft.Extensions.Options.IOptions" - }, - { - "Name": "constraintResolver", - "Type": "Microsoft.AspNetCore.Routing.IInlineConstraintResolver" - }, - { - "Name": "modelMetadataProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "optionsAccessor", - "Type": "Microsoft.Extensions.Options.IOptions" - }, - { - "Name": "constraintResolver", - "Type": "Microsoft.AspNetCore.Routing.IInlineConstraintResolver" - }, - { - "Name": "modelMetadataProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider" - }, - { - "Name": "mapper", - "Type": "Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultTypeMapper" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionGroupCollectionProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ApiDescriptionGroups", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescriptionGroupCollection", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.Extensions.DependencyInjection.MvcApiExplorerMvcCoreBuilderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddApiExplorer", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescription", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ActionDescriptor", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ActionDescriptor", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_GroupName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_GroupName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HttpMethod", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_HttpMethod", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ParameterDescriptions", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Properties", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RelativePath", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RelativePath", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SupportedRequestFormats", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SupportedResponseTypes", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescriptionProviderContext", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Actions", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Results", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "actions", - "Type": "System.Collections.Generic.IReadOnlyList" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApiExplorer.ApiParameterDescription", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ModelMetadata", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ModelMetadata", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "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_RouteInfo", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ApiExplorer.ApiParameterRouteInfo", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RouteInfo", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ApiExplorer.ApiParameterRouteInfo" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Source", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Source", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Type", - "Parameters": [], - "ReturnType": "System.Type", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Type", - "Parameters": [ - { - "Name": "value", - "Type": "System.Type" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ParameterDescriptor", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Abstractions.ParameterDescriptor", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ParameterDescriptor", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.Abstractions.ParameterDescriptor" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApiExplorer.ApiParameterRouteInfo", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Constraints", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Constraints", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_DefaultValue", - "Parameters": [], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_DefaultValue", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsOptional", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IsOptional", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApiExplorer.ApiRequestFormat", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Formatter", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Formatters.IInputFormatter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Formatter", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.IInputFormatter" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MediaType", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MediaType", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApiExplorer.ApiResponseFormat", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Formatter", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Formatters.IOutputFormatter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Formatter", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.IOutputFormatter" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MediaType", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MediaType", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApiExplorer.ApiResponseType", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ApiResponseFormats", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ApiResponseFormats", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IList" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ModelMetadata", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ModelMetadata", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Type", - "Parameters": [], - "ReturnType": "System.Type", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Type", - "Parameters": [ - { - "Name": "value", - "Type": "System.Type" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_StatusCode", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_StatusCode", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsDefaultResponse", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IsDefaultResponse", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnProvidersExecuting", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescriptionProviderContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnProvidersExecuted", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescriptionProviderContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Mvc/Mvc.Core/ref/Microsoft.AspNetCore.Mvc.Core.netcoreapp3.0.cs b/src/Mvc/Mvc.Core/ref/Microsoft.AspNetCore.Mvc.Core.netcoreapp3.0.cs index a1512c456a..78d9ab2109 100644 --- a/src/Mvc/Mvc.Core/ref/Microsoft.AspNetCore.Mvc.Core.netcoreapp3.0.cs +++ b/src/Mvc/Mvc.Core/ref/Microsoft.AspNetCore.Mvc.Core.netcoreapp3.0.cs @@ -3,16 +3,21 @@ namespace Microsoft.AspNetCore.Builder { + public sealed partial class ControllerActionEndpointConventionBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder + { + internal ControllerActionEndpointConventionBuilder() { } + public void Add(System.Action convention) { } + } public static partial class ControllerEndpointRouteBuilderExtensions { - public static void MapAreaControllerRoute(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string name, string areaName, string pattern, object defaults = null, object constraints = null, object dataTokens = null) { } - public static void MapControllerRoute(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string name, string pattern, object defaults = null, object constraints = null, object dataTokens = null) { } - public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder MapControllers(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints) { throw null; } - public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder MapDefaultControllerRoute(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints) { throw null; } - public static void MapFallbackToAreaController(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string action, string controller, string area) { } - public static void MapFallbackToAreaController(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern, string action, string controller, string area) { } - public static void MapFallbackToController(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string action, string controller) { } - public static void MapFallbackToController(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern, string action, string controller) { } + public static Microsoft.AspNetCore.Builder.ControllerActionEndpointConventionBuilder MapAreaControllerRoute(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string name, string areaName, string pattern, object defaults = null, object constraints = null, object dataTokens = null) { throw null; } + public static Microsoft.AspNetCore.Builder.ControllerActionEndpointConventionBuilder MapControllerRoute(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string name, string pattern, object defaults = null, object constraints = null, object dataTokens = null) { throw null; } + public static Microsoft.AspNetCore.Builder.ControllerActionEndpointConventionBuilder MapControllers(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints) { throw null; } + public static Microsoft.AspNetCore.Builder.ControllerActionEndpointConventionBuilder MapDefaultControllerRoute(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints) { throw null; } + public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder MapFallbackToAreaController(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string action, string controller, string area) { throw null; } + public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder MapFallbackToAreaController(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern, string action, string controller, string area) { throw null; } + public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder MapFallbackToController(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string action, string controller) { throw null; } + public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder MapFallbackToController(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern, string action, string controller) { throw null; } } public static partial class MvcApplicationBuilderExtensions { @@ -209,7 +214,6 @@ namespace Microsoft.AspNetCore.Mvc } public enum CompatibilityVersion { - Latest = 2147483647, [System.ObsoleteAttribute("This CompatibilityVersion value is obsolete. The recommended alternatives are Version_3_0 or later.")] Version_2_0 = 0, [System.ObsoleteAttribute("This CompatibilityVersion value is obsolete. The recommended alternatives are Version_3_0 or later.")] @@ -217,6 +221,7 @@ namespace Microsoft.AspNetCore.Mvc [System.ObsoleteAttribute("This CompatibilityVersion value is obsolete. The recommended alternatives are Version_3_0 or later.")] Version_2_2 = 2, Version_3_0 = 3, + Latest = 2147483647, } [Microsoft.AspNetCore.Mvc.Infrastructure.DefaultStatusCodeAttribute(409)] public partial class ConflictObjectResult : Microsoft.AspNetCore.Mvc.ObjectResult @@ -2115,8 +2120,8 @@ namespace Microsoft.AspNetCore.Mvc.ModelBinding { public enum BindingBehavior { - Never = 1, Optional = 0, + Never = 1, Required = 2, } [System.AttributeUsageAttribute(System.AttributeTargets.Class | System.AttributeTargets.Parameter | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)] diff --git a/src/Mvc/Mvc.Core/src/Builder/ControllerActionEndpointConventionBuilder.cs b/src/Mvc/Mvc.Core/src/Builder/ControllerActionEndpointConventionBuilder.cs new file mode 100644 index 0000000000..99dab64bf7 --- /dev/null +++ b/src/Mvc/Mvc.Core/src/Builder/ControllerActionEndpointConventionBuilder.cs @@ -0,0 +1,46 @@ +// 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; + +namespace Microsoft.AspNetCore.Builder +{ + /// + /// Builds conventions that will be used for customization of instances. + /// + /// + /// This interface is used at application startup to customize endpoints for the application. + /// + public sealed class ControllerActionEndpointConventionBuilder : IEndpointConventionBuilder + { + // The lock is shared with the data source. + private readonly object _lock; + private readonly List> _conventions; + + internal ControllerActionEndpointConventionBuilder(object @lock, List> conventions) + { + _lock = @lock; + _conventions = conventions; + } + + /// + /// 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) + { + if (convention == null) + { + throw new ArgumentNullException(nameof(convention)); + } + + // The lock is shared with the data source. We want to lock here + // to avoid mutating this list while its read in the data source. + lock (_lock) + { + _conventions.Add(convention); + } + } + } +} diff --git a/src/Mvc/Mvc.Core/src/Builder/ControllerEndpointRouteBuilderExtensions.cs b/src/Mvc/Mvc.Core/src/Builder/ControllerEndpointRouteBuilderExtensions.cs index 01569e59dd..ae1a408f36 100644 --- a/src/Mvc/Mvc.Core/src/Builder/ControllerEndpointRouteBuilderExtensions.cs +++ b/src/Mvc/Mvc.Core/src/Builder/ControllerEndpointRouteBuilderExtensions.cs @@ -21,8 +21,8 @@ namespace Microsoft.AspNetCore.Builder /// Adds endpoints for controller actions to the without specifying any routes. /// /// The . - /// An for endpoints associated with controller actions. - public static IEndpointConventionBuilder MapControllers(this IEndpointRouteBuilder endpoints) + /// An for endpoints associated with controller actions. + public static ControllerActionEndpointConventionBuilder MapControllers(this IEndpointRouteBuilder endpoints) { if (endpoints == null) { @@ -31,7 +31,7 @@ namespace Microsoft.AspNetCore.Builder EnsureControllerServices(endpoints); - return GetOrCreateDataSource(endpoints); + return GetOrCreateDataSource(endpoints).DefaultBuilder; } /// @@ -39,8 +39,10 @@ namespace Microsoft.AspNetCore.Builder /// {controller=Home}/{action=Index}/{id?}. /// /// The . - /// An for endpoints associated with controller actions. - public static IEndpointConventionBuilder MapDefaultControllerRoute(this IEndpointRouteBuilder endpoints) + /// + /// An for endpoints associated with controller actions for this route. + /// + public static ControllerActionEndpointConventionBuilder MapDefaultControllerRoute(this IEndpointRouteBuilder endpoints) { if (endpoints == null) { @@ -50,14 +52,12 @@ namespace Microsoft.AspNetCore.Builder EnsureControllerServices(endpoints); var dataSource = GetOrCreateDataSource(endpoints); - dataSource.AddRoute( + return dataSource.AddRoute( "default", "{controller=Home}/{action=Index}/{id?}", defaults: null, constraints: null, dataTokens: null); - - return dataSource; } /// @@ -80,7 +80,10 @@ namespace Microsoft.AspNetCore.Builder /// An object that contains data tokens for the route. The object's properties represent the names and /// values of the data tokens. /// - public static void MapControllerRoute( + /// + /// An for endpoints associated with controller actions for this route. + /// + public static ControllerActionEndpointConventionBuilder MapControllerRoute( this IEndpointRouteBuilder endpoints, string name, string pattern, @@ -96,7 +99,7 @@ namespace Microsoft.AspNetCore.Builder EnsureControllerServices(endpoints); var dataSource = GetOrCreateDataSource(endpoints); - dataSource.AddRoute( + return dataSource.AddRoute( name, pattern, new RouteValueDictionary(defaults), @@ -125,7 +128,10 @@ namespace Microsoft.AspNetCore.Builder /// An object that contains data tokens for the route. The object's properties represent the names and /// values of the data tokens. /// - public static void MapAreaControllerRoute( + /// + /// An for endpoints associated with controller actions for this route. + /// + public static ControllerActionEndpointConventionBuilder MapAreaControllerRoute( this IEndpointRouteBuilder endpoints, string name, string areaName, @@ -150,7 +156,7 @@ namespace Microsoft.AspNetCore.Builder var constraintsDictionary = new RouteValueDictionary(constraints); constraintsDictionary["area"] = constraintsDictionary["area"] ?? new StringRouteConstraint(areaName); - endpoints.MapControllerRoute(name, pattern, defaultsDictionary, constraintsDictionary, dataTokens); + return endpoints.MapControllerRoute(name, pattern, defaultsDictionary, constraintsDictionary, dataTokens); } /// @@ -183,7 +189,7 @@ namespace Microsoft.AspNetCore.Builder /// actions match these values, the result is implementation defined. /// /// - public static void MapFallbackToController( + public static IEndpointConventionBuilder MapFallbackToController( this IEndpointRouteBuilder endpoints, string action, string controller) @@ -210,11 +216,13 @@ namespace Microsoft.AspNetCore.Builder // Maps a fallback endpoint with an empty delegate. This is OK because // we don't expect the delegate to run. - endpoints.MapFallback(context => Task.CompletedTask).Add(b => + var builder = endpoints.MapFallback(context => Task.CompletedTask); + builder.Add(b => { // MVC registers a policy that looks for this metadata. b.Metadata.Add(CreateDynamicControllerMetadata(action, controller, area: null)); }); + return builder; } /// @@ -251,7 +259,7 @@ namespace Microsoft.AspNetCore.Builder /// actions match these values, the result is implementation defined. /// /// - public static void MapFallbackToController( + public static IEndpointConventionBuilder MapFallbackToController( this IEndpointRouteBuilder endpoints, string pattern, string action, @@ -284,11 +292,13 @@ namespace Microsoft.AspNetCore.Builder // Maps a fallback endpoint with an empty delegate. This is OK because // we don't expect the delegate to run. - endpoints.MapFallback(pattern, context => Task.CompletedTask).Add(b => + var builder = endpoints.MapFallback(pattern, context => Task.CompletedTask); + builder.Add(b => { // MVC registers a policy that looks for this metadata. b.Metadata.Add(CreateDynamicControllerMetadata(action, controller, area: null)); }); + return builder; } /// @@ -322,7 +332,7 @@ namespace Microsoft.AspNetCore.Builder /// actions match these values, the result is implementation defined. /// /// - public static void MapFallbackToAreaController( + public static IEndpointConventionBuilder MapFallbackToAreaController( this IEndpointRouteBuilder endpoints, string action, string controller, @@ -350,11 +360,13 @@ namespace Microsoft.AspNetCore.Builder // Maps a fallback endpoint with an empty delegate. This is OK because // we don't expect the delegate to run. - endpoints.MapFallback(context => Task.CompletedTask).Add(b => + var builder = endpoints.MapFallback(context => Task.CompletedTask); + builder.Add(b => { // MVC registers a policy that looks for this metadata. b.Metadata.Add(CreateDynamicControllerMetadata(action, controller, area)); }); + return builder; } /// @@ -392,7 +404,7 @@ namespace Microsoft.AspNetCore.Builder /// actions match these values, the result is implementation defined. /// /// - public static void MapFallbackToAreaController( + public static IEndpointConventionBuilder MapFallbackToAreaController( this IEndpointRouteBuilder endpoints, string pattern, string action, @@ -426,11 +438,13 @@ namespace Microsoft.AspNetCore.Builder // Maps a fallback endpoint with an empty delegate. This is OK because // we don't expect the delegate to run. - endpoints.MapFallback(pattern, context => Task.CompletedTask).Add(b => + var builder = endpoints.MapFallback(pattern, context => Task.CompletedTask); + builder.Add(b => { // MVC registers a policy that looks for this metadata. b.Metadata.Add(CreateDynamicControllerMetadata(action, controller, area)); }); + return builder; } private static DynamicControllerMetadata CreateDynamicControllerMetadata(string action, string controller, string area) diff --git a/src/Mvc/Mvc.Core/src/Filters/DefaultFilterProvider.cs b/src/Mvc/Mvc.Core/src/Filters/DefaultFilterProvider.cs index 03c7c62004..f8bae84325 100644 --- a/src/Mvc/Mvc.Core/src/Filters/DefaultFilterProvider.cs +++ b/src/Mvc/Mvc.Core/src/Filters/DefaultFilterProvider.cs @@ -21,10 +21,12 @@ namespace Microsoft.AspNetCore.Mvc.Filters if (context.ActionContext.ActionDescriptor.FilterDescriptors != null) { - // Perf: Avoid allocations - for (var i = 0; i < context.Results.Count; i++) + var results = context.Results; + // Perf: Avoid allocating enumerator and read interface .Count once rather than per iteration + var resultsCount = results.Count; + for (var i = 0; i < resultsCount; i++) { - ProvideFilter(context, context.Results[i]); + ProvideFilter(context, results[i]); } } } diff --git a/src/Mvc/Mvc.Core/src/MvcOptions.cs b/src/Mvc/Mvc.Core/src/MvcOptions.cs index 3fa005f96c..f9e13f6317 100644 --- a/src/Mvc/Mvc.Core/src/MvcOptions.cs +++ b/src/Mvc/Mvc.Core/src/MvcOptions.cs @@ -103,7 +103,8 @@ namespace Microsoft.AspNetCore.Mvc public FormatterCollection InputFormatters { get; } /// - /// Gets or sets the flag to buffer the request body in input formatters. Default is false. + /// Gets or sets a value that determines if buffering is disabled for input formatters that + /// synchronously read from the HTTP request body. /// public bool SuppressInputFormatterBuffering { get; set; } diff --git a/src/Mvc/Mvc.Core/src/Routing/ActionEndpointDataSourceBase.cs b/src/Mvc/Mvc.Core/src/Routing/ActionEndpointDataSourceBase.cs index 557df014b0..fc90a5c23f 100644 --- a/src/Mvc/Mvc.Core/src/Routing/ActionEndpointDataSourceBase.cs +++ b/src/Mvc/Mvc.Core/src/Routing/ActionEndpointDataSourceBase.cs @@ -14,7 +14,7 @@ using Microsoft.Extensions.Primitives; namespace Microsoft.AspNetCore.Mvc.Routing { - internal abstract class ActionEndpointDataSourceBase : EndpointDataSource, IEndpointConventionBuilder, IDisposable + internal abstract class ActionEndpointDataSourceBase : EndpointDataSource, IDisposable { private readonly IActionDescriptorCollectionProvider _actions; @@ -23,19 +23,20 @@ namespace Microsoft.AspNetCore.Mvc.Routing // all of the threading behaviors. protected readonly object Lock = new object(); + // Protected for READS and WRITES. + protected readonly List> Conventions; + private List _endpoints; private CancellationTokenSource _cancellationTokenSource; private IChangeToken _changeToken; private IDisposable _disposable; - // Protected for READS and WRITES. - private readonly List> _conventions; public ActionEndpointDataSourceBase(IActionDescriptorCollectionProvider actions) { _actions = actions; - _conventions = new List>(); + Conventions = new List>(); } public override IReadOnlyList Endpoints @@ -67,19 +68,6 @@ namespace Microsoft.AspNetCore.Mvc.Routing } } - public void Add(Action convention) - { - if (convention == null) - { - throw new ArgumentNullException(nameof(convention)); - } - - lock (Lock) - { - _conventions.Add(convention); - } - } - public override IChangeToken GetChangeToken() { Initialize(); @@ -113,7 +101,7 @@ namespace Microsoft.AspNetCore.Mvc.Routing { lock (Lock) { - var endpoints = CreateEndpoints(_actions.ActionDescriptors.Items, _conventions); + var endpoints = CreateEndpoints(_actions.ActionDescriptors.Items, Conventions); // See comments in DefaultActionDescriptorCollectionProvider. These steps are done // in a specific order to ensure callers always see a consistent state. diff --git a/src/Mvc/Mvc.Core/src/Routing/ActionEndpointFactory.cs b/src/Mvc/Mvc.Core/src/Routing/ActionEndpointFactory.cs index ed1e2f5f42..bbbd974d83 100644 --- a/src/Mvc/Mvc.Core/src/Routing/ActionEndpointFactory.cs +++ b/src/Mvc/Mvc.Core/src/Routing/ActionEndpointFactory.cs @@ -33,6 +33,7 @@ namespace Microsoft.AspNetCore.Mvc.Routing public void AddEndpoints( List endpoints, + HashSet routeNames, ActionDescriptor action, IReadOnlyList routes, IReadOnlyList> conventions) @@ -42,6 +43,11 @@ namespace Microsoft.AspNetCore.Mvc.Routing throw new ArgumentNullException(nameof(endpoints)); } + if (routeNames == null) + { + throw new ArgumentNullException(nameof(routeNames)); + } + if (action == null) { throw new ArgumentNullException(nameof(action)); @@ -76,6 +82,7 @@ namespace Microsoft.AspNetCore.Mvc.Routing // We suppress link generation for each conventionally routed endpoint. We generate a single endpoint per-route // to handle link generation. var builder = CreateEndpoint( + routeNames, action, updatedRoutePattern, route.RouteName, @@ -83,7 +90,8 @@ namespace Microsoft.AspNetCore.Mvc.Routing route.DataTokens, suppressLinkGeneration: true, suppressPathMatching: false, - conventions); + conventions, + route.Conventions); endpoints.Add(builder); } } @@ -102,6 +110,7 @@ namespace Microsoft.AspNetCore.Mvc.Routing } var endpoint = CreateEndpoint( + routeNames, action, updatedRoutePattern, action.AttributeRouteInfo.Name, @@ -109,12 +118,18 @@ namespace Microsoft.AspNetCore.Mvc.Routing dataTokens: null, action.AttributeRouteInfo.SuppressLinkGeneration, action.AttributeRouteInfo.SuppressPathMatching, - conventions); + conventions, + perRouteConventions: Array.Empty>()); endpoints.Add(endpoint); } } - public void AddConventionalLinkGenerationRoute(List endpoints, HashSet keys, ConventionalRouteEntry route, IReadOnlyList> conventions) + public void AddConventionalLinkGenerationRoute( + List endpoints, + HashSet routeNames, + HashSet keys, + ConventionalRouteEntry route, + IReadOnlyList> conventions) { if (endpoints == null) { @@ -172,11 +187,26 @@ namespace Microsoft.AspNetCore.Mvc.Routing builder.Metadata.Add(new RouteNameMetadata(route.RouteName)); } + // See comments on the other usage of EndpointNameMetadata in this class. + // + // The set of cases for a conventional route are much simpler. We don't need to check + // for Endpoint Name already exising here because there's no way to add an attribute to + // a conventional route. + if (route.RouteName != null && routeNames.Add(route.RouteName)) + { + builder.Metadata.Add(new EndpointNameMetadata(route.RouteName)); + } + for (var i = 0; i < conventions.Count; i++) { conventions[i](builder); } + for (var i = 0; i < route.Conventions.Count; i++) + { + route.Conventions[i](builder); + } + endpoints.Add((RouteEndpoint)builder.Build()); } @@ -233,6 +263,7 @@ namespace Microsoft.AspNetCore.Mvc.Routing } private RouteEndpoint CreateEndpoint( + HashSet routeNames, ActionDescriptor action, RoutePattern routePattern, string routeName, @@ -240,7 +271,8 @@ namespace Microsoft.AspNetCore.Mvc.Routing RouteValueDictionary dataTokens, bool suppressLinkGeneration, bool suppressPathMatching, - IReadOnlyList> conventions) + IReadOnlyList> conventions, + IReadOnlyList> perRouteConventions) { // We don't want to close over the retrieve the Invoker Factory in ActionEndpointFactory as @@ -254,7 +286,9 @@ namespace Microsoft.AspNetCore.Mvc.Routing RequestDelegate requestDelegate = (context) => { - var routeData = context.GetRouteData(); + var routeData = new RouteData(); + routeData.PushState(router: null, context.Request.RouteValues, dataTokens); + var actionContext = new ActionContext(context, routeData, action); if (invokerFactory == null) @@ -282,6 +316,27 @@ namespace Microsoft.AspNetCore.Mvc.Routing builder.Metadata.Add(action); + // MVC guarantees that when two of it's endpoints have the same route name they are equivalent. + // + // The case for this looks like: + // + // [HttpGet] + // [HttpPost] + // [Route("/Foo", Name = "Foo")] + // public void DoStuff() { } + // + // However, Endpoint Routing requires Endpoint Names to be unique. + // + // We can use the route name as the endpoint name if it's not set. Note that there's no + // attribute for this today so it's unlikley. Using endpoint name on a + if (routeName != null && + !suppressLinkGeneration && + routeNames.Add(routeName) && + builder.Metadata.OfType().LastOrDefault()?.EndpointName == null) + { + builder.Metadata.Add(new EndpointNameMetadata(routeName)); + } + if (dataTokens != null) { builder.Metadata.Add(new DataTokensMetadata(dataTokens)); @@ -340,6 +395,11 @@ namespace Microsoft.AspNetCore.Mvc.Routing conventions[i](builder); } + for (var i = 0; i < perRouteConventions.Count; i++) + { + perRouteConventions[i](builder); + } + return (RouteEndpoint)builder.Build(); } } diff --git a/src/Mvc/Mvc.Core/src/Routing/ConsumesMatcherPolicy.cs b/src/Mvc/Mvc.Core/src/Routing/ConsumesMatcherPolicy.cs index ca1ce032a9..dbe36b5d6b 100644 --- a/src/Mvc/Mvc.Core/src/Routing/ConsumesMatcherPolicy.cs +++ b/src/Mvc/Mvc.Core/src/Routing/ConsumesMatcherPolicy.cs @@ -60,11 +60,6 @@ namespace Microsoft.AspNetCore.Mvc.Routing throw new ArgumentNullException(nameof(httpContext)); } - if (context == null) - { - throw new ArgumentNullException(nameof(context)); - } - if (candidates == null) { throw new ArgumentNullException(nameof(candidates)); diff --git a/src/Mvc/Mvc.Core/src/Routing/ControllerActionEndpointDataSource.cs b/src/Mvc/Mvc.Core/src/Routing/ControllerActionEndpointDataSource.cs index 98f2bd474b..6f9e4d492f 100644 --- a/src/Mvc/Mvc.Core/src/Routing/ControllerActionEndpointDataSource.cs +++ b/src/Mvc/Mvc.Core/src/Routing/ControllerActionEndpointDataSource.cs @@ -3,14 +3,12 @@ using System; using System.Collections.Generic; -using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc.Abstractions; using Microsoft.AspNetCore.Mvc.Controllers; using Microsoft.AspNetCore.Mvc.Infrastructure; using Microsoft.AspNetCore.Routing; -using Microsoft.AspNetCore.Routing.Patterns; namespace Microsoft.AspNetCore.Mvc.Routing { @@ -27,7 +25,7 @@ namespace Microsoft.AspNetCore.Mvc.Routing : base(actions) { _endpointFactory = endpointFactory; - + _routes = new List(); // In traditional conventional routing setup, the routes defined by a user have a order @@ -38,13 +36,16 @@ namespace Microsoft.AspNetCore.Mvc.Routing // This is for scenarios dealing with migrating existing Router based code to Endpoint Routing world. _order = 1; + DefaultBuilder = new ControllerActionEndpointConventionBuilder(Lock, Conventions); + // IMPORTANT: this needs to be the last thing we do in the constructor. // Change notifications can happen immediately! Subscribe(); } + public ControllerActionEndpointConventionBuilder DefaultBuilder { get; } - public void AddRoute( + public ControllerActionEndpointConventionBuilder AddRoute( string routeName, string pattern, RouteValueDictionary defaults, @@ -53,7 +54,9 @@ namespace Microsoft.AspNetCore.Mvc.Routing { lock (Lock) { - _routes.Add(new ConventionalRouteEntry(routeName, pattern, defaults, constraints, dataTokens, _order++)); + var conventions = new List>(); + _routes.Add(new ConventionalRouteEntry(routeName, pattern, defaults, constraints, dataTokens, _order++, conventions)); + return new ControllerActionEndpointConventionBuilder(Lock, conventions); } } @@ -62,6 +65,11 @@ namespace Microsoft.AspNetCore.Mvc.Routing var endpoints = new List(); var keys = new HashSet(StringComparer.OrdinalIgnoreCase); + // MVC guarantees that when two of it's endpoints have the same route name they are equivalent. + // + // However, Endpoint Routing requires Endpoint Names to be unique. + var routeNames = new HashSet(StringComparer.OrdinalIgnoreCase); + // For each controller action - add the relevant endpoints. // // 1. If the action is attribute routed, we use that information verbatim @@ -72,7 +80,7 @@ namespace Microsoft.AspNetCore.Mvc.Routing { if (actions[i] is ControllerActionDescriptor action) { - _endpointFactory.AddEndpoints(endpoints, action, _routes, conventions); + _endpointFactory.AddEndpoints(endpoints, routeNames, action, _routes, conventions); if (_routes.Count > 0) { @@ -91,7 +99,7 @@ namespace Microsoft.AspNetCore.Mvc.Routing for (var i = 0; i < _routes.Count; i++) { var route = _routes[i]; - _endpointFactory.AddConventionalLinkGenerationRoute(endpoints, keys, route, conventions); + _endpointFactory.AddConventionalLinkGenerationRoute(endpoints, routeNames, keys, route, conventions); } return endpoints; diff --git a/src/Mvc/Mvc.Core/src/Routing/ConventionalRouteEntry.cs b/src/Mvc/Mvc.Core/src/Routing/ConventionalRouteEntry.cs index b8cfd45564..2f44330f51 100644 --- a/src/Mvc/Mvc.Core/src/Routing/ConventionalRouteEntry.cs +++ b/src/Mvc/Mvc.Core/src/Routing/ConventionalRouteEntry.cs @@ -4,6 +4,7 @@ using System; using System.Collections.Generic; using System.Globalization; +using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Routing; using Microsoft.AspNetCore.Routing.Patterns; @@ -15,6 +16,7 @@ namespace Microsoft.AspNetCore.Mvc.Routing public readonly string RouteName; public readonly RouteValueDictionary DataTokens; public readonly int Order; + public readonly IReadOnlyList> Conventions; public ConventionalRouteEntry( string routeName, @@ -22,11 +24,13 @@ namespace Microsoft.AspNetCore.Mvc.Routing RouteValueDictionary defaults, IDictionary constraints, RouteValueDictionary dataTokens, - int order) + int order, + List> conventions) { RouteName = routeName; DataTokens = dataTokens; Order = order; + Conventions = conventions; try { diff --git a/src/Mvc/Mvc.Core/src/Routing/DynamicControllerEndpointMatcherPolicy.cs b/src/Mvc/Mvc.Core/src/Routing/DynamicControllerEndpointMatcherPolicy.cs index 0dcc828c5f..765ffac3ca 100644 --- a/src/Mvc/Mvc.Core/src/Routing/DynamicControllerEndpointMatcherPolicy.cs +++ b/src/Mvc/Mvc.Core/src/Routing/DynamicControllerEndpointMatcherPolicy.cs @@ -66,12 +66,7 @@ namespace Microsoft.AspNetCore.Mvc.Routing { throw new ArgumentNullException(nameof(httpContext)); } - - if (context == null) - { - throw new ArgumentNullException(nameof(context)); - } - + if (candidates == null) { throw new ArgumentNullException(nameof(candidates)); diff --git a/src/Mvc/Mvc.Core/src/baseline.netcore.json b/src/Mvc/Mvc.Core/src/baseline.netcore.json deleted file mode 100644 index b0e0b7509f..0000000000 --- a/src/Mvc/Mvc.Core/src/baseline.netcore.json +++ /dev/null @@ -1,26187 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Mvc.Core, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.Builder.MvcApplicationBuilderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseMvc", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseMvcWithDefaultRoute", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseMvc", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "configureRoutes", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.MvcAreaRouteBuilderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "MapAreaRoute", - "Parameters": [ - { - "Name": "routeBuilder", - "Type": "Microsoft.AspNetCore.Routing.IRouteBuilder" - }, - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "areaName", - "Type": "System.String" - }, - { - "Name": "template", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Routing.IRouteBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MapAreaRoute", - "Parameters": [ - { - "Name": "routeBuilder", - "Type": "Microsoft.AspNetCore.Routing.IRouteBuilder" - }, - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "areaName", - "Type": "System.String" - }, - { - "Name": "template", - "Type": "System.String" - }, - { - "Name": "defaults", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Routing.IRouteBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MapAreaRoute", - "Parameters": [ - { - "Name": "routeBuilder", - "Type": "Microsoft.AspNetCore.Routing.IRouteBuilder" - }, - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "areaName", - "Type": "System.String" - }, - { - "Name": "template", - "Type": "System.String" - }, - { - "Name": "defaults", - "Type": "System.Object" - }, - { - "Name": "constraints", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Routing.IRouteBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MapAreaRoute", - "Parameters": [ - { - "Name": "routeBuilder", - "Type": "Microsoft.AspNetCore.Routing.IRouteBuilder" - }, - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "areaName", - "Type": "System.String" - }, - { - "Name": "template", - "Type": "System.String" - }, - { - "Name": "defaults", - "Type": "System.Object" - }, - { - "Name": "constraints", - "Type": "System.Object" - }, - { - "Name": "dataTokens", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Routing.IRouteBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.AcceptedAtActionResult", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ObjectResult", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_UrlHelper", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.IUrlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_UrlHelper", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.IUrlHelper" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ActionName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ActionName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ControllerName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ControllerName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RouteValues", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.RouteValueDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RouteValues", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnFormatting", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.AcceptedAtRouteResult", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ObjectResult", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_UrlHelper", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.IUrlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_UrlHelper", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.IUrlHelper" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RouteName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RouteName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RouteValues", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.RouteValueDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RouteValues", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnFormatting", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.AcceptedResult", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ObjectResult", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Location", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Location", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnFormatting", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "location", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "locationUri", - "Type": "System.Uri" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.AcceptVerbsAttribute", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "BaseType": "System.Attribute", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Routing.IActionHttpMethodProvider", - "Microsoft.AspNetCore.Mvc.Routing.IRouteTemplateProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_HttpMethods", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Routing.IActionHttpMethodProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Route", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Route", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Order", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Name", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Routing.IRouteTemplateProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Name", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "method", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "methods", - "Type": "System.String[]", - "IsParams": true - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ActionContextAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ActionNameAttribute", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "BaseType": "System.Attribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Name", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ActionResult", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.IActionResult" - ], - "Members": [ - { - "Kind": "Method", - "Name": "ExecuteResultAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.IActionResult", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ExecuteResult", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ActionResult", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Infrastructure.IConvertToActionResult" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Result", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ActionResult", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Value", - "Parameters": [], - "ReturnType": "T0", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "op_Implicit", - "Parameters": [ - { - "Name": "value", - "Type": "T0" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ActionResult", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "op_Implicit", - "Parameters": [ - { - "Name": "result", - "Type": "Microsoft.AspNetCore.Mvc.ActionResult" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ActionResult", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "value", - "Type": "T0" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "result", - "Type": "Microsoft.AspNetCore.Mvc.ActionResult" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TValue", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApiBehaviorOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_InvalidModelStateResponseFactory", - "Parameters": [], - "ReturnType": "System.Func", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_InvalidModelStateResponseFactory", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SuppressModelStateInvalidFilter", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SuppressModelStateInvalidFilter", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SuppressInferBindingSourcesForParameters", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SuppressInferBindingSourcesForParameters", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SuppressConsumesConstraintForFormFileParameters", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SuppressConsumesConstraintForFormFileParameters", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApiControllerAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ControllerAttribute", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Internal.IApiBehaviorMetadata" - ], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApiExplorerSettingsAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionGroupNameProvider", - "Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionVisibilityProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_GroupName", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionGroupNameProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_GroupName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IgnoreApi", - "Parameters": [], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionVisibilityProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IgnoreApi", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.AreaAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.Routing.RouteValueAttribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "areaName", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.BadRequestObjectResult", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ObjectResult", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "error", - "Type": "System.Object" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "modelState", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.BadRequestResult", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.StatusCodeResult", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.BindAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IModelNameProvider", - "Microsoft.AspNetCore.Mvc.ModelBinding.IPropertyFilterProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Include", - "Parameters": [], - "ReturnType": "System.String[]", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Prefix", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Prefix", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PropertyFilter", - "Parameters": [], - "ReturnType": "System.Func", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IPropertyFilterProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "include", - "Type": "System.String[]", - "IsParams": true - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.BindPropertiesAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_SupportsGet", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SupportsGet", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.BindPropertyAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IModelNameProvider", - "Microsoft.AspNetCore.Mvc.ModelBinding.IBinderTypeProviderMetadata", - "Microsoft.AspNetCore.Mvc.ModelBinding.IRequestPredicateProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_BindingSource", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SupportsGet", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SupportsGet", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_BinderType", - "Parameters": [], - "ReturnType": "System.Type", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IBinderTypeProviderMetadata", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_BinderType", - "Parameters": [ - { - "Name": "value", - "Type": "System.Type" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_BindingSource", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Name", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelNameProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Name", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.CacheProfile", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Duration", - "Parameters": [], - "ReturnType": "System.Nullable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Duration", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Location", - "Parameters": [], - "ReturnType": "System.Nullable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Location", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_NoStore", - "Parameters": [], - "ReturnType": "System.Nullable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_NoStore", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_VaryByHeader", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_VaryByHeader", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_VaryByQueryKeys", - "Parameters": [], - "ReturnType": "System.String[]", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_VaryByQueryKeys", - "Parameters": [ - { - "Name": "value", - "Type": "System.String[]" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ChallengeResult", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ActionResult", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ExecuteResultAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.IActionResult", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AuthenticationSchemes", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AuthenticationSchemes", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IList" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Properties", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationProperties", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Properties", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "authenticationScheme", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "authenticationSchemes", - "Type": "System.Collections.Generic.IList" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "authenticationScheme", - "Type": "System.String" - }, - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "authenticationSchemes", - "Type": "System.Collections.Generic.IList" - }, - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.CompatibilityVersion", - "Visibility": "Public", - "Kind": "Enumeration", - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "Version_2_0", - "Parameters": [], - "GenericParameter": [], - "Literal": "0" - }, - { - "Kind": "Field", - "Name": "Version_2_1", - "Parameters": [], - "GenericParameter": [], - "Literal": "1" - }, - { - "Kind": "Field", - "Name": "Latest", - "Parameters": [], - "GenericParameter": [], - "Literal": "2147483647" - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ConflictObjectResult", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ObjectResult", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "error", - "Type": "System.Object" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "modelState", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ConflictResult", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.StatusCodeResult", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ConsumesAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IResourceFilter", - "Microsoft.AspNetCore.Mvc.Internal.IConsumesActionConstraint", - "Microsoft.AspNetCore.Mvc.ApiExplorer.IApiRequestMetadataProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Accept", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintContext" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraint", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ContentTypes", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Formatters.MediaTypeCollection", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ContentTypes", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.MediaTypeCollection" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnResourceExecuting", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.ResourceExecutingContext" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IResourceFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnResourceExecuted", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.ResourceExecutedContext" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IResourceFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetContentTypes", - "Parameters": [ - { - "Name": "contentTypes", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.MediaTypeCollection" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApiExplorer.IApiRequestMetadataProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "contentType", - "Type": "System.String" - }, - { - "Name": "otherContentTypes", - "Type": "System.String[]", - "IsParams": true - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "ConsumesActionConstraintOrder", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ContentResult", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ActionResult", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ExecuteResultAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.IActionResult", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Content", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Content", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ContentType", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ContentType", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_StatusCode", - "Parameters": [], - "ReturnType": "System.Nullable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_StatusCode", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ControllerAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ControllerBase", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_HttpContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HttpContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Request", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HttpRequest", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Response", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HttpResponse", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RouteData", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.RouteData", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ModelState", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ControllerContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ControllerContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ControllerContext", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ControllerContext" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MetadataProvider", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MetadataProvider", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ModelBinderFactory", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ModelBinderFactory", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderFactory" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Url", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.IUrlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Url", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.IUrlHelper" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ObjectValidator", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IObjectModelValidator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ObjectValidator", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IObjectModelValidator" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_User", - "Parameters": [], - "ReturnType": "System.Security.Claims.ClaimsPrincipal", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "StatusCode", - "Parameters": [ - { - "Name": "statusCode", - "Type": "System.Int32" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.StatusCodeResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "StatusCode", - "Parameters": [ - { - "Name": "statusCode", - "Type": "System.Int32" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ObjectResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Content", - "Parameters": [ - { - "Name": "content", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ContentResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Content", - "Parameters": [ - { - "Name": "content", - "Type": "System.String" - }, - { - "Name": "contentType", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ContentResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Content", - "Parameters": [ - { - "Name": "content", - "Type": "System.String" - }, - { - "Name": "contentType", - "Type": "System.String" - }, - { - "Name": "contentEncoding", - "Type": "System.Text.Encoding" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ContentResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Content", - "Parameters": [ - { - "Name": "content", - "Type": "System.String" - }, - { - "Name": "contentType", - "Type": "Microsoft.Net.Http.Headers.MediaTypeHeaderValue" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ContentResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "NoContent", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.NoContentResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Ok", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.OkResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Ok", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.OkObjectResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Redirect", - "Parameters": [ - { - "Name": "url", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectPermanent", - "Parameters": [ - { - "Name": "url", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectPreserveMethod", - "Parameters": [ - { - "Name": "url", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectPermanentPreserveMethod", - "Parameters": [ - { - "Name": "url", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "LocalRedirect", - "Parameters": [ - { - "Name": "localUrl", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.LocalRedirectResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "LocalRedirectPermanent", - "Parameters": [ - { - "Name": "localUrl", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.LocalRedirectResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "LocalRedirectPreserveMethod", - "Parameters": [ - { - "Name": "localUrl", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.LocalRedirectResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "LocalRedirectPermanentPreserveMethod", - "Parameters": [ - { - "Name": "localUrl", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.LocalRedirectResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToAction", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToAction", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToAction", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToAction", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToAction", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToAction", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToAction", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToActionPreserveMethod", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String", - "DefaultValue": "null" - }, - { - "Name": "controllerName", - "Type": "System.String", - "DefaultValue": "null" - }, - { - "Name": "routeValues", - "Type": "System.Object", - "DefaultValue": "null" - }, - { - "Name": "fragment", - "Type": "System.String", - "DefaultValue": "null" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToActionPermanent", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToActionPermanent", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToActionPermanent", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToActionPermanent", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToActionPermanent", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToActionPermanent", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToActionPermanentPreserveMethod", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String", - "DefaultValue": "null" - }, - { - "Name": "controllerName", - "Type": "System.String", - "DefaultValue": "null" - }, - { - "Name": "routeValues", - "Type": "System.Object", - "DefaultValue": "null" - }, - { - "Name": "fragment", - "Type": "System.String", - "DefaultValue": "null" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToRoute", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToRouteResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToRoute", - "Parameters": [ - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToRouteResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToRoute", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToRouteResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToRoute", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToRouteResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToRoute", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToRouteResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToRoutePreserveMethod", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String", - "DefaultValue": "null" - }, - { - "Name": "routeValues", - "Type": "System.Object", - "DefaultValue": "null" - }, - { - "Name": "fragment", - "Type": "System.String", - "DefaultValue": "null" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToRouteResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToRoutePermanent", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToRouteResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToRoutePermanent", - "Parameters": [ - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToRouteResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToRoutePermanent", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToRouteResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToRoutePermanent", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToRouteResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToRoutePermanent", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToRouteResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToRoutePermanentPreserveMethod", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String", - "DefaultValue": "null" - }, - { - "Name": "routeValues", - "Type": "System.Object", - "DefaultValue": "null" - }, - { - "Name": "fragment", - "Type": "System.String", - "DefaultValue": "null" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToRouteResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToPage", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToPageResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToPage", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToPageResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToPage", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "pageHandler", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToPageResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToPage", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "pageHandler", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToPageResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToPage", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "pageHandler", - "Type": "System.String" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToPageResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToPage", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "pageHandler", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToPageResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToPagePermanent", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToPageResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToPagePermanent", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToPageResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToPagePermanent", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "pageHandler", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToPageResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToPagePermanent", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "pageHandler", - "Type": "System.String" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToPageResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToPagePermanent", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "pageHandler", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToPageResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToPagePreserveMethod", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "pageHandler", - "Type": "System.String", - "DefaultValue": "null" - }, - { - "Name": "routeValues", - "Type": "System.Object", - "DefaultValue": "null" - }, - { - "Name": "fragment", - "Type": "System.String", - "DefaultValue": "null" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToPageResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToPagePermanentPreserveMethod", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "pageHandler", - "Type": "System.String", - "DefaultValue": "null" - }, - { - "Name": "routeValues", - "Type": "System.Object", - "DefaultValue": "null" - }, - { - "Name": "fragment", - "Type": "System.String", - "DefaultValue": "null" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToPageResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "File", - "Parameters": [ - { - "Name": "fileContents", - "Type": "System.Byte[]" - }, - { - "Name": "contentType", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.FileContentResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "File", - "Parameters": [ - { - "Name": "fileContents", - "Type": "System.Byte[]" - }, - { - "Name": "contentType", - "Type": "System.String" - }, - { - "Name": "enableRangeProcessing", - "Type": "System.Boolean" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.FileContentResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "File", - "Parameters": [ - { - "Name": "fileContents", - "Type": "System.Byte[]" - }, - { - "Name": "contentType", - "Type": "System.String" - }, - { - "Name": "fileDownloadName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.FileContentResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "File", - "Parameters": [ - { - "Name": "fileContents", - "Type": "System.Byte[]" - }, - { - "Name": "contentType", - "Type": "System.String" - }, - { - "Name": "fileDownloadName", - "Type": "System.String" - }, - { - "Name": "enableRangeProcessing", - "Type": "System.Boolean" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.FileContentResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "File", - "Parameters": [ - { - "Name": "fileContents", - "Type": "System.Byte[]" - }, - { - "Name": "contentType", - "Type": "System.String" - }, - { - "Name": "lastModified", - "Type": "System.Nullable" - }, - { - "Name": "entityTag", - "Type": "Microsoft.Net.Http.Headers.EntityTagHeaderValue" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.FileContentResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "File", - "Parameters": [ - { - "Name": "fileContents", - "Type": "System.Byte[]" - }, - { - "Name": "contentType", - "Type": "System.String" - }, - { - "Name": "lastModified", - "Type": "System.Nullable" - }, - { - "Name": "entityTag", - "Type": "Microsoft.Net.Http.Headers.EntityTagHeaderValue" - }, - { - "Name": "enableRangeProcessing", - "Type": "System.Boolean" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.FileContentResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "File", - "Parameters": [ - { - "Name": "fileContents", - "Type": "System.Byte[]" - }, - { - "Name": "contentType", - "Type": "System.String" - }, - { - "Name": "fileDownloadName", - "Type": "System.String" - }, - { - "Name": "lastModified", - "Type": "System.Nullable" - }, - { - "Name": "entityTag", - "Type": "Microsoft.Net.Http.Headers.EntityTagHeaderValue" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.FileContentResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "File", - "Parameters": [ - { - "Name": "fileContents", - "Type": "System.Byte[]" - }, - { - "Name": "contentType", - "Type": "System.String" - }, - { - "Name": "fileDownloadName", - "Type": "System.String" - }, - { - "Name": "lastModified", - "Type": "System.Nullable" - }, - { - "Name": "entityTag", - "Type": "Microsoft.Net.Http.Headers.EntityTagHeaderValue" - }, - { - "Name": "enableRangeProcessing", - "Type": "System.Boolean" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.FileContentResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "File", - "Parameters": [ - { - "Name": "fileStream", - "Type": "System.IO.Stream" - }, - { - "Name": "contentType", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.FileStreamResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "File", - "Parameters": [ - { - "Name": "fileStream", - "Type": "System.IO.Stream" - }, - { - "Name": "contentType", - "Type": "System.String" - }, - { - "Name": "enableRangeProcessing", - "Type": "System.Boolean" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.FileStreamResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "File", - "Parameters": [ - { - "Name": "fileStream", - "Type": "System.IO.Stream" - }, - { - "Name": "contentType", - "Type": "System.String" - }, - { - "Name": "fileDownloadName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.FileStreamResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "File", - "Parameters": [ - { - "Name": "fileStream", - "Type": "System.IO.Stream" - }, - { - "Name": "contentType", - "Type": "System.String" - }, - { - "Name": "fileDownloadName", - "Type": "System.String" - }, - { - "Name": "enableRangeProcessing", - "Type": "System.Boolean" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.FileStreamResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "File", - "Parameters": [ - { - "Name": "fileStream", - "Type": "System.IO.Stream" - }, - { - "Name": "contentType", - "Type": "System.String" - }, - { - "Name": "lastModified", - "Type": "System.Nullable" - }, - { - "Name": "entityTag", - "Type": "Microsoft.Net.Http.Headers.EntityTagHeaderValue" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.FileStreamResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "File", - "Parameters": [ - { - "Name": "fileStream", - "Type": "System.IO.Stream" - }, - { - "Name": "contentType", - "Type": "System.String" - }, - { - "Name": "lastModified", - "Type": "System.Nullable" - }, - { - "Name": "entityTag", - "Type": "Microsoft.Net.Http.Headers.EntityTagHeaderValue" - }, - { - "Name": "enableRangeProcessing", - "Type": "System.Boolean" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.FileStreamResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "File", - "Parameters": [ - { - "Name": "fileStream", - "Type": "System.IO.Stream" - }, - { - "Name": "contentType", - "Type": "System.String" - }, - { - "Name": "fileDownloadName", - "Type": "System.String" - }, - { - "Name": "lastModified", - "Type": "System.Nullable" - }, - { - "Name": "entityTag", - "Type": "Microsoft.Net.Http.Headers.EntityTagHeaderValue" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.FileStreamResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "File", - "Parameters": [ - { - "Name": "fileStream", - "Type": "System.IO.Stream" - }, - { - "Name": "contentType", - "Type": "System.String" - }, - { - "Name": "fileDownloadName", - "Type": "System.String" - }, - { - "Name": "lastModified", - "Type": "System.Nullable" - }, - { - "Name": "entityTag", - "Type": "Microsoft.Net.Http.Headers.EntityTagHeaderValue" - }, - { - "Name": "enableRangeProcessing", - "Type": "System.Boolean" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.FileStreamResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "File", - "Parameters": [ - { - "Name": "virtualPath", - "Type": "System.String" - }, - { - "Name": "contentType", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.VirtualFileResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "File", - "Parameters": [ - { - "Name": "virtualPath", - "Type": "System.String" - }, - { - "Name": "contentType", - "Type": "System.String" - }, - { - "Name": "enableRangeProcessing", - "Type": "System.Boolean" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.VirtualFileResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "File", - "Parameters": [ - { - "Name": "virtualPath", - "Type": "System.String" - }, - { - "Name": "contentType", - "Type": "System.String" - }, - { - "Name": "fileDownloadName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.VirtualFileResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "File", - "Parameters": [ - { - "Name": "virtualPath", - "Type": "System.String" - }, - { - "Name": "contentType", - "Type": "System.String" - }, - { - "Name": "fileDownloadName", - "Type": "System.String" - }, - { - "Name": "enableRangeProcessing", - "Type": "System.Boolean" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.VirtualFileResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "File", - "Parameters": [ - { - "Name": "virtualPath", - "Type": "System.String" - }, - { - "Name": "contentType", - "Type": "System.String" - }, - { - "Name": "lastModified", - "Type": "System.Nullable" - }, - { - "Name": "entityTag", - "Type": "Microsoft.Net.Http.Headers.EntityTagHeaderValue" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.VirtualFileResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "File", - "Parameters": [ - { - "Name": "virtualPath", - "Type": "System.String" - }, - { - "Name": "contentType", - "Type": "System.String" - }, - { - "Name": "lastModified", - "Type": "System.Nullable" - }, - { - "Name": "entityTag", - "Type": "Microsoft.Net.Http.Headers.EntityTagHeaderValue" - }, - { - "Name": "enableRangeProcessing", - "Type": "System.Boolean" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.VirtualFileResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "File", - "Parameters": [ - { - "Name": "virtualPath", - "Type": "System.String" - }, - { - "Name": "contentType", - "Type": "System.String" - }, - { - "Name": "fileDownloadName", - "Type": "System.String" - }, - { - "Name": "lastModified", - "Type": "System.Nullable" - }, - { - "Name": "entityTag", - "Type": "Microsoft.Net.Http.Headers.EntityTagHeaderValue" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.VirtualFileResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "File", - "Parameters": [ - { - "Name": "virtualPath", - "Type": "System.String" - }, - { - "Name": "contentType", - "Type": "System.String" - }, - { - "Name": "fileDownloadName", - "Type": "System.String" - }, - { - "Name": "lastModified", - "Type": "System.Nullable" - }, - { - "Name": "entityTag", - "Type": "Microsoft.Net.Http.Headers.EntityTagHeaderValue" - }, - { - "Name": "enableRangeProcessing", - "Type": "System.Boolean" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.VirtualFileResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PhysicalFile", - "Parameters": [ - { - "Name": "physicalPath", - "Type": "System.String" - }, - { - "Name": "contentType", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.PhysicalFileResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PhysicalFile", - "Parameters": [ - { - "Name": "physicalPath", - "Type": "System.String" - }, - { - "Name": "contentType", - "Type": "System.String" - }, - { - "Name": "enableRangeProcessing", - "Type": "System.Boolean" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.PhysicalFileResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PhysicalFile", - "Parameters": [ - { - "Name": "physicalPath", - "Type": "System.String" - }, - { - "Name": "contentType", - "Type": "System.String" - }, - { - "Name": "fileDownloadName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.PhysicalFileResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PhysicalFile", - "Parameters": [ - { - "Name": "physicalPath", - "Type": "System.String" - }, - { - "Name": "contentType", - "Type": "System.String" - }, - { - "Name": "fileDownloadName", - "Type": "System.String" - }, - { - "Name": "enableRangeProcessing", - "Type": "System.Boolean" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.PhysicalFileResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PhysicalFile", - "Parameters": [ - { - "Name": "physicalPath", - "Type": "System.String" - }, - { - "Name": "contentType", - "Type": "System.String" - }, - { - "Name": "lastModified", - "Type": "System.Nullable" - }, - { - "Name": "entityTag", - "Type": "Microsoft.Net.Http.Headers.EntityTagHeaderValue" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.PhysicalFileResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PhysicalFile", - "Parameters": [ - { - "Name": "physicalPath", - "Type": "System.String" - }, - { - "Name": "contentType", - "Type": "System.String" - }, - { - "Name": "lastModified", - "Type": "System.Nullable" - }, - { - "Name": "entityTag", - "Type": "Microsoft.Net.Http.Headers.EntityTagHeaderValue" - }, - { - "Name": "enableRangeProcessing", - "Type": "System.Boolean" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.PhysicalFileResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PhysicalFile", - "Parameters": [ - { - "Name": "physicalPath", - "Type": "System.String" - }, - { - "Name": "contentType", - "Type": "System.String" - }, - { - "Name": "fileDownloadName", - "Type": "System.String" - }, - { - "Name": "lastModified", - "Type": "System.Nullable" - }, - { - "Name": "entityTag", - "Type": "Microsoft.Net.Http.Headers.EntityTagHeaderValue" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.PhysicalFileResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PhysicalFile", - "Parameters": [ - { - "Name": "physicalPath", - "Type": "System.String" - }, - { - "Name": "contentType", - "Type": "System.String" - }, - { - "Name": "fileDownloadName", - "Type": "System.String" - }, - { - "Name": "lastModified", - "Type": "System.Nullable" - }, - { - "Name": "entityTag", - "Type": "Microsoft.Net.Http.Headers.EntityTagHeaderValue" - }, - { - "Name": "enableRangeProcessing", - "Type": "System.Boolean" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.PhysicalFileResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Unauthorized", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.UnauthorizedResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "NotFound", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.NotFoundResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "NotFound", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.NotFoundObjectResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BadRequest", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.BadRequestResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BadRequest", - "Parameters": [ - { - "Name": "error", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.BadRequestObjectResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BadRequest", - "Parameters": [ - { - "Name": "modelState", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.BadRequestObjectResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UnprocessableEntity", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.UnprocessableEntityResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UnprocessableEntity", - "Parameters": [ - { - "Name": "error", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.UnprocessableEntityObjectResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UnprocessableEntity", - "Parameters": [ - { - "Name": "modelState", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.UnprocessableEntityObjectResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Conflict", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ConflictResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Conflict", - "Parameters": [ - { - "Name": "error", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ConflictObjectResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Conflict", - "Parameters": [ - { - "Name": "modelState", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ConflictObjectResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ValidationProblem", - "Parameters": [ - { - "Name": "descriptor", - "Type": "Microsoft.AspNetCore.Mvc.ValidationProblemDetails" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ValidationProblem", - "Parameters": [ - { - "Name": "modelStateDictionary", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ValidationProblem", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Created", - "Parameters": [ - { - "Name": "uri", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.CreatedResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Created", - "Parameters": [ - { - "Name": "uri", - "Type": "System.Uri" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.CreatedResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreatedAtAction", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.CreatedAtActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreatedAtAction", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.CreatedAtActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreatedAtAction", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.CreatedAtActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreatedAtRoute", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.CreatedAtRouteResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreatedAtRoute", - "Parameters": [ - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.CreatedAtRouteResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreatedAtRoute", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.CreatedAtRouteResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Accepted", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.AcceptedResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Accepted", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.AcceptedResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Accepted", - "Parameters": [ - { - "Name": "uri", - "Type": "System.Uri" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.AcceptedResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Accepted", - "Parameters": [ - { - "Name": "uri", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.AcceptedResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Accepted", - "Parameters": [ - { - "Name": "uri", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.AcceptedResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Accepted", - "Parameters": [ - { - "Name": "uri", - "Type": "System.Uri" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.AcceptedResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AcceptedAtAction", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.AcceptedAtActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AcceptedAtAction", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.AcceptedAtActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AcceptedAtAction", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.AcceptedAtActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AcceptedAtAction", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.AcceptedAtActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AcceptedAtAction", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.AcceptedAtActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AcceptedAtAction", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.AcceptedAtActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AcceptedAtRoute", - "Parameters": [ - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.AcceptedAtRouteResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AcceptedAtRoute", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.AcceptedAtRouteResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AcceptedAtRoute", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.AcceptedAtRouteResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AcceptedAtRoute", - "Parameters": [ - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.AcceptedAtRouteResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AcceptedAtRoute", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.AcceptedAtRouteResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Challenge", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ChallengeResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Challenge", - "Parameters": [ - { - "Name": "authenticationSchemes", - "Type": "System.String[]", - "IsParams": true - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ChallengeResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Challenge", - "Parameters": [ - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ChallengeResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Challenge", - "Parameters": [ - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - }, - { - "Name": "authenticationSchemes", - "Type": "System.String[]", - "IsParams": true - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ChallengeResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Forbid", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ForbidResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Forbid", - "Parameters": [ - { - "Name": "authenticationSchemes", - "Type": "System.String[]", - "IsParams": true - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ForbidResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Forbid", - "Parameters": [ - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ForbidResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Forbid", - "Parameters": [ - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - }, - { - "Name": "authenticationSchemes", - "Type": "System.String[]", - "IsParams": true - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ForbidResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SignIn", - "Parameters": [ - { - "Name": "principal", - "Type": "System.Security.Claims.ClaimsPrincipal" - }, - { - "Name": "authenticationScheme", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.SignInResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SignIn", - "Parameters": [ - { - "Name": "principal", - "Type": "System.Security.Claims.ClaimsPrincipal" - }, - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - }, - { - "Name": "authenticationScheme", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.SignInResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SignOut", - "Parameters": [ - { - "Name": "authenticationSchemes", - "Type": "System.String[]", - "IsParams": true - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.SignOutResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SignOut", - "Parameters": [ - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - }, - { - "Name": "authenticationSchemes", - "Type": "System.String[]", - "IsParams": true - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.SignOutResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TryUpdateModelAsync", - "Parameters": [ - { - "Name": "model", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "TryUpdateModelAsync", - "Parameters": [ - { - "Name": "model", - "Type": "T0" - }, - { - "Name": "prefix", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "TryUpdateModelAsync", - "Parameters": [ - { - "Name": "model", - "Type": "T0" - }, - { - "Name": "prefix", - "Type": "System.String" - }, - { - "Name": "valueProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "TryUpdateModelAsync", - "Parameters": [ - { - "Name": "model", - "Type": "T0" - }, - { - "Name": "prefix", - "Type": "System.String" - }, - { - "Name": "includeExpressions", - "Type": "System.Linq.Expressions.Expression>[]", - "IsParams": true - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "TryUpdateModelAsync", - "Parameters": [ - { - "Name": "model", - "Type": "T0" - }, - { - "Name": "prefix", - "Type": "System.String" - }, - { - "Name": "propertyFilter", - "Type": "System.Func" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "TryUpdateModelAsync", - "Parameters": [ - { - "Name": "model", - "Type": "T0" - }, - { - "Name": "prefix", - "Type": "System.String" - }, - { - "Name": "valueProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider" - }, - { - "Name": "includeExpressions", - "Type": "System.Linq.Expressions.Expression>[]", - "IsParams": true - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "TryUpdateModelAsync", - "Parameters": [ - { - "Name": "model", - "Type": "T0" - }, - { - "Name": "prefix", - "Type": "System.String" - }, - { - "Name": "valueProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider" - }, - { - "Name": "propertyFilter", - "Type": "System.Func" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "TryUpdateModelAsync", - "Parameters": [ - { - "Name": "model", - "Type": "System.Object" - }, - { - "Name": "modelType", - "Type": "System.Type" - }, - { - "Name": "prefix", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TryUpdateModelAsync", - "Parameters": [ - { - "Name": "model", - "Type": "System.Object" - }, - { - "Name": "modelType", - "Type": "System.Type" - }, - { - "Name": "prefix", - "Type": "System.String" - }, - { - "Name": "valueProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider" - }, - { - "Name": "propertyFilter", - "Type": "System.Func" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TryValidateModel", - "Parameters": [ - { - "Name": "model", - "Type": "System.Object" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TryValidateModel", - "Parameters": [ - { - "Name": "model", - "Type": "System.Object" - }, - { - "Name": "prefix", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ControllerContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ActionContext", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ActionDescriptor", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ActionDescriptor", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ValueProviderFactories", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ValueProviderFactories", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IList" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ControllerContextAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.CreatedAtActionResult", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ObjectResult", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_UrlHelper", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.IUrlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_UrlHelper", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.IUrlHelper" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ActionName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ActionName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ControllerName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ControllerName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RouteValues", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.RouteValueDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RouteValues", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnFormatting", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.CreatedAtRouteResult", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ObjectResult", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_UrlHelper", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.IUrlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_UrlHelper", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.IUrlHelper" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RouteName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RouteName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RouteValues", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.RouteValueDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RouteValues", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnFormatting", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.CreatedResult", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ObjectResult", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Location", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Location", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnFormatting", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "location", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "location", - "Type": "System.Uri" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.DisableRequestSizeLimitAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IFilterFactory", - "Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Order", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsReusable", - "Parameters": [], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IFilterFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateInstance", - "Parameters": [ - { - "Name": "serviceProvider", - "Type": "System.IServiceProvider" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IFilterFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.EmptyResult", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ActionResult", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ExecuteResult", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.FileContentResult", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.FileResult", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ExecuteResultAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.IActionResult", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_FileContents", - "Parameters": [], - "ReturnType": "System.Byte[]", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_FileContents", - "Parameters": [ - { - "Name": "value", - "Type": "System.Byte[]" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "fileContents", - "Type": "System.Byte[]" - }, - { - "Name": "contentType", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "fileContents", - "Type": "System.Byte[]" - }, - { - "Name": "contentType", - "Type": "Microsoft.Net.Http.Headers.MediaTypeHeaderValue" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.FileResult", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "BaseType": "Microsoft.AspNetCore.Mvc.ActionResult", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ContentType", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_FileDownloadName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_FileDownloadName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_LastModified", - "Parameters": [], - "ReturnType": "System.Nullable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_LastModified", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_EntityTag", - "Parameters": [], - "ReturnType": "Microsoft.Net.Http.Headers.EntityTagHeaderValue", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_EntityTag", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.Net.Http.Headers.EntityTagHeaderValue" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_EnableRangeProcessing", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_EnableRangeProcessing", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "contentType", - "Type": "System.String" - } - ], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.FileStreamResult", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.FileResult", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ExecuteResultAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.IActionResult", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_FileStream", - "Parameters": [], - "ReturnType": "System.IO.Stream", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_FileStream", - "Parameters": [ - { - "Name": "value", - "Type": "System.IO.Stream" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "fileStream", - "Type": "System.IO.Stream" - }, - { - "Name": "contentType", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "fileStream", - "Type": "System.IO.Stream" - }, - { - "Name": "contentType", - "Type": "Microsoft.Net.Http.Headers.MediaTypeHeaderValue" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.MiddlewareFilterAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IFilterFactory", - "Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_ConfigurationType", - "Parameters": [], - "ReturnType": "System.Type", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Order", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsReusable", - "Parameters": [], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IFilterFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateInstance", - "Parameters": [ - { - "Name": "serviceProvider", - "Type": "System.IServiceProvider" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IFilterFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "configurationType", - "Type": "System.Type" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ForbidResult", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ActionResult", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ExecuteResultAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.IActionResult", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AuthenticationSchemes", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AuthenticationSchemes", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IList" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Properties", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationProperties", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Properties", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "authenticationScheme", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "authenticationSchemes", - "Type": "System.Collections.Generic.IList" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "authenticationScheme", - "Type": "System.String" - }, - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "authenticationSchemes", - "Type": "System.Collections.Generic.IList" - }, - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.FormatFilterAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IFilterFactory" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_IsReusable", - "Parameters": [], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IFilterFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateInstance", - "Parameters": [ - { - "Name": "serviceProvider", - "Type": "System.IServiceProvider" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IFilterFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.FromBodyAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_BindingSource", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.FromFormAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata", - "Microsoft.AspNetCore.Mvc.ModelBinding.IModelNameProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_BindingSource", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Name", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelNameProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Name", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.FromHeaderAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata", - "Microsoft.AspNetCore.Mvc.ModelBinding.IModelNameProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_BindingSource", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Name", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelNameProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Name", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.FromQueryAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata", - "Microsoft.AspNetCore.Mvc.ModelBinding.IModelNameProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_BindingSource", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Name", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelNameProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Name", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.FromRouteAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata", - "Microsoft.AspNetCore.Mvc.ModelBinding.IModelNameProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_BindingSource", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Name", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelNameProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Name", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.FromServicesAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_BindingSource", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.HttpDeleteAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.Routing.HttpMethodAttribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "template", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.HttpGetAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.Routing.HttpMethodAttribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "template", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.HttpHeadAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.Routing.HttpMethodAttribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "template", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.HttpOptionsAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.Routing.HttpMethodAttribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "template", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.HttpPatchAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.Routing.HttpMethodAttribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "template", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.HttpPostAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.Routing.HttpMethodAttribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "template", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.HttpPutAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.Routing.HttpMethodAttribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "template", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.IDesignTimeMvcBuilderConfiguration", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ConfigureMvc", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcBuilder" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.IRequestFormLimitsPolicy", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata" - ], - "Members": [], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.IRequestSizePolicy", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata" - ], - "Members": [], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.LocalRedirectResult", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ActionResult", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ExecuteResultAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.IActionResult", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Permanent", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Permanent", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PreserveMethod", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_PreserveMethod", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Url", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Url", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UrlHelper", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.IUrlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_UrlHelper", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.IUrlHelper" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ExecuteResult", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "localUrl", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "localUrl", - "Type": "System.String" - }, - { - "Name": "permanent", - "Type": "System.Boolean" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "localUrl", - "Type": "System.String" - }, - { - "Name": "permanent", - "Type": "System.Boolean" - }, - { - "Name": "preserveMethod", - "Type": "System.Boolean" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinderAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IModelNameProvider", - "Microsoft.AspNetCore.Mvc.ModelBinding.IBinderTypeProviderMetadata" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_BindingSource", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_BinderType", - "Parameters": [], - "ReturnType": "System.Type", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IBinderTypeProviderMetadata", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_BinderType", - "Parameters": [ - { - "Name": "value", - "Type": "System.Type" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_BindingSource", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Name", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelNameProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Name", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "binderType", - "Type": "System.Type" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelMetadataTypeAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_MetadataType", - "Parameters": [], - "ReturnType": "System.Type", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "type", - "Type": "System.Type" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.MvcOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "System.Collections.Generic.IEnumerable" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_AllowEmptyInputInBodyModelBinding", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AllowEmptyInputInBodyModelBinding", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AllowCombiningAuthorizeFilters", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AllowCombiningAuthorizeFilters", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AllowBindingHeaderValuesToNonStringModelTypes", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AllowBindingHeaderValuesToNonStringModelTypes", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AllowValidatingTopLevelNodes", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AllowValidatingTopLevelNodes", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_CacheProfiles", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Conventions", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Filters", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Filters.FilterCollection", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_FormatterMappings", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Formatters.FormatterMappings", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_InputFormatterExceptionPolicy", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Formatters.InputFormatterExceptionPolicy", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_InputFormatterExceptionPolicy", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.InputFormatterExceptionPolicy" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_InputFormatters", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Formatters.FormatterCollection", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SuppressBindingUndefinedValueToEnumType", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SuppressBindingUndefinedValueToEnumType", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SuppressInputFormatterBuffering", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SuppressInputFormatterBuffering", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MaxModelValidationErrors", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MaxModelValidationErrors", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ModelBinderProviders", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ModelBindingMessageProvider", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelBindingMessageProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ModelMetadataDetailsProviders", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ModelValidatorProviders", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_OutputFormatters", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Formatters.FormatterCollection", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RespectBrowserAcceptHeader", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RespectBrowserAcceptHeader", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ReturnHttpNotAcceptable", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ReturnHttpNotAcceptable", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ValueProviderFactories", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SslPort", - "Parameters": [], - "ReturnType": "System.Nullable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SslPort", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RequireHttpsPermanent", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RequireHttpsPermanent", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.NoContentResult", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.StatusCodeResult", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.NonActionAttribute", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "BaseType": "System.Attribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.NonControllerAttribute", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "BaseType": "System.Attribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.NonViewComponentAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.NotFoundObjectResult", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ObjectResult", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.NotFoundResult", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.StatusCodeResult", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ObjectResult", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ActionResult", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ExecuteResultAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.IActionResult", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "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": "get_Formatters", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Formatters.FormatterCollection", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Formatters", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.FormatterCollection" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ContentTypes", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Formatters.MediaTypeCollection", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ContentTypes", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.MediaTypeCollection" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_DeclaredType", - "Parameters": [], - "ReturnType": "System.Type", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_DeclaredType", - "Parameters": [ - { - "Name": "value", - "Type": "System.Type" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_StatusCode", - "Parameters": [], - "ReturnType": "System.Nullable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_StatusCode", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnFormatting", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.OkObjectResult", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ObjectResult", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.OkResult", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.StatusCodeResult", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.PhysicalFileResult", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.FileResult", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ExecuteResultAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.IActionResult", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_FileName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_FileName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "fileName", - "Type": "System.String" - }, - { - "Name": "contentType", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "fileName", - "Type": "System.String" - }, - { - "Name": "contentType", - "Type": "Microsoft.Net.Http.Headers.MediaTypeHeaderValue" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ProblemDetails", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Type", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Type", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Title", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Title", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Status", - "Parameters": [], - "ReturnType": "System.Nullable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Status", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Detail", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Detail", - "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": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ProducesAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IResultFilter", - "Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter", - "Microsoft.AspNetCore.Mvc.ApiExplorer.IApiResponseMetadataProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Type", - "Parameters": [], - "ReturnType": "System.Type", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApiExplorer.IApiResponseMetadataProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Type", - "Parameters": [ - { - "Name": "value", - "Type": "System.Type" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ContentTypes", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Formatters.MediaTypeCollection", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ContentTypes", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.MediaTypeCollection" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_StatusCode", - "Parameters": [], - "ReturnType": "System.Int32", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApiExplorer.IApiResponseMetadataProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Order", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnResultExecuting", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.ResultExecutingContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IResultFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnResultExecuted", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.ResultExecutedContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IResultFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetContentTypes", - "Parameters": [ - { - "Name": "contentTypes", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.MediaTypeCollection" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApiExplorer.IApiResponseMetadataProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "type", - "Type": "System.Type" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "contentType", - "Type": "System.String" - }, - { - "Name": "additionalContentTypes", - "Type": "System.String[]", - "IsParams": true - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ProducesResponseTypeAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ApiExplorer.IApiResponseMetadataProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Type", - "Parameters": [], - "ReturnType": "System.Type", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApiExplorer.IApiResponseMetadataProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Type", - "Parameters": [ - { - "Name": "value", - "Type": "System.Type" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_StatusCode", - "Parameters": [], - "ReturnType": "System.Int32", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApiExplorer.IApiResponseMetadataProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_StatusCode", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "statusCode", - "Type": "System.Int32" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "type", - "Type": "System.Type" - }, - { - "Name": "statusCode", - "Type": "System.Int32" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.RedirectResult", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ActionResult", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ViewFeatures.IKeepTempDataResult" - ], - "Members": [ - { - "Kind": "Method", - "Name": "ExecuteResultAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.IActionResult", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Permanent", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Permanent", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PreserveMethod", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_PreserveMethod", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Url", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Url", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UrlHelper", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.IUrlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_UrlHelper", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.IUrlHelper" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ExecuteResult", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "url", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "url", - "Type": "System.String" - }, - { - "Name": "permanent", - "Type": "System.Boolean" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "url", - "Type": "System.String" - }, - { - "Name": "permanent", - "Type": "System.Boolean" - }, - { - "Name": "preserveMethod", - "Type": "System.Boolean" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.RedirectToActionResult", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ActionResult", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ViewFeatures.IKeepTempDataResult" - ], - "Members": [ - { - "Kind": "Method", - "Name": "ExecuteResultAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.IActionResult", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UrlHelper", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.IUrlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_UrlHelper", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.IUrlHelper" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ActionName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ActionName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ControllerName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ControllerName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RouteValues", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.RouteValueDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RouteValues", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Permanent", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Permanent", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PreserveMethod", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_PreserveMethod", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Fragment", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Fragment", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ExecuteResult", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "permanent", - "Type": "System.Boolean" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "permanent", - "Type": "System.Boolean" - }, - { - "Name": "preserveMethod", - "Type": "System.Boolean" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "permanent", - "Type": "System.Boolean" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "permanent", - "Type": "System.Boolean" - }, - { - "Name": "preserveMethod", - "Type": "System.Boolean" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.RedirectToPageResult", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ActionResult", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ViewFeatures.IKeepTempDataResult" - ], - "Members": [ - { - "Kind": "Method", - "Name": "ExecuteResultAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.IActionResult", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UrlHelper", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.IUrlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_UrlHelper", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.IUrlHelper" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PageName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_PageName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PageHandler", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_PageHandler", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RouteValues", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.RouteValueDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RouteValues", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Permanent", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Permanent", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PreserveMethod", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_PreserveMethod", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Fragment", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Fragment", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Protocol", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Protocol", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Host", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Host", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ExecuteResult", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "pageHandler", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "pageHandler", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "pageHandler", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "permanent", - "Type": "System.Boolean" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "pageHandler", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "permanent", - "Type": "System.Boolean" - }, - { - "Name": "preserveMethod", - "Type": "System.Boolean" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "pageHandler", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "pageHandler", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "permanent", - "Type": "System.Boolean" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "pageHandler", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "permanent", - "Type": "System.Boolean" - }, - { - "Name": "preserveMethod", - "Type": "System.Boolean" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.RedirectToRouteResult", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ActionResult", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ViewFeatures.IKeepTempDataResult" - ], - "Members": [ - { - "Kind": "Method", - "Name": "ExecuteResultAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.IActionResult", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UrlHelper", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.IUrlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_UrlHelper", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.IUrlHelper" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RouteName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RouteName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RouteValues", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.RouteValueDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RouteValues", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Permanent", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Permanent", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PreserveMethod", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_PreserveMethod", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Fragment", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Fragment", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ExecuteResult", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "permanent", - "Type": "System.Boolean" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "permanent", - "Type": "System.Boolean" - }, - { - "Name": "preserveMethod", - "Type": "System.Boolean" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "permanent", - "Type": "System.Boolean" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "permanent", - "Type": "System.Boolean" - }, - { - "Name": "preserveMethod", - "Type": "System.Boolean" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.RequestFormLimitsAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IFilterFactory", - "Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Order", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsReusable", - "Parameters": [], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IFilterFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_BufferBody", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_BufferBody", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MemoryBufferThreshold", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MemoryBufferThreshold", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_BufferBodyLengthLimit", - "Parameters": [], - "ReturnType": "System.Int64", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_BufferBodyLengthLimit", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int64" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ValueCountLimit", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ValueCountLimit", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_KeyLengthLimit", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_KeyLengthLimit", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ValueLengthLimit", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ValueLengthLimit", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MultipartBoundaryLengthLimit", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MultipartBoundaryLengthLimit", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MultipartHeadersCountLimit", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MultipartHeadersCountLimit", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MultipartHeadersLengthLimit", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MultipartHeadersLengthLimit", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MultipartBodyLengthLimit", - "Parameters": [], - "ReturnType": "System.Int64", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MultipartBodyLengthLimit", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int64" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateInstance", - "Parameters": [ - { - "Name": "serviceProvider", - "Type": "System.IServiceProvider" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IFilterFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.RequestSizeLimitAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IFilterFactory", - "Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Order", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsReusable", - "Parameters": [], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IFilterFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateInstance", - "Parameters": [ - { - "Name": "serviceProvider", - "Type": "System.IServiceProvider" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IFilterFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "bytes", - "Type": "System.Int64" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.RequireHttpsAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IAuthorizationFilter", - "Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Permanent", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Permanent", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Order", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnAuthorization", - "Parameters": [ - { - "Name": "filterContext", - "Type": "Microsoft.AspNetCore.Mvc.Filters.AuthorizationFilterContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IAuthorizationFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HandleNonHttpsRequest", - "Parameters": [ - { - "Name": "filterContext", - "Type": "Microsoft.AspNetCore.Mvc.Filters.AuthorizationFilterContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ResponseCacheAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IFilterFactory", - "Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Duration", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Duration", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Location", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ResponseCacheLocation", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Location", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ResponseCacheLocation" - } - ], - "ReturnType": "System.Void", - "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_VaryByHeader", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_VaryByHeader", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_VaryByQueryKeys", - "Parameters": [], - "ReturnType": "System.String[]", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_VaryByQueryKeys", - "Parameters": [ - { - "Name": "value", - "Type": "System.String[]" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_CacheProfileName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_CacheProfileName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Order", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsReusable", - "Parameters": [], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IFilterFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetCacheProfile", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Mvc.MvcOptions" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.CacheProfile", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateInstance", - "Parameters": [ - { - "Name": "serviceProvider", - "Type": "System.IServiceProvider" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IFilterFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ResponseCacheLocation", - "Visibility": "Public", - "Kind": "Enumeration", - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "Any", - "Parameters": [], - "GenericParameter": [], - "Literal": "0" - }, - { - "Kind": "Field", - "Name": "Client", - "Parameters": [], - "GenericParameter": [], - "Literal": "1" - }, - { - "Kind": "Field", - "Name": "None", - "Parameters": [], - "GenericParameter": [], - "Literal": "2" - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.RouteAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Routing.IRouteTemplateProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Template", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Routing.IRouteTemplateProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Order", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Name", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Routing.IRouteTemplateProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Name", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "template", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.SerializableError", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "BaseType": "System.Collections.Generic.Dictionary", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "modelState", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ServiceFilterAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IFilterFactory", - "Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Order", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ServiceType", - "Parameters": [], - "ReturnType": "System.Type", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsReusable", - "Parameters": [], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IFilterFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IsReusable", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateInstance", - "Parameters": [ - { - "Name": "serviceProvider", - "Type": "System.IServiceProvider" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IFilterFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "type", - "Type": "System.Type" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.SignInResult", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ActionResult", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ExecuteResultAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.IActionResult", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AuthenticationScheme", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AuthenticationScheme", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Principal", - "Parameters": [], - "ReturnType": "System.Security.Claims.ClaimsPrincipal", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Principal", - "Parameters": [ - { - "Name": "value", - "Type": "System.Security.Claims.ClaimsPrincipal" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Properties", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationProperties", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Properties", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "authenticationScheme", - "Type": "System.String" - }, - { - "Name": "principal", - "Type": "System.Security.Claims.ClaimsPrincipal" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "authenticationScheme", - "Type": "System.String" - }, - { - "Name": "principal", - "Type": "System.Security.Claims.ClaimsPrincipal" - }, - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.SignOutResult", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ActionResult", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ExecuteResultAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.IActionResult", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AuthenticationSchemes", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AuthenticationSchemes", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IList" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Properties", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationProperties", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Properties", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "authenticationScheme", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "authenticationSchemes", - "Type": "System.Collections.Generic.IList" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "authenticationScheme", - "Type": "System.String" - }, - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "authenticationSchemes", - "Type": "System.Collections.Generic.IList" - }, - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.StatusCodeResult", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ActionResult", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_StatusCode", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ExecuteResult", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "statusCode", - "Type": "System.Int32" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.TypeFilterAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IFilterFactory", - "Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Arguments", - "Parameters": [], - "ReturnType": "System.Object[]", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Arguments", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object[]" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ImplementationType", - "Parameters": [], - "ReturnType": "System.Type", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Order", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsReusable", - "Parameters": [], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IFilterFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IsReusable", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateInstance", - "Parameters": [ - { - "Name": "serviceProvider", - "Type": "System.IServiceProvider" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IFilterFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "type", - "Type": "System.Type" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.UnauthorizedResult", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.StatusCodeResult", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.UnprocessableEntityObjectResult", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ObjectResult", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "modelState", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "error", - "Type": "System.Object" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.UnprocessableEntityResult", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.StatusCodeResult", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.UnsupportedMediaTypeResult", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.StatusCodeResult", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.UrlHelperExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Action", - "Parameters": [ - { - "Name": "helper", - "Type": "Microsoft.AspNetCore.Mvc.IUrlHelper" - } - ], - "ReturnType": "System.String", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Action", - "Parameters": [ - { - "Name": "helper", - "Type": "Microsoft.AspNetCore.Mvc.IUrlHelper" - }, - { - "Name": "action", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Action", - "Parameters": [ - { - "Name": "helper", - "Type": "Microsoft.AspNetCore.Mvc.IUrlHelper" - }, - { - "Name": "action", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "System.Object" - } - ], - "ReturnType": "System.String", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Action", - "Parameters": [ - { - "Name": "helper", - "Type": "Microsoft.AspNetCore.Mvc.IUrlHelper" - }, - { - "Name": "action", - "Type": "System.String" - }, - { - "Name": "controller", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Action", - "Parameters": [ - { - "Name": "helper", - "Type": "Microsoft.AspNetCore.Mvc.IUrlHelper" - }, - { - "Name": "action", - "Type": "System.String" - }, - { - "Name": "controller", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "System.Object" - } - ], - "ReturnType": "System.String", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Action", - "Parameters": [ - { - "Name": "helper", - "Type": "Microsoft.AspNetCore.Mvc.IUrlHelper" - }, - { - "Name": "action", - "Type": "System.String" - }, - { - "Name": "controller", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "System.Object" - }, - { - "Name": "protocol", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Action", - "Parameters": [ - { - "Name": "helper", - "Type": "Microsoft.AspNetCore.Mvc.IUrlHelper" - }, - { - "Name": "action", - "Type": "System.String" - }, - { - "Name": "controller", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "System.Object" - }, - { - "Name": "protocol", - "Type": "System.String" - }, - { - "Name": "host", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Action", - "Parameters": [ - { - "Name": "helper", - "Type": "Microsoft.AspNetCore.Mvc.IUrlHelper" - }, - { - "Name": "action", - "Type": "System.String" - }, - { - "Name": "controller", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "System.Object" - }, - { - "Name": "protocol", - "Type": "System.String" - }, - { - "Name": "host", - "Type": "System.String" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RouteUrl", - "Parameters": [ - { - "Name": "helper", - "Type": "Microsoft.AspNetCore.Mvc.IUrlHelper" - }, - { - "Name": "values", - "Type": "System.Object" - } - ], - "ReturnType": "System.String", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RouteUrl", - "Parameters": [ - { - "Name": "helper", - "Type": "Microsoft.AspNetCore.Mvc.IUrlHelper" - }, - { - "Name": "routeName", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RouteUrl", - "Parameters": [ - { - "Name": "helper", - "Type": "Microsoft.AspNetCore.Mvc.IUrlHelper" - }, - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "System.Object" - } - ], - "ReturnType": "System.String", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RouteUrl", - "Parameters": [ - { - "Name": "helper", - "Type": "Microsoft.AspNetCore.Mvc.IUrlHelper" - }, - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "System.Object" - }, - { - "Name": "protocol", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RouteUrl", - "Parameters": [ - { - "Name": "helper", - "Type": "Microsoft.AspNetCore.Mvc.IUrlHelper" - }, - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "System.Object" - }, - { - "Name": "protocol", - "Type": "System.String" - }, - { - "Name": "host", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RouteUrl", - "Parameters": [ - { - "Name": "helper", - "Type": "Microsoft.AspNetCore.Mvc.IUrlHelper" - }, - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "System.Object" - }, - { - "Name": "protocol", - "Type": "System.String" - }, - { - "Name": "host", - "Type": "System.String" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Page", - "Parameters": [ - { - "Name": "urlHelper", - "Type": "Microsoft.AspNetCore.Mvc.IUrlHelper" - }, - { - "Name": "pageName", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Page", - "Parameters": [ - { - "Name": "urlHelper", - "Type": "Microsoft.AspNetCore.Mvc.IUrlHelper" - }, - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "pageHandler", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Page", - "Parameters": [ - { - "Name": "urlHelper", - "Type": "Microsoft.AspNetCore.Mvc.IUrlHelper" - }, - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "System.Object" - } - ], - "ReturnType": "System.String", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Page", - "Parameters": [ - { - "Name": "urlHelper", - "Type": "Microsoft.AspNetCore.Mvc.IUrlHelper" - }, - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "pageHandler", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "System.Object" - } - ], - "ReturnType": "System.String", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Page", - "Parameters": [ - { - "Name": "urlHelper", - "Type": "Microsoft.AspNetCore.Mvc.IUrlHelper" - }, - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "pageHandler", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "System.Object" - }, - { - "Name": "protocol", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Page", - "Parameters": [ - { - "Name": "urlHelper", - "Type": "Microsoft.AspNetCore.Mvc.IUrlHelper" - }, - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "pageHandler", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "System.Object" - }, - { - "Name": "protocol", - "Type": "System.String" - }, - { - "Name": "host", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Page", - "Parameters": [ - { - "Name": "urlHelper", - "Type": "Microsoft.AspNetCore.Mvc.IUrlHelper" - }, - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "pageHandler", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "System.Object" - }, - { - "Name": "protocol", - "Type": "System.String" - }, - { - "Name": "host", - "Type": "System.String" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ValidationProblemDetails", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ProblemDetails", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Errors", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "modelState", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.VirtualFileResult", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.FileResult", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ExecuteResultAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.IActionResult", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_FileName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_FileName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_FileProvider", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.FileProviders.IFileProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_FileProvider", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.Extensions.FileProviders.IFileProvider" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "fileName", - "Type": "System.String" - }, - { - "Name": "contentType", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "fileName", - "Type": "System.String" - }, - { - "Name": "contentType", - "Type": "Microsoft.Net.Http.Headers.MediaTypeHeaderValue" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.IKeepTempDataResult", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.IActionResult" - ], - "Members": [], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Routing.HttpMethodAttribute", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "BaseType": "System.Attribute", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Routing.IActionHttpMethodProvider", - "Microsoft.AspNetCore.Mvc.Routing.IRouteTemplateProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_HttpMethods", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Routing.IActionHttpMethodProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Template", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Routing.IRouteTemplateProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Order", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Name", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Routing.IRouteTemplateProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Name", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "httpMethods", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "httpMethods", - "Type": "System.Collections.Generic.IEnumerable" - }, - { - "Name": "template", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Routing.IActionHttpMethodProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_HttpMethods", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Routing.IRouteTemplateProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Template", - "Parameters": [], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Nullable", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Name", - "Parameters": [], - "ReturnType": "System.String", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Routing.IRouteValueProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_RouteKey", - "Parameters": [], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RouteValue", - "Parameters": [], - "ReturnType": "System.String", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetUrlHelper", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.IUrlHelper", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Routing.KnownRouteValueConstraint", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Routing.IRouteConstraint" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Match", - "Parameters": [ - { - "Name": "httpContext", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "route", - "Type": "Microsoft.AspNetCore.Routing.IRouter" - }, - { - "Name": "routeKey", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - }, - { - "Name": "routeDirection", - "Type": "Microsoft.AspNetCore.Routing.RouteDirection" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Routing.IRouteConstraint", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Routing.RouteValueAttribute", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "BaseType": "System.Attribute", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Routing.IRouteValueProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_RouteKey", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Routing.IRouteValueProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RouteValue", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Routing.IRouteValueProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "routeKey", - "Type": "System.String" - }, - { - "Name": "routeValue", - "Type": "System.String" - } - ], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Routing.UrlHelper", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.IUrlHelper" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_ActionContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ActionContext", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.IUrlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AmbientValues", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.RouteValueDictionary", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HttpContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HttpContext", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Router", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.IRouter", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Action", - "Parameters": [ - { - "Name": "actionContext", - "Type": "Microsoft.AspNetCore.Mvc.Routing.UrlActionContext" - } - ], - "ReturnType": "System.String", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.IUrlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsLocalUrl", - "Parameters": [ - { - "Name": "url", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.IUrlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RouteUrl", - "Parameters": [ - { - "Name": "routeContext", - "Type": "Microsoft.AspNetCore.Mvc.Routing.UrlRouteContext" - } - ], - "ReturnType": "System.String", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.IUrlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetVirtualPathData", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - } - ], - "ReturnType": "Microsoft.AspNetCore.Routing.VirtualPathData", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Content", - "Parameters": [ - { - "Name": "contentPath", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.IUrlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Link", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "System.Object" - } - ], - "ReturnType": "System.String", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.IUrlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateUrl", - "Parameters": [ - { - "Name": "protocol", - "Type": "System.String" - }, - { - "Name": "host", - "Type": "System.String" - }, - { - "Name": "pathData", - "Type": "Microsoft.AspNetCore.Routing.VirtualPathData" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "actionContext", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Routing.UrlHelperFactory", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetUrlHelper", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.IUrlHelper", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.DefaultModelBindingContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ActionContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ActionContext", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ActionContext", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_FieldName", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_FieldName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Model", - "Parameters": [], - "ReturnType": "System.Object", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Model", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ModelMetadata", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ModelMetadata", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ModelName", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ModelName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ModelState", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ModelState", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_BinderModelName", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_BinderModelName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_BindingSource", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_BindingSource", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsTopLevelObject", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IsTopLevelObject", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_OriginalValueProvider", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_OriginalValueProvider", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ValueProvider", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ValueProvider", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PropertyFilter", - "Parameters": [], - "ReturnType": "System.Func", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_PropertyFilter", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ValidationState", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateDictionary", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ValidationState", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateDictionary" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Result", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Result", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateBindingContext", - "Parameters": [ - { - "Name": "actionContext", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "valueProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider" - }, - { - "Name": "metadata", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata" - }, - { - "Name": "bindingInfo", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingInfo" - }, - { - "Name": "modelName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "EnterNestedScope", - "Parameters": [ - { - "Name": "modelMetadata", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata" - }, - { - "Name": "fieldName", - "Type": "System.String" - }, - { - "Name": "modelName", - "Type": "System.String" - }, - { - "Name": "model", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext+NestedScope", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "EnterNestedScope", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext+NestedScope", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ExitNestedScope", - "Parameters": [], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingBehavior", - "Visibility": "Public", - "Kind": "Enumeration", - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "Optional", - "Parameters": [], - "GenericParameter": [], - "Literal": "0" - }, - { - "Kind": "Field", - "Name": "Never", - "Parameters": [], - "GenericParameter": [], - "Literal": "1" - }, - { - "Kind": "Field", - "Name": "Required", - "Parameters": [], - "GenericParameter": [], - "Literal": "2" - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingBehaviorAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Behavior", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingBehavior", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "behavior", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingBehavior" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSourceValueProvider", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceValueProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "ContainsPrefix", - "Parameters": [ - { - "Name": "prefix", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Abstract": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetValue", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderResult", - "Virtual": true, - "Abstract": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_BindingSource", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Filter", - "Parameters": [ - { - "Name": "bindingSource", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceValueProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "bindingSource", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.BindNeverAttribute", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "BaseType": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingBehaviorAttribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.BindRequiredAttribute", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "BaseType": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingBehaviorAttribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.CompositeValueProvider", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Collections.ObjectModel.Collection", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IEnumerableValueProvider", - "Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceValueProvider", - "Microsoft.AspNetCore.Mvc.ModelBinding.IKeyRewriterValueProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "ContainsPrefix", - "Parameters": [ - { - "Name": "prefix", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetValue", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderResult", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateAsync", - "Parameters": [ - { - "Name": "controllerContext", - "Type": "Microsoft.AspNetCore.Mvc.ControllerContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateAsync", - "Parameters": [ - { - "Name": "actionContext", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "factories", - "Type": "System.Collections.Generic.IList" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetKeysFromPrefix", - "Parameters": [ - { - "Name": "prefix", - "Type": "System.String" - } - ], - "ReturnType": "System.Collections.Generic.IDictionary", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IEnumerableValueProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "InsertItem", - "Parameters": [ - { - "Name": "index", - "Type": "System.Int32" - }, - { - "Name": "item", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetItem", - "Parameters": [ - { - "Name": "index", - "Type": "System.Int32" - }, - { - "Name": "item", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Filter", - "Parameters": [ - { - "Name": "bindingSource", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceValueProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Filter", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IKeyRewriterValueProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "valueProviders", - "Type": "System.Collections.Generic.IList" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.DefaultPropertyFilterProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IPropertyFilterProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Prefix", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PropertyIncludeExpressions", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable>>", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PropertyFilter", - "Parameters": [], - "ReturnType": "System.Func", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IPropertyFilterProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.EmptyModelMetadataProvider", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelMetadataProvider", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.FormValueProvider", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSourceValueProvider", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IEnumerableValueProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "ContainsPrefix", - "Parameters": [ - { - "Name": "prefix", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetValue", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderResult", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Culture", - "Parameters": [], - "ReturnType": "System.Globalization.CultureInfo", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PrefixContainer", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Internal.PrefixContainer", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetKeysFromPrefix", - "Parameters": [ - { - "Name": "prefix", - "Type": "System.String" - } - ], - "ReturnType": "System.Collections.Generic.IDictionary", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IEnumerableValueProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "bindingSource", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource" - }, - { - "Name": "values", - "Type": "Microsoft.AspNetCore.Http.IFormCollection" - }, - { - "Name": "culture", - "Type": "System.Globalization.CultureInfo" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.FormValueProviderFactory", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProviderFactory" - ], - "Members": [ - { - "Kind": "Method", - "Name": "CreateValueProviderAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderFactoryContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProviderFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceValueProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Filter", - "Parameters": [ - { - "Name": "bindingSource", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.ICollectionModelBinder", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder" - ], - "Members": [ - { - "Kind": "Method", - "Name": "CanCreateInstance", - "Parameters": [ - { - "Name": "targetType", - "Type": "System.Type" - } - ], - "ReturnType": "System.Boolean", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.IEnumerableValueProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetKeysFromPrefix", - "Parameters": [ - { - "Name": "prefix", - "Type": "System.String" - } - ], - "ReturnType": "System.Collections.Generic.IDictionary", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.IKeyRewriterValueProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Filter", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderFactory", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "CreateBinder", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderFactoryContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.JQueryFormValueProvider", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ModelBinding.JQueryValueProvider", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "bindingSource", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource" - }, - { - "Name": "values", - "Type": "System.Collections.Generic.IDictionary" - }, - { - "Name": "culture", - "Type": "System.Globalization.CultureInfo" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.JQueryFormValueProviderFactory", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProviderFactory" - ], - "Members": [ - { - "Kind": "Method", - "Name": "CreateValueProviderAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderFactoryContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProviderFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.JQueryQueryStringValueProvider", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ModelBinding.JQueryValueProvider", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "bindingSource", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource" - }, - { - "Name": "values", - "Type": "System.Collections.Generic.IDictionary" - }, - { - "Name": "culture", - "Type": "System.Globalization.CultureInfo" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.JQueryQueryStringValueProviderFactory", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProviderFactory" - ], - "Members": [ - { - "Kind": "Method", - "Name": "CreateValueProviderAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderFactoryContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProviderFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.JQueryValueProvider", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "BaseType": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSourceValueProvider", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IEnumerableValueProvider", - "Microsoft.AspNetCore.Mvc.ModelBinding.IKeyRewriterValueProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "ContainsPrefix", - "Parameters": [ - { - "Name": "prefix", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetValue", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderResult", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Culture", - "Parameters": [], - "ReturnType": "System.Globalization.CultureInfo", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PrefixContainer", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Internal.PrefixContainer", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetKeysFromPrefix", - "Parameters": [ - { - "Name": "prefix", - "Type": "System.String" - } - ], - "ReturnType": "System.Collections.Generic.IDictionary", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IEnumerableValueProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Filter", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IKeyRewriterValueProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "bindingSource", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource" - }, - { - "Name": "values", - "Type": "System.Collections.Generic.IDictionary" - }, - { - "Name": "culture", - "Type": "System.Globalization.CultureInfo" - } - ], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelAttributes", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Attributes", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PropertyAttributes", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ParameterAttributes", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TypeAttributes", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetAttributesForProperty", - "Parameters": [ - { - "Name": "type", - "Type": "System.Type" - }, - { - "Name": "property", - "Type": "System.Reflection.PropertyInfo" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelAttributes", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetAttributesForType", - "Parameters": [ - { - "Name": "type", - "Type": "System.Type" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelAttributes", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetAttributesForParameter", - "Parameters": [ - { - "Name": "parameterInfo", - "Type": "System.Reflection.ParameterInfo" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelAttributes", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "typeAttributes", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "propertyAttributes", - "Type": "System.Collections.Generic.IEnumerable" - }, - { - "Name": "typeAttributes", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderFactory", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderFactory" - ], - "Members": [ - { - "Kind": "Method", - "Name": "CreateBinder", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderFactoryContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "metadataProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider" - }, - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "metadataProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider" - }, - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptions" - }, - { - "Name": "serviceProvider", - "Type": "System.IServiceProvider" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderFactoryContext", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_BindingInfo", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingInfo", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_BindingInfo", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingInfo" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Metadata", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Metadata", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_CacheToken", - "Parameters": [], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_CacheToken", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "RemoveType", - "Parameters": [ - { - "Name": "list", - "Type": "System.Collections.Generic.IList" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModelBinderProvider", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider" - ] - } - ] - }, - { - "Kind": "Method", - "Name": "RemoveType", - "Parameters": [ - { - "Name": "list", - "Type": "System.Collections.Generic.IList" - }, - { - "Name": "type", - "Type": "System.Type" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadataProviderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetMetadataForProperty", - "Parameters": [ - { - "Name": "provider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider" - }, - { - "Name": "containerType", - "Type": "System.Type" - }, - { - "Name": "propertyName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelNames", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "CreateIndexModelName", - "Parameters": [ - { - "Name": "parentName", - "Type": "System.String" - }, - { - "Name": "index", - "Type": "System.Int32" - } - ], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateIndexModelName", - "Parameters": [ - { - "Name": "parentName", - "Type": "System.String" - }, - { - "Name": "index", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreatePropertyModelName", - "Parameters": [ - { - "Name": "prefix", - "Type": "System.String" - }, - { - "Name": "propertyName", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.ObjectModelValidator", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IObjectModelValidator" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Validate", - "Parameters": [ - { - "Name": "actionContext", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "validationState", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateDictionary" - }, - { - "Name": "prefix", - "Type": "System.String" - }, - { - "Name": "model", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IObjectModelValidator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Validate", - "Parameters": [ - { - "Name": "actionContext", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "validationState", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateDictionary" - }, - { - "Name": "prefix", - "Type": "System.String" - }, - { - "Name": "model", - "Type": "System.Object" - }, - { - "Name": "metadata", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetValidationVisitor", - "Parameters": [ - { - "Name": "actionContext", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "validatorProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IModelValidatorProvider" - }, - { - "Name": "validatorCache", - "Type": "Microsoft.AspNetCore.Mvc.Internal.ValidatorCache" - }, - { - "Name": "metadataProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider" - }, - { - "Name": "validationState", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateDictionary" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "modelMetadataProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider" - }, - { - "Name": "validatorProviders", - "Type": "System.Collections.Generic.IList" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Logger", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.Logging.ILogger", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BindModelAsync", - "Parameters": [ - { - "Name": "actionContext", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "valueProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider" - }, - { - "Name": "parameter", - "Type": "Microsoft.AspNetCore.Mvc.Abstractions.ParameterDescriptor" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BindModelAsync", - "Parameters": [ - { - "Name": "actionContext", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "valueProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider" - }, - { - "Name": "parameter", - "Type": "Microsoft.AspNetCore.Mvc.Abstractions.ParameterDescriptor" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BindModelAsync", - "Parameters": [ - { - "Name": "actionContext", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "modelBinder", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder" - }, - { - "Name": "valueProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider" - }, - { - "Name": "parameter", - "Type": "Microsoft.AspNetCore.Mvc.Abstractions.ParameterDescriptor" - }, - { - "Name": "metadata", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "modelMetadataProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider" - }, - { - "Name": "modelBinderFactory", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderFactory" - }, - { - "Name": "validator", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IObjectModelValidator" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "modelMetadataProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider" - }, - { - "Name": "modelBinderFactory", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderFactory" - }, - { - "Name": "validator", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IObjectModelValidator" - }, - { - "Name": "mvcOptions", - "Type": "Microsoft.Extensions.Options.IOptions" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.QueryStringValueProvider", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSourceValueProvider", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IEnumerableValueProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "ContainsPrefix", - "Parameters": [ - { - "Name": "prefix", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetValue", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderResult", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Culture", - "Parameters": [], - "ReturnType": "System.Globalization.CultureInfo", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PrefixContainer", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Internal.PrefixContainer", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetKeysFromPrefix", - "Parameters": [ - { - "Name": "prefix", - "Type": "System.String" - } - ], - "ReturnType": "System.Collections.Generic.IDictionary", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IEnumerableValueProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "bindingSource", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource" - }, - { - "Name": "values", - "Type": "Microsoft.AspNetCore.Http.IQueryCollection" - }, - { - "Name": "culture", - "Type": "System.Globalization.CultureInfo" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.QueryStringValueProviderFactory", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProviderFactory" - ], - "Members": [ - { - "Kind": "Method", - "Name": "CreateValueProviderAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderFactoryContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProviderFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.RouteValueProvider", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSourceValueProvider", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ContainsPrefix", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetValue", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderResult", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PrefixContainer", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Internal.PrefixContainer", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Culture", - "Parameters": [], - "ReturnType": "System.Globalization.CultureInfo", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "bindingSource", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource" - }, - { - "Name": "values", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "bindingSource", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource" - }, - { - "Name": "values", - "Type": "Microsoft.AspNetCore.Routing.RouteValueDictionary" - }, - { - "Name": "culture", - "Type": "System.Globalization.CultureInfo" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.RouteValueProviderFactory", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProviderFactory" - ], - "Members": [ - { - "Kind": "Method", - "Name": "CreateValueProviderAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderFactoryContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProviderFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.SuppressChildValidationMetadataProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IValidationMetadataProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Type", - "Parameters": [], - "ReturnType": "System.Type", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_FullTypeName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateValidationMetadata", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ValidationMetadataProviderContext" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IValidationMetadataProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "type", - "Type": "System.Type" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "fullTypeName", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeException", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Exception", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "message", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IActionFilter" - ], - "Members": [ - { - "Kind": "Method", - "Name": "OnActionExecuting", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IActionFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnActionExecuted", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.ActionExecutedContext" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IActionFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderFactoryExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "RemoveType", - "Parameters": [ - { - "Name": "list", - "Type": "System.Collections.Generic.IList" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TValueProviderFactory", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProviderFactory" - ] - } - ] - }, - { - "Kind": "Method", - "Name": "RemoveType", - "Parameters": [ - { - "Name": "list", - "Type": "System.Collections.Generic.IList" - }, - { - "Name": "type", - "Type": "System.Type" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.CompositeClientModelValidatorProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IClientModelValidatorProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_ValidatorProviders", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateValidators", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientValidatorProviderContext" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IClientModelValidatorProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "providers", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.CompositeModelValidatorProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IModelValidatorProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_ValidatorProviders", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateValidators", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidatorProviderContext" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IModelValidatorProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "providers", - "Type": "System.Collections.Generic.IList" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IObjectModelValidator", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Validate", - "Parameters": [ - { - "Name": "actionContext", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "validationState", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateDictionary" - }, - { - "Name": "prefix", - "Type": "System.String" - }, - { - "Name": "model", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidatorProviderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "RemoveType", - "Parameters": [ - { - "Name": "list", - "Type": "System.Collections.Generic.IList" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModelValidatorProvider", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IModelValidatorProvider" - ] - } - ] - }, - { - "Kind": "Method", - "Name": "RemoveType", - "Parameters": [ - { - "Name": "list", - "Type": "System.Collections.Generic.IList" - }, - { - "Name": "type", - "Type": "System.Type" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidateNeverAttribute", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "BaseType": "System.Attribute", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IPropertyValidationFilter" - ], - "Members": [ - { - "Kind": "Method", - "Name": "ShouldValidateEntry", - "Parameters": [ - { - "Name": "entry", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationEntry" - }, - { - "Name": "parentEntry", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationEntry" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IPropertyValidationFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ValidatorProvider", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IModelValidatorProvider", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MetadataProvider", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Cache", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Internal.ValidatorCache", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Context", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ActionContext", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ModelState", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ValidationState", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateDictionary", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_CurrentPath", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Internal.ValidationStack", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Container", - "Parameters": [], - "ReturnType": "System.Object", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Container", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Key", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Key", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Model", - "Parameters": [], - "ReturnType": "System.Object", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Model", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Metadata", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Metadata", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Strategy", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IValidationStrategy", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Strategy", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IValidationStrategy" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ValidateComplexTypesIfChildValidationFails", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ValidateComplexTypesIfChildValidationFails", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Validate", - "Parameters": [ - { - "Name": "metadata", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata" - }, - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "model", - "Type": "System.Object" - } - ], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Validate", - "Parameters": [ - { - "Name": "metadata", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata" - }, - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "model", - "Type": "System.Object" - }, - { - "Name": "alwaysValidateAtTopLevel", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ValidateNode", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Visit", - "Parameters": [ - { - "Name": "metadata", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata" - }, - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "model", - "Type": "System.Object" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "VisitComplexType", - "Parameters": [ - { - "Name": "defaultStrategy", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IValidationStrategy" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "VisitSimpleType", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "VisitChildren", - "Parameters": [ - { - "Name": "strategy", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IValidationStrategy" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SuppressValidation", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetValidationEntry", - "Parameters": [ - { - "Name": "model", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateEntry", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "actionContext", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "validatorProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IModelValidatorProvider" - }, - { - "Name": "validatorCache", - "Type": "Microsoft.AspNetCore.Mvc.Internal.ValidatorCache" - }, - { - "Name": "metadataProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider" - }, - { - "Name": "validationState", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateDictionary" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.BindingMetadata", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_BindingSource", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_BindingSource", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_BinderModelName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_BinderModelName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_BinderType", - "Parameters": [], - "ReturnType": "System.Type", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_BinderType", - "Parameters": [ - { - "Name": "value", - "Type": "System.Type" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsBindingAllowed", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IsBindingAllowed", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsBindingRequired", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IsBindingRequired", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsReadOnly", - "Parameters": [], - "ReturnType": "System.Nullable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IsReadOnly", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ModelBindingMessageProvider", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelBindingMessageProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ModelBindingMessageProvider", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelBindingMessageProvider" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PropertyFilterProvider", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.IPropertyFilterProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_PropertyFilterProvider", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IPropertyFilterProvider" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.BindingMetadataProviderContext", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Attributes", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Key", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataIdentity", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ParameterAttributes", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PropertyAttributes", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TypeAttributes", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_BindingMetadata", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.BindingMetadata", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "key", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataIdentity" - }, - { - "Name": "attributes", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelAttributes" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.BindingSourceMetadataProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IBindingMetadataProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Type", - "Parameters": [], - "ReturnType": "System.Type", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_BindingSource", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateBindingMetadata", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.BindingMetadataProviderContext" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IBindingMetadataProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "type", - "Type": "System.Type" - }, - { - "Name": "bindingSource", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultMetadataDetails", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ModelAttributes", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelAttributes", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_BindingMetadata", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.BindingMetadata", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_BindingMetadata", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.BindingMetadata" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_DisplayMetadata", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DisplayMetadata", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_DisplayMetadata", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DisplayMetadata" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Key", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataIdentity", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Properties", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata[]", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Properties", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata[]" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PropertyGetter", - "Parameters": [], - "ReturnType": "System.Func", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_PropertyGetter", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PropertySetter", - "Parameters": [], - "ReturnType": "System.Action", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_PropertySetter", - "Parameters": [ - { - "Name": "value", - "Type": "System.Action" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ValidationMetadata", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ValidationMetadata", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ValidationMetadata", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ValidationMetadata" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ContainerMetadata", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ContainerMetadata", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "key", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataIdentity" - }, - { - "Name": "attributes", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelAttributes" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelBindingMessageProvider", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelBindingMessageProvider", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_MissingBindRequiredValueAccessor", - "Parameters": [], - "ReturnType": "System.Func", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetMissingBindRequiredValueAccessor", - "Parameters": [ - { - "Name": "missingBindRequiredValueAccessor", - "Type": "System.Func" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MissingKeyOrValueAccessor", - "Parameters": [], - "ReturnType": "System.Func", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetMissingKeyOrValueAccessor", - "Parameters": [ - { - "Name": "missingKeyOrValueAccessor", - "Type": "System.Func" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MissingRequestBodyRequiredValueAccessor", - "Parameters": [], - "ReturnType": "System.Func", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetMissingRequestBodyRequiredValueAccessor", - "Parameters": [ - { - "Name": "missingRequestBodyRequiredValueAccessor", - "Type": "System.Func" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ValueMustNotBeNullAccessor", - "Parameters": [], - "ReturnType": "System.Func", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetValueMustNotBeNullAccessor", - "Parameters": [ - { - "Name": "valueMustNotBeNullAccessor", - "Type": "System.Func" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AttemptedValueIsInvalidAccessor", - "Parameters": [], - "ReturnType": "System.Func", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetAttemptedValueIsInvalidAccessor", - "Parameters": [ - { - "Name": "attemptedValueIsInvalidAccessor", - "Type": "System.Func" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_NonPropertyAttemptedValueIsInvalidAccessor", - "Parameters": [], - "ReturnType": "System.Func", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetNonPropertyAttemptedValueIsInvalidAccessor", - "Parameters": [ - { - "Name": "nonPropertyAttemptedValueIsInvalidAccessor", - "Type": "System.Func" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UnknownValueIsInvalidAccessor", - "Parameters": [], - "ReturnType": "System.Func", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetUnknownValueIsInvalidAccessor", - "Parameters": [ - { - "Name": "unknownValueIsInvalidAccessor", - "Type": "System.Func" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_NonPropertyUnknownValueIsInvalidAccessor", - "Parameters": [], - "ReturnType": "System.Func", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetNonPropertyUnknownValueIsInvalidAccessor", - "Parameters": [ - { - "Name": "nonPropertyUnknownValueIsInvalidAccessor", - "Type": "System.Func" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ValueIsInvalidAccessor", - "Parameters": [], - "ReturnType": "System.Func", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetValueIsInvalidAccessor", - "Parameters": [ - { - "Name": "valueIsInvalidAccessor", - "Type": "System.Func" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ValueMustBeANumberAccessor", - "Parameters": [], - "ReturnType": "System.Func", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetValueMustBeANumberAccessor", - "Parameters": [ - { - "Name": "valueMustBeANumberAccessor", - "Type": "System.Func" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_NonPropertyValueMustBeANumberAccessor", - "Parameters": [], - "ReturnType": "System.Func", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetNonPropertyValueMustBeANumberAccessor", - "Parameters": [ - { - "Name": "nonPropertyValueMustBeANumberAccessor", - "Type": "System.Func" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "originalProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelBindingMessageProvider" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelMetadata", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetMetadataForType", - "Parameters": [ - { - "Name": "modelType", - "Type": "System.Type" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetMetadataForProperties", - "Parameters": [ - { - "Name": "modelType", - "Type": "System.Type" - } - ], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Attributes", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelAttributes", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ContainerMetadata", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_BindingMetadata", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.BindingMetadata", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_DisplayMetadata", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DisplayMetadata", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ValidationMetadata", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ValidationMetadata", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AdditionalValues", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyDictionary", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_BindingSource", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_BinderModelName", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_BinderType", - "Parameters": [], - "ReturnType": "System.Type", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ConvertEmptyStringToNull", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_DataTypeName", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Description", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_DisplayFormatString", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_DisplayName", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_EditFormatString", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ElementMetadata", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_EnumGroupedDisplayNamesAndValues", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable>", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_EnumNamesAndValues", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyDictionary", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HasNonDefaultEditFormat", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HideSurroundingHtml", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HtmlEncode", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsBindingAllowed", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsBindingRequired", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsEnum", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsFlagsEnum", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsReadOnly", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsRequired", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ModelBindingMessageProvider", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelBindingMessageProvider", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_NullDisplayText", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Placeholder", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Properties", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelPropertyCollection", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PropertyFilterProvider", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.IPropertyFilterProvider", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ShowForDisplay", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ShowForEdit", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SimpleDisplayProperty", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TemplateHint", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PropertyValidationFilter", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IPropertyValidationFilter", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ValidateChildren", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ValidatorMetadata", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PropertyGetter", - "Parameters": [], - "ReturnType": "System.Func", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PropertySetter", - "Parameters": [], - "ReturnType": "System.Action", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "provider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider" - }, - { - "Name": "detailsProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ICompositeMetadataDetailsProvider" - }, - { - "Name": "details", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultMetadataDetails" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "provider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider" - }, - { - "Name": "detailsProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ICompositeMetadataDetailsProvider" - }, - { - "Name": "details", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultMetadataDetails" - }, - { - "Name": "modelBindingMessageProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelBindingMessageProvider" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelMetadataProvider", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadataProvider", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetMetadataForType", - "Parameters": [ - { - "Name": "modelType", - "Type": "System.Type" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetMetadataForProperties", - "Parameters": [ - { - "Name": "modelType", - "Type": "System.Type" - } - ], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_DetailsProvider", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ICompositeMetadataDetailsProvider", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ModelBindingMessageProvider", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelBindingMessageProvider", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetMetadataForParameter", - "Parameters": [ - { - "Name": "parameter", - "Type": "System.Reflection.ParameterInfo" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateModelMetadata", - "Parameters": [ - { - "Name": "entry", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultMetadataDetails" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreatePropertyDetails", - "Parameters": [ - { - "Name": "key", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataIdentity" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultMetadataDetails[]", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateTypeDetails", - "Parameters": [ - { - "Name": "key", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataIdentity" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultMetadataDetails", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateParameterDetails", - "Parameters": [ - { - "Name": "key", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataIdentity" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultMetadataDetails", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "detailsProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ICompositeMetadataDetailsProvider" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "detailsProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ICompositeMetadataDetailsProvider" - }, - { - "Name": "optionsAccessor", - "Type": "Microsoft.Extensions.Options.IOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DisplayMetadata", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_AdditionalValues", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ConvertEmptyStringToNull", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ConvertEmptyStringToNull", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_DataTypeName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_DataTypeName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Description", - "Parameters": [], - "ReturnType": "System.Func", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Description", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_DisplayFormatString", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_DisplayFormatString", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_DisplayFormatStringProvider", - "Parameters": [], - "ReturnType": "System.Func", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_DisplayFormatStringProvider", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_DisplayName", - "Parameters": [], - "ReturnType": "System.Func", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_DisplayName", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_EditFormatString", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_EditFormatString", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_EditFormatStringProvider", - "Parameters": [], - "ReturnType": "System.Func", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_EditFormatStringProvider", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_EnumGroupedDisplayNamesAndValues", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_EnumGroupedDisplayNamesAndValues", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IEnumerable>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_EnumNamesAndValues", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_EnumNamesAndValues", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IReadOnlyDictionary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HasNonDefaultEditFormat", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_HasNonDefaultEditFormat", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HideSurroundingHtml", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_HideSurroundingHtml", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HtmlEncode", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_HtmlEncode", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsEnum", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IsEnum", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsFlagsEnum", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IsFlagsEnum", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_NullDisplayText", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_NullDisplayText", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_NullDisplayTextProvider", - "Parameters": [], - "ReturnType": "System.Func", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_NullDisplayTextProvider", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Order", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Placeholder", - "Parameters": [], - "ReturnType": "System.Func", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Placeholder", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ShowForDisplay", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ShowForDisplay", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ShowForEdit", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ShowForEdit", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SimpleDisplayProperty", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SimpleDisplayProperty", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TemplateHint", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_TemplateHint", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DisplayMetadataProviderContext", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Attributes", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_DisplayMetadata", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DisplayMetadata", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Key", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataIdentity", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PropertyAttributes", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TypeAttributes", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "key", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataIdentity" - }, - { - "Name": "attributes", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelAttributes" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ExcludeBindingMetadataProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IBindingMetadataProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "CreateBindingMetadata", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.BindingMetadataProviderContext" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IBindingMetadataProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "type", - "Type": "System.Type" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IBindingMetadataProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IMetadataDetailsProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "CreateBindingMetadata", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.BindingMetadataProviderContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ICompositeMetadataDetailsProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IBindingMetadataProvider", - "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IDisplayMetadataProvider", - "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IValidationMetadataProvider" - ], - "Members": [], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IDisplayMetadataProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IMetadataDetailsProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "CreateDisplayMetadata", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DisplayMetadataProviderContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IMetadataDetailsProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IValidationMetadataProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IMetadataDetailsProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "CreateValidationMetadata", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ValidationMetadataProviderContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.MetadataDetailsProviderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "RemoveType", - "Parameters": [ - { - "Name": "list", - "Type": "System.Collections.Generic.IList" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TMetadataDetailsProvider", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IMetadataDetailsProvider" - ] - } - ] - }, - { - "Kind": "Method", - "Name": "RemoveType", - "Parameters": [ - { - "Name": "list", - "Type": "System.Collections.Generic.IList" - }, - { - "Name": "type", - "Type": "System.Type" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ValidationMetadata", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_IsRequired", - "Parameters": [], - "ReturnType": "System.Nullable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IsRequired", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PropertyValidationFilter", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IPropertyValidationFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_PropertyValidationFilter", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IPropertyValidationFilter" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ValidateChildren", - "Parameters": [], - "ReturnType": "System.Nullable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ValidateChildren", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ValidatorMetadata", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ValidationMetadataProviderContext", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Attributes", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Key", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataIdentity", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PropertyAttributes", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TypeAttributes", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ValidationMetadata", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ValidationMetadata", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "key", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataIdentity" - }, - { - "Name": "attributes", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelAttributes" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinder", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinder", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "CanCreateInstance", - "Parameters": [ - { - "Name": "targetType", - "Type": "System.Type" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.ICollectionModelBinder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateEmptyCollection", - "Parameters": [ - { - "Name": "targetType", - "Type": "System.Type" - } - ], - "ReturnType": "System.Object", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ConvertToCollectionType", - "Parameters": [ - { - "Name": "targetType", - "Type": "System.Type" - }, - { - "Name": "collection", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "ReturnType": "System.Object", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CopyToModel", - "Parameters": [ - { - "Name": "target", - "Type": "System.Object" - }, - { - "Name": "sourceCollection", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "elementBinder", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "elementBinder", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TElement", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetBinder", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinder", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder" - ], - "Members": [ - { - "Kind": "Method", - "Name": "BindModelAsync", - "Parameters": [ - { - "Name": "bindingContext", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "binderType", - "Type": "System.Type" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetBinder", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinder", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder" - ], - "Members": [ - { - "Kind": "Method", - "Name": "BindModelAsync", - "Parameters": [ - { - "Name": "bindingContext", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "formatters", - "Type": "System.Collections.Generic.IList" - }, - { - "Name": "readerFactory", - "Type": "Microsoft.AspNetCore.Mvc.Infrastructure.IHttpRequestStreamReaderFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "formatters", - "Type": "System.Collections.Generic.IList" - }, - { - "Name": "readerFactory", - "Type": "Microsoft.AspNetCore.Mvc.Infrastructure.IHttpRequestStreamReaderFactory" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "formatters", - "Type": "System.Collections.Generic.IList" - }, - { - "Name": "readerFactory", - "Type": "Microsoft.AspNetCore.Mvc.Infrastructure.IHttpRequestStreamReaderFactory" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Mvc.MvcOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetBinder", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "formatters", - "Type": "System.Collections.Generic.IList" - }, - { - "Name": "readerFactory", - "Type": "Microsoft.AspNetCore.Mvc.Infrastructure.IHttpRequestStreamReaderFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "formatters", - "Type": "System.Collections.Generic.IList" - }, - { - "Name": "readerFactory", - "Type": "Microsoft.AspNetCore.Mvc.Infrastructure.IHttpRequestStreamReaderFactory" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "formatters", - "Type": "System.Collections.Generic.IList" - }, - { - "Name": "readerFactory", - "Type": "Microsoft.AspNetCore.Mvc.Infrastructure.IHttpRequestStreamReaderFactory" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Mvc.MvcOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinder", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder" - ], - "Members": [ - { - "Kind": "Method", - "Name": "BindModelAsync", - "Parameters": [ - { - "Name": "bindingContext", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder", - "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.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetBinder", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinder", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder" - ], - "Members": [ - { - "Kind": "Method", - "Name": "BindModelAsync", - "Parameters": [ - { - "Name": "bindingContext", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetBinder", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinder", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.ICollectionModelBinder" - ], - "Members": [ - { - "Kind": "Method", - "Name": "BindModelAsync", - "Parameters": [ - { - "Name": "bindingContext", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ElementBinder", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Logger", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.Logging.ILogger", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanCreateInstance", - "Parameters": [ - { - "Name": "targetType", - "Type": "System.Type" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.ICollectionModelBinder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateEmptyCollection", - "Parameters": [ - { - "Name": "targetType", - "Type": "System.Type" - } - ], - "ReturnType": "System.Object", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateInstance", - "Parameters": [ - { - "Name": "targetType", - "Type": "System.Type" - } - ], - "ReturnType": "System.Object", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ConvertToCollectionType", - "Parameters": [ - { - "Name": "targetType", - "Type": "System.Type" - }, - { - "Name": "collection", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "ReturnType": "System.Object", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CopyToModel", - "Parameters": [ - { - "Name": "target", - "Type": "System.Object" - }, - { - "Name": "sourceCollection", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "elementBinder", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "elementBinder", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TElement", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetBinder", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexTypeModelBinder", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder" - ], - "Members": [ - { - "Kind": "Method", - "Name": "BindModelAsync", - "Parameters": [ - { - "Name": "bindingContext", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanBindProperty", - "Parameters": [ - { - "Name": "bindingContext", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext" - }, - { - "Name": "propertyMetadata", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BindProperty", - "Parameters": [ - { - "Name": "bindingContext", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateModel", - "Parameters": [ - { - "Name": "bindingContext", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext" - } - ], - "ReturnType": "System.Object", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetProperty", - "Parameters": [ - { - "Name": "bindingContext", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext" - }, - { - "Name": "modelName", - "Type": "System.String" - }, - { - "Name": "propertyMetadata", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata" - }, - { - "Name": "result", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "propertyBinders", - "Type": "System.Collections.Generic.IDictionary" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "propertyBinders", - "Type": "System.Collections.Generic.IDictionary" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexTypeModelBinderProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetBinder", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DecimalModelBinder", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder" - ], - "Members": [ - { - "Kind": "Method", - "Name": "BindModelAsync", - "Parameters": [ - { - "Name": "bindingContext", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "supportedStyles", - "Type": "System.Globalization.NumberStyles" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "supportedStyles", - "Type": "System.Globalization.NumberStyles" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinder", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinder>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "CanCreateInstance", - "Parameters": [ - { - "Name": "targetType", - "Type": "System.Type" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.ICollectionModelBinder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BindModelAsync", - "Parameters": [ - { - "Name": "bindingContext", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ConvertToCollectionType", - "Parameters": [ - { - "Name": "targetType", - "Type": "System.Type" - }, - { - "Name": "collection", - "Type": "System.Collections.Generic.IEnumerable>" - } - ], - "ReturnType": "System.Object", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateEmptyCollection", - "Parameters": [ - { - "Name": "targetType", - "Type": "System.Type" - } - ], - "ReturnType": "System.Object", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "keyBinder", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder" - }, - { - "Name": "valueBinder", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "keyBinder", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder" - }, - { - "Name": "valueBinder", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TKey", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TValue", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetBinder", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DoubleModelBinder", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder" - ], - "Members": [ - { - "Kind": "Method", - "Name": "BindModelAsync", - "Parameters": [ - { - "Name": "bindingContext", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "supportedStyles", - "Type": "System.Globalization.NumberStyles" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "supportedStyles", - "Type": "System.Globalization.NumberStyles" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinder", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinder", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "CheckModel", - "Parameters": [ - { - "Name": "bindingContext", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext" - }, - { - "Name": "valueProviderResult", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderResult" - }, - { - "Name": "model", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "suppressBindingUndefinedValueToEnumType", - "Type": "System.Boolean" - }, - { - "Name": "modelType", - "Type": "System.Type" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetBinder", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Mvc.MvcOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetBinder", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatModelBinder", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder" - ], - "Members": [ - { - "Kind": "Method", - "Name": "BindModelAsync", - "Parameters": [ - { - "Name": "bindingContext", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "supportedStyles", - "Type": "System.Globalization.NumberStyles" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "supportedStyles", - "Type": "System.Globalization.NumberStyles" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinder", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder" - ], - "Members": [ - { - "Kind": "Method", - "Name": "BindModelAsync", - "Parameters": [ - { - "Name": "bindingContext", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder", - "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.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetBinder", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinder", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder" - ], - "Members": [ - { - "Kind": "Method", - "Name": "BindModelAsync", - "Parameters": [ - { - "Name": "bindingContext", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder", - "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.Mvc.ModelBinding.Binders.FormFileModelBinderProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetBinder", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinder", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder" - ], - "Members": [ - { - "Kind": "Method", - "Name": "BindModelAsync", - "Parameters": [ - { - "Name": "bindingContext", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder", - "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": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - }, - { - "Name": "innerModelBinder", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetBinder", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinder", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder" - ], - "Members": [ - { - "Kind": "Method", - "Name": "BindModelAsync", - "Parameters": [ - { - "Name": "bindingContext", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "keyBinder", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder" - }, - { - "Name": "valueBinder", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "keyBinder", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder" - }, - { - "Name": "valueBinder", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TKey", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TValue", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetBinder", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinder", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder" - ], - "Members": [ - { - "Kind": "Method", - "Name": "BindModelAsync", - "Parameters": [ - { - "Name": "bindingContext", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetBinder", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinder", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder" - ], - "Members": [ - { - "Kind": "Method", - "Name": "CheckModel", - "Parameters": [ - { - "Name": "bindingContext", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext" - }, - { - "Name": "valueProviderResult", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderResult" - }, - { - "Name": "model", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BindModelAsync", - "Parameters": [ - { - "Name": "bindingContext", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "type", - "Type": "System.Type" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "type", - "Type": "System.Type" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetBinder", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Infrastructure.ActionContextAccessor", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Infrastructure.IActionContextAccessor" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_ActionContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ActionContext", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Infrastructure.IActionContextAccessor", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ActionContext", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Infrastructure.IActionContextAccessor", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Infrastructure.ActionDescriptorCollection", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Items", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Version", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "items", - "Type": "System.Collections.Generic.IReadOnlyList" - }, - { - "Name": "version", - "Type": "System.Int32" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Infrastructure.CompatibilitySwitch", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Infrastructure.ICompatibilitySwitch" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_IsValueSet", - "Parameters": [], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Infrastructure.ICompatibilitySwitch", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Name", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Infrastructure.ICompatibilitySwitch", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Value", - "Parameters": [], - "ReturnType": "T0", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Value", - "Parameters": [ - { - "Name": "value", - "Type": "T0" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "initialValue", - "Type": "T0" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TValue", - "ParameterPosition": 0, - "New": true, - "Struct": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Infrastructure.ConfigureCompatibilityOptions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.Extensions.Options.IPostConfigureOptions" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_DefaultValues", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyDictionary", - "Virtual": true, - "Abstract": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Version", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.CompatibilityVersion", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PostConfigure", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "options", - "Type": "T0" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "ImplementedInterface": "Microsoft.Extensions.Options.IPostConfigureOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - }, - { - "Name": "compatibilityOptions", - "Type": "Microsoft.Extensions.Options.IOptions" - } - ], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TOptions", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [ - "System.Collections.Generic.IEnumerable" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Infrastructure.ContentResultExecutor", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor" - ], - "Members": [ - { - "Kind": "Method", - "Name": "ExecuteAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "result", - "Type": "Microsoft.AspNetCore.Mvc.ContentResult" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "logger", - "Type": "Microsoft.Extensions.Logging.ILogger" - }, - { - "Name": "httpResponseStreamWriterFactory", - "Type": "Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Infrastructure.DefaultOutputFormatterSelector", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.Infrastructure.OutputFormatterSelector", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "SelectFormatter", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterCanWriteContext" - }, - { - "Name": "formatters", - "Type": "System.Collections.Generic.IList" - }, - { - "Name": "contentTypes", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.MediaTypeCollection" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Formatters.IOutputFormatter", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptions" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Infrastructure.FileContentResultExecutor", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.Infrastructure.FileResultExecutorBase", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor" - ], - "Members": [ - { - "Kind": "Method", - "Name": "ExecuteAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "result", - "Type": "Microsoft.AspNetCore.Mvc.FileContentResult" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteFileAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "result", - "Type": "Microsoft.AspNetCore.Mvc.FileContentResult" - }, - { - "Name": "range", - "Type": "Microsoft.Net.Http.Headers.RangeItemHeaderValue" - }, - { - "Name": "rangeLength", - "Type": "System.Int64" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Infrastructure.FileResultExecutorBase", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Logger", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.Logging.ILogger", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetHeadersAndLog", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "result", - "Type": "Microsoft.AspNetCore.Mvc.FileResult" - }, - { - "Name": "fileLength", - "Type": "System.Nullable" - }, - { - "Name": "enableRangeProcessing", - "Type": "System.Boolean" - }, - { - "Name": "lastModified", - "Type": "System.Nullable", - "DefaultValue": "default(System.Nullable)" - }, - { - "Name": "etag", - "Type": "Microsoft.Net.Http.Headers.EntityTagHeaderValue", - "DefaultValue": "null" - } - ], - "ReturnType": "System.ValueTuple", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateLogger", - "Parameters": [ - { - "Name": "factory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - } - ], - "ReturnType": "Microsoft.Extensions.Logging.ILogger", - "Static": true, - "Visibility": "Protected", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "WriteFileAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "fileStream", - "Type": "System.IO.Stream" - }, - { - "Name": "range", - "Type": "Microsoft.Net.Http.Headers.RangeItemHeaderValue" - }, - { - "Name": "rangeLength", - "Type": "System.Int64" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "logger", - "Type": "Microsoft.Extensions.Logging.ILogger" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "BufferSize", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Protected", - "GenericParameter": [], - "Constant": true, - "Literal": "65536" - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Infrastructure.FileStreamResultExecutor", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.Infrastructure.FileResultExecutorBase", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor" - ], - "Members": [ - { - "Kind": "Method", - "Name": "ExecuteAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "result", - "Type": "Microsoft.AspNetCore.Mvc.FileStreamResult" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteFileAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "result", - "Type": "Microsoft.AspNetCore.Mvc.FileStreamResult" - }, - { - "Name": "range", - "Type": "Microsoft.Net.Http.Headers.RangeItemHeaderValue" - }, - { - "Name": "rangeLength", - "Type": "System.Int64" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Infrastructure.IActionContextAccessor", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ActionContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ActionContext", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ActionContext", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorChangeProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetChangeToken", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.Primitives.IChangeToken", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ActionDescriptors", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Infrastructure.ActionDescriptorCollection", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Infrastructure.IActionInvokerFactory", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "CreateInvoker", - "Parameters": [ - { - "Name": "actionContext", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Abstractions.IActionInvoker", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ExecuteAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "result", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Mvc.IActionResult" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultTypeMapper", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetResultDataType", - "Parameters": [ - { - "Name": "returnType", - "Type": "System.Type" - } - ], - "ReturnType": "System.Type", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Convert", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "returnType", - "Type": "System.Type" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.IActionResult", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Infrastructure.IActionSelector", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "SelectCandidates", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Routing.RouteContext" - } - ], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SelectBestCandidate", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Routing.RouteContext" - }, - { - "Name": "candidates", - "Type": "System.Collections.Generic.IReadOnlyList" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Infrastructure.ICompatibilitySwitch", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_IsValueSet", - "Parameters": [], - "ReturnType": "System.Boolean", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Name", - "Parameters": [], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Value", - "Parameters": [], - "ReturnType": "System.Object", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Value", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Infrastructure.IConvertToActionResult", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Convert", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.IActionResult", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Infrastructure.IHttpRequestStreamReaderFactory", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "CreateReader", - "Parameters": [ - { - "Name": "stream", - "Type": "System.IO.Stream" - }, - { - "Name": "encoding", - "Type": "System.Text.Encoding" - } - ], - "ReturnType": "System.IO.TextReader", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "CreateWriter", - "Parameters": [ - { - "Name": "stream", - "Type": "System.IO.Stream" - }, - { - "Name": "encoding", - "Type": "System.Text.Encoding" - } - ], - "ReturnType": "System.IO.TextWriter", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Infrastructure.LocalRedirectResultExecutor", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor" - ], - "Members": [ - { - "Kind": "Method", - "Name": "ExecuteAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "result", - "Type": "Microsoft.AspNetCore.Mvc.LocalRedirectResult" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - }, - { - "Name": "urlHelperFactory", - "Type": "Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IActionFilter", - "Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsReusable", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnActionExecuted", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.ActionExecutedContext" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IActionFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnActionExecuting", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IActionFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "apiBehaviorOptions", - "Type": "Microsoft.AspNetCore.Mvc.ApiBehaviorOptions" - }, - { - "Name": "logger", - "Type": "Microsoft.Extensions.Logging.ILogger" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Infrastructure.MvcCompatibilityOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_CompatibilityVersion", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.CompatibilityVersion", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_CompatibilityVersion", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.CompatibilityVersion" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Logger", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.Logging.ILogger", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_FormatterSelector", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Infrastructure.OutputFormatterSelector", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_WriterFactory", - "Parameters": [], - "ReturnType": "System.Func", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ExecuteAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "result", - "Type": "Microsoft.AspNetCore.Mvc.ObjectResult" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "formatterSelector", - "Type": "Microsoft.AspNetCore.Mvc.Infrastructure.OutputFormatterSelector" - }, - { - "Name": "writerFactory", - "Type": "Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Infrastructure.OutputFormatterSelector", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "SelectFormatter", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterCanWriteContext" - }, - { - "Name": "formatters", - "Type": "System.Collections.Generic.IList" - }, - { - "Name": "mediaTypes", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.MediaTypeCollection" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Formatters.IOutputFormatter", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Infrastructure.PhysicalFileResultExecutor", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.Infrastructure.FileResultExecutorBase", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor" - ], - "Members": [ - { - "Kind": "Method", - "Name": "ExecuteAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "result", - "Type": "Microsoft.AspNetCore.Mvc.PhysicalFileResult" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteFileAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "result", - "Type": "Microsoft.AspNetCore.Mvc.PhysicalFileResult" - }, - { - "Name": "range", - "Type": "Microsoft.Net.Http.Headers.RangeItemHeaderValue" - }, - { - "Name": "rangeLength", - "Type": "System.Int64" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetFileStream", - "Parameters": [ - { - "Name": "path", - "Type": "System.String" - } - ], - "ReturnType": "System.IO.Stream", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetFileInfo", - "Parameters": [ - { - "Name": "path", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Infrastructure.PhysicalFileResultExecutor+FileMetadata", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Infrastructure.RedirectResultExecutor", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor" - ], - "Members": [ - { - "Kind": "Method", - "Name": "ExecuteAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "result", - "Type": "Microsoft.AspNetCore.Mvc.RedirectResult" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - }, - { - "Name": "urlHelperFactory", - "Type": "Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Infrastructure.RedirectToActionResultExecutor", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor" - ], - "Members": [ - { - "Kind": "Method", - "Name": "ExecuteAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "result", - "Type": "Microsoft.AspNetCore.Mvc.RedirectToActionResult" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - }, - { - "Name": "urlHelperFactory", - "Type": "Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Infrastructure.RedirectToPageResultExecutor", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor" - ], - "Members": [ - { - "Kind": "Method", - "Name": "ExecuteAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "result", - "Type": "Microsoft.AspNetCore.Mvc.RedirectToPageResult" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - }, - { - "Name": "urlHelperFactory", - "Type": "Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Infrastructure.RedirectToRouteResultExecutor", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor" - ], - "Members": [ - { - "Kind": "Method", - "Name": "ExecuteAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "result", - "Type": "Microsoft.AspNetCore.Mvc.RedirectToRouteResult" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - }, - { - "Name": "urlHelperFactory", - "Type": "Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Infrastructure.VirtualFileResultExecutor", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.Infrastructure.FileResultExecutorBase", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor" - ], - "Members": [ - { - "Kind": "Method", - "Name": "ExecuteAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "result", - "Type": "Microsoft.AspNetCore.Mvc.VirtualFileResult" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteFileAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "result", - "Type": "Microsoft.AspNetCore.Mvc.VirtualFileResult" - }, - { - "Name": "fileInfo", - "Type": "Microsoft.Extensions.FileProviders.IFileInfo" - }, - { - "Name": "range", - "Type": "Microsoft.Net.Http.Headers.RangeItemHeaderValue" - }, - { - "Name": "rangeLength", - "Type": "System.Int64" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetFileStream", - "Parameters": [ - { - "Name": "fileInfo", - "Type": "Microsoft.Extensions.FileProviders.IFileInfo" - } - ], - "ReturnType": "System.IO.Stream", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - }, - { - "Name": "hostingEnvironment", - "Type": "Microsoft.AspNetCore.Hosting.IHostingEnvironment" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Formatters.FormatFilter", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Formatters.Internal.IFormatFilter", - "Microsoft.AspNetCore.Mvc.Filters.IResourceFilter", - "Microsoft.AspNetCore.Mvc.Filters.IResultFilter" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetFormat", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "ReturnType": "System.String", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Formatters.Internal.IFormatFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnResourceExecuting", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.ResourceExecutingContext" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IResourceFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnResourceExecuted", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.ResourceExecutedContext" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IResourceFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnResultExecuting", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.ResultExecutingContext" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IResultFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnResultExecuted", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.ResultExecutedContext" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IResultFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptions" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Formatters.FormatterMappings", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "SetMediaTypeMappingForFormat", - "Parameters": [ - { - "Name": "format", - "Type": "System.String" - }, - { - "Name": "contentType", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetMediaTypeMappingForFormat", - "Parameters": [ - { - "Name": "format", - "Type": "System.String" - }, - { - "Name": "contentType", - "Type": "Microsoft.Net.Http.Headers.MediaTypeHeaderValue" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetMediaTypeMappingForFormat", - "Parameters": [ - { - "Name": "format", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ClearMediaTypeMappingForFormat", - "Parameters": [ - { - "Name": "format", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Formatters.HttpNoContentOutputFormatter", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Formatters.IOutputFormatter" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_TreatNullValueAsNoContent", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_TreatNullValueAsNoContent", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanWriteResult", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterCanWriteContext" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Formatters.IOutputFormatter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Formatters.IOutputFormatter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Formatters.InputFormatter", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Formatters.IInputFormatter", - "Microsoft.AspNetCore.Mvc.ApiExplorer.IApiRequestFormatMetadataProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_SupportedMediaTypes", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Formatters.MediaTypeCollection", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetDefaultValueForType", - "Parameters": [ - { - "Name": "modelType", - "Type": "System.Type" - } - ], - "ReturnType": "System.Object", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanRead", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.InputFormatterContext" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Formatters.IInputFormatter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanReadType", - "Parameters": [ - { - "Name": "type", - "Type": "System.Type" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ReadAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.InputFormatterContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Formatters.IInputFormatter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ReadRequestBodyAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.InputFormatterContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetSupportedContentTypes", - "Parameters": [ - { - "Name": "contentType", - "Type": "System.String" - }, - { - "Name": "objectType", - "Type": "System.Type" - } - ], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApiExplorer.IApiRequestFormatMetadataProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Formatters.MediaType", - "Visibility": "Public", - "Kind": "Struct", - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Type", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.Primitives.StringSegment", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MatchesAllTypes", - "Parameters": [], - "ReturnType": "System.Boolean", - "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_SubTypeSuffix", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.Primitives.StringSegment", - "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_Encoding", - "Parameters": [], - "ReturnType": "System.Text.Encoding", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Charset", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.Primitives.StringSegment", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HasWildcard", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsSubsetOf", - "Parameters": [ - { - "Name": "set", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.MediaType" - } - ], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetParameter", - "Parameters": [ - { - "Name": "parameterName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.Extensions.Primitives.StringSegment", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetParameter", - "Parameters": [ - { - "Name": "parameterName", - "Type": "Microsoft.Extensions.Primitives.StringSegment" - } - ], - "ReturnType": "Microsoft.Extensions.Primitives.StringSegment", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ReplaceEncoding", - "Parameters": [ - { - "Name": "mediaType", - "Type": "System.String" - }, - { - "Name": "encoding", - "Type": "System.Text.Encoding" - } - ], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ReplaceEncoding", - "Parameters": [ - { - "Name": "mediaType", - "Type": "Microsoft.Extensions.Primitives.StringSegment" - }, - { - "Name": "encoding", - "Type": "System.Text.Encoding" - } - ], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetEncoding", - "Parameters": [ - { - "Name": "mediaType", - "Type": "System.String" - } - ], - "ReturnType": "System.Text.Encoding", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetEncoding", - "Parameters": [ - { - "Name": "mediaType", - "Type": "Microsoft.Extensions.Primitives.StringSegment" - } - ], - "ReturnType": "System.Text.Encoding", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateMediaTypeSegmentWithQuality", - "Parameters": [ - { - "Name": "mediaType", - "Type": "System.String" - }, - { - "Name": "start", - "Type": "System.Int32" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Formatters.Internal.MediaTypeSegmentWithQuality", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "mediaType", - "Type": "System.String" - } - ], - "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": "System.String" - }, - { - "Name": "offset", - "Type": "System.Int32" - }, - { - "Name": "length", - "Type": "System.Nullable" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Formatters.MediaTypeCollection", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Collections.ObjectModel.Collection", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Add", - "Parameters": [ - { - "Name": "item", - "Type": "Microsoft.Net.Http.Headers.MediaTypeHeaderValue" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Insert", - "Parameters": [ - { - "Name": "index", - "Type": "System.Int32" - }, - { - "Name": "item", - "Type": "Microsoft.Net.Http.Headers.MediaTypeHeaderValue" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Remove", - "Parameters": [ - { - "Name": "item", - "Type": "Microsoft.Net.Http.Headers.MediaTypeHeaderValue" - } - ], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Formatters.OutputFormatter", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Formatters.IOutputFormatter", - "Microsoft.AspNetCore.Mvc.ApiExplorer.IApiResponseTypeMetadataProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_SupportedMediaTypes", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Formatters.MediaTypeCollection", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanWriteType", - "Parameters": [ - { - "Name": "type", - "Type": "System.Type" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetSupportedContentTypes", - "Parameters": [ - { - "Name": "contentType", - "Type": "System.String" - }, - { - "Name": "objectType", - "Type": "System.Type" - } - ], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApiExplorer.IApiResponseTypeMetadataProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanWriteResult", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterCanWriteContext" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Formatters.IOutputFormatter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Formatters.IOutputFormatter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteResponseHeaders", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteResponseBodyAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Formatters.StreamOutputFormatter", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Formatters.IOutputFormatter" - ], - "Members": [ - { - "Kind": "Method", - "Name": "CanWriteResult", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterCanWriteContext" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Formatters.IOutputFormatter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Formatters.IOutputFormatter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Formatters.StringOutputFormatter", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.Formatters.TextOutputFormatter", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "CanWriteResult", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterCanWriteContext" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Formatters.IOutputFormatter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteResponseBodyAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext" - }, - { - "Name": "encoding", - "Type": "System.Text.Encoding" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Formatters.TextInputFormatter", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "BaseType": "Microsoft.AspNetCore.Mvc.Formatters.InputFormatter", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_SupportedEncodings", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ReadRequestBodyAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.InputFormatterContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ReadRequestBodyAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.InputFormatterContext" - }, - { - "Name": "encoding", - "Type": "System.Text.Encoding" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SelectCharacterEncoding", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.InputFormatterContext" - } - ], - "ReturnType": "System.Text.Encoding", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "UTF8EncodingWithoutBOM", - "Parameters": [], - "ReturnType": "System.Text.Encoding", - "Static": true, - "ReadOnly": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "UTF16EncodingLittleEndian", - "Parameters": [], - "ReturnType": "System.Text.Encoding", - "Static": true, - "ReadOnly": true, - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Formatters.TextOutputFormatter", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "BaseType": "Microsoft.AspNetCore.Mvc.Formatters.OutputFormatter", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "WriteResponseBodyAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext" - }, - { - "Name": "selectedEncoding", - "Type": "System.Text.Encoding" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Formatters.IOutputFormatter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SupportedEncodings", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SelectCharacterEncoding", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext" - } - ], - "ReturnType": "System.Text.Encoding", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteResponseBodyAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Filters.ActionFilterAttribute", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "BaseType": "System.Attribute", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IActionFilter", - "Microsoft.AspNetCore.Mvc.Filters.IAsyncActionFilter", - "Microsoft.AspNetCore.Mvc.Filters.IResultFilter", - "Microsoft.AspNetCore.Mvc.Filters.IAsyncResultFilter", - "Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Order", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnActionExecuting", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IActionFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnActionExecuted", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.ActionExecutedContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IActionFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnActionExecutionAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext" - }, - { - "Name": "next", - "Type": "Microsoft.AspNetCore.Mvc.Filters.ActionExecutionDelegate" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IAsyncActionFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnResultExecuting", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.ResultExecutingContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IResultFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnResultExecuted", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.ResultExecutedContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IResultFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnResultExecutionAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.ResultExecutingContext" - }, - { - "Name": "next", - "Type": "Microsoft.AspNetCore.Mvc.Filters.ResultExecutionDelegate" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IAsyncResultFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Filters.ExceptionFilterAttribute", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "BaseType": "System.Attribute", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IAsyncExceptionFilter", - "Microsoft.AspNetCore.Mvc.Filters.IExceptionFilter", - "Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Order", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnExceptionAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.ExceptionContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IAsyncExceptionFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnException", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.ExceptionContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IExceptionFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Filters.FilterCollection", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Collections.ObjectModel.Collection", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Add", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TFilterType", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata" - ] - } - ] - }, - { - "Kind": "Method", - "Name": "Add", - "Parameters": [ - { - "Name": "filterType", - "Type": "System.Type" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Add", - "Parameters": [ - { - "Name": "order", - "Type": "System.Int32" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TFilterType", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata" - ] - } - ] - }, - { - "Kind": "Method", - "Name": "Add", - "Parameters": [ - { - "Name": "filterType", - "Type": "System.Type" - }, - { - "Name": "order", - "Type": "System.Int32" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddService", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TFilterType", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata" - ] - } - ] - }, - { - "Kind": "Method", - "Name": "AddService", - "Parameters": [ - { - "Name": "filterType", - "Type": "System.Type" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddService", - "Parameters": [ - { - "Name": "order", - "Type": "System.Int32" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TFilterType", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata" - ] - } - ] - }, - { - "Kind": "Method", - "Name": "AddService", - "Parameters": [ - { - "Name": "filterType", - "Type": "System.Type" - }, - { - "Name": "order", - "Type": "System.Int32" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Filters.FilterScope", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "First", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "Global", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "Controller", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "Action", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "Last", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Filters.ResultFilterAttribute", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "BaseType": "System.Attribute", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IResultFilter", - "Microsoft.AspNetCore.Mvc.Filters.IAsyncResultFilter", - "Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Order", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnResultExecuting", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.ResultExecutingContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IResultFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnResultExecuted", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.ResultExecutedContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IResultFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnResultExecutionAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.ResultExecutingContext" - }, - { - "Name": "next", - "Type": "Microsoft.AspNetCore.Mvc.Filters.ResultExecutionDelegate" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IAsyncResultFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ControllerName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ControllerName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ActionName", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ActionName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MethodInfo", - "Parameters": [], - "ReturnType": "System.Reflection.MethodInfo", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MethodInfo", - "Parameters": [ - { - "Name": "value", - "Type": "System.Reflection.MethodInfo" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ControllerTypeInfo", - "Parameters": [], - "ReturnType": "System.Reflection.TypeInfo", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ControllerTypeInfo", - "Parameters": [ - { - "Name": "value", - "Type": "System.Reflection.TypeInfo" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_DisplayName", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_DisplayName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Controllers.ControllerActivatorProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Controllers.IControllerActivatorProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "CreateActivator", - "Parameters": [ - { - "Name": "descriptor", - "Type": "Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor" - } - ], - "ReturnType": "System.Func", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Controllers.IControllerActivatorProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateReleaser", - "Parameters": [ - { - "Name": "descriptor", - "Type": "Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor" - } - ], - "ReturnType": "System.Action", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Controllers.IControllerActivatorProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "controllerActivator", - "Type": "Microsoft.AspNetCore.Mvc.Controllers.IControllerActivator" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Controllers.ControllerBoundPropertyDescriptor", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.Abstractions.ParameterDescriptor", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_PropertyInfo", - "Parameters": [], - "ReturnType": "System.Reflection.PropertyInfo", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_PropertyInfo", - "Parameters": [ - { - "Name": "value", - "Type": "System.Reflection.PropertyInfo" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Controllers.IControllerFactoryProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "CreateControllerFactory", - "Parameters": [ - { - "Name": "descriptor", - "Type": "Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor" - } - ], - "ReturnType": "System.Func", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Controllers.IControllerFactoryProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateControllerReleaser", - "Parameters": [ - { - "Name": "descriptor", - "Type": "Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor" - } - ], - "ReturnType": "System.Action", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Controllers.IControllerFactoryProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "activatorProvider", - "Type": "Microsoft.AspNetCore.Mvc.Controllers.IControllerActivatorProvider" - }, - { - "Name": "controllerFactory", - "Type": "Microsoft.AspNetCore.Mvc.Controllers.IControllerFactory" - }, - { - "Name": "propertyActivators", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Controllers.ControllerFeature", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Controllers", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Controllers.ControllerFeatureProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationFeatureProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "PopulateFeature", - "Parameters": [ - { - "Name": "parts", - "Type": "System.Collections.Generic.IEnumerable" - }, - { - "Name": "feature", - "Type": "Microsoft.AspNetCore.Mvc.Controllers.ControllerFeature" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationFeatureProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsController", - "Parameters": [ - { - "Name": "typeInfo", - "Type": "System.Reflection.TypeInfo" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Controllers.ControllerParameterDescriptor", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.Abstractions.ParameterDescriptor", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ParameterInfo", - "Parameters": [], - "ReturnType": "System.Reflection.ParameterInfo", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ParameterInfo", - "Parameters": [ - { - "Name": "value", - "Type": "System.Reflection.ParameterInfo" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Controllers.DefaultControllerActivator", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Controllers.IControllerActivator" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Create", - "Parameters": [ - { - "Name": "controllerContext", - "Type": "Microsoft.AspNetCore.Mvc.ControllerContext" - } - ], - "ReturnType": "System.Object", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Controllers.IControllerActivator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Release", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ControllerContext" - }, - { - "Name": "controller", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Controllers.IControllerActivator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "typeActivatorCache", - "Type": "Microsoft.AspNetCore.Mvc.Internal.ITypeActivatorCache" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Controllers.DefaultControllerFactory", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Controllers.IControllerFactory" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_ControllerActivator", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Controllers.IControllerActivator", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateController", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ControllerContext" - } - ], - "ReturnType": "System.Object", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Controllers.IControllerFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ReleaseController", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ControllerContext" - }, - { - "Name": "controller", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Controllers.IControllerFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "controllerActivator", - "Type": "Microsoft.AspNetCore.Mvc.Controllers.IControllerActivator" - }, - { - "Name": "propertyActivators", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Controllers.IControllerActivator", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Create", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ControllerContext" - } - ], - "ReturnType": "System.Object", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Release", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ControllerContext" - }, - { - "Name": "controller", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Controllers.IControllerActivatorProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "CreateActivator", - "Parameters": [ - { - "Name": "descriptor", - "Type": "Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor" - } - ], - "ReturnType": "System.Func", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateReleaser", - "Parameters": [ - { - "Name": "descriptor", - "Type": "Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor" - } - ], - "ReturnType": "System.Action", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Controllers.IControllerFactory", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "CreateController", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ControllerContext" - } - ], - "ReturnType": "System.Object", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ReleaseController", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ControllerContext" - }, - { - "Name": "controller", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Controllers.IControllerFactoryProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "CreateControllerFactory", - "Parameters": [ - { - "Name": "descriptor", - "Type": "Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor" - } - ], - "ReturnType": "System.Func", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateControllerReleaser", - "Parameters": [ - { - "Name": "descriptor", - "Type": "Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor" - } - ], - "ReturnType": "System.Action", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Controllers.ServiceBasedControllerActivator", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Controllers.IControllerActivator" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Create", - "Parameters": [ - { - "Name": "actionContext", - "Type": "Microsoft.AspNetCore.Mvc.ControllerContext" - } - ], - "ReturnType": "System.Object", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Controllers.IControllerActivator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Release", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ControllerContext" - }, - { - "Name": "controller", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Controllers.IControllerActivator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Authorization.AllowAnonymousFilter", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Authorization.IAllowAnonymousFilter" - ], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Authorization.AuthorizeFilter", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IAsyncAuthorizationFilter", - "Microsoft.AspNetCore.Mvc.Filters.IFilterFactory" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_PolicyProvider", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AuthorizeData", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Policy", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationPolicy", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnAuthorizationAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.AuthorizationFilterContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IAsyncAuthorizationFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "policy", - "Type": "Microsoft.AspNetCore.Authorization.AuthorizationPolicy" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "policyProvider", - "Type": "Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider" - }, - { - "Name": "authorizeData", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "authorizeData", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "policy", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPart", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Name", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartFactory", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetApplicationParts", - "Parameters": [ - { - "Name": "assembly", - "Type": "System.Reflection.Assembly" - } - ], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetApplicationPartFactory", - "Parameters": [ - { - "Name": "assembly", - "Type": "System.Reflection.Assembly" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartFactory", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_FeatureProviders", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ApplicationParts", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PopulateFeature", - "Parameters": [ - { - "Name": "feature", - "Type": "T0" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TFeature", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationParts.AssemblyPart", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPart", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationPartTypeProvider", - "Microsoft.AspNetCore.Mvc.ApplicationParts.ICompilationReferencesProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Assembly", - "Parameters": [], - "ReturnType": "System.Reflection.Assembly", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Name", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Types", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationPartTypeProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetReferencePaths", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationParts.ICompilationReferencesProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "assembly", - "Type": "System.Reflection.Assembly" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationParts.DefaultApplicationPartFactory", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartFactory", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Instance", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ApplicationParts.DefaultApplicationPartFactory", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetDefaultApplicationParts", - "Parameters": [ - { - "Name": "assembly", - "Type": "System.Reflection.Assembly" - } - ], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetApplicationParts", - "Parameters": [ - { - "Name": "assembly", - "Type": "System.Reflection.Assembly" - } - ], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationFeatureProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationFeatureProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationFeatureProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "PopulateFeature", - "Parameters": [ - { - "Name": "parts", - "Type": "System.Collections.Generic.IEnumerable" - }, - { - "Name": "feature", - "Type": "T0" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TFeature", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationPartTypeProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Types", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationParts.ICompilationReferencesProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetReferencePaths", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationParts.NullApplicationPartFactory", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartFactory", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetApplicationParts", - "Parameters": [ - { - "Name": "assembly", - "Type": "System.Reflection.Assembly" - } - ], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationParts.ProvideApplicationPartFactoryAttribute", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "BaseType": "System.Attribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetFactoryType", - "Parameters": [], - "ReturnType": "System.Type", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "factoryType", - "Type": "System.Type" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "factoryTypeName", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationParts.RelatedAssemblyAttribute", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "BaseType": "System.Attribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_AssemblyFileName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetRelatedAssemblies", - "Parameters": [ - { - "Name": "assembly", - "Type": "System.Reflection.Assembly" - }, - { - "Name": "throwOnError", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "assemblyFileName", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ApplicationModels.ICommonModel", - "Microsoft.AspNetCore.Mvc.ApplicationModels.IFilterModel", - "Microsoft.AspNetCore.Mvc.ApplicationModels.IApiExplorerModel" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Properties", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationModels.IPropertyModel", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ActionMethod", - "Parameters": [], - "ReturnType": "System.Reflection.MethodInfo", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ActionName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ActionName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ApiExplorer", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ApplicationModels.ApiExplorerModel", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationModels.IApiExplorerModel", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ApiExplorer", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.ApiExplorerModel" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationModels.IApiExplorerModel", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Attributes", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationModels.ICommonModel", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Controller", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerModel", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Controller", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerModel" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Filters", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationModels.IFilterModel", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Parameters", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RouteValues", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Selectors", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_DisplayName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "actionMethod", - "Type": "System.Reflection.MethodInfo" - }, - { - "Name": "attributes", - "Type": "System.Collections.Generic.IReadOnlyList" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "other", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationModels.ApiExplorerModel", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_IsVisible", - "Parameters": [], - "ReturnType": "System.Nullable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IsVisible", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_GroupName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_GroupName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "other", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.ApiExplorerModel" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModel", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ApplicationModels.IPropertyModel", - "Microsoft.AspNetCore.Mvc.ApplicationModels.IFilterModel", - "Microsoft.AspNetCore.Mvc.ApplicationModels.IApiExplorerModel" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_ApiExplorer", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ApplicationModels.ApiExplorerModel", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationModels.IApiExplorerModel", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ApiExplorer", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.ApiExplorerModel" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationModels.IApiExplorerModel", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Controllers", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Filters", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationModels.IFilterModel", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Properties", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationModels.IPropertyModel", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModelProviderContext", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ControllerTypes", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Result", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModel", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "controllerTypes", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationModels.AttributeRouteModel", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Attribute", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Routing.IRouteTemplateProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Template", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Template", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Nullable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Order", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "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_SuppressLinkGeneration", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SuppressLinkGeneration", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SuppressPathMatching", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SuppressPathMatching", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsAbsoluteTemplate", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CombineAttributeRouteModel", - "Parameters": [ - { - "Name": "left", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.AttributeRouteModel" - }, - { - "Name": "right", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.AttributeRouteModel" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ApplicationModels.AttributeRouteModel", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CombineTemplates", - "Parameters": [ - { - "Name": "prefix", - "Type": "System.String" - }, - { - "Name": "template", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsOverridePattern", - "Parameters": [ - { - "Name": "template", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ReplaceTokens", - "Parameters": [ - { - "Name": "template", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "System.Collections.Generic.IDictionary" - } - ], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "templateProvider", - "Type": "Microsoft.AspNetCore.Mvc.Routing.IRouteTemplateProvider" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "other", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.AttributeRouteModel" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerModel", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ApplicationModels.ICommonModel", - "Microsoft.AspNetCore.Mvc.ApplicationModels.IFilterModel", - "Microsoft.AspNetCore.Mvc.ApplicationModels.IApiExplorerModel" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Properties", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationModels.IPropertyModel", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Actions", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ApiExplorer", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ApplicationModels.ApiExplorerModel", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationModels.IApiExplorerModel", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ApiExplorer", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.ApiExplorerModel" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationModels.IApiExplorerModel", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Application", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModel", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Application", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModel" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Attributes", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationModels.ICommonModel", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ControllerName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ControllerName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ControllerType", - "Parameters": [], - "ReturnType": "System.Reflection.TypeInfo", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ControllerProperties", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Filters", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationModels.IFilterModel", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RouteValues", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Selectors", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_DisplayName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "controllerType", - "Type": "System.Reflection.TypeInfo" - }, - { - "Name": "attributes", - "Type": "System.Collections.Generic.IReadOnlyList" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "other", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerModel" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationModels.IActionModelConvention", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Apply", - "Parameters": [ - { - "Name": "action", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationModels.IApiExplorerModel", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ApiExplorer", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ApplicationModels.ApiExplorerModel", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ApiExplorer", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.ApiExplorerModel" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelConvention", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Apply", - "Parameters": [ - { - "Name": "application", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModel" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnProvidersExecuting", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModelProviderContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnProvidersExecuted", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModelProviderContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationModels.IBindingModel", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_BindingInfo", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingInfo", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_BindingInfo", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingInfo" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationModels.ICommonModel", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ApplicationModels.IPropertyModel" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Attributes", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MemberInfo", - "Parameters": [], - "ReturnType": "System.Reflection.MemberInfo", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Name", - "Parameters": [], - "ReturnType": "System.String", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationModels.IControllerModelConvention", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Apply", - "Parameters": [ - { - "Name": "controller", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerModel" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationModels.IFilterModel", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Filters", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationModels.IParameterModelBaseConvention", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Apply", - "Parameters": [ - { - "Name": "parameter", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.ParameterModelBase" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationModels.IParameterModelConvention", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Apply", - "Parameters": [ - { - "Name": "parameter", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.ParameterModel" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationModels.IPropertyModel", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Properties", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationModels.ParameterModel", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ApplicationModels.ParameterModelBase", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ApplicationModels.ICommonModel" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Properties", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationModels.IPropertyModel", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Action", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Action", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Attributes", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationModels.ICommonModel", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ParameterInfo", - "Parameters": [], - "ReturnType": "System.Reflection.ParameterInfo", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ParameterName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ParameterName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_DisplayName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "parameterInfo", - "Type": "System.Reflection.ParameterInfo" - }, - { - "Name": "attributes", - "Type": "System.Collections.Generic.IReadOnlyList" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "other", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.ParameterModel" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationModels.ParameterModelBase", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ApplicationModels.IBindingModel" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Attributes", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Properties", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ParameterType", - "Parameters": [], - "ReturnType": "System.Type", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Name", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Name", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_BindingInfo", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingInfo", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationModels.IBindingModel", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_BindingInfo", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingInfo" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationModels.IBindingModel", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "parameterType", - "Type": "System.Type" - }, - { - "Name": "attributes", - "Type": "System.Collections.Generic.IReadOnlyList" - } - ], - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "other", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.ParameterModelBase" - } - ], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationModels.PropertyModel", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ApplicationModels.ParameterModelBase", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ApplicationModels.ICommonModel" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Properties", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationModels.IPropertyModel", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Controller", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerModel", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Controller", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerModel" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Attributes", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationModels.ICommonModel", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PropertyInfo", - "Parameters": [], - "ReturnType": "System.Reflection.PropertyInfo", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PropertyName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_PropertyName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "propertyInfo", - "Type": "System.Reflection.PropertyInfo" - }, - { - "Name": "attributes", - "Type": "System.Collections.Generic.IReadOnlyList" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "other", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.PropertyModel" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationModels.SelectorModel", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_AttributeRouteModel", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ApplicationModels.AttributeRouteModel", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AttributeRouteModel", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.AttributeRouteModel" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ActionConstraints", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "other", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.SelectorModel" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionGroupNameProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_GroupName", - "Parameters": [], - "ReturnType": "System.String", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionVisibilityProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_IgnoreApi", - "Parameters": [], - "ReturnType": "System.Boolean", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApiExplorer.IApiRequestFormatMetadataProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetSupportedContentTypes", - "Parameters": [ - { - "Name": "contentType", - "Type": "System.String" - }, - { - "Name": "objectType", - "Type": "System.Type" - } - ], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApiExplorer.IApiRequestMetadataProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata" - ], - "Members": [ - { - "Kind": "Method", - "Name": "SetContentTypes", - "Parameters": [ - { - "Name": "contentTypes", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.MediaTypeCollection" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApiExplorer.IApiResponseMetadataProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Type", - "Parameters": [], - "ReturnType": "System.Type", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_StatusCode", - "Parameters": [], - "ReturnType": "System.Int32", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetContentTypes", - "Parameters": [ - { - "Name": "contentTypes", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.MediaTypeCollection" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApiExplorer.IApiResponseTypeMetadataProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetSupportedContentTypes", - "Parameters": [ - { - "Name": "contentType", - "Type": "System.String" - }, - { - "Name": "objectType", - "Type": "System.Type" - } - ], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ActionConstraints.ActionMethodSelectorAttribute", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "BaseType": "System.Attribute", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraint" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraint", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Order", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Accept", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintContext" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraint", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsValidForRequest", - "Parameters": [ - { - "Name": "routeContext", - "Type": "Microsoft.AspNetCore.Routing.RouteContext" - }, - { - "Name": "action", - "Type": "Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.Extensions.DependencyInjection.ApplicationModelConventionExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "RemoveType", - "Parameters": [ - { - "Name": "list", - "Type": "System.Collections.Generic.IList" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TApplicationModelConvention", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelConvention" - ] - } - ] - }, - { - "Kind": "Method", - "Name": "RemoveType", - "Parameters": [ - { - "Name": "list", - "Type": "System.Collections.Generic.IList" - }, - { - "Name": "type", - "Type": "System.Type" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Add", - "Parameters": [ - { - "Name": "conventions", - "Type": "System.Collections.Generic.IList" - }, - { - "Name": "controllerModelConvention", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.IControllerModelConvention" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Add", - "Parameters": [ - { - "Name": "conventions", - "Type": "System.Collections.Generic.IList" - }, - { - "Name": "actionModelConvention", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.IActionModelConvention" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Add", - "Parameters": [ - { - "Name": "conventions", - "Type": "System.Collections.Generic.IList" - }, - { - "Name": "parameterModelConvention", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.IParameterModelConvention" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Add", - "Parameters": [ - { - "Name": "conventions", - "Type": "System.Collections.Generic.IList" - }, - { - "Name": "parameterModelConvention", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.IParameterModelBaseConvention" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.Extensions.DependencyInjection.IMvcBuilder", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Services", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IServiceCollection", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PartManager", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Services", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IServiceCollection", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PartManager", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.Extensions.DependencyInjection.MvcCoreMvcBuilderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddMvcOptions", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcBuilder" - }, - { - "Name": "setupAction", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddFormatterMappings", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcBuilder" - }, - { - "Name": "setupAction", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddApplicationPart", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcBuilder" - }, - { - "Name": "assembly", - "Type": "System.Reflection.Assembly" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ConfigureApplicationPartManager", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcBuilder" - }, - { - "Name": "setupAction", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddControllersAsServices", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcBuilder" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetCompatibilityVersion", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcBuilder" - }, - { - "Name": "version", - "Type": "Microsoft.AspNetCore.Mvc.CompatibilityVersion" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.Extensions.DependencyInjection.MvcCoreMvcCoreBuilderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddMvcOptions", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder" - }, - { - "Name": "setupAction", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddFormatterMappings", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddFormatterMappings", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder" - }, - { - "Name": "setupAction", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddAuthorization", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddAuthorization", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder" - }, - { - "Name": "setupAction", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddControllersAsServices", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddApplicationPart", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder" - }, - { - "Name": "assembly", - "Type": "System.Reflection.Assembly" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ConfigureApplicationPartManager", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder" - }, - { - "Name": "setupAction", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetCompatibilityVersion", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder" - }, - { - "Name": "version", - "Type": "Microsoft.AspNetCore.Mvc.CompatibilityVersion" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.Extensions.DependencyInjection.MvcCoreServiceCollectionExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddMvcCore", - "Parameters": [ - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddMvcCore", - "Parameters": [ - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - }, - { - "Name": "setupAction", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor+StateManager", - "Visibility": "Protected", - "Kind": "Struct", - "Sealed": true, - "ImplementedInterfaces": [ - "System.IDisposable" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Recurse", - "Parameters": [ - { - "Name": "visitor", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor" - }, - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "metadata", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata" - }, - { - "Name": "model", - "Type": "System.Object" - }, - { - "Name": "strategy", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IValidationStrategy" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor+StateManager", - "Static": true, - "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": "visitor", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor" - }, - { - "Name": "newModel", - "Type": "System.Object" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Infrastructure.PhysicalFileResultExecutor+FileMetadata", - "Visibility": "Protected", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Exists", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Exists", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Length", - "Parameters": [], - "ReturnType": "System.Int64", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Length", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int64" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_LastModified", - "Parameters": [], - "ReturnType": "System.DateTimeOffset", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_LastModified", - "Parameters": [ - { - "Name": "value", - "Type": "System.DateTimeOffset" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Formatters.InputFormatterException", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Exception", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "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": [] - } - ] -} \ No newline at end of file diff --git a/src/Mvc/Mvc.Core/src/breakingchanges.netcore.json b/src/Mvc/Mvc.Core/src/breakingchanges.netcore.json deleted file mode 100644 index 3e8c539761..0000000000 --- a/src/Mvc/Mvc.Core/src/breakingchanges.netcore.json +++ /dev/null @@ -1,126 +0,0 @@ -[ - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ApiControllerAttribute : Microsoft.AspNetCore.Mvc.ControllerAttribute, Microsoft.AspNetCore.Mvc.Internal.IApiBehaviorMetadata", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ConsumesAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.Filters.IResourceFilter, Microsoft.AspNetCore.Mvc.Internal.IConsumesActionConstraint, Microsoft.AspNetCore.Mvc.ApiExplorer.IApiRequestMetadataProvider", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider : Microsoft.AspNetCore.Mvc.Controllers.IControllerFactoryProvider", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.Controllers.DefaultControllerActivator : Microsoft.AspNetCore.Mvc.Controllers.IControllerActivator", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.Controllers.DefaultControllerFactory : Microsoft.AspNetCore.Mvc.Controllers.IControllerFactory", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.Formatters.FormatFilter : Microsoft.AspNetCore.Mvc.Formatters.Internal.IFormatFilter, Microsoft.AspNetCore.Mvc.Filters.IResourceFilter, Microsoft.AspNetCore.Mvc.Filters.IResultFilter", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ModelBinding.FormValueProvider : Microsoft.AspNetCore.Mvc.ModelBinding.BindingSourceValueProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IEnumerableValueProvider", - "MemberId": "protected Microsoft.AspNetCore.Mvc.Internal.PrefixContainer get_PrefixContainer()", - "Kind": "Removal" - }, - { - "TypeId": "public abstract class Microsoft.AspNetCore.Mvc.ModelBinding.JQueryValueProvider : Microsoft.AspNetCore.Mvc.ModelBinding.BindingSourceValueProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IEnumerableValueProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IKeyRewriterValueProvider", - "MemberId": "protected Microsoft.AspNetCore.Mvc.Internal.PrefixContainer get_PrefixContainer()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ModelBinding.QueryStringValueProvider : Microsoft.AspNetCore.Mvc.ModelBinding.BindingSourceValueProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IEnumerableValueProvider", - "MemberId": "protected Microsoft.AspNetCore.Mvc.Internal.PrefixContainer get_PrefixContainer()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ModelBinding.RouteValueProvider : Microsoft.AspNetCore.Mvc.ModelBinding.BindingSourceValueProvider", - "MemberId": "protected Microsoft.AspNetCore.Mvc.Internal.PrefixContainer get_PrefixContainer()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor", - "MemberId": "protected Microsoft.AspNetCore.Mvc.Internal.ValidatorCache get_Cache()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor", - "MemberId": "protected Microsoft.AspNetCore.Mvc.ModelBinding.Internal.ValidationStack get_CurrentPath()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor", - "MemberId": "public .ctor(Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IModelValidatorProvider validatorProvider, Microsoft.AspNetCore.Mvc.Internal.ValidatorCache validatorCache, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider metadataProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateDictionary validationState)", - "Kind": "Removal" - }, - { - "TypeId": "public abstract class Microsoft.AspNetCore.Mvc.ModelBinding.ObjectModelValidator : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IObjectModelValidator", - "MemberId": "public abstract Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor GetValidationVisitor(Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IModelValidatorProvider validatorProvider, Microsoft.AspNetCore.Mvc.Internal.ValidatorCache validatorCache, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider metadataProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateDictionary validationState)", - "Kind": "Removal" - }, - { - "TypeId": "public struct Microsoft.AspNetCore.Mvc.Formatters.MediaType", - "MemberId": "public static Microsoft.AspNetCore.Mvc.Formatters.Internal.MediaTypeSegmentWithQuality CreateMediaTypeSegmentWithQuality(System.String mediaType, System.Int32 start)", - "Kind": "Removal" - }, - { - "TypeId": "public abstract class Microsoft.AspNetCore.Mvc.ModelBinding.ObjectModelValidator : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IObjectModelValidator", - "MemberId": "public abstract Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor GetValidationVisitor(Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IModelValidatorProvider validatorProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidatorCache validatorCache, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider metadataProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateDictionary validationState)", - "Kind": "Addition" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.MvcOptions : System.Collections.Generic.IEnumerable", - "MemberId": "public System.Boolean get_AllowBindingHeaderValuesToNonStringModelTypes()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.MvcOptions : System.Collections.Generic.IEnumerable", - "MemberId": "public System.Boolean get_AllowCombiningAuthorizeFilters()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.MvcOptions : System.Collections.Generic.IEnumerable", - "MemberId": "public System.Boolean get_AllowValidatingTopLevelNodes()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.MvcOptions : System.Collections.Generic.IEnumerable", - "MemberId": "public System.Void set_AllowBindingHeaderValuesToNonStringModelTypes(System.Boolean value)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.MvcOptions : System.Collections.Generic.IEnumerable", - "MemberId": "public System.Void set_AllowCombiningAuthorizeFilters(System.Boolean value)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.MvcOptions : System.Collections.Generic.IEnumerable", - "MemberId": "public System.Void set_AllowValidatingTopLevelNodes(System.Boolean value)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.MvcOptions : System.Collections.Generic.IEnumerable", - "MemberId": "public Microsoft.AspNetCore.Mvc.Formatters.InputFormatterExceptionPolicy get_InputFormatterExceptionPolicy()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.MvcOptions : System.Collections.Generic.IEnumerable", - "MemberId": "public System.Boolean get_SuppressBindingUndefinedValueToEnumType()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.MvcOptions : System.Collections.Generic.IEnumerable", - "MemberId": "public System.Void set_InputFormatterExceptionPolicy(Microsoft.AspNetCore.Mvc.Formatters.InputFormatterExceptionPolicy value)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.MvcOptions : System.Collections.Generic.IEnumerable", - "MemberId": "public System.Void set_SuppressBindingUndefinedValueToEnumType(System.Boolean value)", - "Kind": "Removal" - } -] diff --git a/src/Mvc/Mvc.Core/test/Builder/MvcApplicationBuilderExtensionsTest.cs b/src/Mvc/Mvc.Core/test/Builder/MvcApplicationBuilderExtensionsTest.cs index 11dee90d69..fd9c38a8a0 100644 --- a/src/Mvc/Mvc.Core/test/Builder/MvcApplicationBuilderExtensionsTest.cs +++ b/src/Mvc/Mvc.Core/test/Builder/MvcApplicationBuilderExtensionsTest.cs @@ -55,10 +55,10 @@ namespace Microsoft.AspNetCore.Mvc.Core.Builder template: "{controller=Home}/{action=Index}/{id?}"); }); - var routeOptions = appBuilder.ApplicationServices - .GetRequiredService>(); + var endpointDataSource = appBuilder.ApplicationServices + .GetRequiredService(); - Assert.Empty(routeOptions.Value.EndpointDataSources); + Assert.Empty(endpointDataSource.Endpoints); } [Fact] diff --git a/src/Mvc/Mvc.Core/test/Routing/ActionEndpointFactoryTest.cs b/src/Mvc/Mvc.Core/test/Routing/ActionEndpointFactoryTest.cs index bfe57121f6..a209f710c3 100644 --- a/src/Mvc/Mvc.Core/test/Routing/ActionEndpointFactoryTest.cs +++ b/src/Mvc/Mvc.Core/test/Routing/ActionEndpointFactoryTest.cs @@ -225,6 +225,26 @@ namespace Microsoft.AspNetCore.Mvc.Routing Assert.False(endpoint.RoutePattern.RequiredValues.ContainsKey("page")); } + [Fact] + public void AddEndpoints_AttributeRouted_WithRouteName_EndpointCreated() + { + // Arrange + var values = new { controller = "TestController", action = "TestAction", page = (string)null }; + var action = CreateActionDescriptor(values, "{controller}/{action}/{page}"); + action.AttributeRouteInfo.Name = "Test"; + + // Act + var endpoint = CreateAttributeRoutedEndpoint(action); + + // Assert + Assert.Equal("{controller}/{action}/{page}", endpoint.RoutePattern.RawText); + Assert.Equal("TestController", endpoint.RoutePattern.RequiredValues["controller"]); + Assert.Equal("TestAction", endpoint.RoutePattern.RequiredValues["action"]); + Assert.False(endpoint.RoutePattern.RequiredValues.ContainsKey("page")); + Assert.Equal("Test", endpoint.Metadata.GetMetadata().RouteName); + Assert.Equal("Test", endpoint.Metadata.GetMetadata().EndpointName); + } + [Fact] public void AddEndpoints_ConventionalRouted_WithMatchingConstraint_CreatesEndpoint() { @@ -300,13 +320,13 @@ namespace Microsoft.AspNetCore.Mvc.Routing private RouteEndpoint CreateAttributeRoutedEndpoint(ActionDescriptor action) { var endpoints = new List(); - Factory.AddEndpoints(endpoints, action, Array.Empty(), Array.Empty>()); + Factory.AddEndpoints(endpoints, new HashSet(StringComparer.OrdinalIgnoreCase), action, Array.Empty(), Array.Empty>()); return Assert.IsType(Assert.Single(endpoints)); } private RouteEndpoint CreateConventionalRoutedEndpoint(ActionDescriptor action, string template) { - return CreateConventionalRoutedEndpoint(action, new ConventionalRouteEntry(routeName: null, template, null, null, null, order: 0)); + return CreateConventionalRoutedEndpoint(action, new ConventionalRouteEntry(routeName: null, template, null, null, null, order: 0, new List>())); } private RouteEndpoint CreateConventionalRoutedEndpoint(ActionDescriptor action, ConventionalRouteEntry route) @@ -314,7 +334,7 @@ namespace Microsoft.AspNetCore.Mvc.Routing Assert.NotNull(action.RouteValues); var endpoints = new List(); - Factory.AddEndpoints(endpoints, action, new[] { route, }, Array.Empty>()); + Factory.AddEndpoints(endpoints, new HashSet(StringComparer.OrdinalIgnoreCase), action, new[] { route, }, Array.Empty>()); var endpoint = Assert.IsType(Assert.Single(endpoints)); // This should be true for all conventional-routed actions. @@ -331,7 +351,7 @@ namespace Microsoft.AspNetCore.Mvc.Routing private IReadOnlyList CreateConventionalRoutedEndpoints(ActionDescriptor action, IReadOnlyList routes) { var endpoints = new List(); - Factory.AddEndpoints(endpoints, action, routes, Array.Empty>()); + Factory.AddEndpoints(endpoints, new HashSet(StringComparer.OrdinalIgnoreCase), action, routes, Array.Empty>()); return endpoints.Cast().ToList(); } @@ -341,9 +361,11 @@ namespace Microsoft.AspNetCore.Mvc.Routing RouteValueDictionary defaults = null, IDictionary constraints = null, RouteValueDictionary dataTokens = null, - int order = 0) + int order = 0, + List> conventions = null) { - return new ConventionalRouteEntry(routeName, pattern, defaults, constraints, dataTokens, order); + conventions ??= new List>(); + return new ConventionalRouteEntry(routeName, pattern, defaults, constraints, dataTokens, order, conventions); } private ActionDescriptor CreateActionDescriptor( diff --git a/src/Mvc/Mvc.Core/test/Routing/ConsumesMatcherPolicyTest.cs b/src/Mvc/Mvc.Core/test/Routing/ConsumesMatcherPolicyTest.cs index 7d63eaacc4..564fa00bcf 100644 --- a/src/Mvc/Mvc.Core/test/Routing/ConsumesMatcherPolicyTest.cs +++ b/src/Mvc/Mvc.Core/test/Routing/ConsumesMatcherPolicyTest.cs @@ -532,7 +532,6 @@ namespace Microsoft.AspNetCore.Mvc.Routing }; var candidates = CreateCandidateSet(endpoints); - var context = new EndpointSelectorContext(); var httpContext = new DefaultHttpContext() { Request = @@ -540,6 +539,7 @@ namespace Microsoft.AspNetCore.Mvc.Routing ContentType = "application/json", }, }; + var context = new EndpointSelectorContext(httpContext); var policy = CreatePolicy(); @@ -562,7 +562,6 @@ namespace Microsoft.AspNetCore.Mvc.Routing }; var candidates = CreateCandidateSet(endpoints); - var context = new EndpointSelectorContext(); var httpContext = new DefaultHttpContext() { Request = @@ -570,6 +569,7 @@ namespace Microsoft.AspNetCore.Mvc.Routing ContentType = "application/json", }, }; + var context = new EndpointSelectorContext(httpContext); var policy = CreatePolicy(); @@ -592,7 +592,6 @@ namespace Microsoft.AspNetCore.Mvc.Routing }; var candidates = CreateCandidateSet(endpoints); - var context = new EndpointSelectorContext(); var httpContext = new DefaultHttpContext() { Request = @@ -600,6 +599,7 @@ namespace Microsoft.AspNetCore.Mvc.Routing ContentType = "application/json", }, }; + var context = new EndpointSelectorContext(httpContext); var policy = CreatePolicy(); diff --git a/src/Mvc/Mvc.Core/test/Routing/ControllerActionEndpointDataSourceTest.cs b/src/Mvc/Mvc.Core/test/Routing/ControllerActionEndpointDataSourceTest.cs index cd8c6e6cc0..deb97532ce 100644 --- a/src/Mvc/Mvc.Core/test/Routing/ControllerActionEndpointDataSourceTest.cs +++ b/src/Mvc/Mvc.Core/test/Routing/ControllerActionEndpointDataSourceTest.cs @@ -58,6 +58,7 @@ namespace Microsoft.AspNetCore.Mvc.Routing AttributeRouteInfo = new AttributeRouteInfo() { Template = "/test", + Name = "Test", }, RouteValues = new Dictionary(StringComparer.OrdinalIgnoreCase) { @@ -107,16 +108,22 @@ namespace Microsoft.AspNetCore.Mvc.Routing { Assert.Equal("/1/{controller}/{action}/{id?}", e.RoutePattern.RawText); Assert.Null(e.Metadata.GetMetadata()); + Assert.Equal("1", e.Metadata.GetMetadata().RouteName); + Assert.Equal("1", e.Metadata.GetMetadata().EndpointName); }, e => { Assert.Equal("/2/{controller}/{action}/{id?}", e.RoutePattern.RawText); Assert.Null(e.Metadata.GetMetadata()); + Assert.Equal("2", e.Metadata.GetMetadata().RouteName); + Assert.Equal("2", e.Metadata.GetMetadata().EndpointName); }, e => { Assert.Equal("/test", e.RoutePattern.RawText); Assert.Same(actions[0], e.Metadata.GetMetadata()); + Assert.Equal("Test", e.Metadata.GetMetadata().RouteName); + Assert.Equal("Test", e.Metadata.GetMetadata().EndpointName); }); } @@ -155,7 +162,7 @@ namespace Microsoft.AspNetCore.Mvc.Routing dataSource.AddRoute("1", "/1/{controller}/{action}/{id?}", null, null, null); dataSource.AddRoute("2", "/2/{controller}/{action}/{id?}", null, null, null); - dataSource.Add((b) => + dataSource.DefaultBuilder.Add((b) => { b.Metadata.Add("Hi there"); }); @@ -201,6 +208,176 @@ namespace Microsoft.AspNetCore.Mvc.Routing }); } + [Fact] + public void Endpoints_AppliesConventions_CanOverideEndpointName() + { + // Arrange + var actions = new List + { + new ControllerActionDescriptor + { + AttributeRouteInfo = new AttributeRouteInfo() + { + Template = "/test", + Name = "Test", + }, + RouteValues = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + { "action", "Test" }, + { "controller", "Test" }, + }, + }, + new ControllerActionDescriptor + { + RouteValues = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + { "action", "Index" }, + { "controller", "Home" }, + }, + } + }; + + var mockDescriptorProvider = new Mock(); + mockDescriptorProvider + .Setup(m => m.ActionDescriptors) + .Returns(new ActionDescriptorCollection(actions, 0)); + + var dataSource = (ControllerActionEndpointDataSource)CreateDataSource(mockDescriptorProvider.Object); + dataSource.AddRoute("1", "/1/{controller}/{action}/{id?}", null, null, null); + dataSource.AddRoute("2", "/2/{controller}/{action}/{id?}", null, null, null); + + + dataSource.DefaultBuilder.Add(b => + { + if (b.Metadata.OfType().FirstOrDefault()?.AttributeRouteInfo != null) + { + b.Metadata.Add(new EndpointNameMetadata("NewName")); + } + }); + + // Act + var endpoints = dataSource.Endpoints; + + // Assert + Assert.Collection( + endpoints.OfType().Where(e => !SupportsLinkGeneration(e)).OrderBy(e => e.RoutePattern.RawText), + e => + { + Assert.Equal("/1/{controller}/{action}/{id?}", e.RoutePattern.RawText); + Assert.Same(actions[1], e.Metadata.GetMetadata()); + }, + e => + { + Assert.Equal("/2/{controller}/{action}/{id?}", e.RoutePattern.RawText); + Assert.Same(actions[1], e.Metadata.GetMetadata()); + }); + + Assert.Collection( + endpoints.OfType().Where(e => SupportsLinkGeneration(e)).OrderBy(e => e.RoutePattern.RawText), + e => + { + Assert.Equal("/1/{controller}/{action}/{id?}", e.RoutePattern.RawText); + Assert.Null(e.Metadata.GetMetadata()); + Assert.Equal("1", e.Metadata.GetMetadata().RouteName); + Assert.Equal("1", e.Metadata.GetMetadata().EndpointName); + }, + e => + { + Assert.Equal("/2/{controller}/{action}/{id?}", e.RoutePattern.RawText); + Assert.Null(e.Metadata.GetMetadata()); + Assert.Equal("2", e.Metadata.GetMetadata().RouteName); + Assert.Equal("2", e.Metadata.GetMetadata().EndpointName); + }, + e => + { + Assert.Equal("/test", e.RoutePattern.RawText); + Assert.Same(actions[0], e.Metadata.GetMetadata()); + Assert.Equal("Test", e.Metadata.GetMetadata().RouteName); + Assert.Equal("NewName", e.Metadata.GetMetadata().EndpointName); + }); + } + + [Fact] + public void Endpoints_AppliesConventions_RouteSpecificMetadata() + { + // Arrange + var actions = new List + { + new ControllerActionDescriptor + { + AttributeRouteInfo = new AttributeRouteInfo() + { + Template = "/test", + }, + RouteValues = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + { "action", "Test" }, + { "controller", "Test" }, + }, + }, + new ControllerActionDescriptor + { + RouteValues = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + { "action", "Index" }, + { "controller", "Home" }, + }, + } + }; + + var mockDescriptorProvider = new Mock(); + mockDescriptorProvider.Setup(m => m.ActionDescriptors).Returns(new ActionDescriptorCollection(actions, 0)); + + var dataSource = (ControllerActionEndpointDataSource)CreateDataSource(mockDescriptorProvider.Object); + dataSource.AddRoute("1", "/1/{controller}/{action}/{id?}", null, null, null).Add(b => b.Metadata.Add("A")); + dataSource.AddRoute("2", "/2/{controller}/{action}/{id?}", null, null, null).Add(b => b.Metadata.Add("B")); + + dataSource.DefaultBuilder.Add((b) => + { + b.Metadata.Add("Hi there"); + }); + + // Act + var endpoints = dataSource.Endpoints; + + // Assert + Assert.Collection( + endpoints.OfType().Where(e => !SupportsLinkGeneration(e)).OrderBy(e => e.RoutePattern.RawText), + e => + { + Assert.Equal("/1/{controller}/{action}/{id?}", e.RoutePattern.RawText); + Assert.Same(actions[1], e.Metadata.GetMetadata()); + Assert.Equal(new[] { "Hi there", "A" }, e.Metadata.GetOrderedMetadata()); + }, + e => + { + Assert.Equal("/2/{controller}/{action}/{id?}", e.RoutePattern.RawText); + Assert.Same(actions[1], e.Metadata.GetMetadata()); + Assert.Equal(new[] { "Hi there", "B" }, e.Metadata.GetOrderedMetadata()); + }); + + Assert.Collection( + endpoints.OfType().Where(e => SupportsLinkGeneration(e)).OrderBy(e => e.RoutePattern.RawText), + e => + { + Assert.Equal("/1/{controller}/{action}/{id?}", e.RoutePattern.RawText); + Assert.Null(e.Metadata.GetMetadata()); + Assert.Equal(new[] { "Hi there", "A" }, e.Metadata.GetOrderedMetadata()); + }, + e => + { + Assert.Equal("/2/{controller}/{action}/{id?}", e.RoutePattern.RawText); + Assert.Null(e.Metadata.GetMetadata()); + Assert.Equal(new[] { "Hi there", "B" }, e.Metadata.GetOrderedMetadata()); + }, + e => + { + Assert.Equal("/test", e.RoutePattern.RawText); + Assert.Same(actions[0], e.Metadata.GetMetadata()); + Assert.Equal("Hi there", e.Metadata.GetMetadata()); + }); + } + private static bool SupportsLinkGeneration(RouteEndpoint endpoint) { return !(endpoint.Metadata.GetMetadata()?.SuppressLinkGeneration == true); diff --git a/src/Mvc/Mvc.Core/test/Routing/ControllerLinkGeneratorExtensionsTest.cs b/src/Mvc/Mvc.Core/test/Routing/ControllerLinkGeneratorExtensionsTest.cs index 5b6663ba86..061a78c630 100644 --- a/src/Mvc/Mvc.Core/test/Routing/ControllerLinkGeneratorExtensionsTest.cs +++ b/src/Mvc/Mvc.Core/test/Routing/ControllerLinkGeneratorExtensionsTest.cs @@ -209,14 +209,7 @@ namespace Microsoft.AspNetCore.Routing private HttpContext CreateHttpContext(object ambientValues = null) { var httpContext = new DefaultHttpContext(); - - var feature = new EndpointSelectorContext - { - RouteValues = new RouteValueDictionary(ambientValues) - }; - - httpContext.Features.Set(feature); - httpContext.Features.Set(feature); + httpContext.Request.RouteValues = new RouteValueDictionary(ambientValues); return httpContext; } } diff --git a/src/Mvc/Mvc.Core/test/Routing/EndpointRoutingUrlHelperTest.cs b/src/Mvc/Mvc.Core/test/Routing/EndpointRoutingUrlHelperTest.cs index 0f85a857fa..ee0b81571e 100644 --- a/src/Mvc/Mvc.Core/test/Routing/EndpointRoutingUrlHelperTest.cs +++ b/src/Mvc/Mvc.Core/test/Routing/EndpointRoutingUrlHelperTest.cs @@ -6,6 +6,7 @@ using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Endpoints; using Microsoft.AspNetCore.Http.Features; using Microsoft.AspNetCore.Routing; using Microsoft.AspNetCore.Routing.Matching; @@ -59,12 +60,8 @@ namespace Microsoft.AspNetCore.Mvc.Routing routeName: "OrdersApi"); var urlHelper = CreateUrlHelper(new[] { endpoint1, endpoint2 }); - // Set the endpoint feature and current context just as a normal request to MVC app would be - var endpointFeature = new EndpointSelectorContext(); - urlHelper.ActionContext.HttpContext.Features.Set(endpointFeature); - urlHelper.ActionContext.HttpContext.Features.Set(endpointFeature); - endpointFeature.Endpoint = endpoint1; - endpointFeature.RouteValues = new RouteValueDictionary + urlHelper.ActionContext.HttpContext.SetEndpoint(endpoint1); + urlHelper.ActionContext.HttpContext.Request.RouteValues = new RouteValueDictionary { ["controller"] = "Orders", ["action"] = "GetById", @@ -149,13 +146,7 @@ namespace Microsoft.AspNetCore.Mvc.Routing protected override IUrlHelper CreateUrlHelper(ActionContext actionContext) { var httpContext = actionContext.HttpContext; - httpContext.Features.Set(new EndpointSelectorContext() - { - Endpoint = new Endpoint( - context => Task.CompletedTask, - EndpointMetadataCollection.Empty, - null) - }); + httpContext.SetEndpoint(new Endpoint(context => Task.CompletedTask, EndpointMetadataCollection.Empty, null)); var urlHelperFactory = httpContext.RequestServices.GetRequiredService(); var urlHelper = urlHelperFactory.GetUrlHelper(actionContext); diff --git a/src/Mvc/Mvc.Core/test/Routing/PageLinkGeneratorExtensionsTest.cs b/src/Mvc/Mvc.Core/test/Routing/PageLinkGeneratorExtensionsTest.cs index 70f7a17221..0d1b66e2c1 100644 --- a/src/Mvc/Mvc.Core/test/Routing/PageLinkGeneratorExtensionsTest.cs +++ b/src/Mvc/Mvc.Core/test/Routing/PageLinkGeneratorExtensionsTest.cs @@ -207,14 +207,7 @@ namespace Microsoft.AspNetCore.Routing private HttpContext CreateHttpContext(object ambientValues = null) { var httpContext = new DefaultHttpContext(); - - var feature = new EndpointSelectorContext - { - RouteValues = new RouteValueDictionary(ambientValues) - }; - - httpContext.Features.Set(feature); - httpContext.Features.Set(feature); + httpContext.Request.RouteValues = new RouteValueDictionary(ambientValues); return httpContext; } } diff --git a/src/Mvc/Mvc.Cors/src/baseline.netcore.json b/src/Mvc/Mvc.Cors/src/baseline.netcore.json deleted file mode 100644 index d00cbbb16b..0000000000 --- a/src/Mvc/Mvc.Cors/src/baseline.netcore.json +++ /dev/null @@ -1,165 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Mvc.Cors, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.Extensions.DependencyInjection.MvcCorsMvcCoreBuilderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddCors", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddCors", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder" - }, - { - "Name": "setupAction", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ConfigureCors", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder" - }, - { - "Name": "setupAction", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Cors.CorsAuthorizationFilter", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Cors.Internal.ICorsAuthorizationFilter" - ], - "Members": [ - { - "Kind": "Method", - "Name": "OnAuthorizationAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.AuthorizationFilterContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IAsyncAuthorizationFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PolicyName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_PolicyName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "corsService", - "Type": "Microsoft.AspNetCore.Cors.Infrastructure.ICorsService" - }, - { - "Name": "policyProvider", - "Type": "Microsoft.AspNetCore.Cors.Infrastructure.ICorsPolicyProvider" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "corsService", - "Type": "Microsoft.AspNetCore.Cors.Infrastructure.ICorsService" - }, - { - "Name": "policyProvider", - "Type": "Microsoft.AspNetCore.Cors.Infrastructure.ICorsPolicyProvider" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Mvc/Mvc.Cors/src/breakingchanges.netcore.json b/src/Mvc/Mvc.Cors/src/breakingchanges.netcore.json deleted file mode 100644 index 6c3a2d285c..0000000000 --- a/src/Mvc/Mvc.Cors/src/breakingchanges.netcore.json +++ /dev/null @@ -1,6 +0,0 @@ -[ - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.Cors.CorsAuthorizationFilter : Microsoft.AspNetCore.Mvc.Cors.Internal.ICorsAuthorizationFilter", - "Kind": "Removal" - } -] diff --git a/src/Mvc/Mvc.DataAnnotations/src/baseline.netcore.json b/src/Mvc/Mvc.DataAnnotations/src/baseline.netcore.json deleted file mode 100644 index 6ef863e5b3..0000000000 --- a/src/Mvc/Mvc.DataAnnotations/src/baseline.netcore.json +++ /dev/null @@ -1,417 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Mvc.DataAnnotations, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.Mvc.HiddenInputAttribute", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "BaseType": "System.Attribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_DisplayValue", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_DisplayValue", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.DataAnnotations.AttributeAdapterBase", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "BaseType": "Microsoft.AspNetCore.Mvc.DataAnnotations.ValidationAttributeAdapter", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.DataAnnotations.IAttributeAdapter" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetErrorMessage", - "Parameters": [ - { - "Name": "validationContext", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidationContextBase" - } - ], - "ReturnType": "System.String", - "Virtual": true, - "Abstract": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.DataAnnotations.IAttributeAdapter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "attribute", - "Type": "T0" - }, - { - "Name": "stringLocalizer", - "Type": "Microsoft.Extensions.Localization.IStringLocalizer" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TAttribute", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "System.ComponentModel.DataAnnotations.ValidationAttribute" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.DataAnnotations.IAttributeAdapter", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IClientModelValidator" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetErrorMessage", - "Parameters": [ - { - "Name": "validationContext", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidationContextBase" - } - ], - "ReturnType": "System.String", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.DataAnnotations.IValidationAttributeAdapterProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetAttributeAdapter", - "Parameters": [ - { - "Name": "attribute", - "Type": "System.ComponentModel.DataAnnotations.ValidationAttribute" - }, - { - "Name": "stringLocalizer", - "Type": "Microsoft.Extensions.Localization.IStringLocalizer" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.DataAnnotations.IAttributeAdapter", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.DataAnnotations.MvcDataAnnotationsLocalizationOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "DataAnnotationLocalizerProvider", - "Parameters": [], - "ReturnType": "System.Func", - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.DataAnnotations.ValidationAttributeAdapter", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IClientModelValidator" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Attribute", - "Parameters": [], - "ReturnType": "T0", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddValidation", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientModelValidationContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IClientModelValidator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MergeAttribute", - "Parameters": [ - { - "Name": "attributes", - "Type": "System.Collections.Generic.IDictionary" - }, - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "Static": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetErrorMessage", - "Parameters": [ - { - "Name": "modelMetadata", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata" - }, - { - "Name": "arguments", - "Type": "System.Object[]", - "IsParams": true - } - ], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "attribute", - "Type": "T0" - }, - { - "Name": "stringLocalizer", - "Type": "Microsoft.Extensions.Localization.IStringLocalizer" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TAttribute", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "System.ComponentModel.DataAnnotations.ValidationAttribute" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.DataAnnotations.ValidationAttributeAdapterProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.DataAnnotations.IValidationAttributeAdapterProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetAttributeAdapter", - "Parameters": [ - { - "Name": "attribute", - "Type": "System.ComponentModel.DataAnnotations.ValidationAttribute" - }, - { - "Name": "stringLocalizer", - "Type": "Microsoft.Extensions.Localization.IStringLocalizer" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.DataAnnotations.IAttributeAdapter", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.DataAnnotations.IValidationAttributeAdapterProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.Extensions.DependencyInjection.MvcDataAnnotationsMvcBuilderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddDataAnnotationsLocalization", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcBuilder" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddDataAnnotationsLocalization", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcBuilder" - }, - { - "Name": "setupAction", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.Extensions.DependencyInjection.MvcDataAnnotationsMvcCoreBuilderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddDataAnnotations", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddDataAnnotationsLocalization", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddDataAnnotationsLocalization", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder" - }, - { - "Name": "setupAction", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Mvc/Mvc.Formatters.Xml/src/XmlDataContractSerializerInputFormatter.cs b/src/Mvc/Mvc.Formatters.Xml/src/XmlDataContractSerializerInputFormatter.cs index a849abd151..69f73e688a 100644 --- a/src/Mvc/Mvc.Formatters.Xml/src/XmlDataContractSerializerInputFormatter.cs +++ b/src/Mvc/Mvc.Formatters.Xml/src/XmlDataContractSerializerInputFormatter.cs @@ -4,14 +4,12 @@ using System; using System.Collections.Concurrent; using System.Collections.Generic; -using System.Diagnostics; using System.IO; using System.Runtime.Serialization; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Xml; -using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc.Formatters.Xml; using Microsoft.AspNetCore.Mvc.Infrastructure; using Microsoft.AspNetCore.WebUtilities; @@ -24,6 +22,7 @@ namespace Microsoft.AspNetCore.Mvc.Formatters /// public class XmlDataContractSerializerInputFormatter : TextInputFormatter, IInputFormatterExceptionPolicy { + private const int DefaultMemoryThreshold = 1024 * 30; private readonly ConcurrentDictionary _serializerCache = new ConcurrentDictionary(); private readonly XmlDictionaryReaderQuotas _readerQuotas = FormattingUtilities.GetDefaultXmlReaderQuotas(); private readonly MvcOptions _options; @@ -118,43 +117,55 @@ namespace Microsoft.AspNetCore.Mvc.Formatters } var request = context.HttpContext.Request; + Stream readStream = new NonDisposableStream(request.Body); if (!request.Body.CanSeek && !_options.SuppressInputFormatterBuffering) { // XmlDataContractSerializer does synchronous reads. In order to avoid blocking on the stream, we asynchronously // read everything into a buffer, and then seek back to the beginning. - request.EnableBuffering(); - Debug.Assert(request.Body.CanSeek); + var memoryThreshold = DefaultMemoryThreshold; + if (request.ContentLength.HasValue && request.ContentLength.Value > 0 && request.ContentLength.Value < memoryThreshold) + { + // If the Content-Length is known and is smaller than the default buffer size, use it. + memoryThreshold = (int)request.ContentLength.Value; + } - await request.Body.DrainAsync(CancellationToken.None); - request.Body.Seek(0L, SeekOrigin.Begin); + readStream = new FileBufferingReadStream(request.Body, memoryThreshold); + + await readStream.DrainAsync(CancellationToken.None); + readStream.Seek(0L, SeekOrigin.Begin); } try { - using (var xmlReader = CreateXmlReader(new NonDisposableStream(request.Body), encoding)) + using var xmlReader = CreateXmlReader(readStream, encoding); + var type = GetSerializableType(context.ModelType); + var serializer = GetCachedSerializer(type); + + var deserializedObject = serializer.ReadObject(xmlReader); + + // Unwrap only if the original type was wrapped. + if (type != context.ModelType) { - var type = GetSerializableType(context.ModelType); - var serializer = GetCachedSerializer(type); - - var deserializedObject = serializer.ReadObject(xmlReader); - - // Unwrap only if the original type was wrapped. - if (type != context.ModelType) + if (deserializedObject is IUnwrappable unwrappable) { - if (deserializedObject is IUnwrappable unwrappable) - { - deserializedObject = unwrappable.Unwrap(declaredType: context.ModelType); - } + deserializedObject = unwrappable.Unwrap(declaredType: context.ModelType); } - - return InputFormatterResult.Success(deserializedObject); } + + return InputFormatterResult.Success(deserializedObject); } catch (SerializationException exception) { throw new InputFormatterException(Resources.ErrorDeserializingInputData, exception); } + finally + { + if (readStream is FileBufferingReadStream fileBufferingReadStream) + { + fileBufferingReadStream.Dispose(); + } + } } /// diff --git a/src/Mvc/Mvc.Formatters.Xml/src/XmlDataContractSerializerOutputFormatter.cs b/src/Mvc/Mvc.Formatters.Xml/src/XmlDataContractSerializerOutputFormatter.cs index b2a7d486b9..8f66c2842a 100644 --- a/src/Mvc/Mvc.Formatters.Xml/src/XmlDataContractSerializerOutputFormatter.cs +++ b/src/Mvc/Mvc.Formatters.Xml/src/XmlDataContractSerializerOutputFormatter.cs @@ -101,7 +101,7 @@ namespace Microsoft.AspNetCore.Mvc.Formatters public XmlWriterSettings WriterSettings { get; } /// - /// Gets or sets the used to configure the + /// Gets or sets the used to configure the /// . /// public DataContractSerializerSettings SerializerSettings @@ -284,6 +284,7 @@ namespace Microsoft.AspNetCore.Mvc.Formatters if (fileBufferingWriteStream != null) { + response.ContentLength = fileBufferingWriteStream.Length; await fileBufferingWriteStream.DrainBufferAsync(response.Body); } } diff --git a/src/Mvc/Mvc.Formatters.Xml/src/XmlSerializerInputFormatter.cs b/src/Mvc/Mvc.Formatters.Xml/src/XmlSerializerInputFormatter.cs index 3dad1a7305..6bc52920b1 100644 --- a/src/Mvc/Mvc.Formatters.Xml/src/XmlSerializerInputFormatter.cs +++ b/src/Mvc/Mvc.Formatters.Xml/src/XmlSerializerInputFormatter.cs @@ -4,14 +4,12 @@ using System; using System.Collections.Concurrent; using System.Collections.Generic; -using System.Diagnostics; using System.IO; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Xml; using System.Xml.Serialization; -using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc.Formatters.Xml; using Microsoft.AspNetCore.Mvc.Infrastructure; using Microsoft.AspNetCore.WebUtilities; @@ -24,6 +22,7 @@ namespace Microsoft.AspNetCore.Mvc.Formatters /// public class XmlSerializerInputFormatter : TextInputFormatter, IInputFormatterExceptionPolicy { + private const int DefaultMemoryThreshold = 1024 * 30; private readonly ConcurrentDictionary _serializerCache = new ConcurrentDictionary(); private readonly XmlDictionaryReaderQuotas _readerQuotas = FormattingUtilities.GetDefaultXmlReaderQuotas(); private readonly MvcOptions _options; @@ -99,39 +98,43 @@ namespace Microsoft.AspNetCore.Mvc.Formatters } var request = context.HttpContext.Request; - + Stream readStream = new NonDisposableStream(request.Body); if (!request.Body.CanSeek && !_options.SuppressInputFormatterBuffering) { // XmlSerializer does synchronous reads. In order to avoid blocking on the stream, we asynchronously // read everything into a buffer, and then seek back to the beginning. - request.EnableBuffering(); - Debug.Assert(request.Body.CanSeek); + var memoryThreshold = DefaultMemoryThreshold; + if (request.ContentLength.HasValue && request.ContentLength.Value > 0 && request.ContentLength.Value < memoryThreshold) + { + // If the Content-Length is known and is smaller than the default buffer size, use it. + memoryThreshold = (int)request.ContentLength.Value; + } - await request.Body.DrainAsync(CancellationToken.None); - request.Body.Seek(0L, SeekOrigin.Begin); + readStream = new FileBufferingReadStream(request.Body, memoryThreshold); + + await readStream.DrainAsync(CancellationToken.None); + readStream.Seek(0L, SeekOrigin.Begin); } try { - using (var xmlReader = CreateXmlReader(new NonDisposableStream(request.Body), encoding)) + using var xmlReader = CreateXmlReader(readStream, encoding); + var type = GetSerializableType(context.ModelType); + + var serializer = GetCachedSerializer(type); + + var deserializedObject = serializer.Deserialize(xmlReader); + + // Unwrap only if the original type was wrapped. + if (type != context.ModelType) { - var type = GetSerializableType(context.ModelType); - - var serializer = GetCachedSerializer(type); - - var deserializedObject = serializer.Deserialize(xmlReader); - - // Unwrap only if the original type was wrapped. - if (type != context.ModelType) + if (deserializedObject is IUnwrappable unwrappable) { - if (deserializedObject is IUnwrappable unwrappable) - { - deserializedObject = unwrappable.Unwrap(declaredType: context.ModelType); - } + deserializedObject = unwrappable.Unwrap(declaredType: context.ModelType); } - - return InputFormatterResult.Success(deserializedObject); } + + return InputFormatterResult.Success(deserializedObject); } // XmlSerializer wraps actual exceptions (like FormatException or XmlException) into an InvalidOperationException // https://github.com/dotnet/corefx/blob/master/src/System.Private.Xml/src/System/Xml/Serialization/XmlSerializer.cs#L652 @@ -149,6 +152,13 @@ namespace Microsoft.AspNetCore.Mvc.Formatters { throw new InputFormatterException(Resources.ErrorDeserializingInputData, exception.InnerException); } + finally + { + if (readStream is FileBufferingReadStream fileBufferingReadStream) + { + fileBufferingReadStream.Dispose(); + } + } } /// diff --git a/src/Mvc/Mvc.Formatters.Xml/src/XmlSerializerOutputFormatter.cs b/src/Mvc/Mvc.Formatters.Xml/src/XmlSerializerOutputFormatter.cs index fc845f7564..e6243fcb45 100644 --- a/src/Mvc/Mvc.Formatters.Xml/src/XmlSerializerOutputFormatter.cs +++ b/src/Mvc/Mvc.Formatters.Xml/src/XmlSerializerOutputFormatter.cs @@ -260,6 +260,7 @@ namespace Microsoft.AspNetCore.Mvc.Formatters if (fileBufferingWriteStream != null) { + response.ContentLength = fileBufferingWriteStream.Length; await fileBufferingWriteStream.DrainBufferAsync(response.Body); } } diff --git a/src/Mvc/Mvc.Formatters.Xml/src/baseline.netcore.json b/src/Mvc/Mvc.Formatters.Xml/src/baseline.netcore.json deleted file mode 100644 index e617a3e461..0000000000 --- a/src/Mvc/Mvc.Formatters.Xml/src/baseline.netcore.json +++ /dev/null @@ -1,1500 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DataMemberRequiredBindingMetadataProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IBindingMetadataProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "CreateBindingMetadata", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.BindingMetadataProviderContext" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IBindingMetadataProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Formatters.XmlDataContractSerializerInputFormatter", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.Formatters.TextInputFormatter", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Formatters.IInputFormatterExceptionPolicy" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_WrapperProviderFactories", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MaxDepth", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MaxDepth", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_XmlDictionaryReaderQuotas", - "Parameters": [], - "ReturnType": "System.Xml.XmlDictionaryReaderQuotas", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SerializerSettings", - "Parameters": [], - "ReturnType": "System.Runtime.Serialization.DataContractSerializerSettings", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SerializerSettings", - "Parameters": [ - { - "Name": "value", - "Type": "System.Runtime.Serialization.DataContractSerializerSettings" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ExceptionPolicy", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Formatters.InputFormatterExceptionPolicy", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Formatters.IInputFormatterExceptionPolicy", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ReadRequestBodyAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.InputFormatterContext" - }, - { - "Name": "encoding", - "Type": "System.Text.Encoding" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanReadType", - "Parameters": [ - { - "Name": "type", - "Type": "System.Type" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateXmlReader", - "Parameters": [ - { - "Name": "readStream", - "Type": "System.IO.Stream" - }, - { - "Name": "encoding", - "Type": "System.Text.Encoding" - } - ], - "ReturnType": "System.Xml.XmlReader", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetSerializableType", - "Parameters": [ - { - "Name": "declaredType", - "Type": "System.Type" - } - ], - "ReturnType": "System.Type", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateSerializer", - "Parameters": [ - { - "Name": "type", - "Type": "System.Type" - } - ], - "ReturnType": "System.Runtime.Serialization.DataContractSerializer", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetCachedSerializer", - "Parameters": [ - { - "Name": "type", - "Type": "System.Type" - } - ], - "ReturnType": "System.Runtime.Serialization.DataContractSerializer", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "suppressInputFormatterBuffering", - "Type": "System.Boolean" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Mvc.MvcOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Formatters.XmlDataContractSerializerOutputFormatter", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.Formatters.TextOutputFormatter", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_WrapperProviderFactories", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_WriterSettings", - "Parameters": [], - "ReturnType": "System.Xml.XmlWriterSettings", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SerializerSettings", - "Parameters": [], - "ReturnType": "System.Runtime.Serialization.DataContractSerializerSettings", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SerializerSettings", - "Parameters": [ - { - "Name": "value", - "Type": "System.Runtime.Serialization.DataContractSerializerSettings" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetSerializableType", - "Parameters": [ - { - "Name": "type", - "Type": "System.Type" - } - ], - "ReturnType": "System.Type", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanWriteType", - "Parameters": [ - { - "Name": "type", - "Type": "System.Type" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateSerializer", - "Parameters": [ - { - "Name": "type", - "Type": "System.Type" - } - ], - "ReturnType": "System.Runtime.Serialization.DataContractSerializer", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateXmlWriter", - "Parameters": [ - { - "Name": "writer", - "Type": "System.IO.TextWriter" - }, - { - "Name": "xmlWriterSettings", - "Type": "System.Xml.XmlWriterSettings" - } - ], - "ReturnType": "System.Xml.XmlWriter", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateXmlWriter", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext" - }, - { - "Name": "writer", - "Type": "System.IO.TextWriter" - }, - { - "Name": "xmlWriterSettings", - "Type": "System.Xml.XmlWriterSettings" - } - ], - "ReturnType": "System.Xml.XmlWriter", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteResponseBodyAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext" - }, - { - "Name": "selectedEncoding", - "Type": "System.Text.Encoding" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetCachedSerializer", - "Parameters": [ - { - "Name": "type", - "Type": "System.Type" - } - ], - "ReturnType": "System.Runtime.Serialization.DataContractSerializer", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "writerSettings", - "Type": "System.Xml.XmlWriterSettings" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "writerSettings", - "Type": "System.Xml.XmlWriterSettings" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Formatters.XmlSerializerInputFormatter", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.Formatters.TextInputFormatter", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Formatters.IInputFormatterExceptionPolicy" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_WrapperProviderFactories", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MaxDepth", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MaxDepth", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_XmlDictionaryReaderQuotas", - "Parameters": [], - "ReturnType": "System.Xml.XmlDictionaryReaderQuotas", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ExceptionPolicy", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Formatters.InputFormatterExceptionPolicy", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Formatters.IInputFormatterExceptionPolicy", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ReadRequestBodyAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.InputFormatterContext" - }, - { - "Name": "encoding", - "Type": "System.Text.Encoding" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanReadType", - "Parameters": [ - { - "Name": "type", - "Type": "System.Type" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetSerializableType", - "Parameters": [ - { - "Name": "declaredType", - "Type": "System.Type" - } - ], - "ReturnType": "System.Type", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateXmlReader", - "Parameters": [ - { - "Name": "readStream", - "Type": "System.IO.Stream" - }, - { - "Name": "encoding", - "Type": "System.Text.Encoding" - } - ], - "ReturnType": "System.Xml.XmlReader", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateSerializer", - "Parameters": [ - { - "Name": "type", - "Type": "System.Type" - } - ], - "ReturnType": "System.Xml.Serialization.XmlSerializer", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetCachedSerializer", - "Parameters": [ - { - "Name": "type", - "Type": "System.Type" - } - ], - "ReturnType": "System.Xml.Serialization.XmlSerializer", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "suppressInputFormatterBuffering", - "Type": "System.Boolean" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Mvc.MvcOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Formatters.XmlSerializerOutputFormatter", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.Formatters.TextOutputFormatter", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_WrapperProviderFactories", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_WriterSettings", - "Parameters": [], - "ReturnType": "System.Xml.XmlWriterSettings", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetSerializableType", - "Parameters": [ - { - "Name": "type", - "Type": "System.Type" - } - ], - "ReturnType": "System.Type", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CanWriteType", - "Parameters": [ - { - "Name": "type", - "Type": "System.Type" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateSerializer", - "Parameters": [ - { - "Name": "type", - "Type": "System.Type" - } - ], - "ReturnType": "System.Xml.Serialization.XmlSerializer", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateXmlWriter", - "Parameters": [ - { - "Name": "writer", - "Type": "System.IO.TextWriter" - }, - { - "Name": "xmlWriterSettings", - "Type": "System.Xml.XmlWriterSettings" - } - ], - "ReturnType": "System.Xml.XmlWriter", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateXmlWriter", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext" - }, - { - "Name": "writer", - "Type": "System.IO.TextWriter" - }, - { - "Name": "xmlWriterSettings", - "Type": "System.Xml.XmlWriterSettings" - } - ], - "ReturnType": "System.Xml.XmlWriter", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteResponseBodyAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext" - }, - { - "Name": "selectedEncoding", - "Type": "System.Text.Encoding" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Serialize", - "Parameters": [ - { - "Name": "xmlSerializer", - "Type": "System.Xml.Serialization.XmlSerializer" - }, - { - "Name": "xmlWriter", - "Type": "System.Xml.XmlWriter" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetCachedSerializer", - "Parameters": [ - { - "Name": "type", - "Type": "System.Type" - } - ], - "ReturnType": "System.Xml.Serialization.XmlSerializer", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "writerSettings", - "Type": "System.Xml.XmlWriterSettings" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "writerSettings", - "Type": "System.Xml.XmlWriterSettings" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Formatters.Xml.DelegatingEnumerable", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "System.Collections.Generic.IEnumerable" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetEnumerator", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerator", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IEnumerable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Add", - "Parameters": [ - { - "Name": "item", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "source", - "Type": "System.Collections.Generic.IEnumerable" - }, - { - "Name": "elementWrapperProvider", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TWrapped", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TDeclared", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Formatters.Xml.DelegatingEnumerator", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "System.Collections.Generic.IEnumerator" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Dispose", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.IDisposable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MoveNext", - "Parameters": [], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.IEnumerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Reset", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.IEnumerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Current", - "Parameters": [], - "ReturnType": "T0", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IEnumerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "inner", - "Type": "System.Collections.Generic.IEnumerator" - }, - { - "Name": "wrapperProvider", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TWrapped", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TDeclared", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Formatters.Xml.EnumerableWrapperProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_WrappingType", - "Parameters": [], - "ReturnType": "System.Type", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Wrap", - "Parameters": [ - { - "Name": "original", - "Type": "System.Object" - } - ], - "ReturnType": "System.Object", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "sourceEnumerableOfT", - "Type": "System.Type" - }, - { - "Name": "elementWrapperProvider", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Formatters.Xml.EnumerableWrapperProviderFactory", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProviderFactory" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetProvider", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.Xml.WrapperProviderContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProviderFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "wrapperProviderFactories", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Formatters.Xml.IUnwrappable", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Unwrap", - "Parameters": [ - { - "Name": "declaredType", - "Type": "System.Type" - } - ], - "ReturnType": "System.Object", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_WrappingType", - "Parameters": [], - "ReturnType": "System.Type", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Wrap", - "Parameters": [ - { - "Name": "original", - "Type": "System.Object" - } - ], - "ReturnType": "System.Object", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProviderFactory", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetProvider", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.Xml.WrapperProviderContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Formatters.Xml.SerializableErrorWrapper", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "ImplementedInterfaces": [ - "System.Xml.Serialization.IXmlSerializable", - "Microsoft.AspNetCore.Mvc.Formatters.Xml.IUnwrappable" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_SerializableError", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.SerializableError", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetSchema", - "Parameters": [], - "ReturnType": "System.Xml.Schema.XmlSchema", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Xml.Serialization.IXmlSerializable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ReadXml", - "Parameters": [ - { - "Name": "reader", - "Type": "System.Xml.XmlReader" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Xml.Serialization.IXmlSerializable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteXml", - "Parameters": [ - { - "Name": "writer", - "Type": "System.Xml.XmlWriter" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Xml.Serialization.IXmlSerializable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Unwrap", - "Parameters": [ - { - "Name": "declaredType", - "Type": "System.Type" - } - ], - "ReturnType": "System.Object", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Formatters.Xml.IUnwrappable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "error", - "Type": "Microsoft.AspNetCore.Mvc.SerializableError" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Formatters.Xml.SerializableErrorWrapperProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_WrappingType", - "Parameters": [], - "ReturnType": "System.Type", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Wrap", - "Parameters": [ - { - "Name": "original", - "Type": "System.Object" - } - ], - "ReturnType": "System.Object", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Formatters.Xml.SerializableErrorWrapperProviderFactory", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProviderFactory" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetProvider", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.Xml.WrapperProviderContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProviderFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Formatters.Xml.WrapperProviderContext", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_DeclaredType", - "Parameters": [], - "ReturnType": "System.Type", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsSerialization", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "declaredType", - "Type": "System.Type" - }, - { - "Name": "isSerialization", - "Type": "System.Boolean" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Formatters.Xml.WrapperProviderFactoriesExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetWrapperProvider", - "Parameters": [ - { - "Name": "wrapperProviderFactories", - "Type": "System.Collections.Generic.IEnumerable" - }, - { - "Name": "wrapperProviderContext", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.Xml.WrapperProviderContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.Extensions.DependencyInjection.MvcXmlMvcBuilderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddXmlDataContractSerializerFormatters", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcBuilder" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddXmlSerializerFormatters", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcBuilder" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.Extensions.DependencyInjection.MvcXmlMvcCoreBuilderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddXmlDataContractSerializerFormatters", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddXmlSerializerFormatters", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Mvc/Mvc.Formatters.Xml/test/XmlDataContractSerializerInputFormatterTest.cs b/src/Mvc/Mvc.Formatters.Xml/test/XmlDataContractSerializerInputFormatterTest.cs index b8359803fc..50ddb255a4 100644 --- a/src/Mvc/Mvc.Formatters.Xml/test/XmlDataContractSerializerInputFormatterTest.cs +++ b/src/Mvc/Mvc.Formatters.Xml/test/XmlDataContractSerializerInputFormatterTest.cs @@ -6,6 +6,7 @@ using System.IO; using System.Linq; using System.Runtime.Serialization; using System.Text; +using System.Threading; using System.Threading.Tasks; using System.Xml; using Microsoft.AspNetCore.Http; @@ -149,7 +150,7 @@ namespace Microsoft.AspNetCore.Mvc.Formatters.Xml var contentBytes = Encoding.UTF8.GetBytes(input); var httpContext = new DefaultHttpContext(); httpContext.Features.Set(new TestResponseFeature()); - httpContext.Request.Body = new NonSeekableReadStream(contentBytes); + httpContext.Request.Body = new NonSeekableReadStream(contentBytes, allowSyncReads: true); httpContext.Request.ContentType = "application/json"; var context = GetInputFormatterContext(httpContext, typeof(TestLevelOne)); @@ -163,19 +164,6 @@ namespace Microsoft.AspNetCore.Mvc.Formatters.Xml Assert.Equal(expectedInt, model.SampleInt); Assert.Equal(expectedString, model.sampleString); - - Assert.True(httpContext.Request.Body.CanSeek); - httpContext.Request.Body.Seek(0L, SeekOrigin.Begin); - - result = await formatter.ReadAsync(context); - - // Assert - Assert.NotNull(result); - Assert.False(result.HasError); - model = Assert.IsType(result.Model); - - Assert.Equal(expectedInt, model.SampleInt); - Assert.Equal(expectedString, model.sampleString); } [Fact] @@ -227,8 +215,9 @@ namespace Microsoft.AspNetCore.Mvc.Formatters.Xml var formatter = new XmlDataContractSerializerInputFormatter(new MvcOptions()); var contentBytes = Encoding.UTF8.GetBytes(input); var httpContext = new DefaultHttpContext(); + httpContext.Features.Set(new TestResponseFeature()); - httpContext.Request.Body = new NonSeekableReadStream(contentBytes); + httpContext.Request.Body = new NonSeekableReadStream(contentBytes, allowSyncReads: false); httpContext.Request.ContentType = "application/json"; var context = GetInputFormatterContext(httpContext, typeof(TestLevelOne)); @@ -242,19 +231,6 @@ namespace Microsoft.AspNetCore.Mvc.Formatters.Xml Assert.Equal(expectedInt, model.SampleInt); Assert.Equal(expectedString, model.sampleString); - - Assert.True(httpContext.Request.Body.CanSeek); - httpContext.Request.Body.Seek(0L, SeekOrigin.Begin); - - result = await formatter.ReadAsync(context); - - // Assert - Assert.NotNull(result); - Assert.False(result.HasError); - model = Assert.IsType(result.Model); - - Assert.Equal(expectedInt, model.SampleInt); - Assert.Equal(expectedString, model.sampleString); } [Fact] @@ -287,9 +263,6 @@ namespace Microsoft.AspNetCore.Mvc.Formatters.Xml Assert.Equal(expectedInt, model.SampleInt); Assert.Equal(expectedString, model.sampleString); - - // Reading again should fail as buffering request body is disabled - await Assert.ThrowsAsync(() => formatter.ReadAsync(context)); } [Fact] diff --git a/src/Mvc/Mvc.Formatters.Xml/test/XmlSerializerInputFormatterTest.cs b/src/Mvc/Mvc.Formatters.Xml/test/XmlSerializerInputFormatterTest.cs index 172b49ce67..e37ee32ca3 100644 --- a/src/Mvc/Mvc.Formatters.Xml/test/XmlSerializerInputFormatterTest.cs +++ b/src/Mvc/Mvc.Formatters.Xml/test/XmlSerializerInputFormatterTest.cs @@ -57,7 +57,7 @@ namespace Microsoft.AspNetCore.Mvc.Formatters.Xml var contentBytes = Encoding.UTF8.GetBytes(input); var httpContext = new DefaultHttpContext(); httpContext.Features.Set(new TestResponseFeature()); - httpContext.Request.Body = new NonSeekableReadStream(contentBytes); + httpContext.Request.Body = new NonSeekableReadStream(contentBytes, allowSyncReads: true); httpContext.Request.ContentType = "application/json"; var context = GetInputFormatterContext(httpContext, typeof(TestLevelOne)); @@ -69,22 +69,6 @@ namespace Microsoft.AspNetCore.Mvc.Formatters.Xml Assert.False(result.HasError); var model = Assert.IsType(result.Model); - Assert.Equal(expectedInt, model.SampleInt); - Assert.Equal(expectedString, model.sampleString); - Assert.Equal( - XmlConvert.ToDateTime(expectedDateTime, XmlDateTimeSerializationMode.Utc), - model.SampleDate); - - Assert.True(httpContext.Request.Body.CanSeek); - httpContext.Request.Body.Seek(0L, SeekOrigin.Begin); - - result = await formatter.ReadAsync(context); - - // Assert - Assert.NotNull(result); - Assert.False(result.HasError); - model = Assert.IsType(result.Model); - Assert.Equal(expectedInt, model.SampleInt); Assert.Equal(expectedString, model.sampleString); Assert.Equal( @@ -127,9 +111,6 @@ namespace Microsoft.AspNetCore.Mvc.Formatters.Xml Assert.Equal( XmlConvert.ToDateTime(expectedDateTime, XmlDateTimeSerializationMode.Utc), model.SampleDate); - - // Reading again should fail as buffering request body is disabled - await Assert.ThrowsAsync(() => formatter.ReadAsync(context)); } [Fact] @@ -149,7 +130,7 @@ namespace Microsoft.AspNetCore.Mvc.Formatters.Xml var contentBytes = Encoding.UTF8.GetBytes(input); var httpContext = new DefaultHttpContext(); httpContext.Features.Set(new TestResponseFeature()); - httpContext.Request.Body = new NonSeekableReadStream(contentBytes); + httpContext.Request.Body = new NonSeekableReadStream(contentBytes, allowSyncReads: false); httpContext.Request.ContentType = "application/json"; var context = GetInputFormatterContext(httpContext, typeof(TestLevelOne)); @@ -161,22 +142,6 @@ namespace Microsoft.AspNetCore.Mvc.Formatters.Xml Assert.False(result.HasError); var model = Assert.IsType(result.Model); - Assert.Equal(expectedInt, model.SampleInt); - Assert.Equal(expectedString, model.sampleString); - Assert.Equal( - XmlConvert.ToDateTime(expectedDateTime, XmlDateTimeSerializationMode.Utc), - model.SampleDate); - - Assert.True(httpContext.Request.Body.CanSeek); - httpContext.Request.Body.Seek(0L, SeekOrigin.Begin); - - result = await formatter.ReadAsync(context); - - // Assert - Assert.NotNull(result); - Assert.False(result.HasError); - model = Assert.IsType(result.Model); - Assert.Equal(expectedInt, model.SampleInt); Assert.Equal(expectedString, model.sampleString); Assert.Equal( diff --git a/src/Mvc/Mvc.Localization/src/baseline.netcore.json b/src/Mvc/Mvc.Localization/src/baseline.netcore.json deleted file mode 100644 index 196aed9900..0000000000 --- a/src/Mvc/Mvc.Localization/src/baseline.netcore.json +++ /dev/null @@ -1,1350 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Mvc.Localization, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.Mvc.Localization.HtmlLocalizer", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Item", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Item", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "arguments", - "Type": "System.Object[]", - "IsParams": true - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetString", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.Extensions.Localization.LocalizedString", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetString", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "arguments", - "Type": "System.Object[]", - "IsParams": true - } - ], - "ReturnType": "Microsoft.Extensions.Localization.LocalizedString", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetAllStrings", - "Parameters": [ - { - "Name": "includeParentCultures", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WithCulture", - "Parameters": [ - { - "Name": "culture", - "Type": "System.Globalization.CultureInfo" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ToHtmlString", - "Parameters": [ - { - "Name": "result", - "Type": "Microsoft.Extensions.Localization.LocalizedString" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ToHtmlString", - "Parameters": [ - { - "Name": "result", - "Type": "Microsoft.Extensions.Localization.LocalizedString" - }, - { - "Name": "arguments", - "Type": "System.Object[]" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "localizer", - "Type": "Microsoft.Extensions.Localization.IStringLocalizer" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Localization.HtmlLocalizerExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetHtml", - "Parameters": [ - { - "Name": "htmlLocalizer", - "Type": "Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer" - }, - { - "Name": "name", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetHtml", - "Parameters": [ - { - "Name": "htmlLocalizer", - "Type": "Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer" - }, - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "arguments", - "Type": "System.Object[]", - "IsParams": true - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetAllStrings", - "Parameters": [ - { - "Name": "htmlLocalizer", - "Type": "Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer" - } - ], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Localization.HtmlLocalizerFactory", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizerFactory" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Create", - "Parameters": [ - { - "Name": "resourceSource", - "Type": "System.Type" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizerFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Create", - "Parameters": [ - { - "Name": "baseName", - "Type": "System.String" - }, - { - "Name": "location", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizerFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "localizerFactory", - "Type": "Microsoft.Extensions.Localization.IStringLocalizerFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Localization.HtmlLocalizer", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Item", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Item", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "arguments", - "Type": "System.Object[]", - "IsParams": true - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetString", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.Extensions.Localization.LocalizedString", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetString", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "arguments", - "Type": "System.Object[]", - "IsParams": true - } - ], - "ReturnType": "Microsoft.Extensions.Localization.LocalizedString", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetAllStrings", - "Parameters": [ - { - "Name": "includeParentCultures", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WithCulture", - "Parameters": [ - { - "Name": "culture", - "Type": "System.Globalization.CultureInfo" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "factory", - "Type": "Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizerFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TResource", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Item", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Item", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "arguments", - "Type": "System.Object[]", - "IsParams": true - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetString", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.Extensions.Localization.LocalizedString", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetString", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "arguments", - "Type": "System.Object[]", - "IsParams": true - } - ], - "ReturnType": "Microsoft.Extensions.Localization.LocalizedString", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetAllStrings", - "Parameters": [ - { - "Name": "includeParentCultures", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Collections.Generic.IEnumerable", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WithCulture", - "Parameters": [ - { - "Name": "culture", - "Type": "System.Globalization.CultureInfo" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizerFactory", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Create", - "Parameters": [ - { - "Name": "resourceSource", - "Type": "System.Type" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Create", - "Parameters": [ - { - "Name": "baseName", - "Type": "System.String" - }, - { - "Name": "location", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer" - ], - "Members": [], - "GenericParameters": [ - { - "ParameterName": "TResource", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Localization.IViewLocalizer", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer" - ], - "Members": [], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Html.IHtmlContent" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Name", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Value", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsResourceNotFound", - "Parameters": [], - "ReturnType": "System.Boolean", - "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": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.String" - }, - { - "Name": "isResourceNotFound", - "Type": "System.Boolean" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.String" - }, - { - "Name": "isResourceNotFound", - "Type": "System.Boolean" - }, - { - "Name": "arguments", - "Type": "System.Object[]", - "IsParams": true - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Localization.ViewLocalizer", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Localization.IViewLocalizer", - "Microsoft.AspNetCore.Mvc.ViewFeatures.IViewContextAware" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Item", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Item", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "arguments", - "Type": "System.Object[]", - "IsParams": true - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetString", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.Extensions.Localization.LocalizedString", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetString", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "values", - "Type": "System.Object[]", - "IsParams": true - } - ], - "ReturnType": "Microsoft.Extensions.Localization.LocalizedString", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetAllStrings", - "Parameters": [ - { - "Name": "includeParentCultures", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WithCulture", - "Parameters": [ - { - "Name": "culture", - "Type": "System.Globalization.CultureInfo" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Contextualize", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewFeatures.IViewContextAware", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "localizerFactory", - "Type": "Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizerFactory" - }, - { - "Name": "hostingEnvironment", - "Type": "Microsoft.AspNetCore.Hosting.IHostingEnvironment" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.Extensions.DependencyInjection.MvcLocalizationMvcBuilderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddViewLocalization", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcBuilder" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddViewLocalization", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcBuilder" - }, - { - "Name": "format", - "Type": "Microsoft.AspNetCore.Mvc.Razor.LanguageViewLocationExpanderFormat" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddViewLocalization", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcBuilder" - }, - { - "Name": "setupAction", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddViewLocalization", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcBuilder" - }, - { - "Name": "format", - "Type": "Microsoft.AspNetCore.Mvc.Razor.LanguageViewLocationExpanderFormat" - }, - { - "Name": "setupAction", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddMvcLocalization", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcBuilder" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddMvcLocalization", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcBuilder" - }, - { - "Name": "localizationOptionsSetupAction", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddMvcLocalization", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcBuilder" - }, - { - "Name": "format", - "Type": "Microsoft.AspNetCore.Mvc.Razor.LanguageViewLocationExpanderFormat" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddMvcLocalization", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcBuilder" - }, - { - "Name": "localizationOptionsSetupAction", - "Type": "System.Action" - }, - { - "Name": "format", - "Type": "Microsoft.AspNetCore.Mvc.Razor.LanguageViewLocationExpanderFormat" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddMvcLocalization", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcBuilder" - }, - { - "Name": "dataAnnotationsLocalizationOptionsSetupAction", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddMvcLocalization", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcBuilder" - }, - { - "Name": "localizationOptionsSetupAction", - "Type": "System.Action" - }, - { - "Name": "dataAnnotationsLocalizationOptionsSetupAction", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddMvcLocalization", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcBuilder" - }, - { - "Name": "format", - "Type": "Microsoft.AspNetCore.Mvc.Razor.LanguageViewLocationExpanderFormat" - }, - { - "Name": "dataAnnotationsLocalizationOptionsSetupAction", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddMvcLocalization", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcBuilder" - }, - { - "Name": "localizationOptionsSetupAction", - "Type": "System.Action" - }, - { - "Name": "format", - "Type": "Microsoft.AspNetCore.Mvc.Razor.LanguageViewLocationExpanderFormat" - }, - { - "Name": "dataAnnotationsLocalizationOptionsSetupAction", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.Extensions.DependencyInjection.MvcLocalizationMvcCoreBuilderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddViewLocalization", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddViewLocalization", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder" - }, - { - "Name": "format", - "Type": "Microsoft.AspNetCore.Mvc.Razor.LanguageViewLocationExpanderFormat" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddViewLocalization", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder" - }, - { - "Name": "setupAction", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddViewLocalization", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder" - }, - { - "Name": "format", - "Type": "Microsoft.AspNetCore.Mvc.Razor.LanguageViewLocationExpanderFormat" - }, - { - "Name": "setupAction", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddMvcLocalization", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddMvcLocalization", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder" - }, - { - "Name": "localizationOptionsSetupAction", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddMvcLocalization", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder" - }, - { - "Name": "format", - "Type": "Microsoft.AspNetCore.Mvc.Razor.LanguageViewLocationExpanderFormat" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddMvcLocalization", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder" - }, - { - "Name": "localizationOptionsSetupAction", - "Type": "System.Action" - }, - { - "Name": "format", - "Type": "Microsoft.AspNetCore.Mvc.Razor.LanguageViewLocationExpanderFormat" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddMvcLocalization", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder" - }, - { - "Name": "dataAnnotationsLocalizationOptionsSetupAction", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddMvcLocalization", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder" - }, - { - "Name": "localizationOptionsSetupAction", - "Type": "System.Action" - }, - { - "Name": "dataAnnotationsLocalizationOptionsSetupAction", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddMvcLocalization", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder" - }, - { - "Name": "format", - "Type": "Microsoft.AspNetCore.Mvc.Razor.LanguageViewLocationExpanderFormat" - }, - { - "Name": "dataAnnotationsLocalizationOptionsSetupAction", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddMvcLocalization", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder" - }, - { - "Name": "localizationOptionsSetupAction", - "Type": "System.Action" - }, - { - "Name": "format", - "Type": "Microsoft.AspNetCore.Mvc.Razor.LanguageViewLocationExpanderFormat" - }, - { - "Name": "dataAnnotationsLocalizationOptionsSetupAction", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Mvc/Mvc.NewtonsoftJson/src/NewtonsoftJsonInputFormatter.cs b/src/Mvc/Mvc.NewtonsoftJson/src/NewtonsoftJsonInputFormatter.cs index 254ebcb7b3..8275dbc542 100644 --- a/src/Mvc/Mvc.NewtonsoftJson/src/NewtonsoftJsonInputFormatter.cs +++ b/src/Mvc/Mvc.NewtonsoftJson/src/NewtonsoftJsonInputFormatter.cs @@ -3,13 +3,11 @@ using System; using System.Buffers; -using System.Diagnostics; using System.IO; using System.Runtime.ExceptionServices; using System.Text; using System.Threading; using System.Threading.Tasks; -using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc.ModelBinding; using Microsoft.AspNetCore.Mvc.NewtonsoftJson; using Microsoft.AspNetCore.WebUtilities; @@ -24,6 +22,7 @@ namespace Microsoft.AspNetCore.Mvc.Formatters /// public class NewtonsoftJsonInputFormatter : TextInputFormatter, IInputFormatterExceptionPolicy { + private const int DefaultMemoryThreshold = 1024 * 30; private readonly IArrayPool _charPool; private readonly ILogger _logger; private readonly ObjectPoolProvider _objectPoolProvider; @@ -129,117 +128,128 @@ namespace Microsoft.AspNetCore.Mvc.Formatters var suppressInputFormatterBuffering = _options.SuppressInputFormatterBuffering; + var readStream = request.Body; if (!request.Body.CanSeek && !suppressInputFormatterBuffering) { // JSON.Net does synchronous reads. In order to avoid blocking on the stream, we asynchronously // read everything into a buffer, and then seek back to the beginning. - request.EnableBuffering(); - Debug.Assert(request.Body.CanSeek); + var memoryThreshold = DefaultMemoryThreshold; + if (request.ContentLength.HasValue && request.ContentLength.Value > 0 && request.ContentLength.Value < memoryThreshold) + { + // If the Content-Length is known and is smaller than the default buffer size, use it. + memoryThreshold = (int)request.ContentLength.Value; + } - await request.Body.DrainAsync(CancellationToken.None); - request.Body.Seek(0L, SeekOrigin.Begin); + readStream = new FileBufferingReadStream(request.Body, memoryThreshold); + + await readStream.DrainAsync(CancellationToken.None); + readStream.Seek(0L, SeekOrigin.Begin); } - using (var streamReader = context.ReaderFactory(request.Body, encoding)) + var successful = true; + Exception exception = null; + object model; + + using (var streamReader = context.ReaderFactory(readStream, encoding)) { - using (var jsonReader = new JsonTextReader(streamReader)) + using var jsonReader = new JsonTextReader(streamReader); + jsonReader.ArrayPool = _charPool; + jsonReader.CloseInput = false; + + var type = context.ModelType; + var jsonSerializer = CreateJsonSerializer(context); + jsonSerializer.Error += ErrorHandler; + try { - jsonReader.ArrayPool = _charPool; - jsonReader.CloseInput = false; + model = jsonSerializer.Deserialize(jsonReader, type); + } + finally + { + // Clean up the error handler since CreateJsonSerializer() pools instances. + jsonSerializer.Error -= ErrorHandler; + ReleaseJsonSerializer(jsonSerializer); - var successful = true; - Exception exception = null; - void ErrorHandler(object sender, Newtonsoft.Json.Serialization.ErrorEventArgs eventArgs) + if (readStream is FileBufferingReadStream fileBufferingReadStream) { - successful = false; - - // When ErrorContext.Path does not include ErrorContext.Member, add Member to form full path. - var path = eventArgs.ErrorContext.Path; - var member = eventArgs.ErrorContext.Member?.ToString(); - var addMember = !string.IsNullOrEmpty(member); - if (addMember) - { - // Path.Member case (path.Length < member.Length) needs no further checks. - if (path.Length == member.Length) - { - // Add Member in Path.Memb case but not for Path.Path. - addMember = !string.Equals(path, member, StringComparison.Ordinal); - } - else if (path.Length > member.Length) - { - // Finally, check whether Path already ends with Member. - if (member[0] == '[') - { - addMember = !path.EndsWith(member, StringComparison.Ordinal); - } - else - { - addMember = !path.EndsWith("." + member, StringComparison.Ordinal); - } - } - } - - if (addMember) - { - path = ModelNames.CreatePropertyModelName(path, member); - } - - // Handle path combinations such as ""+"Property", "Parent"+"Property", or "Parent"+"[12]". - var key = ModelNames.CreatePropertyModelName(context.ModelName, path); - - exception = eventArgs.ErrorContext.Error; - - var metadata = GetPathMetadata(context.Metadata, path); - var modelStateException = WrapExceptionForModelState(exception); - context.ModelState.TryAddModelError(key, modelStateException, metadata); - - _logger.JsonInputException(exception); - - // Error must always be marked as handled - // Failure to do so can cause the exception to be rethrown at every recursive level and - // overflow the stack for x64 CLR processes - eventArgs.ErrorContext.Handled = true; + fileBufferingReadStream.Dispose(); } + } + } - var type = context.ModelType; - var jsonSerializer = CreateJsonSerializer(context); - jsonSerializer.Error += ErrorHandler; - object model; - try - { - model = jsonSerializer.Deserialize(jsonReader, type); - } - finally - { - // Clean up the error handler since CreateJsonSerializer() pools instances. - jsonSerializer.Error -= ErrorHandler; - ReleaseJsonSerializer(jsonSerializer); - } + if (successful) + { + if (model == null && !context.TreatEmptyInputAsDefaultValue) + { + // Some nonempty inputs might deserialize as null, for example whitespace, + // or the JSON-encoded value "null". The upstream BodyModelBinder needs to + // be notified that we don't regard this as a real input so it can register + // a model binding error. + return InputFormatterResult.NoValue(); + } + else + { + return InputFormatterResult.Success(model); + } + } - if (successful) + if (!(exception is JsonException || exception is OverflowException)) + { + var exceptionDispatchInfo = ExceptionDispatchInfo.Capture(exception); + exceptionDispatchInfo.Throw(); + } + + return InputFormatterResult.Failure(); + + void ErrorHandler(object sender, Newtonsoft.Json.Serialization.ErrorEventArgs eventArgs) + { + successful = false; + + // When ErrorContext.Path does not include ErrorContext.Member, add Member to form full path. + var path = eventArgs.ErrorContext.Path; + var member = eventArgs.ErrorContext.Member?.ToString(); + var addMember = !string.IsNullOrEmpty(member); + if (addMember) + { + // Path.Member case (path.Length < member.Length) needs no further checks. + if (path.Length == member.Length) { - if (model == null && !context.TreatEmptyInputAsDefaultValue) + // Add Member in Path.Memb case but not for Path.Path. + addMember = !string.Equals(path, member, StringComparison.Ordinal); + } + else if (path.Length > member.Length) + { + // Finally, check whether Path already ends with Member. + if (member[0] == '[') { - // Some nonempty inputs might deserialize as null, for example whitespace, - // or the JSON-encoded value "null". The upstream BodyModelBinder needs to - // be notified that we don't regard this as a real input so it can register - // a model binding error. - return InputFormatterResult.NoValue(); + addMember = !path.EndsWith(member, StringComparison.Ordinal); } else { - return InputFormatterResult.Success(model); + addMember = !path.EndsWith("." + member, StringComparison.Ordinal); } } - - if (!(exception is JsonException || exception is OverflowException)) - { - var exceptionDispatchInfo = ExceptionDispatchInfo.Capture(exception); - exceptionDispatchInfo.Throw(); - } - - return InputFormatterResult.Failure(); } + + if (addMember) + { + path = ModelNames.CreatePropertyModelName(path, member); + } + + // Handle path combinations such as ""+"Property", "Parent"+"Property", or "Parent"+"[12]". + var key = ModelNames.CreatePropertyModelName(context.ModelName, path); + + exception = eventArgs.ErrorContext.Error; + + var metadata = GetPathMetadata(context.Metadata, path); + var modelStateException = WrapExceptionForModelState(exception); + context.ModelState.TryAddModelError(key, modelStateException, metadata); + + _logger.JsonInputException(exception); + + // Error must always be marked as handled + // Failure to do so can cause the exception to be rethrown at every recursive level and + // overflow the stack for x64 CLR processes + eventArgs.ErrorContext.Handled = true; } } diff --git a/src/Mvc/Mvc.NewtonsoftJson/src/NewtonsoftJsonOutputFormatter.cs b/src/Mvc/Mvc.NewtonsoftJson/src/NewtonsoftJsonOutputFormatter.cs index 80a1fc3b7d..b6889c1c2d 100644 --- a/src/Mvc/Mvc.NewtonsoftJson/src/NewtonsoftJsonOutputFormatter.cs +++ b/src/Mvc/Mvc.NewtonsoftJson/src/NewtonsoftJsonOutputFormatter.cs @@ -94,7 +94,7 @@ namespace Microsoft.AspNetCore.Mvc.Formatters /// /// Called during serialization to create the .The formatter context - /// that is passed gives an ability to create serializer specific to the context. + /// that is passed gives an ability to create serializer specific to the context. /// /// The used during serialization and deserialization. protected virtual JsonSerializer CreateJsonSerializer() @@ -109,7 +109,7 @@ namespace Microsoft.AspNetCore.Mvc.Formatters /// /// Called during serialization to create the .The formatter context - /// that is passed gives an ability to create serializer specific to the context. + /// that is passed gives an ability to create serializer specific to the context. /// /// A context object for . /// The used during serialization and deserialization. @@ -154,6 +154,7 @@ namespace Microsoft.AspNetCore.Mvc.Formatters if (fileBufferingWriteStream != null) { + response.ContentLength = fileBufferingWriteStream.Length; await fileBufferingWriteStream.DrainBufferAsync(response.Body); } } diff --git a/src/Mvc/Mvc.NewtonsoftJson/test/NewtonsoftJsonInputFormatterTest.cs b/src/Mvc/Mvc.NewtonsoftJson/test/NewtonsoftJsonInputFormatterTest.cs index fa1760a65f..f9d79a6f6d 100644 --- a/src/Mvc/Mvc.NewtonsoftJson/test/NewtonsoftJsonInputFormatterTest.cs +++ b/src/Mvc/Mvc.NewtonsoftJson/test/NewtonsoftJsonInputFormatterTest.cs @@ -40,7 +40,7 @@ namespace Microsoft.AspNetCore.Mvc.Formatters var contentBytes = Encoding.UTF8.GetBytes(content); var httpContext = new DefaultHttpContext(); httpContext.Features.Set(new TestResponseFeature()); - httpContext.Request.Body = new NonSeekableReadStream(contentBytes); + httpContext.Request.Body = new NonSeekableReadStream(contentBytes, allowSyncReads: false); httpContext.Request.ContentType = "application/json"; var formatterContext = CreateInputFormatterContext(typeof(User), httpContext); @@ -54,18 +54,6 @@ namespace Microsoft.AspNetCore.Mvc.Formatters var userModel = Assert.IsType(result.Model); Assert.Equal("Person Name", userModel.Name); Assert.Equal(30, userModel.Age); - - Assert.True(httpContext.Request.Body.CanSeek); - httpContext.Request.Body.Seek(0L, SeekOrigin.Begin); - - result = await formatter.ReadAsync(formatterContext); - - // Assert - Assert.False(result.HasError); - - userModel = Assert.IsType(result.Model); - Assert.Equal("Person Name", userModel.Name); - Assert.Equal(30, userModel.Age); } [Fact] @@ -102,13 +90,6 @@ namespace Microsoft.AspNetCore.Mvc.Formatters var userModel = Assert.IsType(result.Model); Assert.Equal("Person Name", userModel.Name); Assert.Equal(30, userModel.Age); - - Assert.False(httpContext.Request.Body.CanSeek); - result = await formatter.ReadAsync(formatterContext); - - // Assert - Assert.False(result.HasError); - Assert.Null(result.Model); } [Fact] diff --git a/src/Mvc/Mvc.NewtonsoftJson/test/NewtonsoftJsonPatchInputFormatterTest.cs b/src/Mvc/Mvc.NewtonsoftJson/test/NewtonsoftJsonPatchInputFormatterTest.cs index c451729acc..f7d8ee32b7 100644 --- a/src/Mvc/Mvc.NewtonsoftJson/test/NewtonsoftJsonPatchInputFormatterTest.cs +++ b/src/Mvc/Mvc.NewtonsoftJson/test/NewtonsoftJsonPatchInputFormatterTest.cs @@ -41,7 +41,7 @@ namespace Microsoft.AspNetCore.Mvc.Formatters var httpContext = new DefaultHttpContext(); httpContext.Features.Set(new TestResponseFeature()); - httpContext.Request.Body = new NonSeekableReadStream(contentBytes); + httpContext.Request.Body = new NonSeekableReadStream(contentBytes, allowSyncReads: false); httpContext.Request.ContentType = "application/json"; var formatterContext = CreateInputFormatterContext(typeof(JsonPatchDocument), httpContext); @@ -55,18 +55,6 @@ namespace Microsoft.AspNetCore.Mvc.Formatters Assert.Equal("add", patchDocument.Operations[0].op); Assert.Equal("Customer/Name", patchDocument.Operations[0].path); Assert.Equal("John", patchDocument.Operations[0].value); - - Assert.True(httpContext.Request.Body.CanSeek); - httpContext.Request.Body.Seek(0L, SeekOrigin.Begin); - - result = await formatter.ReadAsync(formatterContext); - - // Assert - Assert.False(result.HasError); - patchDocument = Assert.IsType>(result.Model); - Assert.Equal("add", patchDocument.Operations[0].op); - Assert.Equal("Customer/Name", patchDocument.Operations[0].path); - Assert.Equal("John", patchDocument.Operations[0].value); } [Fact] diff --git a/src/Mvc/Mvc.Razor/src/RazorViewEngine.cs b/src/Mvc/Mvc.Razor/src/RazorViewEngine.cs index ad87fbb64b..7c3881b37e 100644 --- a/src/Mvc/Mvc.Razor/src/RazorViewEngine.cs +++ b/src/Mvc/Mvc.Razor/src/RazorViewEngine.cs @@ -249,15 +249,18 @@ namespace Microsoft.AspNetCore.Mvc.Razor isMainPage); Dictionary expanderValues = null; - if (_options.ViewLocationExpanders.Count > 0) + var expanders = _options.ViewLocationExpanders; + // Read interface .Count once rather than per iteration + var expandersCount = expanders.Count; + if (expandersCount > 0) { expanderValues = new Dictionary(StringComparer.Ordinal); expanderContext.Values = expanderValues; // Perf: Avoid allocations - for (var i = 0; i < _options.ViewLocationExpanders.Count; i++) + for (var i = 0; i < expandersCount; i++) { - _options.ViewLocationExpanders[i].PopulateValues(expanderContext); + expanders[i].PopulateValues(expanderContext); } } @@ -350,9 +353,12 @@ namespace Microsoft.AspNetCore.Mvc.Razor { var viewLocations = GetViewLocationFormats(expanderContext); - for (var i = 0; i < _options.ViewLocationExpanders.Count; i++) + var expanders = _options.ViewLocationExpanders; + // Read interface .Count once rather than per iteration + var expandersCount = expanders.Count; + for (var i = 0; i < expandersCount; i++) { - viewLocations = _options.ViewLocationExpanders[i].ExpandViewLocations(expanderContext, viewLocations); + viewLocations = expanders[i].ExpandViewLocations(expanderContext, viewLocations); } ViewLocationCacheResult cacheResult = null; @@ -404,9 +410,12 @@ namespace Microsoft.AspNetCore.Mvc.Razor var viewDescriptor = factoryResult.ViewDescriptor; if (viewDescriptor?.ExpirationTokens != null) { - for (var i = 0; i < viewDescriptor.ExpirationTokens.Count; i++) + var viewExpirationTokens = viewDescriptor.ExpirationTokens; + // Read interface .Count once rather than per iteration + var viewExpirationTokensCount = viewExpirationTokens.Count; + for (var i = 0; i < viewExpirationTokensCount; i++) { - expirationTokens.Add(viewDescriptor.ExpirationTokens[i]); + expirationTokens.Add(viewExpirationTokens[i]); } } diff --git a/src/Mvc/Mvc.Razor/src/TagHelpers/UrlResolutionTagHelper.cs b/src/Mvc/Mvc.Razor/src/TagHelpers/UrlResolutionTagHelper.cs index 21ae7d4ce3..b27adba24f 100644 --- a/src/Mvc/Mvc.Razor/src/TagHelpers/UrlResolutionTagHelper.cs +++ b/src/Mvc/Mvc.Razor/src/TagHelpers/UrlResolutionTagHelper.cs @@ -156,9 +156,12 @@ namespace Microsoft.AspNetCore.Mvc.Razor.TagHelpers throw new ArgumentNullException(nameof(output)); } - for (var i = 0; i < output.Attributes.Count; i++) + var attributes = output.Attributes; + // Read interface .Count once rather than per iteration + var attributesCount = attributes.Count; + for (var i = 0; i < attributesCount; i++) { - var attribute = output.Attributes[i]; + var attribute = attributes[i]; if (!string.Equals(attribute.Name, attributeName, StringComparison.OrdinalIgnoreCase)) { continue; @@ -170,7 +173,7 @@ namespace Microsoft.AspNetCore.Mvc.Razor.TagHelpers string resolvedUrl; if (TryResolveUrl(stringValue, resolvedUrl: out resolvedUrl)) { - output.Attributes[i] = new TagHelperAttribute( + attributes[i] = new TagHelperAttribute( attribute.Name, resolvedUrl, attribute.ValueStyle); @@ -199,7 +202,7 @@ namespace Microsoft.AspNetCore.Mvc.Razor.TagHelpers IHtmlContent resolvedUrl; if (TryResolveUrl(stringValue, resolvedUrl: out resolvedUrl)) { - output.Attributes[i] = new TagHelperAttribute( + attributes[i] = new TagHelperAttribute( attribute.Name, resolvedUrl, attribute.ValueStyle); @@ -207,7 +210,7 @@ namespace Microsoft.AspNetCore.Mvc.Razor.TagHelpers else if (htmlString == null) { // Not a ~/ URL. Just avoid re-encoding the attribute value later. - output.Attributes[i] = new TagHelperAttribute( + attributes[i] = new TagHelperAttribute( attribute.Name, new HtmlString(stringValue), attribute.ValueStyle); diff --git a/src/Mvc/Mvc.Razor/src/baseline.netcore.json b/src/Mvc/Mvc.Razor/src/baseline.netcore.json deleted file mode 100644 index daae245f2e..0000000000 --- a/src/Mvc/Mvc.Razor/src/baseline.netcore.json +++ /dev/null @@ -1,3455 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Mvc.Razor, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.Mvc.Razor.HelperResult", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Html.IHtmlContent" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_WriteAction", - "Parameters": [], - "ReturnType": "System.Func", - "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", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Html.IHtmlContent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "asyncAction", - "Type": "System.Func" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Razor.IRazorPage", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ViewContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ViewContext", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_BodyContent", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_BodyContent", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Html.IHtmlContent" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsLayoutBeingRendered", - "Parameters": [], - "ReturnType": "System.Boolean", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IsLayoutBeingRendered", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Path", - "Parameters": [], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Path", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Layout", - "Parameters": [], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Layout", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PreviousSectionWriters", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_PreviousSectionWriters", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IDictionary" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SectionWriters", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ExecuteAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "EnsureRenderedBodyOrSections", - "Parameters": [], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Razor.IRazorPageActivator", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Activate", - "Parameters": [ - { - "Name": "page", - "Type": "Microsoft.AspNetCore.Mvc.Razor.IRazorPage" - }, - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Razor.IRazorPageFactoryProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "CreateFactory", - "Parameters": [ - { - "Name": "relativePath", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Razor.RazorPageFactoryResult", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Razor.IRazorViewEngine", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine" - ], - "Members": [ - { - "Kind": "Method", - "Name": "FindPage", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "pageName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Razor.RazorPageResult", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetPage", - "Parameters": [ - { - "Name": "executingFilePath", - "Type": "System.String" - }, - { - "Name": "pagePath", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Razor.RazorPageResult", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetAbsolutePath", - "Parameters": [ - { - "Name": "executingFilePath", - "Type": "System.String" - }, - { - "Name": "pagePath", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Razor.ITagHelperActivator", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Create", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - } - ], - "ReturnType": "T0", - "GenericParameter": [ - { - "ParameterName": "TTagHelper", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper" - ] - } - ] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Razor.ITagHelperFactory", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "CreateTagHelper", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - } - ], - "ReturnType": "T0", - "GenericParameter": [ - { - "ParameterName": "TTagHelper", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper" - ] - } - ] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Razor.ITagHelperInitializer", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Initialize", - "Parameters": [ - { - "Name": "helper", - "Type": "T0" - }, - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TTagHelper", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Razor.IViewLocationExpander", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "PopulateValues", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Razor.ViewLocationExpanderContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ExpandViewLocations", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Razor.ViewLocationExpanderContext" - }, - { - "Name": "viewLocations", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "ReturnType": "System.Collections.Generic.IEnumerable", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Razor.LanguageViewLocationExpander", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Razor.IViewLocationExpander" - ], - "Members": [ - { - "Kind": "Method", - "Name": "PopulateValues", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Razor.ViewLocationExpanderContext" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.IViewLocationExpander", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ExpandViewLocations", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Razor.ViewLocationExpanderContext" - }, - { - "Name": "viewLocations", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.IViewLocationExpander", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "format", - "Type": "Microsoft.AspNetCore.Mvc.Razor.LanguageViewLocationExpanderFormat" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Razor.LanguageViewLocationExpanderFormat", - "Visibility": "Public", - "Kind": "Enumeration", - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "SubFolder", - "Parameters": [], - "GenericParameter": [], - "Literal": "0" - }, - { - "Kind": "Field", - "Name": "Suffix", - "Parameters": [], - "GenericParameter": [], - "Literal": "1" - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Razor.RazorPage", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "BaseType": "Microsoft.AspNetCore.Mvc.Razor.RazorPageBase", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "EnsureRenderedBodyOrSections", - "Parameters": [], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.IRazorPage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Context", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HttpContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RenderBody", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IgnoreBody", - "Parameters": [], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DefineSection", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "section", - "Type": "Microsoft.AspNetCore.Mvc.Razor.RenderAsyncDelegate" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsSectionDefined", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RenderSection", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.HtmlString", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RenderSection", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "required", - "Type": "System.Boolean" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.HtmlString", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RenderSectionAsync", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RenderSectionAsync", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "required", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IgnoreSection", - "Parameters": [ - { - "Name": "sectionName", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BeginContext", - "Parameters": [ - { - "Name": "position", - "Type": "System.Int32" - }, - { - "Name": "length", - "Type": "System.Int32" - }, - { - "Name": "isLiteral", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "EndContext", - "Parameters": [], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Razor.RazorPageActivator", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Razor.IRazorPageActivator" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Activate", - "Parameters": [ - { - "Name": "page", - "Type": "Microsoft.AspNetCore.Mvc.Razor.IRazorPage" - }, - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.IRazorPageActivator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "metadataProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider" - }, - { - "Name": "urlHelperFactory", - "Type": "Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory" - }, - { - "Name": "jsonHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper" - }, - { - "Name": "diagnosticSource", - "Type": "System.Diagnostics.DiagnosticSource" - }, - { - "Name": "htmlEncoder", - "Type": "System.Text.Encodings.Web.HtmlEncoder" - }, - { - "Name": "modelExpressionProvider", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Razor.RazorPageBase", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Razor.IRazorPage" - ], - "Members": [ - { - "Kind": "Method", - "Name": "EnsureRenderedBodyOrSections", - "Parameters": [], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.IRazorPage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DefineSection", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "section", - "Type": "Microsoft.AspNetCore.Mvc.Razor.RenderAsyncDelegate" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BeginContext", - "Parameters": [ - { - "Name": "position", - "Type": "System.Int32" - }, - { - "Name": "length", - "Type": "System.Int32" - }, - { - "Name": "isLiteral", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "EndContext", - "Parameters": [], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.IRazorPage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ViewContext", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.IRazorPage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Layout", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.IRazorPage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Layout", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.IRazorPage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Output", - "Parameters": [], - "ReturnType": "System.IO.TextWriter", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Path", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.IRazorPage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Path", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.IRazorPage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SectionWriters", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.IRazorPage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewBag", - "Parameters": [], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsLayoutBeingRendered", - "Parameters": [], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.IRazorPage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IsLayoutBeingRendered", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.IRazorPage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_BodyContent", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.IRazorPage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_BodyContent", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Html.IHtmlContent" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.IRazorPage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PreviousSectionWriters", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.IRazorPage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_PreviousSectionWriters", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IDictionary" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.IRazorPage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_DiagnosticSource", - "Parameters": [], - "ReturnType": "System.Diagnostics.DiagnosticSource", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_DiagnosticSource", - "Parameters": [ - { - "Name": "value", - "Type": "System.Diagnostics.DiagnosticSource" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HtmlEncoder", - "Parameters": [], - "ReturnType": "System.Text.Encodings.Web.HtmlEncoder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_HtmlEncoder", - "Parameters": [ - { - "Name": "value", - "Type": "System.Text.Encodings.Web.HtmlEncoder" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_User", - "Parameters": [], - "ReturnType": "System.Security.Claims.ClaimsPrincipal", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TempData", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ExecuteAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.IRazorPage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "InvalidTagHelperIndexerAssignment", - "Parameters": [ - { - "Name": "attributeName", - "Type": "System.String" - }, - { - "Name": "tagHelperTypeName", - "Type": "System.String" - }, - { - "Name": "propertyName", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateTagHelper", - "Parameters": [], - "ReturnType": "T0", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TTagHelper", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper" - ] - } - ] - }, - { - "Kind": "Method", - "Name": "StartTagHelperWritingScope", - "Parameters": [ - { - "Name": "encoder", - "Type": "System.Text.Encodings.Web.HtmlEncoder" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "EndTagHelperWritingScope", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BeginWriteTagHelperAttribute", - "Parameters": [], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "EndWriteTagHelperAttribute", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PushWriter", - "Parameters": [ - { - "Name": "writer", - "Type": "System.IO.TextWriter" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PopWriter", - "Parameters": [], - "ReturnType": "System.IO.TextWriter", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Href", - "Parameters": [ - { - "Name": "contentPath", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DefineSection", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "section", - "Type": "System.Func" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Write", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Write", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteLiteral", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteLiteral", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BeginWriteAttribute", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "prefix", - "Type": "System.String" - }, - { - "Name": "prefixOffset", - "Type": "System.Int32" - }, - { - "Name": "suffix", - "Type": "System.String" - }, - { - "Name": "suffixOffset", - "Type": "System.Int32" - }, - { - "Name": "attributeValuesCount", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteAttributeValue", - "Parameters": [ - { - "Name": "prefix", - "Type": "System.String" - }, - { - "Name": "prefixOffset", - "Type": "System.Int32" - }, - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "valueOffset", - "Type": "System.Int32" - }, - { - "Name": "valueLength", - "Type": "System.Int32" - }, - { - "Name": "isLiteral", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "EndWriteAttribute", - "Parameters": [], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BeginAddHtmlAttributeValues", - "Parameters": [ - { - "Name": "executionContext", - "Type": "Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext" - }, - { - "Name": "attributeName", - "Type": "System.String" - }, - { - "Name": "attributeValuesCount", - "Type": "System.Int32" - }, - { - "Name": "attributeValueStyle", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddHtmlAttributeValue", - "Parameters": [ - { - "Name": "prefix", - "Type": "System.String" - }, - { - "Name": "prefixOffset", - "Type": "System.Int32" - }, - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "valueOffset", - "Type": "System.Int32" - }, - { - "Name": "valueLength", - "Type": "System.Int32" - }, - { - "Name": "isLiteral", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "EndAddHtmlAttributeValues", - "Parameters": [ - { - "Name": "executionContext", - "Type": "Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FlushAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetAntiforgeryCookieAndHeader", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Html.HtmlString", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Razor.RazorPageFactoryResult", - "Visibility": "Public", - "Kind": "Struct", - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_RazorPageFactory", - "Parameters": [], - "ReturnType": "System.Func", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewDescriptor", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Razor.Compilation.CompiledViewDescriptor", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Success", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "viewDescriptor", - "Type": "Microsoft.AspNetCore.Mvc.Razor.Compilation.CompiledViewDescriptor" - }, - { - "Name": "razorPageFactory", - "Type": "System.Func" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Razor.RazorPage", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "BaseType": "Microsoft.AspNetCore.Mvc.Razor.RazorPage", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Model", - "Parameters": [], - "ReturnType": "T0", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewData", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ViewData", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Razor.RazorPageResult", - "Visibility": "Public", - "Kind": "Struct", - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Name", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Page", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Razor.IRazorPage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SearchedLocations", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "page", - "Type": "Microsoft.AspNetCore.Mvc.Razor.IRazorPage" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "searchedLocations", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Razor.RazorView", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ViewEngines.IView" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Path", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewEngines.IView", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RazorPage", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Razor.IRazorPage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewStartPages", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RenderAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewEngines.IView", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "viewEngine", - "Type": "Microsoft.AspNetCore.Mvc.Razor.IRazorViewEngine" - }, - { - "Name": "pageActivator", - "Type": "Microsoft.AspNetCore.Mvc.Razor.IRazorPageActivator" - }, - { - "Name": "viewStartPages", - "Type": "System.Collections.Generic.IReadOnlyList" - }, - { - "Name": "razorPage", - "Type": "Microsoft.AspNetCore.Mvc.Razor.IRazorPage" - }, - { - "Name": "htmlEncoder", - "Type": "System.Text.Encodings.Web.HtmlEncoder" - }, - { - "Name": "diagnosticSource", - "Type": "System.Diagnostics.DiagnosticSource" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Razor.IRazorViewEngine" - ], - "Members": [ - { - "Kind": "Method", - "Name": "FindView", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "viewName", - "Type": "System.String" - }, - { - "Name": "isMainPage", - "Type": "System.Boolean" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewEngines.ViewEngineResult", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetView", - "Parameters": [ - { - "Name": "executingFilePath", - "Type": "System.String" - }, - { - "Name": "viewPath", - "Type": "System.String" - }, - { - "Name": "isMainPage", - "Type": "System.Boolean" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewEngines.ViewEngineResult", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewLookupCache", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.Caching.Memory.IMemoryCache", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetNormalizedRouteValue", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindPage", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "pageName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Razor.RazorPageResult", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.IRazorViewEngine", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetPage", - "Parameters": [ - { - "Name": "executingFilePath", - "Type": "System.String" - }, - { - "Name": "pagePath", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Razor.RazorPageResult", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.IRazorViewEngine", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetAbsolutePath", - "Parameters": [ - { - "Name": "executingFilePath", - "Type": "System.String" - }, - { - "Name": "pagePath", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.IRazorViewEngine", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "pageFactory", - "Type": "Microsoft.AspNetCore.Mvc.Razor.IRazorPageFactoryProvider" - }, - { - "Name": "pageActivator", - "Type": "Microsoft.AspNetCore.Mvc.Razor.IRazorPageActivator" - }, - { - "Name": "htmlEncoder", - "Type": "System.Text.Encodings.Web.HtmlEncoder" - }, - { - "Name": "optionsAccessor", - "Type": "Microsoft.Extensions.Options.IOptions" - }, - { - "Name": "razorProject", - "Type": "Microsoft.AspNetCore.Razor.Language.RazorProject" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - }, - { - "Name": "diagnosticSource", - "Type": "System.Diagnostics.DiagnosticSource" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "pageFactory", - "Type": "Microsoft.AspNetCore.Mvc.Razor.IRazorPageFactoryProvider" - }, - { - "Name": "pageActivator", - "Type": "Microsoft.AspNetCore.Mvc.Razor.IRazorPageActivator" - }, - { - "Name": "htmlEncoder", - "Type": "System.Text.Encodings.Web.HtmlEncoder" - }, - { - "Name": "optionsAccessor", - "Type": "Microsoft.Extensions.Options.IOptions" - }, - { - "Name": "razorFileSystem", - "Type": "Microsoft.AspNetCore.Razor.Language.RazorProjectFileSystem" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - }, - { - "Name": "diagnosticSource", - "Type": "System.Diagnostics.DiagnosticSource" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "ViewExtension", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Razor.RazorViewEngineOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ViewLocationExpanders", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_FileProviders", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewLocationFormats", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AreaViewLocationFormats", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PageViewLocationFormats", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AreaPageViewLocationFormats", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AdditionalCompilationReferences", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_CompilationCallback", - "Parameters": [], - "ReturnType": "System.Action", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_CompilationCallback", - "Parameters": [ - { - "Name": "value", - "Type": "System.Action" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Razor.RenderAsyncDelegate", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "BaseType": "System.MulticastDelegate", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Invoke", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BeginInvoke", - "Parameters": [ - { - "Name": "callback", - "Type": "System.AsyncCallback" - }, - { - "Name": "object", - "Type": "System.Object" - } - ], - "ReturnType": "System.IAsyncResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "EndInvoke", - "Parameters": [ - { - "Name": "result", - "Type": "System.IAsyncResult" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "object", - "Type": "System.Object" - }, - { - "Name": "method", - "Type": "System.IntPtr" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Razor.TagHelperInitializer", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Razor.ITagHelperInitializer" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Initialize", - "Parameters": [ - { - "Name": "helper", - "Type": "T0" - }, - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.ITagHelperInitializer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "action", - "Type": "System.Action" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TTagHelper", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Razor.ViewLocationExpanderContext", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ActionContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ActionContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ControllerName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PageName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AreaName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsMainPage", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Values", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Values", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IDictionary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "actionContext", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "viewName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - }, - { - "Name": "areaName", - "Type": "System.String" - }, - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "isMainPage", - "Type": "System.Boolean" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.Razor.TagHelpers.TagHelperComponentTagHelper", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "manager", - "Type": "Microsoft.AspNetCore.Mvc.Razor.TagHelpers.ITagHelperComponentManager" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Razor.TagHelpers.HeadTagHelper", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.Razor.TagHelpers.TagHelperComponentTagHelper", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "manager", - "Type": "Microsoft.AspNetCore.Mvc.Razor.TagHelpers.ITagHelperComponentManager" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Razor.TagHelpers.ITagHelperComponentManager", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Components", - "Parameters": [], - "ReturnType": "System.Collections.Generic.ICollection", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Razor.TagHelpers.ITagHelperComponentPropertyActivator", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Activate", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "tagHelperComponent", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Razor.TagHelpers.TagHelperComponentTagHelper", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "BaseType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelper", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Init", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ProcessAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext" - }, - { - "Name": "output", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PropertyActivator", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Razor.TagHelpers.ITagHelperComponentPropertyActivator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_PropertyActivator", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.Razor.TagHelpers.ITagHelperComponentPropertyActivator" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ViewContext", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "manager", - "Type": "Microsoft.AspNetCore.Mvc.Razor.TagHelpers.ITagHelperComponentManager" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Razor.TagHelpers.TagHelperFeature", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_TagHelpers", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Razor.TagHelpers.TagHelperFeatureProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationFeatureProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "PopulateFeature", - "Parameters": [ - { - "Name": "parts", - "Type": "System.Collections.Generic.IEnumerable" - }, - { - "Name": "feature", - "Type": "Microsoft.AspNetCore.Mvc.Razor.TagHelpers.TagHelperFeature" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationFeatureProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IncludePart", - "Parameters": [ - { - "Name": "part", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPart" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IncludeType", - "Parameters": [ - { - "Name": "type", - "Type": "System.Reflection.TypeInfo" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelper", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UrlHelperFactory", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HtmlEncoder", - "Parameters": [], - "ReturnType": "System.Text.Encodings.Web.HtmlEncoder", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ViewContext", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Process", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext" - }, - { - "Name": "output", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ProcessUrlAttribute", - "Parameters": [ - { - "Name": "attributeName", - "Type": "System.String" - }, - { - "Name": "output", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TryResolveUrl", - "Parameters": [ - { - "Name": "url", - "Type": "System.String" - }, - { - "Name": "resolvedUrl", - "Type": "System.String", - "Direction": "Out" - } - ], - "ReturnType": "System.Boolean", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TryResolveUrl", - "Parameters": [ - { - "Name": "url", - "Type": "System.String" - }, - { - "Name": "resolvedUrl", - "Type": "Microsoft.AspNetCore.Html.IHtmlContent", - "Direction": "Out" - } - ], - "ReturnType": "System.Boolean", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "urlHelperFactory", - "Type": "Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory" - }, - { - "Name": "htmlEncoder", - "Type": "System.Text.Encodings.Web.HtmlEncoder" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Razor.Compilation.CompilationFailedException", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Exception", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Diagnostics.ICompilationException" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_CompilationFailures", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Diagnostics.ICompilationException", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "compilationFailures", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Razor.Compilation.CompiledViewDescriptor", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_RelativePath", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RelativePath", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewAttribute", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ViewAttribute", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ExpirationTokens", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ExpirationTokens", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IList" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsPrecompiled", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IsPrecompiled", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Item", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItem", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Item", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItem" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Type", - "Parameters": [], - "ReturnType": "System.Type", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "item", - "Type": "Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItem" - }, - { - "Name": "attribute", - "Type": "Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Razor.Compilation.IViewCompiler", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "CompileAsync", - "Parameters": [ - { - "Name": "relativePath", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Razor.Compilation.IViewCompilerProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetCompiler", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Razor.Compilation.IViewCompiler", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Razor.Compilation.MetadataReferenceFeature", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_MetadataReferences", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Razor.Compilation.MetadataReferenceFeatureProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationFeatureProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "PopulateFeature", - "Parameters": [ - { - "Name": "parts", - "Type": "System.Collections.Generic.IEnumerable" - }, - { - "Name": "feature", - "Type": "Microsoft.AspNetCore.Mvc.Razor.Compilation.MetadataReferenceFeature" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationFeatureProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorReferenceManager", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_CompilationReferences", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Path", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewType", - "Parameters": [], - "ReturnType": "System.Type", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "path", - "Type": "System.String" - }, - { - "Name": "viewType", - "Type": "System.Type" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Razor.Compilation.RoslynCompilationContext", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Compilation", - "Parameters": [], - "ReturnType": "Microsoft.CodeAnalysis.CSharp.CSharpCompilation", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Compilation", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.CodeAnalysis.CSharp.CSharpCompilation" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "compilation", - "Type": "Microsoft.CodeAnalysis.CSharp.CSharpCompilation" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Razor.Compilation.ViewsFeature", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ViewDescriptors", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Razor.Compilation.ViewsFeatureProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationFeatureProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "PopulateFeature", - "Parameters": [ - { - "Name": "parts", - "Type": "System.Collections.Generic.IEnumerable" - }, - { - "Name": "feature", - "Type": "Microsoft.AspNetCore.Mvc.Razor.Compilation.ViewsFeature" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationFeatureProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetViewAttributes", - "Parameters": [ - { - "Name": "assemblyPart", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationParts.AssemblyPart" - } - ], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "PrecompiledViewsAssemblySuffix", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationParts.CompiledRazorAssemblyApplicationPartFactory", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartFactory", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetDefaultApplicationParts", - "Parameters": [ - { - "Name": "assembly", - "Type": "System.Reflection.Assembly" - } - ], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetApplicationParts", - "Parameters": [ - { - "Name": "assembly", - "Type": "System.Reflection.Assembly" - } - ], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationParts.CompiledRazorAssemblyPart", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPart", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ApplicationParts.IRazorCompiledItemProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Assembly", - "Parameters": [], - "ReturnType": "System.Reflection.Assembly", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Name", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "assembly", - "Type": "System.Reflection.Assembly" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationParts.IRazorCompiledItemProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_CompiledItems", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.Extensions.DependencyInjection.MvcRazorMvcBuilderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddRazorOptions", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcBuilder" - }, - { - "Name": "setupAction", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddTagHelpersAsServices", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcBuilder" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "InitializeTagHelper", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcBuilder" - }, - { - "Name": "initialize", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TTagHelper", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper" - ] - } - ] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.Extensions.DependencyInjection.MvcRazorMvcCoreBuilderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddRazorViewEngine", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddRazorViewEngine", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder" - }, - { - "Name": "setupAction", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddTagHelpersAsServices", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "InitializeTagHelper", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder" - }, - { - "Name": "initialize", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TTagHelper", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper" - ] - } - ] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Mvc/Mvc.Razor/src/breakingchanges.netcore.json b/src/Mvc/Mvc.Razor/src/breakingchanges.netcore.json deleted file mode 100644 index c238459693..0000000000 --- a/src/Mvc/Mvc.Razor/src/breakingchanges.netcore.json +++ /dev/null @@ -1,67 +0,0 @@ -[ - { - "TypeId": "public abstract class Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorReferenceManager", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.Razor.Compilation.CompilationFailedException : System.Exception, Microsoft.AspNetCore.Diagnostics.ICompilationException", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.Razor.Compilation.MetadataReferenceFeature", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.Razor.Compilation.MetadataReferenceFeatureProvider : Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationFeatureProvider", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.Razor.Compilation.RoslynCompilationContext", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine : Microsoft.AspNetCore.Mvc.Razor.IRazorViewEngine", - "MemberId": "public .ctor(Microsoft.AspNetCore.Mvc.Razor.IRazorPageFactoryProvider pageFactory, Microsoft.AspNetCore.Mvc.Razor.IRazorPageActivator pageActivator, System.Text.Encodings.Web.HtmlEncoder htmlEncoder, Microsoft.Extensions.Options.IOptions optionsAccessor, Microsoft.AspNetCore.Razor.Language.RazorProject razorProject, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, System.Diagnostics.DiagnosticSource diagnosticSource)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine : Microsoft.AspNetCore.Mvc.Razor.IRazorViewEngine", - "MemberId": "public .ctor(Microsoft.AspNetCore.Mvc.Razor.IRazorPageFactoryProvider pageFactory, Microsoft.AspNetCore.Mvc.Razor.IRazorPageActivator pageActivator, System.Text.Encodings.Web.HtmlEncoder htmlEncoder, Microsoft.Extensions.Options.IOptions optionsAccessor, Microsoft.AspNetCore.Razor.Language.RazorProjectFileSystem razorFileSystem, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, System.Diagnostics.DiagnosticSource diagnosticSource)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.Razor.RazorView : Microsoft.AspNetCore.Mvc.ViewEngines.IView", - "MemberId": "public .ctor(Microsoft.AspNetCore.Mvc.Razor.IRazorViewEngine viewEngine, Microsoft.AspNetCore.Mvc.Razor.IRazorPageActivator pageActivator, System.Collections.Generic.IReadOnlyList viewStartPages, Microsoft.AspNetCore.Mvc.Razor.IRazorPage razorPage, System.Text.Encodings.Web.HtmlEncoder htmlEncoder, System.Diagnostics.DiagnosticSource diagnosticSource)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.Razor.RazorViewEngineOptions", - "MemberId": "public System.Action get_CompilationCallback()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.Razor.RazorViewEngineOptions", - "MemberId": "public System.Collections.Generic.IList get_AdditionalCompilationReferences()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.Razor.RazorViewEngineOptions", - "MemberId": "public System.Void set_CompilationCallback(System.Action value)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.Razor.RazorViewEngineOptions", - "MemberId": "public System.Collections.Generic.IList get_FileProviders()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.Razor.Compilation.CompiledViewDescriptor", - "MemberId": "public System.Boolean get_IsPrecompiled()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.Razor.Compilation.CompiledViewDescriptor", - "MemberId": "public System.Void set_IsPrecompiled(System.Boolean value)", - "Kind": "Removal" - } -] \ No newline at end of file diff --git a/src/Mvc/Mvc.Razor/test/RazorPageCreateModelExpressionTest.cs b/src/Mvc/Mvc.Razor/test/RazorPageCreateModelExpressionTest.cs index de2ceb9dd0..d510595c73 100644 --- a/src/Mvc/Mvc.Razor/test/RazorPageCreateModelExpressionTest.cs +++ b/src/Mvc/Mvc.Razor/test/RazorPageCreateModelExpressionTest.cs @@ -3,7 +3,6 @@ using System; using System.IO; -using System.Linq.Expressions; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc.Abstractions; @@ -20,73 +19,10 @@ namespace Microsoft.AspNetCore.Mvc.Razor { public class RazorPageCreateModelExpressionTest { - public static TheoryData IdentityExpressions - { - get - { - return new TheoryData, string> - { - // m => m - { page => page.CreateModelExpression1(), string.Empty }, - // m => Model - { page => page.CreateModelExpression2(), string.Empty }, - }; - } - } - - public static TheoryData NotQuiteIdentityExpressions - { - get - { - return new TheoryData, string, Type> - { - // m => m.Model - { page => page.CreateModelExpression1(), "Model", typeof(RecursiveModel) }, - // m => ViewData.Model - { page => page.CreateModelExpression2(), "ViewData.Model", typeof(RecursiveModel) }, - // m => ViewContext.ViewData.Model - // This property has type object because ViewData is not exposed as ViewDataDictionary. - { page => page.CreateModelExpression3(), "ViewContext.ViewData.Model", typeof(object) }, - }; - } - } - - public static TheoryData>, string> IntExpressions - { - get - { - var somethingElse = 23; - return new TheoryData>, string> - { - { model => somethingElse, "somethingElse" }, - { model => model.Id, "Id" }, - { model => model.SubModel.Id, "SubModel.Id" }, - { model => model.SubModel.SubSubModel.Id, "SubModel.SubSubModel.Id" }, - }; - } - } - - public static TheoryData>, string> StringExpressions - { - get - { - var somethingElse = "This is something else"; - return new TheoryData>, string> - { - { model => somethingElse, "somethingElse" }, - { model => model.Name, "Name" }, - { model => model.SubModel.Name, "SubModel.Name" }, - { model => model.SubModel.SubSubModel.Name, "SubModel.SubSubModel.Name" }, - }; - } - } - - [Theory] - [MemberData(nameof(IdentityExpressions))] - public void CreateModelExpression_ReturnsExpectedMetadata_IdentityExpressions( - Func createModelExpression, - string expectedName) + [Fact] + public void CreateModelExpression_ReturnsExpectedMetadata_IdentityExpressions_ForModelGivesM() { + // m => m // Arrange var viewContext = CreateViewContext(); var modelExplorer = viewContext.ViewData.ModelExplorer.GetExplorerForProperty( @@ -100,22 +36,78 @@ namespace Microsoft.AspNetCore.Mvc.Razor var page = CreateIdentityPage(viewContext); // Act - var modelExpression = createModelExpression(page); + var modelExpression = page.CreateModelExpression1(); // Assert Assert.NotNull(modelExpression); - Assert.Equal(expectedName, modelExpression.Name); + Assert.Empty(modelExpression.Name); Assert.Same(modelExplorer, modelExpression.ModelExplorer); } - [Theory] - [MemberData(nameof(NotQuiteIdentityExpressions))] - public void CreateModelExpression_ReturnsExpectedMetadata_NotQuiteIdentityExpressions( + [Fact] + public void CreateModelExpression_ReturnsExpectedMetadata_IdentityExpressions_ForModelGivesModel() + { + // m => m.Model + // Arrange + var viewContext = CreateViewContext(); + var modelExplorer = viewContext.ViewData.ModelExplorer.GetExplorerForProperty( + nameof(RazorPageCreateModelExpressionModel.Name)); + var viewData = new ViewDataDictionary(viewContext.ViewData) + { + ModelExplorer = modelExplorer, + }; + viewContext.ViewData = viewData; + + var page = CreateIdentityPage(viewContext); + + // Act + var modelExpression = page.CreateModelExpression2(); + + // Assert + Assert.NotNull(modelExpression); + Assert.Empty(modelExpression.Name); + Assert.Same(modelExplorer, modelExpression.ModelExplorer); + } + + [Fact] + public void CreateModelExpression_ReturnsExpectedMetadata_NotQuiteIdentityExpressions_ForModelGivesMDotModel() + { + // m => m.Model + // Arrange + var expectedName = "Model"; + var expectedType = typeof(RecursiveModel); + + CreateModelExpression_NotQuiteIdentityExpressions(page => page.CreateModelExpression1(), expectedName, expectedType); + } + + [Fact] + public void CreateModelExpression_ReturnsExpectedMetadata_NotQuiteIdentityExpressions_ForModelGivesViewDataDotModel() + { + // m => ViewData.Model + // Arrange + var expectedName = "ViewData.Model"; + var expectedType = typeof(RecursiveModel); + + CreateModelExpression_NotQuiteIdentityExpressions(page => page.CreateModelExpression2(), expectedName, expectedType); + } + + [Fact] + public void CreateModelExpression_ReturnsExpectedMetadata_NotQuiteIdentityExpressions_ForModelGivesViewContextDotViewDataDotModel() + { + // m => ViewContext.ViewData.Model + // Arrange + var expectedName = "ViewContext.ViewData.Model"; + // This property has type object because ViewData is not exposed as ViewDataDictionary. + var expectedType = typeof(object); + + CreateModelExpression_NotQuiteIdentityExpressions(page => page.CreateModelExpression3(), expectedName, expectedType); + } + + private static void CreateModelExpression_NotQuiteIdentityExpressions( Func createModelExpression, string expectedName, Type expectedType) { - // Arrange var viewContext = CreateViewContext(); var viewData = new ViewDataDictionary(viewContext.ViewData); viewContext.ViewData = viewData; @@ -136,38 +128,144 @@ namespace Microsoft.AspNetCore.Mvc.Razor Assert.Equal(expectedType, modelExpression.Metadata.ModelType); } - [Theory] - [MemberData(nameof(IntExpressions))] - public void CreateModelExpression_ReturnsExpectedMetadata_IntExpressions( - Expression> expression, - string expectedName) + [Fact] + public void CreateModelExpression_ReturnsExpectedMetadata_IntExpressions_ForModelGivesSomethingElse() { // Arrange + var expected = "somethingElse"; + var somethingElse = 23; var viewContext = CreateViewContext(); var page = CreatePage(viewContext); // Act - var result = page.ModelExpressionProvider.CreateModelExpression(page.ViewData, expression); + var result = page.ModelExpressionProvider.CreateModelExpression(page.ViewData, model => somethingElse); // Assert Assert.NotNull(result); Assert.NotNull(result.Metadata); Assert.Equal(typeof(int), result.Metadata.ModelType); - Assert.Equal(expectedName, result.Name); + Assert.Equal(expected, result.Name); } - [Theory] - [MemberData(nameof(StringExpressions))] - public void CreateModelExpression_ReturnsExpectedMetadata_StringExpressions( - Expression> expression, - string expectedName) + [Fact] + public void CreateModelExpression_ReturnsExpectedMetadata_IntExpressions_ForModelGivesId() { // Arrange + var expected = "Id"; var viewContext = CreateViewContext(); var page = CreatePage(viewContext); // Act - var result = page.ModelExpressionProvider.CreateModelExpression(page.ViewData, expression); + var result = page.ModelExpressionProvider.CreateModelExpression(page.ViewData, model => model.Id); + + // Assert + Assert.NotNull(result); + Assert.NotNull(result.Metadata); + Assert.Equal(typeof(int), result.Metadata.ModelType); + Assert.Equal(expected, result.Name); + } + + [Fact] + public void CreateModelExpression_ReturnsExpectedMetadata_IntExpressions_ForModelGivesSubModelId() + { + // Arrange + var expected = "SubModel.Id"; + var viewContext = CreateViewContext(); + var page = CreatePage(viewContext); + + // Act + var result = page.ModelExpressionProvider.CreateModelExpression(page.ViewData, model => model.SubModel.Id); + + // Assert + Assert.NotNull(result); + Assert.NotNull(result.Metadata); + Assert.Equal(typeof(int), result.Metadata.ModelType); + Assert.Equal(expected, result.Name); + } + + [Fact] + public void CreateModelExpression_ReturnsExpectedMetadata_IntExpressions_ForModelGivesSubSubModelId() + { + // Arrange + var expected = "SubModel.SubSubModel.Id"; + var viewContext = CreateViewContext(); + var page = CreatePage(viewContext); + + // Act + var result = page.ModelExpressionProvider.CreateModelExpression(page.ViewData, model => model.SubModel.SubSubModel.Id); + + // Assert + Assert.NotNull(result); + Assert.NotNull(result.Metadata); + Assert.Equal(typeof(int), result.Metadata.ModelType); + Assert.Equal(expected, result.Name); + } + + [Fact] + public void CreateModelExpression_ReturnsExpectedMetadata_StringExpressions_ForModelGivesSomethingElse() + { + // Arrange + var somethingElse = "This is something else"; + var expectedName = "somethingElse"; + var viewContext = CreateViewContext(); + var page = CreatePage(viewContext); + + // Act + var result = page.ModelExpressionProvider.CreateModelExpression(page.ViewData, model => somethingElse); + + // Assert + Assert.NotNull(result); + Assert.NotNull(result.Metadata); + Assert.Equal(typeof(string), result.Metadata.ModelType); + Assert.Equal(expectedName, result.Name); + } + + [Fact] + public void CreateModelExpression_ReturnsExpectedMetadata_StringExpressions_ForModelGivesName() + { + // Arrange + var expectedName = "Name"; + var viewContext = CreateViewContext(); + var page = CreatePage(viewContext); + + // Act + var result = page.ModelExpressionProvider.CreateModelExpression(page.ViewData, model => model.Name); + + // Assert + Assert.NotNull(result); + Assert.NotNull(result.Metadata); + Assert.Equal(typeof(string), result.Metadata.ModelType); + Assert.Equal(expectedName, result.Name); + } + + [Fact] + public void CreateModelExpression_ReturnsExpectedMetadata_StringExpressions_ForModelGivesSubmodelName() + { + // Arrange + var expectedName = "SubModel.SubSubModel.Name"; + var viewContext = CreateViewContext(); + var page = CreatePage(viewContext); + + // Act + var result = page.ModelExpressionProvider.CreateModelExpression(page.ViewData, model => model.SubModel.SubSubModel.Name); + + // Assert + Assert.NotNull(result); + Assert.NotNull(result.Metadata); + Assert.Equal(typeof(string), result.Metadata.ModelType); + Assert.Equal(expectedName, result.Name); + } + + [Fact] + public void CreateModelExpression_ReturnsExpectedMetadata_StringExpressions_ForModelGivesSubSubmodelName() + { + // Arrange + var expectedName = "SubModel.Name"; + var viewContext = CreateViewContext(); + var page = CreatePage(viewContext); + + // Act + var result = page.ModelExpressionProvider.CreateModelExpression(page.ViewData, model => model.SubModel.Name); // Assert Assert.NotNull(result); diff --git a/src/Mvc/Mvc.Razor/test/RazorPageTest.cs b/src/Mvc/Mvc.Razor/test/RazorPageTest.cs index c94f921f3a..8475c8a2fc 100644 --- a/src/Mvc/Mvc.Razor/test/RazorPageTest.cs +++ b/src/Mvc/Mvc.Razor/test/RazorPageTest.cs @@ -140,24 +140,11 @@ namespace Microsoft.AspNetCore.Mvc.Razor ex.Message); } - public static TheoryData HtmlEncoderData - { - get - { - return new TheoryData - { - HtmlEncoder.Default, - NullHtmlEncoder.Default, - new HtmlTestEncoder(), - }; - } - } - - [Theory] - [MemberData(nameof(HtmlEncoderData))] - public async Task StartTagHelperWritingScope_SetsHtmlEncoder(HtmlEncoder encoder) + [Fact] + public async Task StartTagHelperWritingScope_SetsHtmlEncoder() { // Arrange + var encoder = Mock.Of(); var page = CreatePage(v => { v.StartTagHelperWritingScope(encoder); @@ -1176,53 +1163,20 @@ namespace Microsoft.AspNetCore.Mvc.Razor get { // attributeValues, expectedValue - return new TheoryData[], string> + return new TheoryData { { - new [] - { - Tuple.Create(string.Empty, 9, (object)"Hello", 9, true), - }, - "Hello" + string.Empty, 9, (object)"Hello", 9, true, "Hello" }, { - new [] - { - Tuple.Create(" ", 9, (object)"Hello", 10, true) - }, - " Hello" + " ", 9, (object)"Hello", 10, true, " Hello" }, { - new [] - { - Tuple.Create(" ", 9, (object)null, 10, false) - }, - string.Empty + " ", 9, (object)null, 10, false, string.Empty }, { - new [] - { - Tuple.Create(" ", 9, (object)false, 10, false) - }, - " HtmlEncode[[False]]" - }, - { - new [] - { - Tuple.Create(" ", 9, (object)true, 11, false), - Tuple.Create(" ", 9, (object)"abcd", 17, true) - }, - " HtmlEncode[[True]] abcd" - }, - { - new [] - { - Tuple.Create(string.Empty, 9, (object)"prefix", 9, true), - Tuple.Create(" ", 15, (object)null, 17, false), - Tuple.Create(" ", 21, (object)"suffix", 22, false), - }, - "prefix HtmlEncode[[suffix]]" + " ", 9, (object)false, 10, false, " HtmlEncode[[False]]" }, }; } @@ -1231,7 +1185,11 @@ namespace Microsoft.AspNetCore.Mvc.Razor [Theory] [MemberData(nameof(AddHtmlAttributeValues_ValueData))] public void AddHtmlAttributeValues_AddsToHtmlAttributesAsExpected( - Tuple[] attributeValues, + string prefix, + int prefixOffset, + object value, + int valueOffset, + bool isLiteral, string expectedValue) { // Arrange @@ -1246,6 +1204,94 @@ namespace Microsoft.AspNetCore.Mvc.Razor startTagHelperWritingScope: _ => { }, endTagHelperWritingScope: () => new DefaultTagHelperContent()); + // Act + page.BeginAddHtmlAttributeValues(executionContext, "someattr", 1, HtmlAttributeValueStyle.SingleQuotes); + page.AddHtmlAttributeValue(prefix, prefixOffset, value, valueOffset, 0, isLiteral); + page.EndAddHtmlAttributeValues(executionContext); + + // Assert + var output = executionContext.Output; + var htmlAttribute = Assert.Single(output.Attributes); + Assert.Equal("someattr", htmlAttribute.Name, StringComparer.Ordinal); + var htmlContent = Assert.IsAssignableFrom(htmlAttribute.Value); + Assert.Equal(expectedValue, HtmlContentUtilities.HtmlContentToString(htmlContent), StringComparer.Ordinal); + Assert.Equal(HtmlAttributeValueStyle.SingleQuotes, htmlAttribute.ValueStyle); + + var context = executionContext.Context; + var allAttribute = Assert.Single(context.AllAttributes); + Assert.Equal("someattr", allAttribute.Name, StringComparer.Ordinal); + htmlContent = Assert.IsAssignableFrom(allAttribute.Value); + Assert.Equal(expectedValue, HtmlContentUtilities.HtmlContentToString(htmlContent), StringComparer.Ordinal); + Assert.Equal(HtmlAttributeValueStyle.SingleQuotes, allAttribute.ValueStyle); + } + + [Fact] + public void AddHtmlAttributeValues_TwoAttributeValues_AddsToHtmlAttributesAsExpected() + { + // Arrange + var expectedValue = " HtmlEncode[[True]] abcd"; + var attributeValues = new[] + { + Tuple.Create(" ", 9, (object)true, 11, false), + Tuple.Create(" ", 9, (object)"abcd", 17, true) + }; + var page = CreatePage(p => { }); + page.HtmlEncoder = new HtmlTestEncoder(); + var executionContext = new TagHelperExecutionContext( + "p", + tagMode: TagMode.StartTagAndEndTag, + items: new Dictionary(), + uniqueId: string.Empty, + executeChildContentAsync: () => Task.FromResult(result: true), + startTagHelperWritingScope: _ => { }, + endTagHelperWritingScope: () => new DefaultTagHelperContent()); + + // Act + page.BeginAddHtmlAttributeValues(executionContext, "someattr", attributeValues.Length, HtmlAttributeValueStyle.SingleQuotes); + foreach (var value in attributeValues) + { + page.AddHtmlAttributeValue(value.Item1, value.Item2, value.Item3, value.Item4, 0, value.Item5); + } + page.EndAddHtmlAttributeValues(executionContext); + + // Assert + var output = executionContext.Output; + var htmlAttribute = Assert.Single(output.Attributes); + Assert.Equal("someattr", htmlAttribute.Name, StringComparer.Ordinal); + var htmlContent = Assert.IsAssignableFrom(htmlAttribute.Value); + Assert.Equal(expectedValue, HtmlContentUtilities.HtmlContentToString(htmlContent), StringComparer.Ordinal); + Assert.Equal(HtmlAttributeValueStyle.SingleQuotes, htmlAttribute.ValueStyle); + + var context = executionContext.Context; + var allAttribute = Assert.Single(context.AllAttributes); + Assert.Equal("someattr", allAttribute.Name, StringComparer.Ordinal); + htmlContent = Assert.IsAssignableFrom(allAttribute.Value); + Assert.Equal(expectedValue, HtmlContentUtilities.HtmlContentToString(htmlContent), StringComparer.Ordinal); + Assert.Equal(HtmlAttributeValueStyle.SingleQuotes, allAttribute.ValueStyle); + } + + [Fact] + public void AddHtmlAttributeValues_ThreeAttributeValues_AddsToHtmlAttributesAsExpected() + { + // Arrange + var expectedValue = "prefix HtmlEncode[[suffix]]"; + var attributeValues = new[] + { + Tuple.Create(string.Empty, 9, (object)"prefix", 9, true), + Tuple.Create(" ", 15, (object)null, 17, false), + Tuple.Create(" ", 21, (object)"suffix", 22, false), + }; + var page = CreatePage(p => { }); + page.HtmlEncoder = new HtmlTestEncoder(); + var executionContext = new TagHelperExecutionContext( + "p", + tagMode: TagMode.StartTagAndEndTag, + items: new Dictionary(), + uniqueId: string.Empty, + executeChildContentAsync: () => Task.FromResult(result: true), + startTagHelperWritingScope: _ => { }, + endTagHelperWritingScope: () => new DefaultTagHelperContent()); + // Act page.BeginAddHtmlAttributeValues(executionContext, "someattr", attributeValues.Length, HtmlAttributeValueStyle.SingleQuotes); foreach (var value in attributeValues) @@ -1342,50 +1388,22 @@ namespace Microsoft.AspNetCore.Mvc.Razor get { // AttributeValues, ExpectedOutput - return new TheoryData[], string> + return new TheoryData { { - new[] - { - Tuple.Create(string.Empty, 9, (object)true, 9, false), - }, - "someattr=HtmlEncode[[someattr]]" + string.Empty, 9, (object)true, 9, false, "someattr=HtmlEncode[[someattr]]" }, { - new[] - { - Tuple.Create(string.Empty, 9, (object)false, 9, false), - }, - string.Empty + string.Empty, 9, (object)false, 9, false, string.Empty }, { - new[] - { - Tuple.Create(string.Empty, 9, (object)null, 9, false), - }, - string.Empty + string.Empty, 9, (object)null, 9, false, string.Empty }, { - new[] - { - Tuple.Create(" ", 9, (object)false, 11, false), - }, - "someattr= HtmlEncode[[False]]" + " ", 9, (object)false, 11, false, "someattr= HtmlEncode[[False]]" }, { - new[] - { - Tuple.Create(" ", 9, (object)null, 11, false), - }, - "someattr=" - }, - { - new[] - { - Tuple.Create(" ", 9, (object)true, 11, false), - Tuple.Create(" ", 15, (object)"abcd", 17, true), - }, - "someattr= HtmlEncode[[True]] abcd" + " ", 9, (object)null, 11, false, "someattr=" }, }; } @@ -1394,10 +1412,47 @@ namespace Microsoft.AspNetCore.Mvc.Razor [Theory] [MemberData(nameof(WriteAttributeData))] public void WriteAttribute_UsesSpecifiedWriter_WritesAsExpected( - Tuple[] attributeValues, + string prefix, + int prefixOffset, + object value, + int valueOffset, + bool isLiteral, string expectedOutput) { // Arrange + var page = CreatePage(p => { }); + page.HtmlEncoder = new HtmlTestEncoder(); + var writer = new StringWriter(); + var suffix = string.Empty; + + // Act + page.PushWriter(writer); + page.BeginWriteAttribute("someattr", "someattr=", 0, suffix, 0, 1); + page.WriteAttributeValue( + prefix, + prefixOffset, + value, + valueOffset, + value?.ToString().Length ?? 0, + isLiteral); + page.EndWriteAttribute(); + page.PopWriter(); + + // Assert + Assert.Equal(expectedOutput, writer.ToString()); + } + + [Fact] + public void WriteAttribute_MultipleValues_UsesSpecifiedWriter_WritesAsExpected() + { + // Arrange + var attributeValues = new[] + { + Tuple.Create(" ", 9, (object)true, 11, false), + Tuple.Create(" ", 15, (object)"abcd", 17, true), + }; + var expectedOutput = "someattr= HtmlEncode[[True]] abcd"; + var page = CreatePage(p => { }); page.HtmlEncoder = new HtmlTestEncoder(); var writer = new StringWriter(); diff --git a/src/Mvc/Mvc.Razor/test/RazorViewEngineTest.cs b/src/Mvc/Mvc.Razor/test/RazorViewEngineTest.cs index dea493c874..7611c20fea 100644 --- a/src/Mvc/Mvc.Razor/test/RazorViewEngineTest.cs +++ b/src/Mvc/Mvc.Razor/test/RazorViewEngineTest.cs @@ -52,32 +52,7 @@ namespace Microsoft.AspNetCore.Mvc.Razor } } - public static IEnumerable ViewLocationExpanderTestData - { - get - { - yield return new object[] - { - _controllerTestContext, - new[] - { - "/Views/{1}/{0}.cshtml", - "/Views/Shared/{0}.cshtml" - } - }; - yield return new object[] - { - _areaTestContext, - new[] - { - "/Areas/{2}/Views/{1}/{0}.cshtml", - "/Areas/{2}/Views/Shared/{0}.cshtml", - "/Views/Shared/{0}.cshtml" - } - }; - } - } [Theory] [InlineData(null)] @@ -681,13 +656,85 @@ namespace Microsoft.AspNetCore.Mvc.Razor Assert.Same(areaPage2, view4.RazorPage); } - [Theory] - [MemberData(nameof(ViewLocationExpanderTestData))] - public void FindView_UsesViewLocationExpandersToLocateViews( - IDictionary routeValues, - IEnumerable expectedSeeds) + [Fact] + public void FindView_UsesViewLocationExpandersToLocateViews() { // Arrange + var routeValues = _controllerTestContext; + var expectedSeeds = new[] + { + "/Views/{1}/{0}.cshtml", + "/Views/Shared/{0}.cshtml" + }; + + var pageFactory = new Mock(); + pageFactory + .Setup(p => p.CreateFactory("test-string/bar.cshtml")) + .Returns(GetPageFactoryResult(() => Mock.Of())) + .Verifiable(); + + var expander1Result = new[] { "some-seed" }; + var expander1 = new Mock(); + expander1 + .Setup(e => e.PopulateValues(It.IsAny())) + .Callback((ViewLocationExpanderContext c) => + { + Assert.NotNull(c.ActionContext); + c.Values["expander-key"] = expander1.ToString(); + }) + .Verifiable(); + expander1 + .Setup(e => e.ExpandViewLocations( + It.IsAny(), + It.IsAny>())) + .Callback((ViewLocationExpanderContext c, IEnumerable seeds) => + { + Assert.NotNull(c.ActionContext); + Assert.Equal(expectedSeeds, seeds); + }) + .Returns(expander1Result) + .Verifiable(); + + var expander2 = new Mock(); + expander2 + .Setup(e => e.ExpandViewLocations( + It.IsAny(), + It.IsAny>())) + .Callback((ViewLocationExpanderContext c, IEnumerable seeds) => + { + Assert.Equal(expander1Result, seeds); + }) + .Returns(new[] { "test-string/{1}.cshtml" }) + .Verifiable(); + + var viewEngine = CreateViewEngine( + pageFactory.Object, + new[] { expander1.Object, expander2.Object }); + var context = GetActionContext(routeValues); + + // Act + var result = viewEngine.FindView(context, "test-view", isMainPage: true); + + // Assert + Assert.True(result.Success); + Assert.IsAssignableFrom(result.View); + pageFactory.Verify(); + expander1.Verify(); + expander2.Verify(); + } + + [Fact] + public void FindView_UsesViewLocationExpandersToLocateViews_ForAreas() + { + // Arrange + var routeValues = _areaTestContext; + var expectedSeeds = new[] + { + "/Areas/{2}/Views/{1}/{0}.cshtml", + "/Areas/{2}/Views/Shared/{0}.cshtml", + "/Views/Shared/{0}.cshtml" + }; + var pageFactory = new Mock(); pageFactory .Setup(p => p.CreateFactory("test-string/bar.cshtml")) @@ -1092,13 +1139,76 @@ namespace Microsoft.AspNetCore.Mvc.Razor "pageName"); } - [Theory] - [MemberData(nameof(ViewLocationExpanderTestData))] - public void FindPage_UsesViewLocationExpander_ToExpandPaths( - IDictionary routeValues, - IEnumerable expectedSeeds) + [Fact] + public void FindPage_UsesViewLocationExpander_ToExpandPaths() { // Arrange + var routeValues = _controllerTestContext; + var expectedSeeds = new[] + { + "/Views/{1}/{0}.cshtml", + "/Views/Shared/{0}.cshtml" + }; + + var page = Mock.Of(); + var pageFactory = new Mock(); + pageFactory + .Setup(p => p.CreateFactory("expanded-path/bar-layout")) + .Returns(GetPageFactoryResult(() => page)) + .Verifiable(); + + var expander = new Mock(); + expander + .Setup(e => e.PopulateValues(It.IsAny())) + .Callback((ViewLocationExpanderContext c) => + { + Assert.NotNull(c.ActionContext); + c.Values["expander-key"] = expander.ToString(); + }) + .Verifiable(); + expander + .Setup(e => e.ExpandViewLocations( + It.IsAny(), + It.IsAny>())) + .Returns((ViewLocationExpanderContext c, IEnumerable seeds) => + { + Assert.NotNull(c.ActionContext); + Assert.Equal(expectedSeeds, seeds); + + Assert.Equal(expander.ToString(), c.Values["expander-key"]); + + return new[] { "expanded-path/bar-{0}" }; + }) + .Verifiable(); + + var viewEngine = CreateViewEngine( + pageFactory.Object, + new[] { expander.Object }); + var context = GetActionContext(routeValues); + + // Act + var result = viewEngine.FindPage(context, "layout"); + + // Assert + Assert.Equal("layout", result.Name); + Assert.Same(page, result.Page); + Assert.Null(result.SearchedLocations); + pageFactory.Verify(); + expander.Verify(); + } + + [Fact] + public void FindPage_UsesViewLocationExpander_ToExpandPaths_ForAreas() + { + // Arrange + var routeValues = _areaTestContext; + var expectedSeeds = new[] + { + "/Areas/{2}/Views/{1}/{0}.cshtml", + "/Areas/{2}/Views/Shared/{0}.cshtml", + "/Views/Shared/{0}.cshtml" + }; + var page = Mock.Of(); var pageFactory = new Mock(); pageFactory diff --git a/src/Mvc/Mvc.Razor/test/TagHelpers/UrlResolutionTagHelperTest.cs b/src/Mvc/Mvc.Razor/test/TagHelpers/UrlResolutionTagHelperTest.cs index 0eab7b1331..aee23f4242 100644 --- a/src/Mvc/Mvc.Razor/test/TagHelpers/UrlResolutionTagHelperTest.cs +++ b/src/Mvc/Mvc.Razor/test/TagHelpers/UrlResolutionTagHelperTest.cs @@ -108,12 +108,12 @@ namespace Microsoft.AspNetCore.Mvc.Razor.TagHelpers get { // url, expectedHref - return new TheoryData + return new TheoryData { - { new HtmlString("~/home/index.html"), "HtmlEncode[[/approot/]]home/index.html" }, - { new HtmlString(" ~/home/index.html"), "HtmlEncode[[/approot/]]home/index.html" }, + { "~/home/index.html", "HtmlEncode[[/approot/]]home/index.html" }, + { " ~/home/index.html", "HtmlEncode[[/approot/]]home/index.html" }, { - new HtmlString("~/home/index.html ~/secondValue/index.html"), + "~/home/index.html ~/secondValue/index.html", "HtmlEncode[[/approot/]]home/index.html ~/secondValue/index.html" }, }; @@ -122,14 +122,14 @@ namespace Microsoft.AspNetCore.Mvc.Razor.TagHelpers [Theory] [MemberData(nameof(ResolvableUrlHtmlStringData))] - public void Process_ResolvesTildeSlashValues_InHtmlString(object url, string expectedHref) + public void Process_ResolvesTildeSlashValues_InHtmlString(string url, string expectedHref) { // Arrange var tagHelperOutput = new TagHelperOutput( tagName: "a", attributes: new TagHelperAttributeList { - { "href", url } + { "href", new HtmlString(url) } }, getChildContentAsync: (useCachedResult, encoder) => Task.FromResult(null)); var urlHelperMock = new Mock(); @@ -221,27 +221,27 @@ namespace Microsoft.AspNetCore.Mvc.Razor.TagHelpers get { // url - return new TheoryData + return new TheoryData { - { new HtmlString("/home/index.html") }, - { new HtmlString("~ /home/index.html") }, - { new HtmlString("/home/index.html ~/second/wontresolve.html") }, - { new HtmlString("~\\home\\index.html") }, - { new HtmlString("~\\/home/index.html") }, + { "/home/index.html" }, + { "~ /home/index.html" }, + { "/home/index.html ~/second/wontresolve.html" }, + { "~\\home\\index.html" }, + { "~\\/home/index.html" }, }; } } [Theory] [MemberData(nameof(UnresolvableUrlHtmlStringData))] - public void Process_DoesNotResolveNonTildeSlashValues_InHtmlString(HtmlString url) + public void Process_DoesNotResolveNonTildeSlashValues_InHtmlString(string url) { // Arrange var tagHelperOutput = new TagHelperOutput( tagName: "a", attributes: new TagHelperAttributeList { - { "href", url } + { "href", new HtmlString(url) } }, getChildContentAsync: (useCachedResult, encoder) => Task.FromResult(null)); var urlHelperMock = new Mock(); diff --git a/src/Mvc/Mvc.RazorPages/ref/Microsoft.AspNetCore.Mvc.RazorPages.netcoreapp3.0.cs b/src/Mvc/Mvc.RazorPages/ref/Microsoft.AspNetCore.Mvc.RazorPages.netcoreapp3.0.cs index 6ced9ae64c..b4c1d6e6b6 100644 --- a/src/Mvc/Mvc.RazorPages/ref/Microsoft.AspNetCore.Mvc.RazorPages.netcoreapp3.0.cs +++ b/src/Mvc/Mvc.RazorPages/ref/Microsoft.AspNetCore.Mvc.RazorPages.netcoreapp3.0.cs @@ -3,13 +3,18 @@ namespace Microsoft.AspNetCore.Builder { + public sealed partial class PageActionEndpointConventionBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder + { + internal PageActionEndpointConventionBuilder() { } + public void Add(System.Action convention) { } + } public static partial class RazorPagesEndpointRouteBuilderExtensions { - public static void MapFallbackToAreaPage(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string page, string area) { } - public static void MapFallbackToAreaPage(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern, string page, string area) { } - public static void MapFallbackToPage(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string page) { } - public static void MapFallbackToPage(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern, string page) { } - public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder MapRazorPages(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints) { throw null; } + public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder MapFallbackToAreaPage(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string page, string area) { throw null; } + public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder MapFallbackToAreaPage(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern, string page, string area) { throw null; } + public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder MapFallbackToPage(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string page) { throw null; } + public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder MapFallbackToPage(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern, string page) { throw null; } + public static Microsoft.AspNetCore.Builder.PageActionEndpointConventionBuilder MapRazorPages(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints) { throw null; } } } namespace Microsoft.AspNetCore.Mvc.ApplicationModels @@ -18,6 +23,13 @@ namespace Microsoft.AspNetCore.Mvc.ApplicationModels { void Apply(Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModel model); } + public partial interface IPageApplicationModelPartsProvider + { + Microsoft.AspNetCore.Mvc.ApplicationModels.PageHandlerModel CreateHandlerModel(System.Reflection.MethodInfo method); + Microsoft.AspNetCore.Mvc.ApplicationModels.PageParameterModel CreateParameterModel(System.Reflection.ParameterInfo parameter); + Microsoft.AspNetCore.Mvc.ApplicationModels.PagePropertyModel CreatePropertyModel(System.Reflection.PropertyInfo property); + bool IsHandler(System.Reflection.MethodInfo methodInfo); + } public partial interface IPageApplicationModelProvider { int Order { get; } diff --git a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/DefaultPageApplicationModelPartsProvider.cs b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/DefaultPageApplicationModelPartsProvider.cs new file mode 100644 index 0000000000..5fc10e4148 --- /dev/null +++ b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/DefaultPageApplicationModelPartsProvider.cs @@ -0,0 +1,276 @@ +// 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 System.Reflection; +using System.Text; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.AspNetCore.Mvc.Razor; +using Microsoft.AspNetCore.Mvc.RazorPages; + +namespace Microsoft.AspNetCore.Mvc.ApplicationModels +{ + internal class DefaultPageApplicationModelPartsProvider: IPageApplicationModelPartsProvider + { + private readonly IModelMetadataProvider _modelMetadataProvider; + + private readonly Func _supportsAllRequests; + private readonly Func _supportsNonGetRequests; + + + public DefaultPageApplicationModelPartsProvider(IModelMetadataProvider modelMetadataProvider) + { + _modelMetadataProvider = modelMetadataProvider; + + _supportsAllRequests = _ => true; + _supportsNonGetRequests = context => !HttpMethods.IsGet(context.HttpContext.Request.Method); + } + + /// + /// Creates a for the specified .s + /// + /// The . + /// The . + public PageHandlerModel CreateHandlerModel(MethodInfo method) + { + if (method == null) + { + throw new ArgumentNullException(nameof(method)); + } + + if (!IsHandler(method)) + { + return null; + } + + if (!TryParseHandlerMethod(method.Name, out var httpMethod, out var handlerName)) + { + return null; + } + + var handlerModel = new PageHandlerModel( + method, + method.GetCustomAttributes(inherit: true)) + { + Name = method.Name, + HandlerName = handlerName, + HttpMethod = httpMethod, + }; + + var methodParameters = handlerModel.MethodInfo.GetParameters(); + + for (var i = 0; i < methodParameters.Length; i++) + { + var parameter = methodParameters[i]; + var parameterModel = CreateParameterModel(parameter); + parameterModel.Handler = handlerModel; + + handlerModel.Parameters.Add(parameterModel); + } + + return handlerModel; + } + + /// + /// Creates a for the specified . + /// + /// The . + /// The . + public PageParameterModel CreateParameterModel(ParameterInfo parameter) + { + if (parameter == null) + { + throw new ArgumentNullException(nameof(parameter)); + } + + var attributes = parameter.GetCustomAttributes(inherit: true); + + BindingInfo bindingInfo; + if (_modelMetadataProvider is ModelMetadataProvider modelMetadataProviderBase) + { + var modelMetadata = modelMetadataProviderBase.GetMetadataForParameter(parameter); + bindingInfo = BindingInfo.GetBindingInfo(attributes, modelMetadata); + } + else + { + bindingInfo = BindingInfo.GetBindingInfo(attributes); + } + + return new PageParameterModel(parameter, attributes) + { + BindingInfo = bindingInfo, + ParameterName = parameter.Name, + }; + } + + /// + /// Creates a for the . + /// + /// The . + /// The . + public PagePropertyModel CreatePropertyModel(PropertyInfo property) + { + if (property == null) + { + throw new ArgumentNullException(nameof(property)); + } + + var propertyAttributes = property.GetCustomAttributes(inherit: true); + + // BindingInfo for properties can be either specified by decorating the property with binding-specific attributes. + // ModelMetadata also adds information from the property's type and any configured IBindingMetadataProvider. + var propertyMetadata = _modelMetadataProvider.GetMetadataForProperty(property.DeclaringType, property.Name); + var bindingInfo = BindingInfo.GetBindingInfo(propertyAttributes, propertyMetadata); + + if (bindingInfo == null) + { + // Look for BindPropertiesAttribute on the handler type if no BindingInfo was inferred for the property. + // This allows a user to enable model binding on properties by decorating the controller type with BindPropertiesAttribute. + var declaringType = property.DeclaringType; + var bindPropertiesAttribute = declaringType.GetCustomAttribute(inherit: true); + if (bindPropertiesAttribute != null) + { + var requestPredicate = bindPropertiesAttribute.SupportsGet ? _supportsAllRequests : _supportsNonGetRequests; + bindingInfo = new BindingInfo + { + RequestPredicate = requestPredicate, + }; + } + } + + var model = new PagePropertyModel(property, propertyAttributes) + { + PropertyName = property.Name, + BindingInfo = bindingInfo, + }; + + return model; + } + + /// + /// Determines if the specified is a handler. + /// + /// The . + /// true if the is a handler. Otherwise false. + /// + /// Override this method to provide custom logic to determine which methods are considered handlers. + /// + public bool IsHandler(MethodInfo methodInfo) + { + // The SpecialName bit is set to flag members that are treated in a special way by some compilers + // (such as property accessors and operator overloading methods). + if (methodInfo.IsSpecialName) + { + return false; + } + + // Overridden methods from Object class, e.g. Equals(Object), GetHashCode(), etc., are not valid. + if (methodInfo.GetBaseDefinition().DeclaringType == typeof(object)) + { + return false; + } + + if (methodInfo.IsStatic) + { + return false; + } + + if (methodInfo.IsAbstract) + { + return false; + } + + if (methodInfo.IsConstructor) + { + return false; + } + + if (methodInfo.IsGenericMethod) + { + return false; + } + + if (!methodInfo.IsPublic) + { + return false; + } + + if (methodInfo.IsDefined(typeof(NonHandlerAttribute))) + { + return false; + } + + // Exclude the whole hierarchy of Page. + var declaringType = methodInfo.DeclaringType; + if (declaringType == typeof(Page) || + declaringType == typeof(PageBase) || + declaringType == typeof(RazorPageBase)) + { + return false; + } + + // Exclude methods declared on PageModel + if (declaringType == typeof(PageModel)) + { + return false; + } + + return true; + } + + internal static bool TryParseHandlerMethod(string methodName, out string httpMethod, out string handler) + { + httpMethod = null; + handler = null; + + // Handler method names always start with "On" + if (!methodName.StartsWith("On") || methodName.Length <= "On".Length) + { + return false; + } + + // Now we parse the method name according to our conventions to determine the required HTTP method + // and optional 'handler name'. + // + // Valid names look like: + // - OnGet + // - OnPost + // - OnFooBar + // - OnTraceAsync + // - OnPostEditAsync + + var start = "On".Length; + var length = methodName.Length; + if (methodName.EndsWith("Async", StringComparison.Ordinal)) + { + length -= "Async".Length; + } + + if (start == length) + { + // There are no additional characters. This is "On" or "OnAsync". + return false; + } + + // The http method follows "On" and is required to be at least one character. We use casing + // to determine where it ends. + var handlerNameStart = start + 1; + for (; handlerNameStart < length; handlerNameStart++) + { + if (char.IsUpper(methodName[handlerNameStart])) + { + break; + } + } + + httpMethod = methodName.Substring(start, handlerNameStart - start); + + // The handler name follows the http method and is optional. It includes everything up to the end + // excluding the "Async" suffix (if present). + handler = handlerNameStart == length ? null : methodName.Substring(handlerNameStart, length - handlerNameStart); + return true; + } + } +} diff --git a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/DefaultPageApplicationModelProvider.cs b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/DefaultPageApplicationModelProvider.cs index 32587f87af..c146407cf1 100644 --- a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/DefaultPageApplicationModelProvider.cs +++ b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/DefaultPageApplicationModelProvider.cs @@ -22,19 +22,18 @@ namespace Microsoft.AspNetCore.Mvc.ApplicationModels private readonly PageHandlerResultFilter _pageHandlerResultFilter = new PageHandlerResultFilter(); private readonly IModelMetadataProvider _modelMetadataProvider; private readonly RazorPagesOptions _razorPagesOptions; - private readonly Func _supportsAllRequests; - private readonly Func _supportsNonGetRequests; + private readonly IPageApplicationModelPartsProvider _pageApplicationModelPartsProvider; private readonly HandleOptionsRequestsPageFilter _handleOptionsRequestsFilter; public DefaultPageApplicationModelProvider( IModelMetadataProvider modelMetadataProvider, - IOptions razorPagesOptions) + IOptions razorPagesOptions, + IPageApplicationModelPartsProvider pageApplicationModelPartsProvider) { _modelMetadataProvider = modelMetadataProvider; _razorPagesOptions = razorPagesOptions.Value; + _pageApplicationModelPartsProvider = pageApplicationModelPartsProvider; - _supportsAllRequests = _ => true; - _supportsNonGetRequests = context => !HttpMethods.IsGet(context.HttpContext.Request.Method); _handleOptionsRequestsFilter = new HandleOptionsRequestsPageFilter(); } @@ -133,7 +132,7 @@ namespace Microsoft.AspNetCore.Mvc.ApplicationModels for (var i = 0; i < properties.Length; i++) { - var propertyModel = CreatePropertyModel(properties[i].Property); + var propertyModel = _pageApplicationModelPartsProvider.CreatePropertyModel(properties[i].Property); if (propertyModel != null) { propertyModel.Page = pageModel; @@ -149,7 +148,7 @@ namespace Microsoft.AspNetCore.Mvc.ApplicationModels for (var i = 0; i < methods.Length; i++) { - var handler = CreateHandlerModel(methods[i]); + var handler = _pageApplicationModelPartsProvider.CreateHandlerModel(methods[i]); if (handler != null) { pageModel.HandlerMethods.Add(handler); @@ -181,250 +180,5 @@ namespace Microsoft.AspNetCore.Mvc.ApplicationModels pageModel.Filters.Add(_handleOptionsRequestsFilter); } - - /// - /// Creates a for the specified .s - /// - /// The . - /// The . - protected virtual PageHandlerModel CreateHandlerModel(MethodInfo method) - { - if (method == null) - { - throw new ArgumentNullException(nameof(method)); - } - - if (!IsHandler(method)) - { - return null; - } - - if (!TryParseHandlerMethod(method.Name, out var httpMethod, out var handlerName)) - { - return null; - } - - var handlerModel = new PageHandlerModel( - method, - method.GetCustomAttributes(inherit: true)) - { - Name = method.Name, - HandlerName = handlerName, - HttpMethod = httpMethod, - }; - - var methodParameters = handlerModel.MethodInfo.GetParameters(); - - for (var i = 0; i < methodParameters.Length; i++) - { - var parameter = methodParameters[i]; - var parameterModel = CreateParameterModel(parameter); - parameterModel.Handler = handlerModel; - - handlerModel.Parameters.Add(parameterModel); - } - - return handlerModel; - } - - /// - /// Creates a for the specified . - /// - /// The . - /// The . - protected virtual PageParameterModel CreateParameterModel(ParameterInfo parameter) - { - if (parameter == null) - { - throw new ArgumentNullException(nameof(parameter)); - } - - var attributes = parameter.GetCustomAttributes(inherit: true); - - BindingInfo bindingInfo; - if (_modelMetadataProvider is ModelMetadataProvider modelMetadataProviderBase) - { - var modelMetadata = modelMetadataProviderBase.GetMetadataForParameter(parameter); - bindingInfo = BindingInfo.GetBindingInfo(attributes, modelMetadata); - } - else - { - bindingInfo = BindingInfo.GetBindingInfo(attributes); - } - - return new PageParameterModel(parameter, attributes) - { - BindingInfo = bindingInfo, - ParameterName = parameter.Name, - }; - } - - /// - /// Creates a for the . - /// - /// The . - /// The . - protected virtual PagePropertyModel CreatePropertyModel(PropertyInfo property) - { - if (property == null) - { - throw new ArgumentNullException(nameof(property)); - } - - var propertyAttributes = property.GetCustomAttributes(inherit: true); - - // BindingInfo for properties can be either specified by decorating the property with binding-specific attributes. - // ModelMetadata also adds information from the property's type and any configured IBindingMetadataProvider. - var propertyMetadata = _modelMetadataProvider.GetMetadataForProperty(property.DeclaringType, property.Name); - var bindingInfo = BindingInfo.GetBindingInfo(propertyAttributes, propertyMetadata); - - if (bindingInfo == null) - { - // Look for BindPropertiesAttribute on the handler type if no BindingInfo was inferred for the property. - // This allows a user to enable model binding on properties by decorating the controller type with BindPropertiesAttribute. - var declaringType = property.DeclaringType; - var bindPropertiesAttribute = declaringType.GetCustomAttribute(inherit: true); - if (bindPropertiesAttribute != null) - { - var requestPredicate = bindPropertiesAttribute.SupportsGet ? _supportsAllRequests : _supportsNonGetRequests; - bindingInfo = new BindingInfo - { - RequestPredicate = requestPredicate, - }; - } - } - - var model = new PagePropertyModel(property, propertyAttributes) - { - PropertyName = property.Name, - BindingInfo = bindingInfo, - }; - - return model; - } - - /// - /// Determines if the specified is a handler. - /// - /// The . - /// true if the is a handler. Otherwise false. - /// - /// Override this method to provide custom logic to determine which methods are considered handlers. - /// - protected virtual bool IsHandler(MethodInfo methodInfo) - { - // The SpecialName bit is set to flag members that are treated in a special way by some compilers - // (such as property accessors and operator overloading methods). - if (methodInfo.IsSpecialName) - { - return false; - } - - // Overridden methods from Object class, e.g. Equals(Object), GetHashCode(), etc., are not valid. - if (methodInfo.GetBaseDefinition().DeclaringType == typeof(object)) - { - return false; - } - - if (methodInfo.IsStatic) - { - return false; - } - - if (methodInfo.IsAbstract) - { - return false; - } - - if (methodInfo.IsConstructor) - { - return false; - } - - if (methodInfo.IsGenericMethod) - { - return false; - } - - if (!methodInfo.IsPublic) - { - return false; - } - - if (methodInfo.IsDefined(typeof(NonHandlerAttribute))) - { - return false; - } - - // Exclude the whole hierarchy of Page. - var declaringType = methodInfo.DeclaringType; - if (declaringType == typeof(Page) || - declaringType == typeof(PageBase) || - declaringType == typeof(RazorPageBase)) - { - return false; - } - - // Exclude methods declared on PageModel - if (declaringType == typeof(PageModel)) - { - return false; - } - - return true; - } - - internal static bool TryParseHandlerMethod(string methodName, out string httpMethod, out string handler) - { - httpMethod = null; - handler = null; - - // Handler method names always start with "On" - if (!methodName.StartsWith("On") || methodName.Length <= "On".Length) - { - return false; - } - - // Now we parse the method name according to our conventions to determine the required HTTP method - // and optional 'handler name'. - // - // Valid names look like: - // - OnGet - // - OnPost - // - OnFooBar - // - OnTraceAsync - // - OnPostEditAsync - - var start = "On".Length; - var length = methodName.Length; - if (methodName.EndsWith("Async", StringComparison.Ordinal)) - { - length -= "Async".Length; - } - - if (start == length) - { - // There are no additional characters. This is "On" or "OnAsync". - return false; - } - - // The http method follows "On" and is required to be at least one character. We use casing - // to determine where it ends. - var handlerNameStart = start + 1; - for (; handlerNameStart < length; handlerNameStart++) - { - if (char.IsUpper(methodName[handlerNameStart])) - { - break; - } - } - - httpMethod = methodName.Substring(start, handlerNameStart - start); - - // The handler name follows the http method and is optional. It includes everything up to the end - // excluding the "Async" suffix (if present). - handler = handlerNameStart == length ? null : methodName.Substring(handlerNameStart, length - handlerNameStart); - return true; - } } } diff --git a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/IPageApplicationModelPartsProvider.cs b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/IPageApplicationModelPartsProvider.cs new file mode 100644 index 0000000000..3d19f95029 --- /dev/null +++ b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/IPageApplicationModelPartsProvider.cs @@ -0,0 +1,48 @@ +// 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 System.Reflection; +using System.Text; +using Microsoft.AspNetCore.Mvc.RazorPages; + +namespace Microsoft.AspNetCore.Mvc.ApplicationModels +{ + /// + /// Provides parts that are used to construct a instance + /// + public interface IPageApplicationModelPartsProvider + { + /// + /// Creates a for the specified .s + /// + /// The . + /// The . + PageHandlerModel CreateHandlerModel(MethodInfo method); + + /// + /// Creates a for the specified . + /// + /// The . + /// The . + PageParameterModel CreateParameterModel(ParameterInfo parameter); + + /// + /// Creates a for the . + /// + /// The . + /// The . + PagePropertyModel CreatePropertyModel(PropertyInfo property); + + /// + /// Determines if the specified is a handler. + /// + /// The . + /// true if the is a handler. Otherwise false. + /// + /// Override this method to provide custom logic to determine which methods are considered handlers. + /// + bool IsHandler(MethodInfo methodInfo); + } +} diff --git a/src/Mvc/Mvc.RazorPages/src/Builder/PageActionEndpointConventionBuilder.cs b/src/Mvc/Mvc.RazorPages/src/Builder/PageActionEndpointConventionBuilder.cs new file mode 100644 index 0000000000..72b1cb5b39 --- /dev/null +++ b/src/Mvc/Mvc.RazorPages/src/Builder/PageActionEndpointConventionBuilder.cs @@ -0,0 +1,46 @@ +// 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; + +namespace Microsoft.AspNetCore.Builder +{ + /// + /// Builds conventions that will be used for customization of instances. + /// + /// + /// This interface is used at application startup to customize endpoints for the application. + /// + public sealed class PageActionEndpointConventionBuilder : IEndpointConventionBuilder + { + // The lock is shared with the data source. + private readonly object _lock; + private readonly List> _conventions; + + internal PageActionEndpointConventionBuilder(object @lock, List> conventions) + { + _lock = @lock; + _conventions = conventions; + } + + /// + /// 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) + { + if (convention == null) + { + throw new ArgumentNullException(nameof(convention)); + } + + // The lock is shared with the data source. We want to lock here + // to avoid mutating this list while its read in the data source. + lock (_lock) + { + _conventions.Add(convention); + } + } + } +} diff --git a/src/Mvc/Mvc.RazorPages/src/Builder/RazorPagesEndpointRouteBuilderExtensions.cs b/src/Mvc/Mvc.RazorPages/src/Builder/RazorPagesEndpointRouteBuilderExtensions.cs index 22b38e041c..e5c6e4466b 100644 --- a/src/Mvc/Mvc.RazorPages/src/Builder/RazorPagesEndpointRouteBuilderExtensions.cs +++ b/src/Mvc/Mvc.RazorPages/src/Builder/RazorPagesEndpointRouteBuilderExtensions.cs @@ -20,8 +20,8 @@ namespace Microsoft.AspNetCore.Builder /// Adds endpoints for Razor Pages to the . /// /// The . - /// An for endpoints associated with Razor Pages. - public static IEndpointConventionBuilder MapRazorPages(this IEndpointRouteBuilder endpoints) + /// An for endpoints associated with Razor Pages. + public static PageActionEndpointConventionBuilder MapRazorPages(this IEndpointRouteBuilder endpoints) { if (endpoints == null) { @@ -30,7 +30,7 @@ namespace Microsoft.AspNetCore.Builder EnsureRazorPagesServices(endpoints); - return GetOrCreateDataSource(endpoints); + return GetOrCreateDataSource(endpoints).DefaultBuilder; } /// @@ -57,7 +57,7 @@ namespace Microsoft.AspNetCore.Builder /// will be available. /// /// - public static void MapFallbackToPage(this IEndpointRouteBuilder endpoints, string page) + public static IEndpointConventionBuilder MapFallbackToPage(this IEndpointRouteBuilder endpoints, string page) { if (endpoints == null) { @@ -78,11 +78,13 @@ namespace Microsoft.AspNetCore.Builder // Maps a fallback endpoint with an empty delegate. This is OK because // we don't expect the delegate to run. - endpoints.MapFallback(context => Task.CompletedTask).Add(b => + var builder = endpoints.MapFallback(context => Task.CompletedTask); + builder.Add(b => { // MVC registers a policy that looks for this metadata. b.Metadata.Add(CreateDynamicPageMetadata(page, area: null)); }); + return builder; } /// @@ -113,7 +115,7 @@ namespace Microsoft.AspNetCore.Builder /// will be available. /// /// - public static void MapFallbackToPage( + public static IEndpointConventionBuilder MapFallbackToPage( this IEndpointRouteBuilder endpoints, string pattern, string page) @@ -142,11 +144,13 @@ namespace Microsoft.AspNetCore.Builder // Maps a fallback endpoint with an empty delegate. This is OK because // we don't expect the delegate to run. - endpoints.MapFallback(pattern, context => Task.CompletedTask).Add(b => + var builder = endpoints.MapFallback(pattern, context => Task.CompletedTask); + builder.Add(b => { // MVC registers a policy that looks for this metadata. b.Metadata.Add(CreateDynamicPageMetadata(page, area: null)); }); + return builder; } /// @@ -174,7 +178,7 @@ namespace Microsoft.AspNetCore.Builder /// will be available. /// /// - public static void MapFallbackToAreaPage( + public static IEndpointConventionBuilder MapFallbackToAreaPage( this IEndpointRouteBuilder endpoints, string page, string area) @@ -198,11 +202,13 @@ namespace Microsoft.AspNetCore.Builder // Maps a fallback endpoint with an empty delegate. This is OK because // we don't expect the delegate to run. - endpoints.MapFallback(context => Task.CompletedTask).Add(b => + var builder = endpoints.MapFallback(context => Task.CompletedTask); + builder.Add(b => { // MVC registers a policy that looks for this metadata. b.Metadata.Add(CreateDynamicPageMetadata(page, area)); }); + return builder; } /// @@ -234,7 +240,7 @@ namespace Microsoft.AspNetCore.Builder /// will be available. /// /// - public static void MapFallbackToAreaPage( + public static IEndpointConventionBuilder MapFallbackToAreaPage( this IEndpointRouteBuilder endpoints, string pattern, string page, @@ -264,11 +270,13 @@ namespace Microsoft.AspNetCore.Builder // Maps a fallback endpoint with an empty delegate. This is OK because // we don't expect the delegate to run. - endpoints.MapFallback(pattern, context => Task.CompletedTask).Add(b => + var builder = endpoints.MapFallback(pattern, context => Task.CompletedTask); + builder.Add(b => { // MVC registers a policy that looks for this metadata. b.Metadata.Add(CreateDynamicPageMetadata(page, area)); }); + return builder; } private static DynamicPageMetadata CreateDynamicPageMetadata(string page, string area) diff --git a/src/Mvc/Mvc.RazorPages/src/DependencyInjection/MvcRazorPagesMvcCoreBuilderExtensions.cs b/src/Mvc/Mvc.RazorPages/src/DependencyInjection/MvcRazorPagesMvcCoreBuilderExtensions.cs index c152a9a54d..c17c80927a 100644 --- a/src/Mvc/Mvc.RazorPages/src/DependencyInjection/MvcRazorPagesMvcCoreBuilderExtensions.cs +++ b/src/Mvc/Mvc.RazorPages/src/DependencyInjection/MvcRazorPagesMvcCoreBuilderExtensions.cs @@ -113,6 +113,8 @@ namespace Microsoft.Extensions.DependencyInjection services.TryAddEnumerable( ServiceDescriptor.Singleton()); + services.TryAddSingleton(); + services.TryAddEnumerable( ServiceDescriptor.Singleton()); diff --git a/src/Mvc/Mvc.RazorPages/src/Infrastructure/DefaultPageLoader.cs b/src/Mvc/Mvc.RazorPages/src/Infrastructure/DefaultPageLoader.cs index 6942a49531..f9042f1d64 100644 --- a/src/Mvc/Mvc.RazorPages/src/Infrastructure/DefaultPageLoader.cs +++ b/src/Mvc/Mvc.RazorPages/src/Infrastructure/DefaultPageLoader.cs @@ -105,7 +105,12 @@ namespace Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure // compiling/loading the page. Then once we have a match we load the page and we can create an endpoint // with all of the information we get from the compiled action descriptor. var endpoints = new List(); - _endpointFactory.AddEndpoints(endpoints, compiled, Array.Empty(), Array.Empty>()); + _endpointFactory.AddEndpoints( + endpoints, + routeNames: new HashSet(StringComparer.OrdinalIgnoreCase), + action: compiled, + routes: Array.Empty(), + conventions: Array.Empty>()); // In some test scenarios there's no route so the endpoint isn't created. This is fine because // it won't happen for real. diff --git a/src/Mvc/Mvc.RazorPages/src/Infrastructure/DynamicPageEndpointMatcherPolicy.cs b/src/Mvc/Mvc.RazorPages/src/Infrastructure/DynamicPageEndpointMatcherPolicy.cs index 2e108ccf66..8f8a4eedae 100644 --- a/src/Mvc/Mvc.RazorPages/src/Infrastructure/DynamicPageEndpointMatcherPolicy.cs +++ b/src/Mvc/Mvc.RazorPages/src/Infrastructure/DynamicPageEndpointMatcherPolicy.cs @@ -68,11 +68,6 @@ namespace Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure throw new ArgumentNullException(nameof(httpContext)); } - if (context == null) - { - throw new ArgumentNullException(nameof(context)); - } - if (candidates == null) { throw new ArgumentNullException(nameof(candidates)); diff --git a/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageActionEndpointDataSource.cs b/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageActionEndpointDataSource.cs index d27c1a0a61..ce7cd62e94 100644 --- a/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageActionEndpointDataSource.cs +++ b/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageActionEndpointDataSource.cs @@ -20,19 +20,24 @@ namespace Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure { _endpointFactory = endpointFactory; + DefaultBuilder = new PageActionEndpointConventionBuilder(Lock, Conventions); + // IMPORTANT: this needs to be the last thing we do in the constructor. // Change notifications can happen immediately! Subscribe(); } + public PageActionEndpointConventionBuilder DefaultBuilder { get; } + protected override List CreateEndpoints(IReadOnlyList actions, IReadOnlyList> conventions) { var endpoints = new List(); + var routeNames = new HashSet(StringComparer.OrdinalIgnoreCase); for (var i = 0; i < actions.Count; i++) { if (actions[i] is PageActionDescriptor action) { - _endpointFactory.AddEndpoints(endpoints, action, Array.Empty(), conventions); + _endpointFactory.AddEndpoints(endpoints, routeNames, action, Array.Empty(), conventions); } } diff --git a/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageLoaderMatcherPolicy.cs b/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageLoaderMatcherPolicy.cs index d8b274e826..d3beefd714 100644 --- a/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageLoaderMatcherPolicy.cs +++ b/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageLoaderMatcherPolicy.cs @@ -58,11 +58,6 @@ namespace Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure throw new ArgumentNullException(nameof(httpContext)); } - if (context == null) - { - throw new ArgumentNullException(nameof(context)); - } - if (candidates == null) { throw new ArgumentNullException(nameof(candidates)); diff --git a/src/Mvc/Mvc.RazorPages/src/baseline.netcore.json b/src/Mvc/Mvc.RazorPages/src/baseline.netcore.json deleted file mode 100644 index 7a48f0e5f8..0000000000 --- a/src/Mvc/Mvc.RazorPages/src/baseline.netcore.json +++ /dev/null @@ -1,7982 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Mvc.RazorPages, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.Mvc.Filters.IAsyncPageFilter", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata" - ], - "Members": [ - { - "Kind": "Method", - "Name": "OnPageHandlerSelectionAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.PageHandlerSelectedContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnPageHandlerExecutionAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutingContext" - }, - { - "Name": "next", - "Type": "Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutionDelegate" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Filters.IPageFilter", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata" - ], - "Members": [ - { - "Kind": "Method", - "Name": "OnPageHandlerSelected", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.PageHandlerSelectedContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnPageHandlerExecuting", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutingContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnPageHandlerExecuted", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutedContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutedContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.Filters.FilterContext", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ActionDescriptor", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Canceled", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Canceled", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HandlerInstance", - "Parameters": [], - "ReturnType": "System.Object", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HandlerMethod", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.HandlerMethodDescriptor", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Exception", - "Parameters": [], - "ReturnType": "System.Exception", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Exception", - "Parameters": [ - { - "Name": "value", - "Type": "System.Exception" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ExceptionDispatchInfo", - "Parameters": [], - "ReturnType": "System.Runtime.ExceptionServices.ExceptionDispatchInfo", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ExceptionDispatchInfo", - "Parameters": [ - { - "Name": "value", - "Type": "System.Runtime.ExceptionServices.ExceptionDispatchInfo" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ExceptionHandled", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ExceptionHandled", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Result", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.IActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Result", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.IActionResult" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "pageContext", - "Type": "Microsoft.AspNetCore.Mvc.RazorPages.PageContext" - }, - { - "Name": "filters", - "Type": "System.Collections.Generic.IList" - }, - { - "Name": "handlerMethod", - "Type": "Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.HandlerMethodDescriptor" - }, - { - "Name": "handlerInstance", - "Type": "System.Object" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutingContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.Filters.FilterContext", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ActionDescriptor", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Result", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.IActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Result", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.IActionResult" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HandlerArguments", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HandlerMethod", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.HandlerMethodDescriptor", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HandlerInstance", - "Parameters": [], - "ReturnType": "System.Object", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "pageContext", - "Type": "Microsoft.AspNetCore.Mvc.RazorPages.PageContext" - }, - { - "Name": "filters", - "Type": "System.Collections.Generic.IList" - }, - { - "Name": "handlerMethod", - "Type": "Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.HandlerMethodDescriptor" - }, - { - "Name": "handlerArguments", - "Type": "System.Collections.Generic.IDictionary" - }, - { - "Name": "handlerInstance", - "Type": "System.Object" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutionDelegate", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "BaseType": "System.MulticastDelegate", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Invoke", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BeginInvoke", - "Parameters": [ - { - "Name": "callback", - "Type": "System.AsyncCallback" - }, - { - "Name": "object", - "Type": "System.Object" - } - ], - "ReturnType": "System.IAsyncResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "EndInvoke", - "Parameters": [ - { - "Name": "result", - "Type": "System.IAsyncResult" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "object", - "Type": "System.Object" - }, - { - "Name": "method", - "Type": "System.IntPtr" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Filters.PageHandlerSelectedContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.Filters.FilterContext", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ActionDescriptor", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HandlerMethod", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.HandlerMethodDescriptor", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_HandlerMethod", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.HandlerMethodDescriptor" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HandlerInstance", - "Parameters": [], - "ReturnType": "System.Object", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "pageContext", - "Type": "Microsoft.AspNetCore.Mvc.RazorPages.PageContext" - }, - { - "Name": "filters", - "Type": "System.Collections.Generic.IList" - }, - { - "Name": "handlerInstance", - "Type": "System.Object" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.RazorPages.PageActionDescriptor", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_HandlerMethods", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_HandlerMethods", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IList" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HandlerTypeInfo", - "Parameters": [], - "ReturnType": "System.Reflection.TypeInfo", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_HandlerTypeInfo", - "Parameters": [ - { - "Name": "value", - "Type": "System.Reflection.TypeInfo" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_DeclaredModelTypeInfo", - "Parameters": [], - "ReturnType": "System.Reflection.TypeInfo", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_DeclaredModelTypeInfo", - "Parameters": [ - { - "Name": "value", - "Type": "System.Reflection.TypeInfo" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ModelTypeInfo", - "Parameters": [], - "ReturnType": "System.Reflection.TypeInfo", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ModelTypeInfo", - "Parameters": [ - { - "Name": "value", - "Type": "System.Reflection.TypeInfo" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PageTypeInfo", - "Parameters": [], - "ReturnType": "System.Reflection.TypeInfo", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_PageTypeInfo", - "Parameters": [ - { - "Name": "value", - "Type": "System.Reflection.TypeInfo" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "actionDescriptor", - "Type": "Microsoft.AspNetCore.Mvc.RazorPages.PageActionDescriptor" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.RazorPages.IPageActivatorProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "CreateActivator", - "Parameters": [ - { - "Name": "descriptor", - "Type": "Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor" - } - ], - "ReturnType": "System.Func", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateReleaser", - "Parameters": [ - { - "Name": "descriptor", - "Type": "Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor" - } - ], - "ReturnType": "System.Action", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.RazorPages.IPageFactoryProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "CreatePageFactory", - "Parameters": [ - { - "Name": "descriptor", - "Type": "Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor" - } - ], - "ReturnType": "System.Func", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreatePageDisposer", - "Parameters": [ - { - "Name": "descriptor", - "Type": "Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor" - } - ], - "ReturnType": "System.Action", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.RazorPages.IPageModelActivatorProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "CreateActivator", - "Parameters": [ - { - "Name": "descriptor", - "Type": "Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor" - } - ], - "ReturnType": "System.Func", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateReleaser", - "Parameters": [ - { - "Name": "descriptor", - "Type": "Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor" - } - ], - "ReturnType": "System.Action", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.RazorPages.IPageModelFactoryProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "CreateModelFactory", - "Parameters": [ - { - "Name": "descriptor", - "Type": "Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor" - } - ], - "ReturnType": "System.Func", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateModelDisposer", - "Parameters": [ - { - "Name": "descriptor", - "Type": "Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor" - } - ], - "ReturnType": "System.Action", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.RazorPages.NonHandlerAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.RazorPages.Page", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "BaseType": "Microsoft.AspNetCore.Mvc.RazorPages.PageBase", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.RazorPages.PageActionDescriptor", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_RelativePath", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RelativePath", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewEnginePath", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ViewEnginePath", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AreaName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AreaName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_DisplayName", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_DisplayName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "other", - "Type": "Microsoft.AspNetCore.Mvc.RazorPages.PageActionDescriptor" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.RazorPages.PageBase", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "BaseType": "Microsoft.AspNetCore.Mvc.Razor.RazorPageBase", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ViewContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.IRazorPage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ViewContext", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.IRazorPage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "EnsureRenderedBodyOrSections", - "Parameters": [], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.IRazorPage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PageContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.RazorPages.PageContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_PageContext", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.RazorPages.PageContext" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HttpContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HttpContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Request", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HttpRequest", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Response", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HttpResponse", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RouteData", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.RouteData", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ModelState", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BeginContext", - "Parameters": [ - { - "Name": "position", - "Type": "System.Int32" - }, - { - "Name": "length", - "Type": "System.Int32" - }, - { - "Name": "isLiteral", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "EndContext", - "Parameters": [], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BadRequest", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.BadRequestResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BadRequest", - "Parameters": [ - { - "Name": "error", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.BadRequestObjectResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BadRequest", - "Parameters": [ - { - "Name": "modelState", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.BadRequestObjectResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Challenge", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ChallengeResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Challenge", - "Parameters": [ - { - "Name": "authenticationSchemes", - "Type": "System.String[]", - "IsParams": true - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ChallengeResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Challenge", - "Parameters": [ - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ChallengeResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Challenge", - "Parameters": [ - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - }, - { - "Name": "authenticationSchemes", - "Type": "System.String[]", - "IsParams": true - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ChallengeResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Content", - "Parameters": [ - { - "Name": "content", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ContentResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Content", - "Parameters": [ - { - "Name": "content", - "Type": "System.String" - }, - { - "Name": "contentType", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ContentResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Content", - "Parameters": [ - { - "Name": "content", - "Type": "System.String" - }, - { - "Name": "contentType", - "Type": "System.String" - }, - { - "Name": "contentEncoding", - "Type": "System.Text.Encoding" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ContentResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Content", - "Parameters": [ - { - "Name": "content", - "Type": "System.String" - }, - { - "Name": "contentType", - "Type": "Microsoft.Net.Http.Headers.MediaTypeHeaderValue" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ContentResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Forbid", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ForbidResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Forbid", - "Parameters": [ - { - "Name": "authenticationSchemes", - "Type": "System.String[]", - "IsParams": true - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ForbidResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Forbid", - "Parameters": [ - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ForbidResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Forbid", - "Parameters": [ - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - }, - { - "Name": "authenticationSchemes", - "Type": "System.String[]", - "IsParams": true - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ForbidResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "File", - "Parameters": [ - { - "Name": "fileContents", - "Type": "System.Byte[]" - }, - { - "Name": "contentType", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.FileContentResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "File", - "Parameters": [ - { - "Name": "fileContents", - "Type": "System.Byte[]" - }, - { - "Name": "contentType", - "Type": "System.String" - }, - { - "Name": "fileDownloadName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.FileContentResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "File", - "Parameters": [ - { - "Name": "fileStream", - "Type": "System.IO.Stream" - }, - { - "Name": "contentType", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.FileStreamResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "File", - "Parameters": [ - { - "Name": "fileStream", - "Type": "System.IO.Stream" - }, - { - "Name": "contentType", - "Type": "System.String" - }, - { - "Name": "fileDownloadName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.FileStreamResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "File", - "Parameters": [ - { - "Name": "virtualPath", - "Type": "System.String" - }, - { - "Name": "contentType", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.VirtualFileResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "File", - "Parameters": [ - { - "Name": "virtualPath", - "Type": "System.String" - }, - { - "Name": "contentType", - "Type": "System.String" - }, - { - "Name": "fileDownloadName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.VirtualFileResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PhysicalFile", - "Parameters": [ - { - "Name": "physicalPath", - "Type": "System.String" - }, - { - "Name": "contentType", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.PhysicalFileResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PhysicalFile", - "Parameters": [ - { - "Name": "physicalPath", - "Type": "System.String" - }, - { - "Name": "contentType", - "Type": "System.String" - }, - { - "Name": "fileDownloadName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.PhysicalFileResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "LocalRedirect", - "Parameters": [ - { - "Name": "localUrl", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.LocalRedirectResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "LocalRedirectPermanent", - "Parameters": [ - { - "Name": "localUrl", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.LocalRedirectResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "LocalRedirectPreserveMethod", - "Parameters": [ - { - "Name": "localUrl", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.LocalRedirectResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "LocalRedirectPermanentPreserveMethod", - "Parameters": [ - { - "Name": "localUrl", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.LocalRedirectResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "NotFound", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.NotFoundResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "NotFound", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.NotFoundObjectResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Page", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.RazorPages.PageResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Redirect", - "Parameters": [ - { - "Name": "url", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectPermanent", - "Parameters": [ - { - "Name": "url", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectPreserveMethod", - "Parameters": [ - { - "Name": "url", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectPermanentPreserveMethod", - "Parameters": [ - { - "Name": "url", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToAction", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToAction", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToAction", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToAction", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToAction", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToAction", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToActionPreserveMethod", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String", - "DefaultValue": "null" - }, - { - "Name": "controllerName", - "Type": "System.String", - "DefaultValue": "null" - }, - { - "Name": "routeValues", - "Type": "System.Object", - "DefaultValue": "null" - }, - { - "Name": "fragment", - "Type": "System.String", - "DefaultValue": "null" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToActionPermanent", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToActionPermanent", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToActionPermanent", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToActionPermanent", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToActionPermanent", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToActionPermanent", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToActionPermanentPreserveMethod", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String", - "DefaultValue": "null" - }, - { - "Name": "controllerName", - "Type": "System.String", - "DefaultValue": "null" - }, - { - "Name": "routeValues", - "Type": "System.Object", - "DefaultValue": "null" - }, - { - "Name": "fragment", - "Type": "System.String", - "DefaultValue": "null" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToRoute", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToRouteResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToRoute", - "Parameters": [ - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToRouteResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToRoute", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToRouteResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToRoute", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToRouteResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToRoute", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToRouteResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToRoutePreserveMethod", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String", - "DefaultValue": "null" - }, - { - "Name": "routeValues", - "Type": "System.Object", - "DefaultValue": "null" - }, - { - "Name": "fragment", - "Type": "System.String", - "DefaultValue": "null" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToRouteResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToRoutePermanent", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToRouteResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToRoutePermanent", - "Parameters": [ - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToRouteResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToRoutePermanent", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToRouteResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToRoutePermanent", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToRouteResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToRoutePermanent", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToRouteResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToRoutePermanentPreserveMethod", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String", - "DefaultValue": "null" - }, - { - "Name": "routeValues", - "Type": "System.Object", - "DefaultValue": "null" - }, - { - "Name": "fragment", - "Type": "System.String", - "DefaultValue": "null" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToRouteResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToPage", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToPageResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToPage", - "Parameters": [ - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToPageResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToPage", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToPageResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToPage", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "pageHandler", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToPageResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToPage", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToPageResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToPage", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "pageHandler", - "Type": "System.String" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToPageResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToPage", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "pageHandler", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToPageResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToPagePermanent", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToPageResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToPagePermanent", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToPageResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToPagePermanent", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "pageHandler", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToPageResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToPagePermanent", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "pageHandler", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToPageResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToPagePermanent", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "pageHandler", - "Type": "System.String" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToPageResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToPagePermanent", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "pageHandler", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToPageResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToPagePreserveMethod", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String", - "DefaultValue": "null" - }, - { - "Name": "pageHandler", - "Type": "System.String", - "DefaultValue": "null" - }, - { - "Name": "routeValues", - "Type": "System.Object", - "DefaultValue": "null" - }, - { - "Name": "fragment", - "Type": "System.String", - "DefaultValue": "null" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToPageResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToPagePermanentPreserveMethod", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String", - "DefaultValue": "null" - }, - { - "Name": "pageHandler", - "Type": "System.String", - "DefaultValue": "null" - }, - { - "Name": "routeValues", - "Type": "System.Object", - "DefaultValue": "null" - }, - { - "Name": "fragment", - "Type": "System.String", - "DefaultValue": "null" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToPageResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SignIn", - "Parameters": [ - { - "Name": "principal", - "Type": "System.Security.Claims.ClaimsPrincipal" - }, - { - "Name": "authenticationScheme", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.SignInResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SignIn", - "Parameters": [ - { - "Name": "principal", - "Type": "System.Security.Claims.ClaimsPrincipal" - }, - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - }, - { - "Name": "authenticationScheme", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.SignInResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SignOut", - "Parameters": [ - { - "Name": "authenticationSchemes", - "Type": "System.String[]", - "IsParams": true - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.SignOutResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SignOut", - "Parameters": [ - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - }, - { - "Name": "authenticationSchemes", - "Type": "System.String[]", - "IsParams": true - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.SignOutResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "StatusCode", - "Parameters": [ - { - "Name": "statusCode", - "Type": "System.Int32" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.StatusCodeResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "StatusCode", - "Parameters": [ - { - "Name": "statusCode", - "Type": "System.Int32" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ObjectResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Unauthorized", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.UnauthorizedResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TryUpdateModelAsync", - "Parameters": [ - { - "Name": "model", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "TryUpdateModelAsync", - "Parameters": [ - { - "Name": "model", - "Type": "T0" - }, - { - "Name": "prefix", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "TryUpdateModelAsync", - "Parameters": [ - { - "Name": "model", - "Type": "T0" - }, - { - "Name": "prefix", - "Type": "System.String" - }, - { - "Name": "valueProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "TryUpdateModelAsync", - "Parameters": [ - { - "Name": "model", - "Type": "T0" - }, - { - "Name": "prefix", - "Type": "System.String" - }, - { - "Name": "includeExpressions", - "Type": "System.Linq.Expressions.Expression>[]", - "IsParams": true - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "TryUpdateModelAsync", - "Parameters": [ - { - "Name": "model", - "Type": "T0" - }, - { - "Name": "prefix", - "Type": "System.String" - }, - { - "Name": "propertyFilter", - "Type": "System.Func" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "TryUpdateModelAsync", - "Parameters": [ - { - "Name": "model", - "Type": "T0" - }, - { - "Name": "prefix", - "Type": "System.String" - }, - { - "Name": "valueProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider" - }, - { - "Name": "includeExpressions", - "Type": "System.Linq.Expressions.Expression>[]", - "IsParams": true - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "TryUpdateModelAsync", - "Parameters": [ - { - "Name": "model", - "Type": "T0" - }, - { - "Name": "prefix", - "Type": "System.String" - }, - { - "Name": "valueProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider" - }, - { - "Name": "propertyFilter", - "Type": "System.Func" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "TryUpdateModelAsync", - "Parameters": [ - { - "Name": "model", - "Type": "System.Object" - }, - { - "Name": "modelType", - "Type": "System.Type" - }, - { - "Name": "prefix", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TryUpdateModelAsync", - "Parameters": [ - { - "Name": "model", - "Type": "System.Object" - }, - { - "Name": "modelType", - "Type": "System.Type" - }, - { - "Name": "prefix", - "Type": "System.String" - }, - { - "Name": "valueProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider" - }, - { - "Name": "propertyFilter", - "Type": "System.Func" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TryValidateModel", - "Parameters": [ - { - "Name": "model", - "Type": "System.Object" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TryValidateModel", - "Parameters": [ - { - "Name": "model", - "Type": "System.Object" - }, - { - "Name": "prefix", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.RazorPages.PageContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ActionContext", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ActionDescriptor", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ActionDescriptor", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ValueProviderFactories", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ValueProviderFactories", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IList" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewData", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ViewData", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewStartFactories", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList>", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ViewStartFactories", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IList>" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "actionContext", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.RazorPages.PageContextAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.RazorPages.PageModel", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IAsyncPageFilter", - "Microsoft.AspNetCore.Mvc.Filters.IPageFilter" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_PageContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.RazorPages.PageContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_PageContext", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.RazorPages.PageContext" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HttpContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HttpContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Request", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HttpRequest", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Response", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HttpResponse", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RouteData", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.RouteData", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ModelState", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_User", - "Parameters": [], - "ReturnType": "System.Security.Claims.ClaimsPrincipal", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TempData", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_TempData", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Url", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.IUrlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Url", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.IUrlHelper" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewData", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TryUpdateModelAsync", - "Parameters": [ - { - "Name": "model", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Protected", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "TryUpdateModelAsync", - "Parameters": [ - { - "Name": "model", - "Type": "T0" - }, - { - "Name": "name", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Protected", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "TryUpdateModelAsync", - "Parameters": [ - { - "Name": "model", - "Type": "T0" - }, - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "valueProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Protected", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "TryUpdateModelAsync", - "Parameters": [ - { - "Name": "model", - "Type": "T0" - }, - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "includeExpressions", - "Type": "System.Linq.Expressions.Expression>[]", - "IsParams": true - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Protected", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "TryUpdateModelAsync", - "Parameters": [ - { - "Name": "model", - "Type": "T0" - }, - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "propertyFilter", - "Type": "System.Func" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Protected", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "TryUpdateModelAsync", - "Parameters": [ - { - "Name": "model", - "Type": "T0" - }, - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "valueProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider" - }, - { - "Name": "includeExpressions", - "Type": "System.Linq.Expressions.Expression>[]", - "IsParams": true - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Protected", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "TryUpdateModelAsync", - "Parameters": [ - { - "Name": "model", - "Type": "T0" - }, - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "valueProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider" - }, - { - "Name": "propertyFilter", - "Type": "System.Func" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Protected", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "TryUpdateModelAsync", - "Parameters": [ - { - "Name": "model", - "Type": "System.Object" - }, - { - "Name": "modelType", - "Type": "System.Type" - }, - { - "Name": "name", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TryUpdateModelAsync", - "Parameters": [ - { - "Name": "model", - "Type": "System.Object" - }, - { - "Name": "modelType", - "Type": "System.Type" - }, - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "valueProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider" - }, - { - "Name": "propertyFilter", - "Type": "System.Func" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BadRequest", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.BadRequestResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BadRequest", - "Parameters": [ - { - "Name": "error", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.BadRequestObjectResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BadRequest", - "Parameters": [ - { - "Name": "modelState", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.BadRequestObjectResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Challenge", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ChallengeResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Challenge", - "Parameters": [ - { - "Name": "authenticationSchemes", - "Type": "System.String[]", - "IsParams": true - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ChallengeResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Challenge", - "Parameters": [ - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ChallengeResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Challenge", - "Parameters": [ - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - }, - { - "Name": "authenticationSchemes", - "Type": "System.String[]", - "IsParams": true - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ChallengeResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Content", - "Parameters": [ - { - "Name": "content", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ContentResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Content", - "Parameters": [ - { - "Name": "content", - "Type": "System.String" - }, - { - "Name": "contentType", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ContentResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Content", - "Parameters": [ - { - "Name": "content", - "Type": "System.String" - }, - { - "Name": "contentType", - "Type": "System.String" - }, - { - "Name": "contentEncoding", - "Type": "System.Text.Encoding" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ContentResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Content", - "Parameters": [ - { - "Name": "content", - "Type": "System.String" - }, - { - "Name": "contentType", - "Type": "Microsoft.Net.Http.Headers.MediaTypeHeaderValue" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ContentResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Forbid", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ForbidResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Forbid", - "Parameters": [ - { - "Name": "authenticationSchemes", - "Type": "System.String[]", - "IsParams": true - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ForbidResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Forbid", - "Parameters": [ - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ForbidResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Forbid", - "Parameters": [ - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - }, - { - "Name": "authenticationSchemes", - "Type": "System.String[]", - "IsParams": true - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ForbidResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "File", - "Parameters": [ - { - "Name": "fileContents", - "Type": "System.Byte[]" - }, - { - "Name": "contentType", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.FileContentResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "File", - "Parameters": [ - { - "Name": "fileContents", - "Type": "System.Byte[]" - }, - { - "Name": "contentType", - "Type": "System.String" - }, - { - "Name": "fileDownloadName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.FileContentResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "File", - "Parameters": [ - { - "Name": "fileStream", - "Type": "System.IO.Stream" - }, - { - "Name": "contentType", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.FileStreamResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "File", - "Parameters": [ - { - "Name": "fileStream", - "Type": "System.IO.Stream" - }, - { - "Name": "contentType", - "Type": "System.String" - }, - { - "Name": "fileDownloadName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.FileStreamResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "File", - "Parameters": [ - { - "Name": "virtualPath", - "Type": "System.String" - }, - { - "Name": "contentType", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.VirtualFileResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "File", - "Parameters": [ - { - "Name": "virtualPath", - "Type": "System.String" - }, - { - "Name": "contentType", - "Type": "System.String" - }, - { - "Name": "fileDownloadName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.VirtualFileResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "LocalRedirect", - "Parameters": [ - { - "Name": "localUrl", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.LocalRedirectResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "LocalRedirectPermanent", - "Parameters": [ - { - "Name": "localUrl", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.LocalRedirectResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "LocalRedirectPreserveMethod", - "Parameters": [ - { - "Name": "localUrl", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.LocalRedirectResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "LocalRedirectPermanentPreserveMethod", - "Parameters": [ - { - "Name": "localUrl", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.LocalRedirectResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "NotFound", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.NotFoundResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "NotFound", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.NotFoundObjectResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Page", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.RazorPages.PageResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PhysicalFile", - "Parameters": [ - { - "Name": "physicalPath", - "Type": "System.String" - }, - { - "Name": "contentType", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.PhysicalFileResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PhysicalFile", - "Parameters": [ - { - "Name": "physicalPath", - "Type": "System.String" - }, - { - "Name": "contentType", - "Type": "System.String" - }, - { - "Name": "fileDownloadName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.PhysicalFileResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Redirect", - "Parameters": [ - { - "Name": "url", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectResult", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectPermanent", - "Parameters": [ - { - "Name": "url", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectPreserveMethod", - "Parameters": [ - { - "Name": "url", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectPermanentPreserveMethod", - "Parameters": [ - { - "Name": "url", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToAction", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToAction", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToAction", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToAction", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToAction", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToAction", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToActionPreserveMethod", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String", - "DefaultValue": "null" - }, - { - "Name": "controllerName", - "Type": "System.String", - "DefaultValue": "null" - }, - { - "Name": "routeValues", - "Type": "System.Object", - "DefaultValue": "null" - }, - { - "Name": "fragment", - "Type": "System.String", - "DefaultValue": "null" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToActionPermanent", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToActionPermanent", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToActionPermanent", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToActionPermanent", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToActionPermanent", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToActionPermanent", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToActionPermanentPreserveMethod", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String", - "DefaultValue": "null" - }, - { - "Name": "controllerName", - "Type": "System.String", - "DefaultValue": "null" - }, - { - "Name": "routeValues", - "Type": "System.Object", - "DefaultValue": "null" - }, - { - "Name": "fragment", - "Type": "System.String", - "DefaultValue": "null" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToActionResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToRoute", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToRouteResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToRoute", - "Parameters": [ - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToRouteResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToRoute", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToRouteResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToRoute", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToRouteResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToRoute", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToRouteResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToRoutePreserveMethod", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String", - "DefaultValue": "null" - }, - { - "Name": "routeValues", - "Type": "System.Object", - "DefaultValue": "null" - }, - { - "Name": "fragment", - "Type": "System.String", - "DefaultValue": "null" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToRouteResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToRoutePermanent", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToRouteResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToRoutePermanent", - "Parameters": [ - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToRouteResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToRoutePermanent", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToRouteResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToRoutePermanent", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToRouteResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToRoutePermanent", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToRouteResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToRoutePermanentPreserveMethod", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String", - "DefaultValue": "null" - }, - { - "Name": "routeValues", - "Type": "System.Object", - "DefaultValue": "null" - }, - { - "Name": "fragment", - "Type": "System.String", - "DefaultValue": "null" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToRouteResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToPage", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToPageResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToPage", - "Parameters": [ - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToPageResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToPage", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToPageResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToPage", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "pageHandler", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToPageResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToPage", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "pageHandler", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToPageResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToPage", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToPageResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToPage", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "pageHandler", - "Type": "System.String" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToPageResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToPage", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "pageHandler", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToPageResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToPagePermanent", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToPageResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToPagePermanent", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToPageResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToPagePermanent", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "pageHandler", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToPageResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToPagePermanent", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "pageHandler", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToPageResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToPagePermanent", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "pageHandler", - "Type": "System.String" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToPageResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToPagePermanent", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToPageResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToPagePermanent", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "pageHandler", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "fragment", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToPageResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToPagePreserveMethod", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String", - "DefaultValue": "null" - }, - { - "Name": "pageHandler", - "Type": "System.String", - "DefaultValue": "null" - }, - { - "Name": "routeValues", - "Type": "System.Object", - "DefaultValue": "null" - }, - { - "Name": "fragment", - "Type": "System.String", - "DefaultValue": "null" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToPageResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToPagePermanentPreserveMethod", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String", - "DefaultValue": "null" - }, - { - "Name": "pageHandler", - "Type": "System.String", - "DefaultValue": "null" - }, - { - "Name": "routeValues", - "Type": "System.Object", - "DefaultValue": "null" - }, - { - "Name": "fragment", - "Type": "System.String", - "DefaultValue": "null" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RedirectToPageResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SignIn", - "Parameters": [ - { - "Name": "principal", - "Type": "System.Security.Claims.ClaimsPrincipal" - }, - { - "Name": "authenticationScheme", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.SignInResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SignIn", - "Parameters": [ - { - "Name": "principal", - "Type": "System.Security.Claims.ClaimsPrincipal" - }, - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - }, - { - "Name": "authenticationScheme", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.SignInResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SignOut", - "Parameters": [ - { - "Name": "authenticationSchemes", - "Type": "System.String[]", - "IsParams": true - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.SignOutResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SignOut", - "Parameters": [ - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - }, - { - "Name": "authenticationSchemes", - "Type": "System.String[]", - "IsParams": true - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.SignOutResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "StatusCode", - "Parameters": [ - { - "Name": "statusCode", - "Type": "System.Int32" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.StatusCodeResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "StatusCode", - "Parameters": [ - { - "Name": "statusCode", - "Type": "System.Int32" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ObjectResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Unauthorized", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.UnauthorizedResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TryValidateModel", - "Parameters": [ - { - "Name": "model", - "Type": "System.Object" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TryValidateModel", - "Parameters": [ - { - "Name": "model", - "Type": "System.Object" - }, - { - "Name": "name", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnPageHandlerSelected", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.PageHandlerSelectedContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IPageFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnPageHandlerExecuting", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutingContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IPageFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnPageHandlerExecuted", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutedContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IPageFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnPageHandlerSelectionAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.PageHandlerSelectedContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IAsyncPageFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnPageHandlerExecutionAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutingContext" - }, - { - "Name": "next", - "Type": "Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutionDelegate" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IAsyncPageFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.RazorPages.PageResult", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ActionResult", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ExecuteResultAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.IActionResult", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ContentType", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ContentType", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Model", - "Parameters": [], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Page", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.RazorPages.PageBase", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Page", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.RazorPages.PageBase" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewData", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ViewData", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_StatusCode", - "Parameters": [], - "ReturnType": "System.Nullable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_StatusCode", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.RazorPages.RazorPagesOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "System.Collections.Generic.IEnumerable" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Conventions", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RootDirectory", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RootDirectory", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AllowAreas", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AllowAreas", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AllowMappingHeadRequestsToGetHandler", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AllowMappingHeadRequestsToGetHandler", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.DefaultPageActivatorProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.RazorPages.IPageActivatorProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "CreateActivator", - "Parameters": [ - { - "Name": "actionDescriptor", - "Type": "Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor" - } - ], - "ReturnType": "System.Func", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.RazorPages.IPageActivatorProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateReleaser", - "Parameters": [ - { - "Name": "actionDescriptor", - "Type": "Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor" - } - ], - "ReturnType": "System.Action", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.RazorPages.IPageActivatorProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.DefaultPageFactoryProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.RazorPages.IPageFactoryProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "CreatePageFactory", - "Parameters": [ - { - "Name": "actionDescriptor", - "Type": "Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor" - } - ], - "ReturnType": "System.Func", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.RazorPages.IPageFactoryProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreatePageDisposer", - "Parameters": [ - { - "Name": "descriptor", - "Type": "Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor" - } - ], - "ReturnType": "System.Action", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.RazorPages.IPageFactoryProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "pageActivator", - "Type": "Microsoft.AspNetCore.Mvc.RazorPages.IPageActivatorProvider" - }, - { - "Name": "metadataProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider" - }, - { - "Name": "urlHelperFactory", - "Type": "Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory" - }, - { - "Name": "jsonHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper" - }, - { - "Name": "diagnosticSource", - "Type": "System.Diagnostics.DiagnosticSource" - }, - { - "Name": "htmlEncoder", - "Type": "System.Text.Encodings.Web.HtmlEncoder" - }, - { - "Name": "modelExpressionProvider", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.DefaultPageModelActivatorProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.RazorPages.IPageModelActivatorProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "CreateActivator", - "Parameters": [ - { - "Name": "actionDescriptor", - "Type": "Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor" - } - ], - "ReturnType": "System.Func", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.RazorPages.IPageModelActivatorProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateReleaser", - "Parameters": [ - { - "Name": "actionDescriptor", - "Type": "Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor" - } - ], - "ReturnType": "System.Action", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.RazorPages.IPageModelActivatorProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.DefaultPageModelFactoryProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.RazorPages.IPageModelFactoryProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "CreateModelFactory", - "Parameters": [ - { - "Name": "descriptor", - "Type": "Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor" - } - ], - "ReturnType": "System.Func", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.RazorPages.IPageModelFactoryProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateModelDisposer", - "Parameters": [ - { - "Name": "descriptor", - "Type": "Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor" - } - ], - "ReturnType": "System.Action", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.RazorPages.IPageModelFactoryProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "modelActivator", - "Type": "Microsoft.AspNetCore.Mvc.RazorPages.IPageModelActivatorProvider" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.HandlerMethodDescriptor", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_MethodInfo", - "Parameters": [], - "ReturnType": "System.Reflection.MethodInfo", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MethodInfo", - "Parameters": [ - { - "Name": "value", - "Type": "System.Reflection.MethodInfo" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HttpMethod", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_HttpMethod", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "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_Parameters", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Parameters", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IList" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.HandlerParameterDescriptor", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.Abstractions.ParameterDescriptor", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ParameterInfo", - "Parameters": [], - "ReturnType": "System.Reflection.ParameterInfo", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ParameterInfo", - "Parameters": [ - { - "Name": "value", - "Type": "System.Reflection.ParameterInfo" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.IPageHandlerMethodSelector", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Select", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.RazorPages.PageContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.HandlerMethodDescriptor", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.IPageLoader", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Load", - "Parameters": [ - { - "Name": "actionDescriptor", - "Type": "Microsoft.AspNetCore.Mvc.RazorPages.PageActionDescriptor" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionDescriptorProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Order", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnProvidersExecuting", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptorProviderContext" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BuildModel", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnProvidersExecuted", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptorProviderContext" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Abstractions.IActionDescriptorProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "pageRouteModelProviders", - "Type": "System.Collections.Generic.IEnumerable" - }, - { - "Name": "mvcOptionsAccessor", - "Type": "Microsoft.Extensions.Options.IOptions" - }, - { - "Name": "pagesOptionsAccessor", - "Type": "Microsoft.Extensions.Options.IOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageArgumentBinder", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "BindModelAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.RazorPages.PageContext" - }, - { - "Name": "type", - "Type": "System.Type" - }, - { - "Name": "default", - "Type": "System.Object" - }, - { - "Name": "name", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BindModelAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.RazorPages.PageContext" - }, - { - "Name": "name", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "BindModelAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.RazorPages.PageContext" - }, - { - "Name": "default", - "Type": "T0" - }, - { - "Name": "name", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "TryUpdateModelAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.RazorPages.PageContext" - }, - { - "Name": "value", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "TryUpdateModelAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.RazorPages.PageContext" - }, - { - "Name": "value", - "Type": "T0" - }, - { - "Name": "name", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "BindAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.RazorPages.PageContext" - }, - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "type", - "Type": "System.Type" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageBoundPropertyDescriptor", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.Abstractions.ParameterDescriptor", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Property", - "Parameters": [], - "ReturnType": "System.Reflection.PropertyInfo", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Property", - "Parameters": [ - { - "Name": "value", - "Type": "System.Reflection.PropertyInfo" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageDirectiveFeature", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "TryGetPageDirective", - "Parameters": [ - { - "Name": "logger", - "Type": "Microsoft.Extensions.Logging.ILogger" - }, - { - "Name": "projectItem", - "Type": "Microsoft.AspNetCore.Razor.Language.RazorProjectItem" - }, - { - "Name": "template", - "Type": "System.String", - "Direction": "Out" - } - ], - "ReturnType": "System.Boolean", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageModelAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageResultExecutor", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ExecuteAsync", - "Parameters": [ - { - "Name": "pageContext", - "Type": "Microsoft.AspNetCore.Mvc.RazorPages.PageContext" - }, - { - "Name": "result", - "Type": "Microsoft.AspNetCore.Mvc.RazorPages.PageResult" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "writerFactory", - "Type": "Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory" - }, - { - "Name": "compositeViewEngine", - "Type": "Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine" - }, - { - "Name": "razorViewEngine", - "Type": "Microsoft.AspNetCore.Mvc.Razor.IRazorViewEngine" - }, - { - "Name": "razorPageActivator", - "Type": "Microsoft.AspNetCore.Mvc.Razor.IRazorPageActivator" - }, - { - "Name": "diagnosticSource", - "Type": "System.Diagnostics.DiagnosticSource" - }, - { - "Name": "htmlEncoder", - "Type": "System.Text.Encodings.Web.HtmlEncoder" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageViewLocationExpander", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Razor.IViewLocationExpander" - ], - "Members": [ - { - "Kind": "Method", - "Name": "ExpandViewLocations", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Razor.ViewLocationExpanderContext" - }, - { - "Name": "viewLocations", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.IViewLocationExpander", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PopulateValues", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Razor.ViewLocationExpanderContext" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.IViewLocationExpander", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAdapter", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Razor.IRazorPage" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_ViewContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.IRazorPage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ViewContext", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.IRazorPage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_BodyContent", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.IRazorPage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_BodyContent", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Html.IHtmlContent" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.IRazorPage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsLayoutBeingRendered", - "Parameters": [], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.IRazorPage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IsLayoutBeingRendered", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.IRazorPage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Path", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.IRazorPage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Path", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.IRazorPage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Layout", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.IRazorPage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Layout", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.IRazorPage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PreviousSectionWriters", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.IRazorPage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_PreviousSectionWriters", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IDictionary" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.IRazorPage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SectionWriters", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.IRazorPage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "EnsureRenderedBodyOrSections", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.IRazorPage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ExecuteAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.IRazorPage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "page", - "Type": "Microsoft.AspNetCore.Mvc.Razor.RazorPageBase" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_RouteTemplate", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "path", - "Type": "System.String" - }, - { - "Name": "viewType", - "Type": "System.Type" - }, - { - "Name": "routeTemplate", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.DefaultPageHandlerMethodSelector", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.IPageHandlerMethodSelector" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Select", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.RazorPages.PageContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.HandlerMethodDescriptor", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.IPageHandlerMethodSelector", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelConvention", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ApplicationModels.IPageConvention" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Apply", - "Parameters": [ - { - "Name": "model", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModel" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnProvidersExecuting", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModelProviderContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnProvidersExecuted", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModelProviderContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationModels.IPageConvention", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationModels.IPageHandlerModelConvention", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ApplicationModels.IPageConvention" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Apply", - "Parameters": [ - { - "Name": "model", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageHandlerModel" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationModels.IPageRouteModelConvention", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ApplicationModels.IPageConvention" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Apply", - "Parameters": [ - { - "Name": "model", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModel" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationModels.IPageRouteModelProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnProvidersExecuting", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModelProviderContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnProvidersExecuted", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModelProviderContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModel", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ActionDescriptor", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.RazorPages.PageActionDescriptor", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RelativePath", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewEnginePath", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AreaName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RouteTemplate", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Filters", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Properties", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PageType", - "Parameters": [], - "ReturnType": "System.Reflection.TypeInfo", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_PageType", - "Parameters": [ - { - "Name": "value", - "Type": "System.Reflection.TypeInfo" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_DeclaredModelType", - "Parameters": [], - "ReturnType": "System.Reflection.TypeInfo", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ModelType", - "Parameters": [], - "ReturnType": "System.Reflection.TypeInfo", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ModelType", - "Parameters": [ - { - "Name": "value", - "Type": "System.Reflection.TypeInfo" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HandlerType", - "Parameters": [], - "ReturnType": "System.Reflection.TypeInfo", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HandlerTypeAttributes", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HandlerMethods", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HandlerProperties", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "actionDescriptor", - "Type": "Microsoft.AspNetCore.Mvc.RazorPages.PageActionDescriptor" - }, - { - "Name": "handlerType", - "Type": "System.Reflection.TypeInfo" - }, - { - "Name": "handlerAttributes", - "Type": "System.Collections.Generic.IReadOnlyList" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "actionDescriptor", - "Type": "Microsoft.AspNetCore.Mvc.RazorPages.PageActionDescriptor" - }, - { - "Name": "declaredModelType", - "Type": "System.Reflection.TypeInfo" - }, - { - "Name": "handlerType", - "Type": "System.Reflection.TypeInfo" - }, - { - "Name": "handlerAttributes", - "Type": "System.Collections.Generic.IReadOnlyList" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "other", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModel" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModelProviderContext", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ActionDescriptor", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.RazorPages.PageActionDescriptor", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PageType", - "Parameters": [], - "ReturnType": "System.Reflection.TypeInfo", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PageApplicationModel", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModel", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_PageApplicationModel", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModel" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "descriptor", - "Type": "Microsoft.AspNetCore.Mvc.RazorPages.PageActionDescriptor" - }, - { - "Name": "pageTypeInfo", - "Type": "System.Reflection.TypeInfo" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Collections.ObjectModel.Collection", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddPageApplicationModelConvention", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "action", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelConvention", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddAreaPageApplicationModelConvention", - "Parameters": [ - { - "Name": "areaName", - "Type": "System.String" - }, - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "action", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelConvention", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddFolderApplicationModelConvention", - "Parameters": [ - { - "Name": "folderPath", - "Type": "System.String" - }, - { - "Name": "action", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelConvention", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddAreaFolderApplicationModelConvention", - "Parameters": [ - { - "Name": "areaName", - "Type": "System.String" - }, - { - "Name": "folderPath", - "Type": "System.String" - }, - { - "Name": "action", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelConvention", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddPageRouteModelConvention", - "Parameters": [ - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "action", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ApplicationModels.IPageRouteModelConvention", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddAreaPageRouteModelConvention", - "Parameters": [ - { - "Name": "areaName", - "Type": "System.String" - }, - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "action", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ApplicationModels.IPageRouteModelConvention", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddFolderRouteModelConvention", - "Parameters": [ - { - "Name": "folderPath", - "Type": "System.String" - }, - { - "Name": "action", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ApplicationModels.IPageRouteModelConvention", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddAreaFolderRouteModelConvention", - "Parameters": [ - { - "Name": "areaName", - "Type": "System.String" - }, - { - "Name": "folderPath", - "Type": "System.String" - }, - { - "Name": "action", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ApplicationModels.IPageRouteModelConvention", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveType", - "Parameters": [], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TPageConvention", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Mvc.ApplicationModels.IPageConvention" - ] - } - ] - }, - { - "Kind": "Method", - "Name": "RemoveType", - "Parameters": [ - { - "Name": "pageConventionType", - "Type": "System.Type" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "conventions", - "Type": "System.Collections.Generic.IList" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageHandlerModel", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ApplicationModels.ICommonModel" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Properties", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationModels.IPropertyModel", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MethodInfo", - "Parameters": [], - "ReturnType": "System.Reflection.MethodInfo", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HttpMethod", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_HttpMethod", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HandlerName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_HandlerName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Name", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationModels.ICommonModel", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Name", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Parameters", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Page", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModel", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Page", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModel" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Attributes", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationModels.ICommonModel", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "handlerMethod", - "Type": "System.Reflection.MethodInfo" - }, - { - "Name": "attributes", - "Type": "System.Collections.Generic.IReadOnlyList" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "other", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageHandlerModel" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageParameterModel", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ApplicationModels.ParameterModelBase", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ApplicationModels.ICommonModel" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Handler", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageHandlerModel", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Handler", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageHandlerModel" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ParameterInfo", - "Parameters": [], - "ReturnType": "System.Reflection.ParameterInfo", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ParameterName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ParameterName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "parameterInfo", - "Type": "System.Reflection.ParameterInfo" - }, - { - "Name": "attributes", - "Type": "System.Collections.Generic.IReadOnlyList" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "other", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageParameterModel" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationModels.PagePropertyModel", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ApplicationModels.ParameterModelBase", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ApplicationModels.ICommonModel" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Page", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModel", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Page", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModel" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PropertyInfo", - "Parameters": [], - "ReturnType": "System.Reflection.PropertyInfo", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PropertyName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_PropertyName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "propertyInfo", - "Type": "System.Reflection.PropertyInfo" - }, - { - "Name": "attributes", - "Type": "System.Collections.Generic.IReadOnlyList" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "other", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.PagePropertyModel" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModel", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_RelativePath", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewEnginePath", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AreaName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Properties", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Selectors", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RouteValues", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "relativePath", - "Type": "System.String" - }, - { - "Name": "viewEnginePath", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "relativePath", - "Type": "System.String" - }, - { - "Name": "viewEnginePath", - "Type": "System.String" - }, - { - "Name": "areaName", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "other", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModel" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModelProviderContext", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_RouteModels", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.Extensions.DependencyInjection.MvcRazorPagesMvcBuilderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddRazorPagesOptions", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcBuilder" - }, - { - "Name": "setupAction", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WithRazorPagesRoot", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcBuilder" - }, - { - "Name": "rootDirectory", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WithRazorPagesAtContentRoot", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcBuilder" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.Extensions.DependencyInjection.MvcRazorPagesMvcCoreBuilderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddRazorPages", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddRazorPages", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder" - }, - { - "Name": "setupAction", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WithRazorPagesRoot", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder" - }, - { - "Name": "rootDirectory", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.Extensions.DependencyInjection.PageConventionCollectionExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ConfigureFilter", - "Parameters": [ - { - "Name": "conventions", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection" - }, - { - "Name": "factory", - "Type": "System.Func" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelConvention", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ConfigureFilter", - "Parameters": [ - { - "Name": "conventions", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection" - }, - { - "Name": "filter", - "Type": "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AllowAnonymousToPage", - "Parameters": [ - { - "Name": "conventions", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection" - }, - { - "Name": "pageName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AllowAnonymousToAreaPage", - "Parameters": [ - { - "Name": "conventions", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection" - }, - { - "Name": "areaName", - "Type": "System.String" - }, - { - "Name": "pageName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AllowAnonymousToFolder", - "Parameters": [ - { - "Name": "conventions", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection" - }, - { - "Name": "folderPath", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Add", - "Parameters": [ - { - "Name": "conventions", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection" - }, - { - "Name": "convention", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.IParameterModelBaseConvention" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AllowAnonymousToAreaFolder", - "Parameters": [ - { - "Name": "conventions", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection" - }, - { - "Name": "areaName", - "Type": "System.String" - }, - { - "Name": "folderPath", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AuthorizePage", - "Parameters": [ - { - "Name": "conventions", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection" - }, - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "policy", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AuthorizePage", - "Parameters": [ - { - "Name": "conventions", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection" - }, - { - "Name": "pageName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AuthorizeAreaPage", - "Parameters": [ - { - "Name": "conventions", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection" - }, - { - "Name": "areaName", - "Type": "System.String" - }, - { - "Name": "pageName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AuthorizeAreaPage", - "Parameters": [ - { - "Name": "conventions", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection" - }, - { - "Name": "areaName", - "Type": "System.String" - }, - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "policy", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AuthorizeFolder", - "Parameters": [ - { - "Name": "conventions", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection" - }, - { - "Name": "folderPath", - "Type": "System.String" - }, - { - "Name": "policy", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AuthorizeFolder", - "Parameters": [ - { - "Name": "conventions", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection" - }, - { - "Name": "folderPath", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AuthorizeAreaFolder", - "Parameters": [ - { - "Name": "conventions", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection" - }, - { - "Name": "areaName", - "Type": "System.String" - }, - { - "Name": "folderPath", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AuthorizeAreaFolder", - "Parameters": [ - { - "Name": "conventions", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection" - }, - { - "Name": "areaName", - "Type": "System.String" - }, - { - "Name": "folderPath", - "Type": "System.String" - }, - { - "Name": "policy", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddPageRoute", - "Parameters": [ - { - "Name": "conventions", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection" - }, - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "route", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddAreaPageRoute", - "Parameters": [ - { - "Name": "conventions", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection" - }, - { - "Name": "areaName", - "Type": "System.String" - }, - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "route", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Mvc/Mvc.RazorPages/src/breakingchanges.netcore.json b/src/Mvc/Mvc.RazorPages/src/breakingchanges.netcore.json deleted file mode 100644 index ff4205e20b..0000000000 --- a/src/Mvc/Mvc.RazorPages/src/breakingchanges.netcore.json +++ /dev/null @@ -1,51 +0,0 @@ -[ - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.DefaultPageActivatorProvider : Microsoft.AspNetCore.Mvc.RazorPages.IPageActivatorProvider", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.DefaultPageFactoryProvider : Microsoft.AspNetCore.Mvc.RazorPages.IPageFactoryProvider", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.DefaultPageHandlerMethodSelector : Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.IPageHandlerMethodSelector", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.DefaultPageModelActivatorProvider : Microsoft.AspNetCore.Mvc.RazorPages.IPageModelActivatorProvider", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.DefaultPageModelFactoryProvider : Microsoft.AspNetCore.Mvc.RazorPages.IPageModelFactoryProvider", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageResultExecutor : Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor", - "MemberId": "public .ctor(Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory writerFactory, Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine compositeViewEngine, Microsoft.AspNetCore.Mvc.Razor.IRazorViewEngine razorViewEngine, Microsoft.AspNetCore.Mvc.Razor.IRazorPageActivator razorPageActivator, System.Diagnostics.DiagnosticSource diagnosticSource, System.Text.Encodings.Web.HtmlEncoder htmlEncoder)", - "Kind": "Removal" - }, - { - "TypeId": "public static class Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageDirectiveFeature", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.RazorPages.RazorPagesOptions : System.Collections.Generic.IEnumerable", - "MemberId": "public System.Boolean get_AllowAreas()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.RazorPages.RazorPagesOptions : System.Collections.Generic.IEnumerable", - "MemberId": "public System.Boolean get_AllowMappingHeadRequestsToGetHandler()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.RazorPages.RazorPagesOptions : System.Collections.Generic.IEnumerable", - "MemberId": "public System.Void set_AllowAreas(System.Boolean value)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.RazorPages.RazorPagesOptions : System.Collections.Generic.IEnumerable", - "MemberId": "public System.Void set_AllowMappingHeadRequestsToGetHandler(System.Boolean value)", - "Kind": "Removal" - } -] diff --git a/src/Mvc/Mvc.RazorPages/test/ApplicationModels/AuthorizationPageApplicationModelProviderTest.cs b/src/Mvc/Mvc.RazorPages/test/ApplicationModels/AuthorizationPageApplicationModelProviderTest.cs index 297c751bab..b2f17f48cf 100644 --- a/src/Mvc/Mvc.RazorPages/test/ApplicationModels/AuthorizationPageApplicationModelProviderTest.cs +++ b/src/Mvc/Mvc.RazorPages/test/ApplicationModels/AuthorizationPageApplicationModelProviderTest.cs @@ -188,9 +188,12 @@ namespace Microsoft.AspNetCore.Mvc.ApplicationModels private static PageApplicationModelProviderContext GetApplicationProviderContext(TypeInfo typeInfo) { + var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); + var defaultProvider = new DefaultPageApplicationModelProvider( - TestModelMetadataProvider.CreateDefaultProvider(), - Options.Create(new RazorPagesOptions())); + modelMetadataProvider, + Options.Create(new RazorPagesOptions()), + new DefaultPageApplicationModelPartsProvider(modelMetadataProvider)); var context = new PageApplicationModelProviderContext(new PageActionDescriptor(), typeInfo); defaultProvider.OnProvidersExecuting(context); diff --git a/src/Mvc/Mvc.RazorPages/test/ApplicationModels/DefaultPageApplicationModelProviderTest.cs b/src/Mvc/Mvc.RazorPages/test/ApplicationModels/DefaultPageApplicationModelProviderTest.cs index 83e4855da2..78aa991bd9 100644 --- a/src/Mvc/Mvc.RazorPages/test/ApplicationModels/DefaultPageApplicationModelProviderTest.cs +++ b/src/Mvc/Mvc.RazorPages/test/ApplicationModels/DefaultPageApplicationModelProviderTest.cs @@ -971,7 +971,7 @@ namespace Microsoft.AspNetCore.Mvc.ApplicationModels public void TryParseHandler_ParsesHandlerNames_InvalidData(string methodName) { // Act - var result = DefaultPageApplicationModelProvider.TryParseHandlerMethod(methodName, out var httpMethod, out var handler); + var result = DefaultPageApplicationModelPartsProvider.TryParseHandlerMethod(methodName, out var httpMethod, out var handler); // Assert Assert.False(result); @@ -993,7 +993,7 @@ namespace Microsoft.AspNetCore.Mvc.ApplicationModels // Arrange // Act - var result = DefaultPageApplicationModelProvider.TryParseHandlerMethod(methodName, out var httpMethod, out var handler); + var result = DefaultPageApplicationModelPartsProvider.TryParseHandlerMethod(methodName, out var httpMethod, out var handler); // Assert Assert.True(result); @@ -1169,9 +1169,12 @@ namespace Microsoft.AspNetCore.Mvc.ApplicationModels private static DefaultPageApplicationModelProvider CreateProvider() { + var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); + return new DefaultPageApplicationModelProvider( - TestModelMetadataProvider.CreateDefaultProvider(), - Options.Create(new RazorPagesOptions())); + modelMetadataProvider, + Options.Create(new RazorPagesOptions()), + new DefaultPageApplicationModelPartsProvider(modelMetadataProvider)); } } } diff --git a/src/Mvc/Mvc.RazorPages/test/ApplicationModels/ResponseCacheFilterApplicationModelProviderTest.cs b/src/Mvc/Mvc.RazorPages/test/ApplicationModels/ResponseCacheFilterApplicationModelProviderTest.cs index e61666acf3..4c757bd1df 100644 --- a/src/Mvc/Mvc.RazorPages/test/ApplicationModels/ResponseCacheFilterApplicationModelProviderTest.cs +++ b/src/Mvc/Mvc.RazorPages/test/ApplicationModels/ResponseCacheFilterApplicationModelProviderTest.cs @@ -142,9 +142,12 @@ namespace Microsoft.AspNetCore.Mvc.Filters private static PageApplicationModelProviderContext GetApplicationProviderContext(TypeInfo typeInfo) { + var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); + var defaultProvider = new DefaultPageApplicationModelProvider( - TestModelMetadataProvider.CreateDefaultProvider(), - Options.Create(new RazorPagesOptions())); + modelMetadataProvider, + Options.Create(new RazorPagesOptions()), + new DefaultPageApplicationModelPartsProvider(modelMetadataProvider)); var context = new PageApplicationModelProviderContext(new PageActionDescriptor(), typeInfo); defaultProvider.OnProvidersExecuting(context); diff --git a/src/Mvc/Mvc.RazorPages/test/Infrastructure/PageActionEndpointDataSourceTest.cs b/src/Mvc/Mvc.RazorPages/test/Infrastructure/PageActionEndpointDataSourceTest.cs index d75b80a9f9..a74d388c7f 100644 --- a/src/Mvc/Mvc.RazorPages/test/Infrastructure/PageActionEndpointDataSourceTest.cs +++ b/src/Mvc/Mvc.RazorPages/test/Infrastructure/PageActionEndpointDataSourceTest.cs @@ -71,7 +71,7 @@ namespace Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure var dataSource = (PageActionEndpointDataSource)CreateDataSource(mockDescriptorProvider.Object); - dataSource.Add((b) => + dataSource.DefaultBuilder.Add((b) => { b.Metadata.Add("Hi there"); }); diff --git a/src/Mvc/Mvc.TagHelpers/ref/Microsoft.AspNetCore.Mvc.TagHelpers.netcoreapp3.0.cs b/src/Mvc/Mvc.TagHelpers/ref/Microsoft.AspNetCore.Mvc.TagHelpers.netcoreapp3.0.cs index d8908e8bae..b940696196 100644 --- a/src/Mvc/Mvc.TagHelpers/ref/Microsoft.AspNetCore.Mvc.TagHelpers.netcoreapp3.0.cs +++ b/src/Mvc/Mvc.TagHelpers/ref/Microsoft.AspNetCore.Mvc.TagHelpers.netcoreapp3.0.cs @@ -5,9 +5,9 @@ namespace Microsoft.AspNetCore.Mvc.Rendering { public enum ValidationSummary { - All = 2, - ModelOnly = 1, None = 0, + ModelOnly = 1, + All = 2, } } namespace Microsoft.AspNetCore.Mvc.TagHelpers diff --git a/src/Mvc/Mvc.TagHelpers/src/AttributeMatcher.cs b/src/Mvc/Mvc.TagHelpers/src/AttributeMatcher.cs index 309f2aa574..55584fa94f 100644 --- a/src/Mvc/Mvc.TagHelpers/src/AttributeMatcher.cs +++ b/src/Mvc/Mvc.TagHelpers/src/AttributeMatcher.cs @@ -44,13 +44,20 @@ namespace Microsoft.AspNetCore.Mvc.TagHelpers } var foundResult = false; - result = default(TMode); + result = default; // Perf: Avoid allocating enumerator - for (var i = 0; i < modeInfos.Count; i++) + var modeInfosCount = modeInfos.Count; + var allAttributes = context.AllAttributes; + // Read interface .Count once rather than per iteration + var allAttributesCount = allAttributes.Count; + for (var i = 0; i < modeInfosCount; i++) { var modeInfo = modeInfos[i]; - if (!HasMissingAttributes(context, modeInfo.Attributes) && + var requiredAttributes = modeInfo.Attributes; + // If there are fewer attributes present than required, one or more of them must be missing. + if (allAttributesCount >= requiredAttributes.Length && + !HasMissingAttributes(allAttributes, requiredAttributes) && compare(result, modeInfo.Mode) <= 0) { foundResult = true; @@ -61,19 +68,13 @@ namespace Microsoft.AspNetCore.Mvc.TagHelpers return foundResult; } - private static bool HasMissingAttributes(TagHelperContext context, string[] requiredAttributes) + private static bool HasMissingAttributes(ReadOnlyTagHelperAttributeList allAttributes, string[] requiredAttributes) { - if (context.AllAttributes.Count < requiredAttributes.Length) - { - // If there are fewer attributes present than required, one or more of them must be missing. - return true; - } - // Check for all attribute values // Perf: Avoid allocating enumerator for (var i = 0; i < requiredAttributes.Length; i++) { - if (!context.AllAttributes.TryGetAttribute(requiredAttributes[i], out var attribute)) + if (!allAttributes.TryGetAttribute(requiredAttributes[i], out var attribute)) { // Missing attribute. return true; diff --git a/src/Mvc/Mvc.TagHelpers/src/LinkTagHelper.cs b/src/Mvc/Mvc.TagHelpers/src/LinkTagHelper.cs index ac090a14cf..4f1e655785 100644 --- a/src/Mvc/Mvc.TagHelpers/src/LinkTagHelper.cs +++ b/src/Mvc/Mvc.TagHelpers/src/LinkTagHelper.cs @@ -381,8 +381,9 @@ namespace Microsoft.AspNetCore.Mvc.TagHelpers builder.AppendHtml(", \""); - // Perf: Avoid allocating enumerator - for (var i = 0; i < attributes.Count; i++) + // Perf: Avoid allocating enumerator and read interface .Count once rather than per iteration + var attributesCount = attributes.Count; + for (var i = 0; i < attributesCount; i++) { var attribute = attributes[i]; if (string.Equals(attribute.Name, HrefAttributeName, StringComparison.OrdinalIgnoreCase)) @@ -440,8 +441,10 @@ namespace Microsoft.AspNetCore.Mvc.TagHelpers { builder.AppendHtml("["); var firstAdded = false; - // Perf: Avoid allocating enumerator - for (var i = 0; i < fallbackHrefs.Count; i++) + + // Perf: Avoid allocating enumerator and read interface .Count once rather than per iteration + var fallbackHrefsCount = fallbackHrefs.Count; + for (var i = 0; i < fallbackHrefsCount; i++) { if (firstAdded) { @@ -498,8 +501,9 @@ namespace Microsoft.AspNetCore.Mvc.TagHelpers var addHref = true; - // Perf: Avoid allocating enumerator - for (var i = 0; i < attributes.Count; i++) + // Perf: Avoid allocating enumerator and read interface .Count once rather than per iteration + var attributesCount = attributes.Count; + for (var i = 0; i < attributesCount; i++) { var attribute = attributes[i]; diff --git a/src/Mvc/Mvc.TagHelpers/src/ScriptTagHelper.cs b/src/Mvc/Mvc.TagHelpers/src/ScriptTagHelper.cs index 27cc753dd2..728e64caa0 100644 --- a/src/Mvc/Mvc.TagHelpers/src/ScriptTagHelper.cs +++ b/src/Mvc/Mvc.TagHelpers/src/ScriptTagHelper.cs @@ -331,8 +331,9 @@ namespace Microsoft.AspNetCore.Mvc.TagHelpers var addSrc = true; - // Perf: Avoid allocating enumerator - for (var i = 0; i < attributes.Count; i++) + // Perf: Avoid allocating enumerator and read interface .Count once rather than per iteration + var attributesCount = attributes.Count; + for (var i = 0; i < attributesCount; i++) { var attribute = attributes[i]; if (!attribute.Name.Equals(SrcAttributeName, StringComparison.OrdinalIgnoreCase)) @@ -434,8 +435,9 @@ namespace Microsoft.AspNetCore.Mvc.TagHelpers var addSrc = true; - // Perf: Avoid allocating enumerator - for (var i = 0; i < attributes.Count; i++) + // Perf: Avoid allocating enumerator and read interface .Count once rather than per iteration + var attributesCount = attributes.Count; + for (var i = 0; i < attributesCount; i++) { var attribute = attributes[i]; if (!attribute.Name.Equals(SrcAttributeName, StringComparison.OrdinalIgnoreCase)) diff --git a/src/Mvc/Mvc.TagHelpers/src/TagHelperOutputExtensions.cs b/src/Mvc/Mvc.TagHelpers/src/TagHelperOutputExtensions.cs index c79aa9fcfa..eb34746701 100644 --- a/src/Mvc/Mvc.TagHelpers/src/TagHelperOutputExtensions.cs +++ b/src/Mvc/Mvc.TagHelpers/src/TagHelperOutputExtensions.cs @@ -321,13 +321,14 @@ namespace Microsoft.AspNetCore.Mvc.TagHelpers TagHelperOutput tagHelperOutput, TagHelperContext context) { - var existingAttribute = context.AllAttributes[allAttributeIndex]; + var allAttributes = context.AllAttributes; + var existingAttribute = allAttributes[allAttributeIndex]; // Move backwards through context.AllAttributes from the provided index until we find a familiar attribute // in tagHelperOutput where we can insert the copied value after the familiar one. for (var i = allAttributeIndex - 1; i >= 0; i--) { - var previousName = context.AllAttributes[i].Name; + var previousName = allAttributes[i].Name; var index = IndexOfFirstMatch(previousName, tagHelperOutput.Attributes); if (index != -1) { @@ -336,11 +337,13 @@ namespace Microsoft.AspNetCore.Mvc.TagHelpers } } + // Read interface .Count once rather than per iteration + var allAttributesCount = allAttributes.Count; // Move forward through context.AllAttributes from the provided index until we find a familiar attribute in // tagHelperOutput where we can insert the copied value. - for (var i = allAttributeIndex + 1; i < context.AllAttributes.Count; i++) + for (var i = allAttributeIndex + 1; i < allAttributesCount; i++) { - var nextName = context.AllAttributes[i].Name; + var nextName = allAttributes[i].Name; var index = IndexOfFirstMatch(nextName, tagHelperOutput.Attributes); if (index != -1) { @@ -355,7 +358,9 @@ namespace Microsoft.AspNetCore.Mvc.TagHelpers private static int IndexOfFirstMatch(string name, TagHelperAttributeList attributes) { - for (var i = 0; i < attributes.Count; i++) + // Read interface .Count once rather than per iteration + var attributesCount = attributes.Count; + for (var i = 0; i < attributesCount; i++) { if (string.Equals(name, attributes[i].Name, StringComparison.OrdinalIgnoreCase)) { diff --git a/src/Mvc/Mvc.TagHelpers/src/baseline.netcore.json b/src/Mvc/Mvc.TagHelpers/src/baseline.netcore.json deleted file mode 100644 index 1de8718123..0000000000 --- a/src/Mvc/Mvc.TagHelpers/src/baseline.netcore.json +++ /dev/null @@ -1,3935 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Mvc.TagHelpers, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.Mvc.Rendering.ValidationSummary", - "Visibility": "Public", - "Kind": "Enumeration", - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "None", - "Parameters": [], - "GenericParameter": [], - "Literal": "0" - }, - { - "Kind": "Field", - "Name": "ModelOnly", - "Parameters": [], - "GenericParameter": [], - "Literal": "1" - }, - { - "Kind": "Field", - "Name": "All", - "Parameters": [], - "GenericParameter": [], - "Literal": "2" - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelper", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Generator", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Action", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Action", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Controller", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Controller", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Area", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Area", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Page", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Page", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PageHandler", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_PageHandler", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Protocol", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Protocol", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Host", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Host", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Fragment", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Fragment", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Route", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Route", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RouteValues", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RouteValues", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IDictionary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ViewContext", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Process", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext" - }, - { - "Name": "output", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "generator", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.TagHelpers.CacheTagHelper", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.TagHelpers.CacheTagHelperBase", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ProcessAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext" - }, - { - "Name": "output", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MemoryCache", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.Caching.Memory.IMemoryCache", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Priority", - "Parameters": [], - "ReturnType": "System.Nullable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Priority", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "factory", - "Type": "Microsoft.AspNetCore.Mvc.TagHelpers.Internal.CacheTagHelperMemoryCacheFactory" - }, - { - "Name": "htmlEncoder", - "Type": "System.Text.Encodings.Web.HtmlEncoder" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "CacheKeyPrefix", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.TagHelpers.CacheTagHelperBase", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "BaseType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelper", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HtmlEncoder", - "Parameters": [], - "ReturnType": "System.Text.Encodings.Web.HtmlEncoder", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ViewContext", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_VaryBy", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_VaryBy", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_VaryByHeader", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_VaryByHeader", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_VaryByQuery", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_VaryByQuery", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_VaryByRoute", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_VaryByRoute", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_VaryByCookie", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_VaryByCookie", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_VaryByUser", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_VaryByUser", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ExpiresOn", - "Parameters": [], - "ReturnType": "System.Nullable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ExpiresOn", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ExpiresAfter", - "Parameters": [], - "ReturnType": "System.Nullable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ExpiresAfter", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ExpiresSliding", - "Parameters": [], - "ReturnType": "System.Nullable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ExpiresSliding", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Enabled", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Enabled", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "htmlEncoder", - "Type": "System.Text.Encodings.Web.HtmlEncoder" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "DefaultExpiration", - "Parameters": [], - "ReturnType": "System.TimeSpan", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.TagHelpers.CacheTagHelperOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_SizeLimit", - "Parameters": [], - "ReturnType": "System.Int64", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SizeLimit", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int64" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.TagHelpers.DistributedCacheTagHelper", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.TagHelpers.CacheTagHelperBase", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ProcessAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext" - }, - { - "Name": "output", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MemoryCache", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.Caching.Memory.IMemoryCache", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "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": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "distributedCacheService", - "Type": "Microsoft.AspNetCore.Mvc.TagHelpers.Cache.IDistributedCacheTagHelperService" - }, - { - "Name": "htmlEncoder", - "Type": "System.Text.Encodings.Web.HtmlEncoder" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "CacheKeyPrefix", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.TagHelpers.EnvironmentTagHelper", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelper", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Names", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Names", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Include", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Include", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Exclude", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Exclude", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HostingEnvironment", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Hosting.IHostingEnvironment", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Process", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext" - }, - { - "Name": "output", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "hostingEnvironment", - "Type": "Microsoft.AspNetCore.Hosting.IHostingEnvironment" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.TagHelpers.FormActionTagHelper", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelper", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ViewContext", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UrlHelperFactory", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Action", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Action", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Controller", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Controller", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Area", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Area", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Page", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Page", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PageHandler", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_PageHandler", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Fragment", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Fragment", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Route", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Route", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RouteValues", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RouteValues", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IDictionary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Process", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext" - }, - { - "Name": "output", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "urlHelperFactory", - "Type": "Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelper", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ViewContext", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Generator", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Action", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Action", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Controller", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Controller", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Area", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Area", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Page", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Page", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PageHandler", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_PageHandler", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Antiforgery", - "Parameters": [], - "ReturnType": "System.Nullable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Antiforgery", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Fragment", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Fragment", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Route", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Route", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Method", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Method", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RouteValues", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RouteValues", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IDictionary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Process", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext" - }, - { - "Name": "output", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "generator", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.TagHelpers.ImageTagHelper", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Src", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Src", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AppendVersion", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AppendVersion", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HostingEnvironment", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Hosting.IHostingEnvironment", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Cache", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.Caching.Memory.IMemoryCache", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Process", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext" - }, - { - "Name": "output", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "hostingEnvironment", - "Type": "Microsoft.AspNetCore.Hosting.IHostingEnvironment" - }, - { - "Name": "cache", - "Type": "Microsoft.Extensions.Caching.Memory.IMemoryCache" - }, - { - "Name": "htmlEncoder", - "Type": "System.Text.Encodings.Web.HtmlEncoder" - }, - { - "Name": "urlHelperFactory", - "Type": "Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelper", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Generator", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ViewContext", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_For", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExpression", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_For", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExpression" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Format", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Format", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_InputTypeName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_InputTypeName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "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": "Method", - "Name": "Process", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext" - }, - { - "Name": "output", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetInputType", - "Parameters": [ - { - "Name": "modelExplorer", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - }, - { - "Name": "inputTypeHint", - "Type": "System.String", - "Direction": "Out" - } - ], - "ReturnType": "System.String", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "generator", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.TagHelpers.LabelTagHelper", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelper", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ProcessAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext" - }, - { - "Name": "output", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ViewContext", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Generator", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_For", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExpression", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_For", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExpression" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "generator", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.TagHelpers.LinkTagHelper", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Href", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Href", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HrefInclude", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_HrefInclude", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HrefExclude", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_HrefExclude", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_FallbackHref", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_FallbackHref", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AppendVersion", - "Parameters": [], - "ReturnType": "System.Nullable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AppendVersion", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_FallbackHrefInclude", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_FallbackHrefInclude", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_FallbackHrefExclude", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_FallbackHrefExclude", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_FallbackTestClass", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_FallbackTestClass", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_FallbackTestProperty", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_FallbackTestProperty", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_FallbackTestValue", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_FallbackTestValue", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HostingEnvironment", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Hosting.IHostingEnvironment", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Cache", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.Caching.Memory.IMemoryCache", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_JavaScriptEncoder", - "Parameters": [], - "ReturnType": "System.Text.Encodings.Web.JavaScriptEncoder", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_GlobbingUrlBuilder", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.TagHelpers.Internal.GlobbingUrlBuilder", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_GlobbingUrlBuilder", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.TagHelpers.Internal.GlobbingUrlBuilder" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Process", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext" - }, - { - "Name": "output", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "hostingEnvironment", - "Type": "Microsoft.AspNetCore.Hosting.IHostingEnvironment" - }, - { - "Name": "cache", - "Type": "Microsoft.Extensions.Caching.Memory.IMemoryCache" - }, - { - "Name": "htmlEncoder", - "Type": "System.Text.Encodings.Web.HtmlEncoder" - }, - { - "Name": "javaScriptEncoder", - "Type": "System.Text.Encodings.Web.JavaScriptEncoder" - }, - { - "Name": "urlHelperFactory", - "Type": "Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.TagHelpers.OptionTagHelper", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelper", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ProcessAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext" - }, - { - "Name": "output", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Generator", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ViewContext", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - } - ], - "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": [ - { - "Name": "generator", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.TagHelpers.PartialTagHelper", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelper", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ProcessAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext" - }, - { - "Name": "output", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "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_For", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExpression", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_For", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExpression" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Model", - "Parameters": [], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Model", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewData", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ViewData", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ViewContext", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "viewEngine", - "Type": "Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine" - }, - { - "Name": "viewBufferScope", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.IViewBufferScope" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelper", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Init", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ProcessAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext" - }, - { - "Name": "output", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ViewContext", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.TagHelpers.ScriptTagHelper", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Src", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Src", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SrcInclude", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SrcInclude", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SrcExclude", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SrcExclude", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_FallbackSrc", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_FallbackSrc", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AppendVersion", - "Parameters": [], - "ReturnType": "System.Nullable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AppendVersion", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_FallbackSrcInclude", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_FallbackSrcInclude", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_FallbackSrcExclude", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_FallbackSrcExclude", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_FallbackTestExpression", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_FallbackTestExpression", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HostingEnvironment", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Hosting.IHostingEnvironment", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Cache", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.Caching.Memory.IMemoryCache", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_JavaScriptEncoder", - "Parameters": [], - "ReturnType": "System.Text.Encodings.Web.JavaScriptEncoder", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_GlobbingUrlBuilder", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.TagHelpers.Internal.GlobbingUrlBuilder", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_GlobbingUrlBuilder", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.TagHelpers.Internal.GlobbingUrlBuilder" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Process", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext" - }, - { - "Name": "output", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "hostingEnvironment", - "Type": "Microsoft.AspNetCore.Hosting.IHostingEnvironment" - }, - { - "Name": "cache", - "Type": "Microsoft.Extensions.Caching.Memory.IMemoryCache" - }, - { - "Name": "htmlEncoder", - "Type": "System.Text.Encodings.Web.HtmlEncoder" - }, - { - "Name": "javaScriptEncoder", - "Type": "System.Text.Encodings.Web.JavaScriptEncoder" - }, - { - "Name": "urlHelperFactory", - "Type": "Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.TagHelpers.SelectTagHelper", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelper", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Init", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Generator", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ViewContext", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_For", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExpression", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_For", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExpression" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Items", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Items", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "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": "Process", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext" - }, - { - "Name": "output", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "generator", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.TagHelpers.TagHelperOutputExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "CopyHtmlAttribute", - "Parameters": [ - { - "Name": "tagHelperOutput", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput" - }, - { - "Name": "attributeName", - "Type": "System.String" - }, - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MergeAttributes", - "Parameters": [ - { - "Name": "tagHelperOutput", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput" - }, - { - "Name": "tagBuilder", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveRange", - "Parameters": [ - { - "Name": "tagHelperOutput", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput" - }, - { - "Name": "attributes", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddClass", - "Parameters": [ - { - "Name": "tagHelperOutput", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput" - }, - { - "Name": "classValue", - "Type": "System.String" - }, - { - "Name": "htmlEncoder", - "Type": "System.Text.Encodings.Web.HtmlEncoder" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveClass", - "Parameters": [ - { - "Name": "tagHelperOutput", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput" - }, - { - "Name": "classValue", - "Type": "System.String" - }, - { - "Name": "htmlEncoder", - "Type": "System.Text.Encodings.Web.HtmlEncoder" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.TagHelpers.TextAreaTagHelper", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelper", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Generator", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ViewContext", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_For", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExpression", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_For", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExpression" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "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": "Process", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext" - }, - { - "Name": "output", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "generator", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.TagHelpers.ValidationMessageTagHelper", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelper", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ProcessAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext" - }, - { - "Name": "output", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ViewContext", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Generator", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_For", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExpression", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_For", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExpression" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "generator", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.TagHelpers.ValidationSummaryTagHelper", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelper", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ViewContext", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Generator", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ValidationSummary", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.ValidationSummary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ValidationSummary", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ValidationSummary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Process", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext" - }, - { - "Name": "output", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "generator", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.TagHelpers.Cache.CacheTagKey", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "System.IEquatable" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GenerateKey", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateHashedKey", - "Parameters": [], - "ReturnType": "System.String", - "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": "Equals", - "Parameters": [ - { - "Name": "other", - "Type": "Microsoft.AspNetCore.Mvc.TagHelpers.Cache.CacheTagKey" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.IEquatable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetHashCode", - "Parameters": [], - "ReturnType": "System.Int32", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "tagHelper", - "Type": "Microsoft.AspNetCore.Mvc.TagHelpers.CacheTagHelper" - }, - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "tagHelper", - "Type": "Microsoft.AspNetCore.Mvc.TagHelpers.DistributedCacheTagHelper" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.TagHelpers.Cache.DistributedCacheTagHelperFormatter", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.TagHelpers.Cache.IDistributedCacheTagHelperFormatter" - ], - "Members": [ - { - "Kind": "Method", - "Name": "SerializeAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.TagHelpers.Cache.DistributedCacheTagHelperFormattingContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.TagHelpers.Cache.IDistributedCacheTagHelperFormatter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DeserializeAsync", - "Parameters": [ - { - "Name": "value", - "Type": "System.Byte[]" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.TagHelpers.Cache.IDistributedCacheTagHelperFormatter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.TagHelpers.Cache.DistributedCacheTagHelperFormattingContext", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Html", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Html.HtmlString", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Html", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Html.HtmlString" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.TagHelpers.Cache.DistributedCacheTagHelperService", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.TagHelpers.Cache.IDistributedCacheTagHelperService" - ], - "Members": [ - { - "Kind": "Method", - "Name": "ProcessContentAsync", - "Parameters": [ - { - "Name": "output", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput" - }, - { - "Name": "key", - "Type": "Microsoft.AspNetCore.Mvc.TagHelpers.Cache.CacheTagKey" - }, - { - "Name": "options", - "Type": "Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.TagHelpers.Cache.IDistributedCacheTagHelperService", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "storage", - "Type": "Microsoft.AspNetCore.Mvc.TagHelpers.Cache.IDistributedCacheTagHelperStorage" - }, - { - "Name": "formatter", - "Type": "Microsoft.AspNetCore.Mvc.TagHelpers.Cache.IDistributedCacheTagHelperFormatter" - }, - { - "Name": "HtmlEncoder", - "Type": "System.Text.Encodings.Web.HtmlEncoder" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.TagHelpers.Cache.DistributedCacheTagHelperStorage", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.TagHelpers.Cache.IDistributedCacheTagHelperStorage" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetAsync", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.TagHelpers.Cache.IDistributedCacheTagHelperStorage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetAsync", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Byte[]" - }, - { - "Name": "options", - "Type": "Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.TagHelpers.Cache.IDistributedCacheTagHelperStorage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "distributedCache", - "Type": "Microsoft.Extensions.Caching.Distributed.IDistributedCache" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.TagHelpers.Cache.IDistributedCacheTagHelperFormatter", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "SerializeAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.TagHelpers.Cache.DistributedCacheTagHelperFormattingContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DeserializeAsync", - "Parameters": [ - { - "Name": "value", - "Type": "System.Byte[]" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.TagHelpers.Cache.IDistributedCacheTagHelperService", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ProcessContentAsync", - "Parameters": [ - { - "Name": "output", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput" - }, - { - "Name": "key", - "Type": "Microsoft.AspNetCore.Mvc.TagHelpers.Cache.CacheTagKey" - }, - { - "Name": "options", - "Type": "Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.TagHelpers.Cache.IDistributedCacheTagHelperStorage", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetAsync", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetAsync", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Byte[]" - }, - { - "Name": "options", - "Type": "Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.Extensions.DependencyInjection.TagHelperServicesExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddCacheTagHelper", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddCacheTagHelperLimits", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcBuilder" - }, - { - "Name": "configure", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddCacheTagHelperLimits", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder" - }, - { - "Name": "configure", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Mvc/Mvc.TagHelpers/src/breakingchanges.netcore.json b/src/Mvc/Mvc.TagHelpers/src/breakingchanges.netcore.json deleted file mode 100644 index ece8a05977..0000000000 --- a/src/Mvc/Mvc.TagHelpers/src/breakingchanges.netcore.json +++ /dev/null @@ -1,32 +0,0 @@ -[ - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.TagHelpers.PartialTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.TagHelper", - "MemberId": "public .ctor(Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine viewEngine, Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.IViewBufferScope viewBufferScope)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.TagHelpers.LinkTagHelper : Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper", - "MemberId": "protected Microsoft.AspNetCore.Mvc.TagHelpers.Internal.GlobbingUrlBuilder get_GlobbingUrlBuilder()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.TagHelpers.LinkTagHelper : Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper", - "MemberId": "protected System.Void set_GlobbingUrlBuilder(Microsoft.AspNetCore.Mvc.TagHelpers.Internal.GlobbingUrlBuilder value)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.TagHelpers.ScriptTagHelper : Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper", - "MemberId": "protected Microsoft.AspNetCore.Mvc.TagHelpers.Internal.GlobbingUrlBuilder get_GlobbingUrlBuilder()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.TagHelpers.ScriptTagHelper : Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper", - "MemberId": "protected System.Void set_GlobbingUrlBuilder(Microsoft.AspNetCore.Mvc.TagHelpers.Internal.GlobbingUrlBuilder value)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.TagHelpers.CacheTagHelper : Microsoft.AspNetCore.Mvc.TagHelpers.CacheTagHelperBase", - "MemberId": "public .ctor(Microsoft.AspNetCore.Mvc.TagHelpers.Internal.CacheTagHelperMemoryCacheFactory factory, System.Text.Encodings.Web.HtmlEncoder htmlEncoder)", - "Kind": "Removal" - } -] \ No newline at end of file diff --git a/src/Mvc/Mvc.Testing/src/baseline.netcore.json b/src/Mvc/Mvc.Testing/src/baseline.netcore.json deleted file mode 100644 index c0806560a2..0000000000 --- a/src/Mvc/Mvc.Testing/src/baseline.netcore.json +++ /dev/null @@ -1,494 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Mvc.Testing, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "System.IDisposable" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Finalize", - "Parameters": [], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Server", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.TestHost.TestServer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Factories", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyList>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ClientOptions", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactoryClientOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WithWebHostBuilder", - "Parameters": [ - { - "Name": "configuration", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetTestAssemblies", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateWebHostBuilder", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateServer", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Hosting.IWebHostBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.TestHost.TestServer", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ConfigureWebHost", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Hosting.IWebHostBuilder" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateClient", - "Parameters": [], - "ReturnType": "System.Net.Http.HttpClient", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateClient", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactoryClientOptions" - } - ], - "ReturnType": "System.Net.Http.HttpClient", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateDefaultClient", - "Parameters": [ - { - "Name": "handlers", - "Type": "System.Net.Http.DelegatingHandler[]", - "IsParams": true - } - ], - "ReturnType": "System.Net.Http.HttpClient", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ConfigureClient", - "Parameters": [ - { - "Name": "client", - "Type": "System.Net.Http.HttpClient" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateDefaultClient", - "Parameters": [ - { - "Name": "baseAddress", - "Type": "System.Uri" - }, - { - "Name": "handlers", - "Type": "System.Net.Http.DelegatingHandler[]", - "IsParams": true - } - ], - "ReturnType": "System.Net.Http.HttpClient", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Dispose", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.IDisposable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Dispose", - "Parameters": [ - { - "Name": "disposing", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TEntryPoint", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactoryClientOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "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_AllowAutoRedirect", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AllowAutoRedirect", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MaxAutomaticRedirections", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MaxAutomaticRedirections", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HandleCookies", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_HandleCookies", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactoryContentRootAttribute", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "BaseType": "System.Attribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Key", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ContentRootPath", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ContentRootTest", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Priority", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "contentRootPath", - "Type": "System.String" - }, - { - "Name": "contentRootTest", - "Type": "System.String" - }, - { - "Name": "priority", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Testing.Handlers.CookieContainerHandler", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Net.Http.DelegatingHandler", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Container", - "Parameters": [], - "ReturnType": "System.Net.CookieContainer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "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": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "cookieContainer", - "Type": "System.Net.CookieContainer" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Testing.Handlers.RedirectHandler", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Net.Http.DelegatingHandler", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_MaxRedirects", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "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": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "maxRedirects", - "Type": "System.Int32" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Mvc/Mvc.ViewFeatures/ref/Microsoft.AspNetCore.Mvc.ViewFeatures.netcoreapp3.0.cs b/src/Mvc/Mvc.ViewFeatures/ref/Microsoft.AspNetCore.Mvc.ViewFeatures.netcoreapp3.0.cs index 5e7561c95c..ad98c18e9a 100644 --- a/src/Mvc/Mvc.ViewFeatures/ref/Microsoft.AspNetCore.Mvc.ViewFeatures.netcoreapp3.0.cs +++ b/src/Mvc/Mvc.ViewFeatures/ref/Microsoft.AspNetCore.Mvc.ViewFeatures.netcoreapp3.0.cs @@ -233,8 +233,8 @@ namespace Microsoft.AspNetCore.Mvc.Rendering } public enum Html5DateRenderingMode { - CurrentCulture = 1, Rfc3339 = 0, + CurrentCulture = 1, } public static partial class HtmlHelperDisplayExtensions { @@ -575,10 +575,10 @@ namespace Microsoft.AspNetCore.Mvc.Rendering } public enum TagRenderMode { - EndTag = 2, Normal = 0, - SelfClosing = 3, StartTag = 1, + EndTag = 2, + SelfClosing = 3, } public static partial class ViewComponentHelperExtensions { diff --git a/src/Mvc/Mvc.ViewFeatures/src/baseline.netcore.json b/src/Mvc/Mvc.ViewFeatures/src/baseline.netcore.json deleted file mode 100644 index b3fca10e2b..0000000000 --- a/src/Mvc/Mvc.ViewFeatures/src/baseline.netcore.json +++ /dev/null @@ -1,18066 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Mvc.ViewFeatures, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.Mvc.AutoValidateAntiforgeryTokenAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IFilterFactory", - "Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Order", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsReusable", - "Parameters": [], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IFilterFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateInstance", - "Parameters": [ - { - "Name": "serviceProvider", - "Type": "System.IServiceProvider" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IFilterFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Controller", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "BaseType": "Microsoft.AspNetCore.Mvc.ControllerBase", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IActionFilter", - "Microsoft.AspNetCore.Mvc.Filters.IAsyncActionFilter", - "System.IDisposable" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_ViewData", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ViewData", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TempData", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_TempData", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewBag", - "Parameters": [], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "View", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "View", - "Parameters": [ - { - "Name": "viewName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "View", - "Parameters": [ - { - "Name": "model", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "View", - "Parameters": [ - { - "Name": "viewName", - "Type": "System.String" - }, - { - "Name": "model", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PartialView", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.PartialViewResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PartialView", - "Parameters": [ - { - "Name": "viewName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.PartialViewResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PartialView", - "Parameters": [ - { - "Name": "model", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.PartialViewResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PartialView", - "Parameters": [ - { - "Name": "viewName", - "Type": "System.String" - }, - { - "Name": "model", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.PartialViewResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ViewComponent", - "Parameters": [ - { - "Name": "componentName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewComponentResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ViewComponent", - "Parameters": [ - { - "Name": "componentType", - "Type": "System.Type" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewComponentResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ViewComponent", - "Parameters": [ - { - "Name": "componentName", - "Type": "System.String" - }, - { - "Name": "arguments", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewComponentResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ViewComponent", - "Parameters": [ - { - "Name": "componentType", - "Type": "System.Type" - }, - { - "Name": "arguments", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewComponentResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Json", - "Parameters": [ - { - "Name": "data", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.JsonResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Json", - "Parameters": [ - { - "Name": "data", - "Type": "System.Object" - }, - { - "Name": "serializerSettings", - "Type": "Newtonsoft.Json.JsonSerializerSettings" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.JsonResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnActionExecuting", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IActionFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnActionExecuted", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.ActionExecutedContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IActionFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnActionExecutionAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext" - }, - { - "Name": "next", - "Type": "Microsoft.AspNetCore.Mvc.Filters.ActionExecutionDelegate" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IAsyncActionFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Dispose", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.IDisposable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Dispose", - "Parameters": [ - { - "Name": "disposing", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.CookieTempDataProviderOptions", - "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_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_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_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": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.IgnoreAntiforgeryTokenAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ViewFeatures.IAntiforgeryPolicy", - "Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Order", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.IViewComponentHelper", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "InvokeAsync", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "arguments", - "Type": "System.Object" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "InvokeAsync", - "Parameters": [ - { - "Name": "componentType", - "Type": "System.Type" - }, - { - "Name": "arguments", - "Type": "System.Object" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.IViewComponentResult", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Execute", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ExecuteAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.MvcViewOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "System.Collections.Generic.IEnumerable" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_HtmlHelperOptions", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelperOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_HtmlHelperOptions", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelperOptions" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SuppressTempDataAttributePrefix", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SuppressTempDataAttributePrefix", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewEngines", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ClientModelValidatorProviders", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.PartialViewResult", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ActionResult", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ExecuteResultAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.IActionResult", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_StatusCode", - "Parameters": [], - "ReturnType": "System.Nullable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_StatusCode", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ViewName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Model", - "Parameters": [], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewData", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ViewData", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TempData", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_TempData", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewEngine", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ViewEngine", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ContentType", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ContentType", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.RemoteAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.ComponentModel.DataAnnotations.ValidationAttribute", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IClientModelValidator" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_HttpMethod", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_HttpMethod", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AdditionalFields", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AdditionalFields", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RouteData", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.RouteValueDictionary", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RouteName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RouteName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FormatAdditionalFieldsForClientValidation", - "Parameters": [ - { - "Name": "property", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FormatPropertyForClientValidation", - "Parameters": [ - { - "Name": "property", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetUrl", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientModelValidationContext" - } - ], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FormatErrorMessage", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsValid", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddValidation", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientModelValidationContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IClientModelValidator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "action", - "Type": "System.String" - }, - { - "Name": "controller", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "action", - "Type": "System.String" - }, - { - "Name": "controller", - "Type": "System.String" - }, - { - "Name": "areaName", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.SkipStatusCodePagesAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IResourceFilter" - ], - "Members": [ - { - "Kind": "Method", - "Name": "OnResourceExecuted", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.ResourceExecutedContext" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IResourceFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnResourceExecuting", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Filters.ResourceExecutingContext" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IResourceFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.TempDataAttribute", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "BaseType": "System.Attribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Key", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Key", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ValidateAntiForgeryTokenAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IFilterFactory", - "Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Order", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsReusable", - "Parameters": [], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IFilterFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateInstance", - "Parameters": [ - { - "Name": "serviceProvider", - "Type": "System.IServiceProvider" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IFilterFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewComponent", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_HttpContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HttpContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Request", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HttpRequest", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_User", - "Parameters": [], - "ReturnType": "System.Security.Principal.IPrincipal", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UserClaimsPrincipal", - "Parameters": [], - "ReturnType": "System.Security.Claims.ClaimsPrincipal", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RouteData", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Routing.RouteData", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewBag", - "Parameters": [], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ModelState", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Url", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.IUrlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Url", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.IUrlHelper" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewComponentContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ViewComponentContext", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewData", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TempData", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewEngine", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ViewEngine", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Content", - "Parameters": [ - { - "Name": "content", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewComponents.ContentViewComponentResult", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "View", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewComponents.ViewViewComponentResult", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "View", - "Parameters": [ - { - "Name": "viewName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewComponents.ViewViewComponentResult", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "View", - "Parameters": [ - { - "Name": "model", - "Type": "T0" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewComponents.ViewViewComponentResult", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "View", - "Parameters": [ - { - "Name": "viewName", - "Type": "System.String" - }, - { - "Name": "model", - "Type": "T0" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewComponents.ViewViewComponentResult", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewComponentAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "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": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewComponentResult", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ActionResult", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ExecuteResultAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.IActionResult", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Arguments", - "Parameters": [], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Arguments", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_StatusCode", - "Parameters": [], - "ReturnType": "System.Nullable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_StatusCode", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewComponentName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ViewComponentName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewComponentType", - "Parameters": [], - "ReturnType": "System.Type", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ViewComponentType", - "Parameters": [ - { - "Name": "value", - "Type": "System.Type" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Model", - "Parameters": [], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewData", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ViewData", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TempData", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_TempData", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ContentType", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ContentType", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewDataAttribute", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "BaseType": "System.Attribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Key", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Key", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewResult", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ActionResult", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ExecuteResultAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.IActionResult", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_StatusCode", - "Parameters": [], - "ReturnType": "System.Nullable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_StatusCode", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ViewName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Model", - "Parameters": [], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewData", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ViewData", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TempData", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_TempData", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewEngine", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ViewEngine", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ContentType", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ContentType", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewEngines.CompositeViewEngine", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine" - ], - "Members": [ - { - "Kind": "Method", - "Name": "FindView", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "viewName", - "Type": "System.String" - }, - { - "Name": "isMainPage", - "Type": "System.Boolean" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewEngines.ViewEngineResult", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetView", - "Parameters": [ - { - "Name": "executingFilePath", - "Type": "System.String" - }, - { - "Name": "viewPath", - "Type": "System.String" - }, - { - "Name": "isMainPage", - "Type": "System.Boolean" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewEngines.ViewEngineResult", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewEngines", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "optionsAccessor", - "Type": "Microsoft.Extensions.Options.IOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_ViewEngines", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewEngines.IView", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Path", - "Parameters": [], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RenderAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "FindView", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "viewName", - "Type": "System.String" - }, - { - "Name": "isMainPage", - "Type": "System.Boolean" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewEngines.ViewEngineResult", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetView", - "Parameters": [ - { - "Name": "executingFilePath", - "Type": "System.String" - }, - { - "Name": "viewPath", - "Type": "System.String" - }, - { - "Name": "isMainPage", - "Type": "System.Boolean" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewEngines.ViewEngineResult", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewEngines.ViewEngineResult", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_SearchedLocations", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_View", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewEngines.IView", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Success", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "NotFound", - "Parameters": [ - { - "Name": "viewName", - "Type": "System.String" - }, - { - "Name": "searchedLocations", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewEngines.ViewEngineResult", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Found", - "Parameters": [ - { - "Name": "viewName", - "Type": "System.String" - }, - { - "Name": "view", - "Type": "Microsoft.AspNetCore.Mvc.ViewEngines.IView" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewEngines.ViewEngineResult", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "EnsureSuccessful", - "Parameters": [ - { - "Name": "originalLocations", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewEngines.ViewEngineResult", - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewComponents.ContentViewComponentResult", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.IViewComponentResult" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Content", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Execute", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.IViewComponentResult", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ExecuteAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.IViewComponentResult", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "content", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentActivator", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentActivator" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Create", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext" - } - ], - "ReturnType": "System.Object", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentActivator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Release", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext" - }, - { - "Name": "viewComponent", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentActivator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "typeActivatorCache", - "Type": "Microsoft.AspNetCore.Mvc.Internal.ITypeActivatorCache" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentDescriptorCollectionProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentDescriptorCollectionProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_ViewComponents", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentDescriptorCollection", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentDescriptorCollectionProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "descriptorProvider", - "Type": "Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentDescriptorProvider" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentDescriptorProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentDescriptorProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetViewComponents", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentDescriptorProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetCandidateTypes", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "partManager", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentFactory", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentFactory" - ], - "Members": [ - { - "Kind": "Method", - "Name": "CreateViewComponent", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext" - } - ], - "ReturnType": "System.Object", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ReleaseViewComponent", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext" - }, - { - "Name": "component", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "activator", - "Type": "Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentActivator" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentHelper", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.IViewComponentHelper", - "Microsoft.AspNetCore.Mvc.ViewFeatures.IViewContextAware" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Contextualize", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewFeatures.IViewContextAware", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "InvokeAsync", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "arguments", - "Type": "System.Object" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.IViewComponentHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "InvokeAsync", - "Parameters": [ - { - "Name": "componentType", - "Type": "System.Type" - }, - { - "Name": "arguments", - "Type": "System.Object" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.IViewComponentHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "descriptorProvider", - "Type": "Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentDescriptorCollectionProvider" - }, - { - "Name": "htmlEncoder", - "Type": "System.Text.Encodings.Web.HtmlEncoder" - }, - { - "Name": "selector", - "Type": "Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentSelector" - }, - { - "Name": "invokerFactory", - "Type": "Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentInvokerFactory" - }, - { - "Name": "viewBufferScope", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.IViewBufferScope" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentInvoker", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentInvoker" - ], - "Members": [ - { - "Kind": "Method", - "Name": "InvokeAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentInvoker", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "viewComponentFactory", - "Type": "Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentFactory" - }, - { - "Name": "viewComponentInvokerCache", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ViewComponentInvokerCache" - }, - { - "Name": "diagnosticSource", - "Type": "System.Diagnostics.DiagnosticSource" - }, - { - "Name": "logger", - "Type": "Microsoft.Extensions.Logging.ILogger" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentInvokerFactory", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentInvokerFactory" - ], - "Members": [ - { - "Kind": "Method", - "Name": "CreateInstance", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentInvoker", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentInvokerFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "viewComponentFactory", - "Type": "Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentFactory" - }, - { - "Name": "viewComponentInvokerCache", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ViewComponentInvokerCache" - }, - { - "Name": "diagnosticSource", - "Type": "System.Diagnostics.DiagnosticSource" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentSelector", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentSelector" - ], - "Members": [ - { - "Kind": "Method", - "Name": "SelectComponent", - "Parameters": [ - { - "Name": "componentName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentDescriptor", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentSelector", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "descriptorProvider", - "Type": "Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentDescriptorCollectionProvider" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewComponents.HtmlContentViewComponentResult", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.IViewComponentResult" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_EncodedContent", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Execute", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.IViewComponentResult", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ExecuteAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.IViewComponentResult", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "encodedContent", - "Type": "Microsoft.AspNetCore.Html.IHtmlContent" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentActivator", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Create", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext" - } - ], - "ReturnType": "System.Object", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Release", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext" - }, - { - "Name": "viewComponent", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentDescriptorCollectionProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ViewComponents", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentDescriptorCollection", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentDescriptorProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetViewComponents", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentFactory", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "CreateViewComponent", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext" - } - ], - "ReturnType": "System.Object", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ReleaseViewComponent", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext" - }, - { - "Name": "component", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentInvoker", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "InvokeAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentInvokerFactory", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "CreateInstance", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentInvoker", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentSelector", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "SelectComponent", - "Parameters": [ - { - "Name": "componentName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentDescriptor", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewComponents.ServiceBasedViewComponentActivator", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentActivator" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Create", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext" - } - ], - "ReturnType": "System.Object", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentActivator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Release", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext" - }, - { - "Name": "viewComponent", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentActivator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Arguments", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Arguments", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IDictionary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HtmlEncoder", - "Parameters": [], - "ReturnType": "System.Text.Encodings.Web.HtmlEncoder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_HtmlEncoder", - "Parameters": [ - { - "Name": "value", - "Type": "System.Text.Encodings.Web.HtmlEncoder" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewComponentDescriptor", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentDescriptor", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ViewComponentDescriptor", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentDescriptor" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ViewContext", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewData", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TempData", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Writer", - "Parameters": [], - "ReturnType": "System.IO.TextWriter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "viewComponentDescriptor", - "Type": "Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentDescriptor" - }, - { - "Name": "arguments", - "Type": "System.Collections.Generic.IDictionary" - }, - { - "Name": "htmlEncoder", - "Type": "System.Text.Encodings.Web.HtmlEncoder" - }, - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "writer", - "Type": "System.IO.TextWriter" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContextAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentConventions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetComponentName", - "Parameters": [ - { - "Name": "componentType", - "Type": "System.Reflection.TypeInfo" - } - ], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetComponentFullName", - "Parameters": [ - { - "Name": "componentType", - "Type": "System.Reflection.TypeInfo" - } - ], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsComponent", - "Parameters": [ - { - "Name": "typeInfo", - "Type": "System.Reflection.TypeInfo" - } - ], - "ReturnType": "System.Boolean", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "ViewComponentSuffix", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentDescriptor", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "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_FullName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_FullName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Id", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Id", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ShortName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ShortName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TypeInfo", - "Parameters": [], - "ReturnType": "System.Reflection.TypeInfo", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_TypeInfo", - "Parameters": [ - { - "Name": "value", - "Type": "System.Reflection.TypeInfo" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MethodInfo", - "Parameters": [], - "ReturnType": "System.Reflection.MethodInfo", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MethodInfo", - "Parameters": [ - { - "Name": "value", - "Type": "System.Reflection.MethodInfo" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Parameters", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Parameters", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IReadOnlyList" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentDescriptorCollection", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Items", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Version", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "items", - "Type": "System.Collections.Generic.IEnumerable" - }, - { - "Name": "version", - "Type": "System.Int32" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentFeature", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ViewComponents", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentFeatureProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationFeatureProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "PopulateFeature", - "Parameters": [ - { - "Name": "parts", - "Type": "System.Collections.Generic.IEnumerable" - }, - { - "Name": "feature", - "Type": "Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentFeature" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationFeatureProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewComponents.ViewViewComponentResult", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.IViewComponentResult" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_ViewName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ViewName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewData", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ViewData", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TempData", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_TempData", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewEngine", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ViewEngine", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Execute", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.IViewComponentResult", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ExecuteAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.IViewComponentResult", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Rendering.FormMethod", - "Visibility": "Public", - "Kind": "Enumeration", - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "Get", - "Parameters": [], - "GenericParameter": [], - "Literal": "0" - }, - { - "Kind": "Field", - "Name": "Post", - "Parameters": [], - "GenericParameter": [], - "Literal": "1" - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Rendering.Html5DateRenderingMode", - "Visibility": "Public", - "Kind": "Enumeration", - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "Rfc3339", - "Parameters": [], - "GenericParameter": [], - "Literal": "0" - }, - { - "Kind": "Field", - "Name": "CurrentCulture", - "Parameters": [], - "GenericParameter": [], - "Literal": "1" - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperDisplayExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Display", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Display", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "additionalViewData", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Display", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "templateName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Display", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "templateName", - "Type": "System.String" - }, - { - "Name": "additionalViewData", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Display", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "templateName", - "Type": "System.String" - }, - { - "Name": "htmlFieldName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DisplayFor", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TResult", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "DisplayFor", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "additionalViewData", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TResult", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "DisplayFor", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "templateName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TResult", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "DisplayFor", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "templateName", - "Type": "System.String" - }, - { - "Name": "additionalViewData", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TResult", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "DisplayFor", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "templateName", - "Type": "System.String" - }, - { - "Name": "htmlFieldName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TResult", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "DisplayForModel", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DisplayForModel", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "additionalViewData", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DisplayForModel", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "templateName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DisplayForModel", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "templateName", - "Type": "System.String" - }, - { - "Name": "additionalViewData", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DisplayForModel", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "templateName", - "Type": "System.String" - }, - { - "Name": "htmlFieldName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DisplayForModel", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "templateName", - "Type": "System.String" - }, - { - "Name": "htmlFieldName", - "Type": "System.String" - }, - { - "Name": "additionalViewData", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperDisplayNameExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "DisplayNameForModel", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - } - ], - "ReturnType": "System.String", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DisplayNameFor", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper>" - }, - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - } - ], - "ReturnType": "System.String", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModelItem", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TResult", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - } - ] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperEditorExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Editor", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Editor", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "additionalViewData", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Editor", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "templateName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Editor", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "templateName", - "Type": "System.String" - }, - { - "Name": "additionalViewData", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Editor", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "templateName", - "Type": "System.String" - }, - { - "Name": "htmlFieldName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "EditorFor", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TResult", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "EditorFor", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "additionalViewData", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TResult", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "EditorFor", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "templateName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TResult", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "EditorFor", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "templateName", - "Type": "System.String" - }, - { - "Name": "additionalViewData", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TResult", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "EditorFor", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "templateName", - "Type": "System.String" - }, - { - "Name": "htmlFieldName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TResult", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "EditorForModel", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "EditorForModel", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "additionalViewData", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "EditorForModel", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "templateName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "EditorForModel", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "templateName", - "Type": "System.String" - }, - { - "Name": "additionalViewData", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "EditorForModel", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "templateName", - "Type": "System.String" - }, - { - "Name": "htmlFieldName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "EditorForModel", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "templateName", - "Type": "System.String" - }, - { - "Name": "htmlFieldName", - "Type": "System.String" - }, - { - "Name": "additionalViewData", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperFormExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "BeginForm", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.MvcForm", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BeginForm", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "antiforgery", - "Type": "System.Nullable" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.MvcForm", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BeginForm", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "method", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.FormMethod" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.MvcForm", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BeginForm", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "method", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.FormMethod" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.MvcForm", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BeginForm", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "method", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.FormMethod" - }, - { - "Name": "antiforgery", - "Type": "System.Nullable" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.MvcForm", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BeginForm", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.MvcForm", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BeginForm", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.MvcForm", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BeginForm", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.MvcForm", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BeginForm", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - }, - { - "Name": "method", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.FormMethod" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.MvcForm", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BeginForm", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "method", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.FormMethod" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.MvcForm", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BeginForm", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - }, - { - "Name": "method", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.FormMethod" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.MvcForm", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BeginRouteForm", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.MvcForm", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BeginRouteForm", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "antiforgery", - "Type": "System.Nullable" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.MvcForm", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BeginRouteForm", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "routeName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.MvcForm", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BeginRouteForm", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "antiforgery", - "Type": "System.Nullable" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.MvcForm", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BeginRouteForm", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.MvcForm", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BeginRouteForm", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "method", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.FormMethod" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.MvcForm", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BeginRouteForm", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "method", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.FormMethod" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.MvcForm", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BeginRouteForm", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "method", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.FormMethod" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.MvcForm", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperInputExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "CheckBox", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CheckBox", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "isChecked", - "Type": "System.Boolean" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CheckBox", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CheckBoxFor", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "Hidden", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Hidden", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HiddenFor", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TResult", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "Password", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Password", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PasswordFor", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TResult", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "RadioButton", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RadioButton", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RadioButton", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "isChecked", - "Type": "System.Boolean" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RadioButtonFor", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TResult", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "TextBox", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TextBox", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TextBox", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "format", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TextBox", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TextBoxFor", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TResult", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "TextBoxFor", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "format", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TResult", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "TextBoxFor", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TResult", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "TextArea", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TextArea", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TextArea", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TextArea", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TextAreaFor", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TResult", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "TextAreaFor", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TResult", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - } - ] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperLabelExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Label", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Label", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "labelText", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "LabelFor", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TResult", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "LabelFor", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "labelText", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TResult", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "LabelFor", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TResult", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "LabelForModel", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "LabelForModel", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "labelText", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "LabelForModel", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "LabelForModel", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "labelText", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperLinkExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ActionLink", - "Parameters": [ - { - "Name": "helper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "linkText", - "Type": "System.String" - }, - { - "Name": "actionName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ActionLink", - "Parameters": [ - { - "Name": "helper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "linkText", - "Type": "System.String" - }, - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ActionLink", - "Parameters": [ - { - "Name": "helper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "linkText", - "Type": "System.String" - }, - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ActionLink", - "Parameters": [ - { - "Name": "helper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "linkText", - "Type": "System.String" - }, - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ActionLink", - "Parameters": [ - { - "Name": "helper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "linkText", - "Type": "System.String" - }, - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ActionLink", - "Parameters": [ - { - "Name": "helper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "linkText", - "Type": "System.String" - }, - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RouteLink", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "linkText", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RouteLink", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "linkText", - "Type": "System.String" - }, - { - "Name": "routeName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RouteLink", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "linkText", - "Type": "System.String" - }, - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RouteLink", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "linkText", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RouteLink", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "linkText", - "Type": "System.String" - }, - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperNameExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "NameForModel", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - } - ], - "ReturnType": "System.String", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IdForModel", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - } - ], - "ReturnType": "System.String", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperPartialExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "PartialAsync", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "partialViewName", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PartialAsync", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "partialViewName", - "Type": "System.String" - }, - { - "Name": "viewData", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PartialAsync", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "partialViewName", - "Type": "System.String" - }, - { - "Name": "model", - "Type": "System.Object" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Partial", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "partialViewName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Partial", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "partialViewName", - "Type": "System.String" - }, - { - "Name": "viewData", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Partial", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "partialViewName", - "Type": "System.String" - }, - { - "Name": "model", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Partial", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "partialViewName", - "Type": "System.String" - }, - { - "Name": "model", - "Type": "System.Object" - }, - { - "Name": "viewData", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RenderPartial", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "partialViewName", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RenderPartial", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "partialViewName", - "Type": "System.String" - }, - { - "Name": "viewData", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RenderPartial", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "partialViewName", - "Type": "System.String" - }, - { - "Name": "model", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RenderPartial", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "partialViewName", - "Type": "System.String" - }, - { - "Name": "model", - "Type": "System.Object" - }, - { - "Name": "viewData", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RenderPartialAsync", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "partialViewName", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RenderPartialAsync", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "partialViewName", - "Type": "System.String" - }, - { - "Name": "viewData", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RenderPartialAsync", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "partialViewName", - "Type": "System.String" - }, - { - "Name": "model", - "Type": "System.Object" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperSelectExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "DropDownList", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DropDownList", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "optionLabel", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DropDownList", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "selectList", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DropDownList", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "selectList", - "Type": "System.Collections.Generic.IEnumerable" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DropDownList", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "selectList", - "Type": "System.Collections.Generic.IEnumerable" - }, - { - "Name": "optionLabel", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DropDownListFor", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "selectList", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TResult", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "DropDownListFor", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "selectList", - "Type": "System.Collections.Generic.IEnumerable" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TResult", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "DropDownListFor", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "selectList", - "Type": "System.Collections.Generic.IEnumerable" - }, - { - "Name": "optionLabel", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TResult", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "ListBox", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ListBox", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "selectList", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ListBoxFor", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "selectList", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TResult", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - } - ] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperValidationExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ValidationMessage", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ValidationMessage", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "message", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ValidationMessage", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ValidationMessage", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "message", - "Type": "System.String" - }, - { - "Name": "tag", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ValidationMessage", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "message", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ValidationMessageFor", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TResult", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "ValidationMessageFor", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "message", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TResult", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "ValidationMessageFor", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "message", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TResult", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "ValidationMessageFor", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "message", - "Type": "System.String" - }, - { - "Name": "tag", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TResult", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "ValidationSummary", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ValidationSummary", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "excludePropertyErrors", - "Type": "System.Boolean" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ValidationSummary", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "message", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ValidationSummary", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "message", - "Type": "System.String" - }, - { - "Name": "tag", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ValidationSummary", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "excludePropertyErrors", - "Type": "System.Boolean" - }, - { - "Name": "message", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ValidationSummary", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "message", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ValidationSummary", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "message", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - }, - { - "Name": "tag", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ValidationSummary", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "excludePropertyErrors", - "Type": "System.Boolean" - }, - { - "Name": "message", - "Type": "System.String" - }, - { - "Name": "tag", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ValidationSummary", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "excludePropertyErrors", - "Type": "System.Boolean" - }, - { - "Name": "message", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperValueExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Value", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ValueFor", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - } - ], - "ReturnType": "System.String", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TResult", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "ValueForModel", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - } - ], - "ReturnType": "System.String", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ValueForModel", - "Parameters": [ - { - "Name": "htmlHelper", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - }, - { - "Name": "format", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Html5DateRenderingMode", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.Html5DateRenderingMode", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Html5DateRenderingMode", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.Html5DateRenderingMode" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IdAttributeDotReplacement", - "Parameters": [], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MetadataProvider", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewBag", - "Parameters": [], - "ReturnType": "System.Object", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewData", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TempData", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UrlEncoder", - "Parameters": [], - "ReturnType": "System.Text.Encodings.Web.UrlEncoder", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ActionLink", - "Parameters": [ - { - "Name": "linkText", - "Type": "System.String" - }, - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - }, - { - "Name": "protocol", - "Type": "System.String" - }, - { - "Name": "hostname", - "Type": "System.String" - }, - { - "Name": "fragment", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AntiForgeryToken", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BeginForm", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "method", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.FormMethod" - }, - { - "Name": "antiforgery", - "Type": "System.Nullable" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.MvcForm", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BeginRouteForm", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "method", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.FormMethod" - }, - { - "Name": "antiforgery", - "Type": "System.Nullable" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.MvcForm", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CheckBox", - "Parameters": [ - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "isChecked", - "Type": "System.Nullable" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Display", - "Parameters": [ - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "templateName", - "Type": "System.String" - }, - { - "Name": "htmlFieldName", - "Type": "System.String" - }, - { - "Name": "additionalViewData", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DisplayName", - "Parameters": [ - { - "Name": "expression", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DisplayText", - "Parameters": [ - { - "Name": "expression", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DropDownList", - "Parameters": [ - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "selectList", - "Type": "System.Collections.Generic.IEnumerable" - }, - { - "Name": "optionLabel", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Editor", - "Parameters": [ - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "templateName", - "Type": "System.String" - }, - { - "Name": "htmlFieldName", - "Type": "System.String" - }, - { - "Name": "additionalViewData", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Encode", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Encode", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "EndForm", - "Parameters": [], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FormatValue", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "format", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateIdFromName", - "Parameters": [ - { - "Name": "fullName", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetEnumSelectList", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable", - "GenericParameter": [ - { - "ParameterName": "TEnum", - "ParameterPosition": 0, - "New": true, - "Struct": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "GetEnumSelectList", - "Parameters": [ - { - "Name": "enumType", - "Type": "System.Type" - } - ], - "ReturnType": "System.Collections.Generic.IEnumerable", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Hidden", - "Parameters": [ - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Id", - "Parameters": [ - { - "Name": "expression", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Label", - "Parameters": [ - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "labelText", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ListBox", - "Parameters": [ - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "selectList", - "Type": "System.Collections.Generic.IEnumerable" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Name", - "Parameters": [ - { - "Name": "expression", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PartialAsync", - "Parameters": [ - { - "Name": "partialViewName", - "Type": "System.String" - }, - { - "Name": "model", - "Type": "System.Object" - }, - { - "Name": "viewData", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Password", - "Parameters": [ - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RadioButton", - "Parameters": [ - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "isChecked", - "Type": "System.Nullable" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Raw", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Raw", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RenderPartialAsync", - "Parameters": [ - { - "Name": "partialViewName", - "Type": "System.String" - }, - { - "Name": "model", - "Type": "System.Object" - }, - { - "Name": "viewData", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RouteLink", - "Parameters": [ - { - "Name": "linkText", - "Type": "System.String" - }, - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "protocol", - "Type": "System.String" - }, - { - "Name": "hostName", - "Type": "System.String" - }, - { - "Name": "fragment", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TextArea", - "Parameters": [ - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.String" - }, - { - "Name": "rows", - "Type": "System.Int32" - }, - { - "Name": "columns", - "Type": "System.Int32" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TextBox", - "Parameters": [ - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "format", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ValidationMessage", - "Parameters": [ - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "message", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - }, - { - "Name": "tag", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ValidationSummary", - "Parameters": [ - { - "Name": "excludePropertyErrors", - "Type": "System.Boolean" - }, - { - "Name": "message", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - }, - { - "Name": "tag", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Value", - "Parameters": [ - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "format", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_ViewData", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CheckBoxFor", - "Parameters": [ - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DisplayFor", - "Parameters": [ - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "templateName", - "Type": "System.String" - }, - { - "Name": "htmlFieldName", - "Type": "System.String" - }, - { - "Name": "additionalViewData", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "DisplayNameFor", - "Parameters": [ - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - } - ], - "ReturnType": "System.String", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "DisplayNameForInnerType", - "Parameters": [ - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - } - ], - "ReturnType": "System.String", - "GenericParameter": [ - { - "ParameterName": "TModelItem", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TResult", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "DisplayTextFor", - "Parameters": [ - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - } - ], - "ReturnType": "System.String", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "DropDownListFor", - "Parameters": [ - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "selectList", - "Type": "System.Collections.Generic.IEnumerable" - }, - { - "Name": "optionLabel", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "EditorFor", - "Parameters": [ - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "templateName", - "Type": "System.String" - }, - { - "Name": "htmlFieldName", - "Type": "System.String" - }, - { - "Name": "additionalViewData", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "Encode", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Encode", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HiddenFor", - "Parameters": [ - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "IdFor", - "Parameters": [ - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - } - ], - "ReturnType": "System.String", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "LabelFor", - "Parameters": [ - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "labelText", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "ListBoxFor", - "Parameters": [ - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "selectList", - "Type": "System.Collections.Generic.IEnumerable" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "NameFor", - "Parameters": [ - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - } - ], - "ReturnType": "System.String", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "PasswordFor", - "Parameters": [ - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "RadioButtonFor", - "Parameters": [ - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "Raw", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Raw", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TextAreaFor", - "Parameters": [ - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "rows", - "Type": "System.Int32" - }, - { - "Name": "columns", - "Type": "System.Int32" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "TextBoxFor", - "Parameters": [ - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "format", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "ValidationMessageFor", - "Parameters": [ - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "message", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - }, - { - "Name": "tag", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "ValueFor", - "Parameters": [ - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "format", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - } - ], - "GenericParameters": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Serialize", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Serialize", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "serializerSettings", - "Type": "Newtonsoft.Json.JsonSerializerSettings" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Rendering.MultiSelectList", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "System.Collections.Generic.IEnumerable" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_DataGroupField", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_DataTextField", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_DataValueField", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Items", - "Parameters": [], - "ReturnType": "System.Collections.IEnumerable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SelectedValues", - "Parameters": [], - "ReturnType": "System.Collections.IEnumerable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetEnumerator", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerator", - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IEnumerable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "items", - "Type": "System.Collections.IEnumerable" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "items", - "Type": "System.Collections.IEnumerable" - }, - { - "Name": "selectedValues", - "Type": "System.Collections.IEnumerable" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "items", - "Type": "System.Collections.IEnumerable" - }, - { - "Name": "dataValueField", - "Type": "System.String" - }, - { - "Name": "dataTextField", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "items", - "Type": "System.Collections.IEnumerable" - }, - { - "Name": "dataValueField", - "Type": "System.String" - }, - { - "Name": "dataTextField", - "Type": "System.String" - }, - { - "Name": "selectedValues", - "Type": "System.Collections.IEnumerable" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "items", - "Type": "System.Collections.IEnumerable" - }, - { - "Name": "dataValueField", - "Type": "System.String" - }, - { - "Name": "dataTextField", - "Type": "System.String" - }, - { - "Name": "selectedValues", - "Type": "System.Collections.IEnumerable" - }, - { - "Name": "dataGroupField", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Rendering.MvcForm", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "System.IDisposable" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Dispose", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.IDisposable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "EndForm", - "Parameters": [], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateEndForm", - "Parameters": [], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "htmlEncoder", - "Type": "System.Text.Encodings.Web.HtmlEncoder" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Rendering.SelectList", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.Rendering.MultiSelectList", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_SelectedValue", - "Parameters": [], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "items", - "Type": "System.Collections.IEnumerable" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "items", - "Type": "System.Collections.IEnumerable" - }, - { - "Name": "selectedValue", - "Type": "System.Object" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "items", - "Type": "System.Collections.IEnumerable" - }, - { - "Name": "dataValueField", - "Type": "System.String" - }, - { - "Name": "dataTextField", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "items", - "Type": "System.Collections.IEnumerable" - }, - { - "Name": "dataValueField", - "Type": "System.String" - }, - { - "Name": "dataTextField", - "Type": "System.String" - }, - { - "Name": "selectedValue", - "Type": "System.Object" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "items", - "Type": "System.Collections.IEnumerable" - }, - { - "Name": "dataValueField", - "Type": "System.String" - }, - { - "Name": "dataTextField", - "Type": "System.String" - }, - { - "Name": "selectedValue", - "Type": "System.Object" - }, - { - "Name": "dataGroupField", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Rendering.SelectListGroup", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Disabled", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Disabled", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "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": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Rendering.SelectListItem", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Disabled", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Disabled", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Group", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.SelectListGroup", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Group", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.SelectListGroup" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Selected", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Selected", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Text", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Text", - "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": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "text", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "text", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.String" - }, - { - "Name": "selected", - "Type": "System.Boolean" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "text", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.String" - }, - { - "Name": "selected", - "Type": "System.Boolean" - }, - { - "Name": "disabled", - "Type": "System.Boolean" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Html.IHtmlContent" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Attributes", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.AttributeDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_InnerHtml", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContentBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HasInnerHtml", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TagName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TagRenderMode", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.TagRenderMode", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_TagRenderMode", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.TagRenderMode" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddCssClass", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateSanitizedId", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "invalidCharReplacement", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateId", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "invalidCharReplacement", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MergeAttribute", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MergeAttribute", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.String" - }, - { - "Name": "replaceExisting", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MergeAttributes", - "Parameters": [ - { - "Name": "attributes", - "Type": "System.Collections.Generic.IDictionary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TKey", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TValue", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "MergeAttributes", - "Parameters": [ - { - "Name": "attributes", - "Type": "System.Collections.Generic.IDictionary" - }, - { - "Name": "replaceExisting", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TKey", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TValue", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "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": "RenderBody", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RenderStartTag", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RenderEndTag", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RenderSelfClosingTag", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "tagName", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Rendering.TagRenderMode", - "Visibility": "Public", - "Kind": "Enumeration", - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "Normal", - "Parameters": [], - "GenericParameter": [], - "Literal": "0" - }, - { - "Kind": "Field", - "Name": "StartTag", - "Parameters": [], - "GenericParameter": [], - "Literal": "1" - }, - { - "Kind": "Field", - "Name": "EndTag", - "Parameters": [], - "GenericParameter": [], - "Literal": "2" - }, - { - "Kind": "Field", - "Name": "SelfClosing", - "Parameters": [], - "GenericParameter": [], - "Literal": "3" - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Rendering.ViewComponentHelperExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "InvokeAsync", - "Parameters": [ - { - "Name": "helper", - "Type": "Microsoft.AspNetCore.Mvc.IViewComponentHelper" - }, - { - "Name": "name", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "InvokeAsync", - "Parameters": [ - { - "Name": "helper", - "Type": "Microsoft.AspNetCore.Mvc.IViewComponentHelper" - }, - { - "Name": "componentType", - "Type": "System.Type" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "InvokeAsync", - "Parameters": [ - { - "Name": "helper", - "Type": "Microsoft.AspNetCore.Mvc.IViewComponentHelper" - }, - { - "Name": "arguments", - "Type": "System.Object" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TComponent", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "InvokeAsync", - "Parameters": [ - { - "Name": "helper", - "Type": "Microsoft.AspNetCore.Mvc.IViewComponentHelper" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TComponent", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ActionContext", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_FormContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.FormContext", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_FormContext", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.FormContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ClientValidationEnabled", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ClientValidationEnabled", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Html5DateRenderingMode", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.Html5DateRenderingMode", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Html5DateRenderingMode", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.Html5DateRenderingMode" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ValidationSummaryMessageElement", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ValidationSummaryMessageElement", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ValidationMessageElement", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ValidationMessageElement", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewBag", - "Parameters": [], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_View", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewEngines.IView", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_View", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ViewEngines.IView" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewData", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ViewData", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TempData", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_TempData", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Writer", - "Parameters": [], - "ReturnType": "System.IO.TextWriter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Writer", - "Parameters": [ - { - "Name": "value", - "Type": "System.IO.TextWriter" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ExecutingFilePath", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ExecutingFilePath", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetFormContextForClientValidation", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.FormContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "actionContext", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "view", - "Type": "Microsoft.AspNetCore.Mvc.ViewEngines.IView" - }, - { - "Name": "viewData", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary" - }, - { - "Name": "tempData", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary" - }, - { - "Name": "writer", - "Type": "System.IO.TextWriter" - }, - { - "Name": "htmlHelperOptions", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelperOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "view", - "Type": "Microsoft.AspNetCore.Mvc.ViewEngines.IView" - }, - { - "Name": "viewData", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary" - }, - { - "Name": "writer", - "Type": "System.IO.TextWriter" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionaryExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddModelError", - "Parameters": [ - { - "Name": "modelState", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary" - }, - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "errorMessage", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "TryAddModelException", - "Parameters": [ - { - "Name": "modelState", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary" - }, - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "exception", - "Type": "System.Exception" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "AddModelError", - "Parameters": [ - { - "Name": "modelState", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary" - }, - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "exception", - "Type": "System.Exception" - }, - { - "Name": "metadata", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "Remove", - "Parameters": [ - { - "Name": "modelState", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary" - }, - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - } - ], - "ReturnType": "System.Boolean", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "RemoveAll", - "Parameters": [ - { - "Name": "modelState", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary" - }, - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.IViewContextAware", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Contextualize", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.AntiforgeryExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetHtml", - "Parameters": [ - { - "Name": "antiforgery", - "Type": "Microsoft.AspNetCore.Antiforgery.IAntiforgery" - }, - { - "Name": "httpContext", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.AttributeDictionary", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "System.Collections.Generic.IDictionary", - "System.Collections.Generic.IReadOnlyDictionary" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Count", - "Parameters": [], - "ReturnType": "System.Int32", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.ICollection>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsReadOnly", - "Parameters": [], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.ICollection>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Add", - "Parameters": [ - { - "Name": "item", - "Type": "System.Collections.Generic.KeyValuePair" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.ICollection>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Clear", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.ICollection>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Contains", - "Parameters": [ - { - "Name": "item", - "Type": "System.Collections.Generic.KeyValuePair" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.ICollection>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CopyTo", - "Parameters": [ - { - "Name": "array", - "Type": "System.Collections.Generic.KeyValuePair[]" - }, - { - "Name": "arrayIndex", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.ICollection>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Remove", - "Parameters": [ - { - "Name": "item", - "Type": "System.Collections.Generic.KeyValuePair" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.ICollection>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Item", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Item", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Keys", - "Parameters": [], - "ReturnType": "System.Collections.Generic.ICollection", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Values", - "Parameters": [], - "ReturnType": "System.Collections.Generic.ICollection", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Add", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ContainsKey", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetEnumerator", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.AttributeDictionary+Enumerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Remove", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TryGetValue", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.String", - "Direction": "Out" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.CookieTempDataProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "LoadTempData", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - } - ], - "ReturnType": "System.Collections.Generic.IDictionary", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SaveTempData", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "values", - "Type": "System.Collections.Generic.IDictionary" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "dataProtectionProvider", - "Type": "Microsoft.AspNetCore.DataProtection.IDataProtectionProvider" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - }, - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "CookieName", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.DefaultHtmlGenerator", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_IdAttributeDotReplacement", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Encode", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Encode", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FormatValue", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "format", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateActionLink", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "linkText", - "Type": "System.String" - }, - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - }, - { - "Name": "protocol", - "Type": "System.String" - }, - { - "Name": "hostname", - "Type": "System.String" - }, - { - "Name": "fragment", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GeneratePageLink", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "linkText", - "Type": "System.String" - }, - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "pageHandler", - "Type": "System.String" - }, - { - "Name": "protocol", - "Type": "System.String" - }, - { - "Name": "hostname", - "Type": "System.String" - }, - { - "Name": "fragment", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateAntiforgery", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateCheckBox", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "modelExplorer", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "isChecked", - "Type": "System.Nullable" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateHiddenForCheckbox", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "modelExplorer", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - }, - { - "Name": "expression", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateForm", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "method", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GeneratePageForm", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "pageHandler", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "fragment", - "Type": "System.String" - }, - { - "Name": "method", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateRouteForm", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "method", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateHidden", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "modelExplorer", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "useViewData", - "Type": "System.Boolean" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateLabel", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "modelExplorer", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "labelText", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GeneratePassword", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "modelExplorer", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateRadioButton", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "modelExplorer", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "isChecked", - "Type": "System.Nullable" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateRouteLink", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "linkText", - "Type": "System.String" - }, - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "protocol", - "Type": "System.String" - }, - { - "Name": "hostName", - "Type": "System.String" - }, - { - "Name": "fragment", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateSelect", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "modelExplorer", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - }, - { - "Name": "optionLabel", - "Type": "System.String" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "selectList", - "Type": "System.Collections.Generic.IEnumerable" - }, - { - "Name": "allowMultiple", - "Type": "System.Boolean" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateSelect", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "modelExplorer", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - }, - { - "Name": "optionLabel", - "Type": "System.String" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "selectList", - "Type": "System.Collections.Generic.IEnumerable" - }, - { - "Name": "currentValues", - "Type": "System.Collections.Generic.ICollection" - }, - { - "Name": "allowMultiple", - "Type": "System.Boolean" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateTextArea", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "modelExplorer", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "rows", - "Type": "System.Int32" - }, - { - "Name": "columns", - "Type": "System.Int32" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateTextBox", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "modelExplorer", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "format", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateValidationMessage", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "modelExplorer", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "message", - "Type": "System.String" - }, - { - "Name": "tag", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateValidationSummary", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "excludePropertyErrors", - "Type": "System.Boolean" - }, - { - "Name": "message", - "Type": "System.String" - }, - { - "Name": "headerTag", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetCurrentValues", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "modelExplorer", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "allowMultiple", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Collections.Generic.ICollection", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateFormCore", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "action", - "Type": "System.String" - }, - { - "Name": "method", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateInput", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "inputType", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.InputType" - }, - { - "Name": "modelExplorer", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "useViewData", - "Type": "System.Boolean" - }, - { - "Name": "isChecked", - "Type": "System.Boolean" - }, - { - "Name": "setId", - "Type": "System.Boolean" - }, - { - "Name": "isExplicitValue", - "Type": "System.Boolean" - }, - { - "Name": "format", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Collections.Generic.IDictionary" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateLink", - "Parameters": [ - { - "Name": "linkText", - "Type": "System.String" - }, - { - "Name": "url", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddPlaceholderAttribute", - "Parameters": [ - { - "Name": "viewData", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary" - }, - { - "Name": "tagBuilder", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder" - }, - { - "Name": "modelExplorer", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - }, - { - "Name": "expression", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddValidationAttributes", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "tagBuilder", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder" - }, - { - "Name": "modelExplorer", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - }, - { - "Name": "expression", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateGroupsAndOptions", - "Parameters": [ - { - "Name": "optionLabel", - "Type": "System.String" - }, - { - "Name": "selectList", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "antiforgery", - "Type": "Microsoft.AspNetCore.Antiforgery.IAntiforgery" - }, - { - "Name": "optionsAccessor", - "Type": "Microsoft.Extensions.Options.IOptions" - }, - { - "Name": "metadataProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider" - }, - { - "Name": "urlHelperFactory", - "Type": "Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory" - }, - { - "Name": "htmlEncoder", - "Type": "System.Text.Encodings.Web.HtmlEncoder" - }, - { - "Name": "validationAttributeProvider", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ValidationHtmlAttributeProvider" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.DefaultHtmlGeneratorExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GenerateForm", - "Parameters": [ - { - "Name": "generator", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator" - }, - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - }, - { - "Name": "fragment", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "method", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateRouteForm", - "Parameters": [ - { - "Name": "generator", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator" - }, - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "fragment", - "Type": "System.String" - }, - { - "Name": "method", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.DefaultValidationHtmlAttributeProvider", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ValidationHtmlAttributeProvider", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddValidationAttributes", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "modelExplorer", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - }, - { - "Name": "attributes", - "Type": "System.Collections.Generic.IDictionary" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "optionsAccessor", - "Type": "Microsoft.Extensions.Options.IOptions" - }, - { - "Name": "metadataProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider" - }, - { - "Name": "clientValidatorCache", - "Type": "Microsoft.AspNetCore.Mvc.Internal.ClientValidatorCache" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.FormContext", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_FormData", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HasAntiforgeryToken", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_HasAntiforgeryToken", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HasFormData", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HasEndOfFormContent", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_EndOfFormContent", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_CanRenderAtEndOfForm", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_CanRenderAtEndOfForm", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RenderedField", - "Parameters": [ - { - "Name": "fieldName", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RenderedField", - "Parameters": [ - { - "Name": "fieldName", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Microsoft.AspNetCore.Mvc.ViewFeatures.IViewContextAware" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Html5DateRenderingMode", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.Html5DateRenderingMode", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Html5DateRenderingMode", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.Html5DateRenderingMode" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IdAttributeDotReplacement", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewBag", - "Parameters": [], - "ReturnType": "System.Object", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewData", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TempData", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UrlEncoder", - "Parameters": [], - "ReturnType": "System.Text.Encodings.Web.UrlEncoder", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MetadataProvider", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ObjectToDictionary", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Collections.Generic.IDictionary", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AnonymousObjectToHtmlAttributes", - "Parameters": [ - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "System.Collections.Generic.IDictionary", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Contextualize", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewFeatures.IViewContextAware", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ActionLink", - "Parameters": [ - { - "Name": "linkText", - "Type": "System.String" - }, - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - }, - { - "Name": "protocol", - "Type": "System.String" - }, - { - "Name": "hostname", - "Type": "System.String" - }, - { - "Name": "fragment", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AntiForgeryToken", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BeginForm", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "method", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.FormMethod" - }, - { - "Name": "antiforgery", - "Type": "System.Nullable" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.MvcForm", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BeginRouteForm", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "method", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.FormMethod" - }, - { - "Name": "antiforgery", - "Type": "System.Nullable" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.MvcForm", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "EndForm", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CheckBox", - "Parameters": [ - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "isChecked", - "Type": "System.Nullable" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Encode", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Encode", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FormatValue", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "format", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateIdFromName", - "Parameters": [ - { - "Name": "fullName", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Display", - "Parameters": [ - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "templateName", - "Type": "System.String" - }, - { - "Name": "htmlFieldName", - "Type": "System.String" - }, - { - "Name": "additionalViewData", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DisplayName", - "Parameters": [ - { - "Name": "expression", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DisplayText", - "Parameters": [ - { - "Name": "expression", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DropDownList", - "Parameters": [ - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "selectList", - "Type": "System.Collections.Generic.IEnumerable" - }, - { - "Name": "optionLabel", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Editor", - "Parameters": [ - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "templateName", - "Type": "System.String" - }, - { - "Name": "htmlFieldName", - "Type": "System.String" - }, - { - "Name": "additionalViewData", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetEnumSelectList", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TEnum", - "ParameterPosition": 0, - "New": true, - "Struct": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "GetEnumSelectList", - "Parameters": [ - { - "Name": "enumType", - "Type": "System.Type" - } - ], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Hidden", - "Parameters": [ - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Id", - "Parameters": [ - { - "Name": "expression", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Label", - "Parameters": [ - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "labelText", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ListBox", - "Parameters": [ - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "selectList", - "Type": "System.Collections.Generic.IEnumerable" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Name", - "Parameters": [ - { - "Name": "expression", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "PartialAsync", - "Parameters": [ - { - "Name": "partialViewName", - "Type": "System.String" - }, - { - "Name": "model", - "Type": "System.Object" - }, - { - "Name": "viewData", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RenderPartialAsync", - "Parameters": [ - { - "Name": "partialViewName", - "Type": "System.String" - }, - { - "Name": "model", - "Type": "System.Object" - }, - { - "Name": "viewData", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateDisplay", - "Parameters": [ - { - "Name": "modelExplorer", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - }, - { - "Name": "htmlFieldName", - "Type": "System.String" - }, - { - "Name": "templateName", - "Type": "System.String" - }, - { - "Name": "additionalViewData", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RenderPartialCoreAsync", - "Parameters": [ - { - "Name": "partialViewName", - "Type": "System.String" - }, - { - "Name": "model", - "Type": "System.Object" - }, - { - "Name": "viewData", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary" - }, - { - "Name": "writer", - "Type": "System.IO.TextWriter" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Password", - "Parameters": [ - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RadioButton", - "Parameters": [ - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "isChecked", - "Type": "System.Nullable" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Raw", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Raw", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RouteLink", - "Parameters": [ - { - "Name": "linkText", - "Type": "System.String" - }, - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "protocol", - "Type": "System.String" - }, - { - "Name": "hostName", - "Type": "System.String" - }, - { - "Name": "fragment", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ValidationMessage", - "Parameters": [ - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "message", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - }, - { - "Name": "tag", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ValidationSummary", - "Parameters": [ - { - "Name": "excludePropertyErrors", - "Type": "System.Boolean" - }, - { - "Name": "message", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - }, - { - "Name": "tag", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetFormMethodString", - "Parameters": [ - { - "Name": "method", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.FormMethod" - } - ], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TextArea", - "Parameters": [ - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.String" - }, - { - "Name": "rows", - "Type": "System.Int32" - }, - { - "Name": "columns", - "Type": "System.Int32" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TextBox", - "Parameters": [ - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "format", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Value", - "Parameters": [ - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "format", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateForm", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.MvcForm", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateCheckBox", - "Parameters": [ - { - "Name": "modelExplorer", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "isChecked", - "Type": "System.Nullable" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateDisplayName", - "Parameters": [ - { - "Name": "modelExplorer", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - }, - { - "Name": "expression", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateDisplayText", - "Parameters": [ - { - "Name": "modelExplorer", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - } - ], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateDropDown", - "Parameters": [ - { - "Name": "modelExplorer", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "selectList", - "Type": "System.Collections.Generic.IEnumerable" - }, - { - "Name": "optionLabel", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateEditor", - "Parameters": [ - { - "Name": "modelExplorer", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - }, - { - "Name": "htmlFieldName", - "Type": "System.String" - }, - { - "Name": "templateName", - "Type": "System.String" - }, - { - "Name": "additionalViewData", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateForm", - "Parameters": [ - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "method", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.FormMethod" - }, - { - "Name": "antiforgery", - "Type": "System.Nullable" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.MvcForm", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateRouteForm", - "Parameters": [ - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "method", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.FormMethod" - }, - { - "Name": "antiforgery", - "Type": "System.Nullable" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.MvcForm", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateHidden", - "Parameters": [ - { - "Name": "modelExplorer", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "useViewData", - "Type": "System.Boolean" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateId", - "Parameters": [ - { - "Name": "expression", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateLabel", - "Parameters": [ - { - "Name": "modelExplorer", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "labelText", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateListBox", - "Parameters": [ - { - "Name": "modelExplorer", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "selectList", - "Type": "System.Collections.Generic.IEnumerable" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateName", - "Parameters": [ - { - "Name": "expression", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GeneratePassword", - "Parameters": [ - { - "Name": "modelExplorer", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateRadioButton", - "Parameters": [ - { - "Name": "modelExplorer", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "isChecked", - "Type": "System.Nullable" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateTextArea", - "Parameters": [ - { - "Name": "modelExplorer", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "rows", - "Type": "System.Int32" - }, - { - "Name": "columns", - "Type": "System.Int32" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateTextBox", - "Parameters": [ - { - "Name": "modelExplorer", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "format", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateValidationMessage", - "Parameters": [ - { - "Name": "modelExplorer", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "message", - "Type": "System.String" - }, - { - "Name": "tag", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateValidationSummary", - "Parameters": [ - { - "Name": "excludePropertyErrors", - "Type": "System.Boolean" - }, - { - "Name": "message", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - }, - { - "Name": "tag", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateValue", - "Parameters": [ - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "format", - "Type": "System.String" - }, - { - "Name": "useViewData", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetEnumSelectList", - "Parameters": [ - { - "Name": "metadata", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata" - } - ], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "htmlGenerator", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator" - }, - { - "Name": "viewEngine", - "Type": "Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine" - }, - { - "Name": "metadataProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider" - }, - { - "Name": "bufferScope", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.IViewBufferScope" - }, - { - "Name": "htmlEncoder", - "Type": "System.Text.Encodings.Web.HtmlEncoder" - }, - { - "Name": "urlEncoder", - "Type": "System.Text.Encodings.Web.UrlEncoder" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "ValidationInputCssClassName", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "ValidationInputValidCssClassName", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "ValidationMessageCssClassName", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "ValidationMessageValidCssClassName", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "ValidationSummaryCssClassName", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "ValidationSummaryValidCssClassName", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Contextualize", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewFeatures.IViewContextAware", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewData", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CheckBoxFor", - "Parameters": [ - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DropDownListFor", - "Parameters": [ - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "selectList", - "Type": "System.Collections.Generic.IEnumerable" - }, - { - "Name": "optionLabel", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "DisplayFor", - "Parameters": [ - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "templateName", - "Type": "System.String" - }, - { - "Name": "htmlFieldName", - "Type": "System.String" - }, - { - "Name": "additionalViewData", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "DisplayNameFor", - "Parameters": [ - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - } - ], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "DisplayNameForInnerType", - "Parameters": [ - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - } - ], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModelItem", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TResult", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "DisplayTextFor", - "Parameters": [ - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - } - ], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "EditorFor", - "Parameters": [ - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "templateName", - "Type": "System.String" - }, - { - "Name": "htmlFieldName", - "Type": "System.String" - }, - { - "Name": "additionalViewData", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "HiddenFor", - "Parameters": [ - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "IdFor", - "Parameters": [ - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - } - ], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "LabelFor", - "Parameters": [ - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "labelText", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "ListBoxFor", - "Parameters": [ - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "selectList", - "Type": "System.Collections.Generic.IEnumerable" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "NameFor", - "Parameters": [ - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - } - ], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "PasswordFor", - "Parameters": [ - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "RadioButtonFor", - "Parameters": [ - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "TextAreaFor", - "Parameters": [ - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "rows", - "Type": "System.Int32" - }, - { - "Name": "columns", - "Type": "System.Int32" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "TextBoxFor", - "Parameters": [ - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "format", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "GetExpressionName", - "Parameters": [ - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - } - ], - "ReturnType": "System.String", - "Visibility": "Protected", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "GetModelExplorer", - "Parameters": [ - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer", - "Visibility": "Protected", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "ValidationMessageFor", - "Parameters": [ - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "message", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - }, - { - "Name": "tag", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "ValueFor", - "Parameters": [ - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - }, - { - "Name": "format", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "htmlGenerator", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator" - }, - { - "Name": "viewEngine", - "Type": "Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine" - }, - { - "Name": "metadataProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider" - }, - { - "Name": "bufferScope", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.IViewBufferScope" - }, - { - "Name": "htmlEncoder", - "Type": "System.Text.Encodings.Web.HtmlEncoder" - }, - { - "Name": "urlEncoder", - "Type": "System.Text.Encodings.Web.UrlEncoder" - }, - { - "Name": "expressionTextCache", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ExpressionTextCache" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelperOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Html5DateRenderingMode", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.Html5DateRenderingMode", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Html5DateRenderingMode", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.Html5DateRenderingMode" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IdAttributeDotReplacement", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IdAttributeDotReplacement", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ClientValidationEnabled", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ClientValidationEnabled", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ValidationMessageElement", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ValidationMessageElement", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ValidationSummaryMessageElement", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ValidationSummaryMessageElement", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.IAntiforgeryPolicy", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata" - ], - "Members": [], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_IdAttributeDotReplacement", - "Parameters": [], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Encode", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Encode", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FormatValue", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "format", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateActionLink", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "linkText", - "Type": "System.String" - }, - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - }, - { - "Name": "protocol", - "Type": "System.String" - }, - { - "Name": "hostname", - "Type": "System.String" - }, - { - "Name": "fragment", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GeneratePageLink", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "linkText", - "Type": "System.String" - }, - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "pageHandler", - "Type": "System.String" - }, - { - "Name": "protocol", - "Type": "System.String" - }, - { - "Name": "hostname", - "Type": "System.String" - }, - { - "Name": "fragment", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateAntiforgery", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateCheckBox", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "modelExplorer", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "isChecked", - "Type": "System.Nullable" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateHiddenForCheckbox", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "modelExplorer", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - }, - { - "Name": "expression", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateForm", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "actionName", - "Type": "System.String" - }, - { - "Name": "controllerName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "method", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GeneratePageForm", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "pageName", - "Type": "System.String" - }, - { - "Name": "pageHandler", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "fragment", - "Type": "System.String" - }, - { - "Name": "method", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateRouteForm", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "method", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateHidden", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "modelExplorer", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "useViewData", - "Type": "System.Boolean" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateLabel", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "modelExplorer", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "labelText", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GeneratePassword", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "modelExplorer", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateRadioButton", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "modelExplorer", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "isChecked", - "Type": "System.Nullable" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateRouteLink", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "linkText", - "Type": "System.String" - }, - { - "Name": "routeName", - "Type": "System.String" - }, - { - "Name": "protocol", - "Type": "System.String" - }, - { - "Name": "hostName", - "Type": "System.String" - }, - { - "Name": "fragment", - "Type": "System.String" - }, - { - "Name": "routeValues", - "Type": "System.Object" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateSelect", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "modelExplorer", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - }, - { - "Name": "optionLabel", - "Type": "System.String" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "selectList", - "Type": "System.Collections.Generic.IEnumerable" - }, - { - "Name": "allowMultiple", - "Type": "System.Boolean" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateSelect", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "modelExplorer", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - }, - { - "Name": "optionLabel", - "Type": "System.String" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "selectList", - "Type": "System.Collections.Generic.IEnumerable" - }, - { - "Name": "currentValues", - "Type": "System.Collections.Generic.ICollection" - }, - { - "Name": "allowMultiple", - "Type": "System.Boolean" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateGroupsAndOptions", - "Parameters": [ - { - "Name": "optionLabel", - "Type": "System.String" - }, - { - "Name": "selectList", - "Type": "System.Collections.Generic.IEnumerable" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateTextArea", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "modelExplorer", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "rows", - "Type": "System.Int32" - }, - { - "Name": "columns", - "Type": "System.Int32" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateTextBox", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "modelExplorer", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "format", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateValidationMessage", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "modelExplorer", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "message", - "Type": "System.String" - }, - { - "Name": "tag", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateValidationSummary", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "excludePropertyErrors", - "Type": "System.Boolean" - }, - { - "Name": "message", - "Type": "System.String" - }, - { - "Name": "headerTag", - "Type": "System.String" - }, - { - "Name": "htmlAttributes", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetCurrentValues", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "modelExplorer", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "allowMultiple", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Collections.Generic.ICollection", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "CreateModelExpression", - "Parameters": [ - { - "Name": "viewData", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary" - }, - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExpression", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TValue", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - } - ] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.InputType", - "Visibility": "Public", - "Kind": "Enumeration", - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "CheckBox", - "Parameters": [], - "GenericParameter": [], - "Literal": "0" - }, - { - "Kind": "Field", - "Name": "Hidden", - "Parameters": [], - "GenericParameter": [], - "Literal": "1" - }, - { - "Kind": "Field", - "Name": "Password", - "Parameters": [], - "GenericParameter": [], - "Literal": "2" - }, - { - "Kind": "Field", - "Name": "Radio", - "Parameters": [], - "GenericParameter": [], - "Literal": "3" - }, - { - "Kind": "Field", - "Name": "Text", - "Parameters": [], - "GenericParameter": [], - "Literal": "4" - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "System.Collections.Generic.IDictionary" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Load", - "Parameters": [], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Save", - "Parameters": [], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Keep", - "Parameters": [], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Keep", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Peek", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.Object", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetTempData", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "LoadTempData", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - } - ], - "ReturnType": "System.Collections.Generic.IDictionary", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SaveTempData", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "values", - "Type": "System.Collections.Generic.IDictionary" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.JsonHelper", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Serialize", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Serialize", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "serializerSettings", - "Type": "Newtonsoft.Json.JsonSerializerSettings" - } - ], - "ReturnType": "Microsoft.AspNetCore.Html.IHtmlContent", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "jsonOutputFormatter", - "Type": "Microsoft.AspNetCore.Mvc.Formatters.JsonOutputFormatter" - }, - { - "Name": "charPool", - "Type": "System.Buffers.ArrayPool" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Container", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Metadata", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Model", - "Parameters": [], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ModelType", - "Parameters": [], - "ReturnType": "System.Type", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Properties", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetExplorerForModel", - "Parameters": [ - { - "Name": "model", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetExplorerForProperty", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetExplorerForProperty", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "modelAccessor", - "Type": "System.Func" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetExplorerForProperty", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "model", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetExplorerForExpression", - "Parameters": [ - { - "Name": "modelType", - "Type": "System.Type" - }, - { - "Name": "model", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetExplorerForExpression", - "Parameters": [ - { - "Name": "metadata", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata" - }, - { - "Name": "model", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetExplorerForExpression", - "Parameters": [ - { - "Name": "modelType", - "Type": "System.Type" - }, - { - "Name": "modelAccessor", - "Type": "System.Func" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetExplorerForExpression", - "Parameters": [ - { - "Name": "metadata", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata" - }, - { - "Name": "modelAccessor", - "Type": "System.Func" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "metadataProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider" - }, - { - "Name": "metadata", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata" - }, - { - "Name": "model", - "Type": "System.Object" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "metadataProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider" - }, - { - "Name": "container", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - }, - { - "Name": "metadata", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata" - }, - { - "Name": "modelAccessor", - "Type": "System.Func" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "metadataProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider" - }, - { - "Name": "container", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - }, - { - "Name": "metadata", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata" - }, - { - "Name": "model", - "Type": "System.Object" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorerExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetSimpleDisplayText", - "Parameters": [ - { - "Name": "modelExplorer", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - } - ], - "ReturnType": "System.String", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExpression", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Name", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Metadata", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Model", - "Parameters": [], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ModelExplorer", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "modelExplorer", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExpressionProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "CreateModelExpression", - "Parameters": [ - { - "Name": "viewData", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary" - }, - { - "Name": "expression", - "Type": "System.Linq.Expressions.Expression>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExpression", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "TValue", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "modelMetadataProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider" - }, - { - "Name": "expressionTextCache", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ExpressionTextCache" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelMetadataProviderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetModelExplorerForType", - "Parameters": [ - { - "Name": "provider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider" - }, - { - "Name": "modelType", - "Type": "System.Type" - }, - { - "Name": "model", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.PartialViewResultExecutor", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Logger", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.Logging.ILogger", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindView", - "Parameters": [ - { - "Name": "actionContext", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "viewResult", - "Type": "Microsoft.AspNetCore.Mvc.PartialViewResult" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewEngines.ViewEngineResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ExecuteAsync", - "Parameters": [ - { - "Name": "actionContext", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "view", - "Type": "Microsoft.AspNetCore.Mvc.ViewEngines.IView" - }, - { - "Name": "viewResult", - "Type": "Microsoft.AspNetCore.Mvc.PartialViewResult" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ExecuteAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "result", - "Type": "Microsoft.AspNetCore.Mvc.PartialViewResult" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "viewOptions", - "Type": "Microsoft.Extensions.Options.IOptions" - }, - { - "Name": "writerFactory", - "Type": "Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory" - }, - { - "Name": "viewEngine", - "Type": "Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine" - }, - { - "Name": "tempDataFactory", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory" - }, - { - "Name": "diagnosticSource", - "Type": "System.Diagnostics.DiagnosticSource" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - }, - { - "Name": "modelMetadataProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.SaveTempDataAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IFilterFactory", - "Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Order", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsReusable", - "Parameters": [], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IFilterFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateInstance", - "Parameters": [ - { - "Name": "serviceProvider", - "Type": "System.IServiceProvider" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IFilterFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.SessionStateTempDataProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "LoadTempData", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - } - ], - "ReturnType": "System.Collections.Generic.IDictionary", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SaveTempData", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "values", - "Type": "System.Collections.Generic.IDictionary" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.StringHtmlContent", - "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": "input", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.TempDataDictionary", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Item", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.Object", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Item", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Keys", - "Parameters": [], - "ReturnType": "System.Collections.Generic.ICollection", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Values", - "Parameters": [], - "ReturnType": "System.Collections.Generic.ICollection", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ContainsKey", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Add", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Remove", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TryGetValue", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object", - "Direction": "Out" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Count", - "Parameters": [], - "ReturnType": "System.Int32", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.ICollection>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Clear", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.ICollection>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetEnumerator", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerator>", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IEnumerable>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Keep", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Keep", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Load", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Save", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Peek", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.Object", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ContainsValue", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "provider", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataProvider" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.TempDataDictionaryFactory", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetTempData", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "provider", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataProvider" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.TemplateInfo", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_FormattedModelValue", - "Parameters": [], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_FormattedModelValue", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HtmlFieldPrefix", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_HtmlFieldPrefix", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TemplateDepth", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddVisited", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetFullHtmlFieldName", - "Parameters": [ - { - "Name": "partialFieldName", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Visited", - "Parameters": [ - { - "Name": "modelExplorer", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - } - ], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "original", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.TemplateInfo" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.TryGetValueDelegate", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "BaseType": "System.MulticastDelegate", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Invoke", - "Parameters": [ - { - "Name": "dictionary", - "Type": "System.Object" - }, - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object", - "Direction": "Out" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BeginInvoke", - "Parameters": [ - { - "Name": "dictionary", - "Type": "System.Object" - }, - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object", - "Direction": "Out" - }, - { - "Name": "callback", - "Type": "System.AsyncCallback" - }, - { - "Name": "object", - "Type": "System.Object" - } - ], - "ReturnType": "System.IAsyncResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "EndInvoke", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object", - "Direction": "Out" - }, - { - "Name": "result", - "Type": "System.IAsyncResult" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "object", - "Type": "System.Object" - }, - { - "Name": "method", - "Type": "System.IntPtr" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.TryGetValueProvider", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "CreateInstance", - "Parameters": [ - { - "Name": "targetType", - "Type": "System.Type" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.TryGetValueDelegate", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.ValidationHtmlAttributeProvider", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddValidationAttributes", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "modelExplorer", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - }, - { - "Name": "attributes", - "Type": "System.Collections.Generic.IDictionary" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddAndTrackValidationAttributes", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "modelExplorer", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - }, - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "attributes", - "Type": "System.Collections.Generic.IDictionary" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewComponentResultExecutor", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor" - ], - "Members": [ - { - "Kind": "Method", - "Name": "ExecuteAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "result", - "Type": "Microsoft.AspNetCore.Mvc.ViewComponentResult" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "mvcHelperOptions", - "Type": "Microsoft.Extensions.Options.IOptions" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - }, - { - "Name": "htmlEncoder", - "Type": "System.Text.Encodings.Web.HtmlEncoder" - }, - { - "Name": "modelMetadataProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider" - }, - { - "Name": "tempDataDictionaryFactory", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewContextAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "System.Collections.Generic.IDictionary" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Count", - "Parameters": [], - "ReturnType": "System.Int32", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.ICollection>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsReadOnly", - "Parameters": [], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.ICollection>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Add", - "Parameters": [ - { - "Name": "item", - "Type": "System.Collections.Generic.KeyValuePair" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.ICollection>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Clear", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.ICollection>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Contains", - "Parameters": [ - { - "Name": "item", - "Type": "System.Collections.Generic.KeyValuePair" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.ICollection>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CopyTo", - "Parameters": [ - { - "Name": "array", - "Type": "System.Collections.Generic.KeyValuePair[]" - }, - { - "Name": "arrayIndex", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.ICollection>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Remove", - "Parameters": [ - { - "Name": "item", - "Type": "System.Collections.Generic.KeyValuePair" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.ICollection>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Model", - "Parameters": [], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Model", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ModelState", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ModelMetadata", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ModelExplorer", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ModelExplorer", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TemplateInfo", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.TemplateInfo", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Item", - "Parameters": [ - { - "Name": "index", - "Type": "System.String" - } - ], - "ReturnType": "System.Object", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Item", - "Parameters": [ - { - "Name": "index", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Keys", - "Parameters": [], - "ReturnType": "System.Collections.Generic.ICollection", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Values", - "Parameters": [], - "ReturnType": "System.Collections.Generic.ICollection", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Eval", - "Parameters": [ - { - "Name": "expression", - "Type": "System.String" - } - ], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Eval", - "Parameters": [ - { - "Name": "expression", - "Type": "System.String" - }, - { - "Name": "format", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FormatValue", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "format", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetViewDataInfo", - "Parameters": [ - { - "Name": "expression", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataInfo", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetModel", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Add", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ContainsKey", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Remove", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TryGetValue", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object", - "Direction": "Out" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IDictionary", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "metadataProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider" - }, - { - "Name": "modelState", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "source", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "metadataProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider" - }, - { - "Name": "declaredModelType", - "Type": "System.Type" - } - ], - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "metadataProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider" - }, - { - "Name": "modelState", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary" - }, - { - "Name": "declaredModelType", - "Type": "System.Type" - } - ], - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "source", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary" - }, - { - "Name": "declaredModelType", - "Type": "System.Type" - } - ], - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "source", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary" - }, - { - "Name": "model", - "Type": "System.Object" - }, - { - "Name": "declaredModelType", - "Type": "System.Type" - } - ], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionaryAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionaryControllerPropertyActivator", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Internal.IControllerPropertyActivator" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Activate", - "Parameters": [ - { - "Name": "actionContext", - "Type": "Microsoft.AspNetCore.Mvc.ControllerContext" - }, - { - "Name": "controller", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Internal.IControllerPropertyActivator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetActivatorDelegate", - "Parameters": [ - { - "Name": "actionDescriptor", - "Type": "Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor" - } - ], - "ReturnType": "System.Action", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Internal.IControllerPropertyActivator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "modelMetadataProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Model", - "Parameters": [], - "ReturnType": "T0", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Model", - "Parameters": [ - { - "Name": "value", - "Type": "T0" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "metadataProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider" - }, - { - "Name": "modelState", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "source", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "source", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary" - }, - { - "Name": "model", - "Type": "System.Object" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataEvaluator", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Eval", - "Parameters": [ - { - "Name": "viewData", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary" - }, - { - "Name": "expression", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataInfo", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Eval", - "Parameters": [ - { - "Name": "indexableObject", - "Type": "System.Object" - }, - { - "Name": "expression", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataInfo", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataInfo", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Container", - "Parameters": [], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PropertyInfo", - "Parameters": [], - "ReturnType": "System.Reflection.PropertyInfo", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "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": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "container", - "Type": "System.Object" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "container", - "Type": "System.Object" - }, - { - "Name": "propertyInfo", - "Type": "System.Reflection.PropertyInfo" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "container", - "Type": "System.Object" - }, - { - "Name": "propertyInfo", - "Type": "System.Reflection.PropertyInfo" - }, - { - "Name": "valueAccessor", - "Type": "System.Func" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_DiagnosticSource", - "Parameters": [], - "ReturnType": "System.Diagnostics.DiagnosticSource", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TempDataFactory", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewEngine", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ViewOptions", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.MvcViewOptions", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ModelMetadataProvider", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_WriterFactory", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ExecuteAsync", - "Parameters": [ - { - "Name": "actionContext", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "view", - "Type": "Microsoft.AspNetCore.Mvc.ViewEngines.IView" - }, - { - "Name": "viewData", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary" - }, - { - "Name": "tempData", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary" - }, - { - "Name": "contentType", - "Type": "System.String" - }, - { - "Name": "statusCode", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ExecuteAsync", - "Parameters": [ - { - "Name": "viewContext", - "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" - }, - { - "Name": "contentType", - "Type": "System.String" - }, - { - "Name": "statusCode", - "Type": "System.Nullable" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "viewOptions", - "Type": "Microsoft.Extensions.Options.IOptions" - }, - { - "Name": "writerFactory", - "Type": "Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory" - }, - { - "Name": "viewEngine", - "Type": "Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine" - }, - { - "Name": "tempDataFactory", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory" - }, - { - "Name": "diagnosticSource", - "Type": "System.Diagnostics.DiagnosticSource" - }, - { - "Name": "modelMetadataProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "writerFactory", - "Type": "Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory" - }, - { - "Name": "viewEngine", - "Type": "Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine" - }, - { - "Name": "diagnosticSource", - "Type": "System.Diagnostics.DiagnosticSource" - } - ], - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "DefaultContentType", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Logger", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.Logging.ILogger", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindView", - "Parameters": [ - { - "Name": "actionContext", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "viewResult", - "Type": "Microsoft.AspNetCore.Mvc.ViewResult" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewEngines.ViewEngineResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ExecuteAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "result", - "Type": "Microsoft.AspNetCore.Mvc.ViewResult" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "viewOptions", - "Type": "Microsoft.Extensions.Options.IOptions" - }, - { - "Name": "writerFactory", - "Type": "Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory" - }, - { - "Name": "viewEngine", - "Type": "Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine" - }, - { - "Name": "tempDataFactory", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory" - }, - { - "Name": "diagnosticSource", - "Type": "System.Diagnostics.DiagnosticSource" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - }, - { - "Name": "modelMetadataProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.Extensions.DependencyInjection.MvcViewFeaturesMvcBuilderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddViewOptions", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcBuilder" - }, - { - "Name": "setupAction", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddViewComponentsAsServices", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcBuilder" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddSessionStateTempDataProvider", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcBuilder" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddCookieTempDataProvider", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcBuilder" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddCookieTempDataProvider", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcBuilder" - }, - { - "Name": "setupAction", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.Extensions.DependencyInjection.MvcViewFeaturesMvcCoreBuilderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddViews", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddCookieTempDataProvider", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddViews", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder" - }, - { - "Name": "setupAction", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddCookieTempDataProvider", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder" - }, - { - "Name": "setupAction", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ConfigureViews", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder" - }, - { - "Name": "setupAction", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.AttributeDictionary+Enumerator", - "Visibility": "Public", - "Kind": "Struct", - "Sealed": true, - "ImplementedInterfaces": [ - "System.Collections.Generic.IEnumerator>" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Dispose", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.IDisposable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MoveNext", - "Parameters": [], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.IEnumerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Reset", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.IEnumerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Current", - "Parameters": [], - "ReturnType": "System.Collections.Generic.KeyValuePair", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IEnumerator>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "attributes", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.AttributeDictionary" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.AttributeDictionary+KeyCollection+Enumerator", - "Visibility": "Public", - "Kind": "Struct", - "Sealed": true, - "ImplementedInterfaces": [ - "System.Collections.Generic.IEnumerator" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Dispose", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.IDisposable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MoveNext", - "Parameters": [], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.IEnumerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Reset", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.IEnumerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Current", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IEnumerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "attributes", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.AttributeDictionary" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.AttributeDictionary+ValueCollection+Enumerator", - "Visibility": "Public", - "Kind": "Struct", - "Sealed": true, - "ImplementedInterfaces": [ - "System.Collections.Generic.IEnumerator" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Dispose", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.IDisposable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MoveNext", - "Parameters": [], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.IEnumerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Reset", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.IEnumerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Current", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IEnumerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "attributes", - "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.AttributeDictionary" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Mvc/Mvc.ViewFeatures/src/breakingchanges.netcore.json b/src/Mvc/Mvc.ViewFeatures/src/breakingchanges.netcore.json deleted file mode 100644 index fd44cad861..0000000000 --- a/src/Mvc/Mvc.ViewFeatures/src/breakingchanges.netcore.json +++ /dev/null @@ -1,82 +0,0 @@ -[ - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.RemoteAttribute : System.ComponentModel.DataAnnotations.ValidationAttribute, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IClientModelValidator", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentActivator : Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentActivator", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentInvoker : Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentInvoker", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentInvokerFactory : Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentInvokerFactory", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionaryControllerPropertyActivator : Microsoft.AspNetCore.Mvc.Internal.IControllerPropertyActivator", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor", - "MemberId": "protected .ctor(Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory writerFactory, Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine viewEngine, System.Diagnostics.DiagnosticSource diagnosticSource)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor", - "MemberId": "protected System.Diagnostics.DiagnosticSource get_DiagnosticSource()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor", - "MemberId": "public .ctor(Microsoft.Extensions.Options.IOptions viewOptions, Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory writerFactory, Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine viewEngine, Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory tempDataFactory, System.Diagnostics.DiagnosticSource diagnosticSource, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExpressionProvider : Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider", - "MemberId": "public .ctor(Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider, Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ExpressionTextCache expressionTextCache)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentHelper : Microsoft.AspNetCore.Mvc.IViewComponentHelper, Microsoft.AspNetCore.Mvc.ViewFeatures.IViewContextAware", - "MemberId": "public .ctor(Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentDescriptorCollectionProvider descriptorProvider, System.Text.Encodings.Web.HtmlEncoder htmlEncoder, Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentSelector selector, Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentInvokerFactory invokerFactory, Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.IViewBufferScope viewBufferScope)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper : Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper, Microsoft.AspNetCore.Mvc.ViewFeatures.IViewContextAware", - "MemberId": "public .ctor(Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator htmlGenerator, Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine viewEngine, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider metadataProvider, Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.IViewBufferScope bufferScope, System.Text.Encodings.Web.HtmlEncoder htmlEncoder, System.Text.Encodings.Web.UrlEncoder urlEncoder)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper : Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper, Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "MemberId": "public .ctor(Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator htmlGenerator, Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine viewEngine, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider metadataProvider, Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.IViewBufferScope bufferScope, System.Text.Encodings.Web.HtmlEncoder htmlEncoder, System.Text.Encodings.Web.UrlEncoder urlEncoder, Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ExpressionTextCache expressionTextCache)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ViewFeatures.DefaultValidationHtmlAttributeProvider : Microsoft.AspNetCore.Mvc.ViewFeatures.ValidationHtmlAttributeProvider", - "MemberId": "public .ctor(Microsoft.Extensions.Options.IOptions optionsAccessor, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider metadataProvider, Microsoft.AspNetCore.Mvc.Internal.ClientValidatorCache clientValidatorCache)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ViewFeatures.PartialViewResultExecutor : Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor, Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor", - "MemberId": "public .ctor(Microsoft.Extensions.Options.IOptions viewOptions, Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory writerFactory, Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine viewEngine, Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory tempDataFactory, System.Diagnostics.DiagnosticSource diagnosticSource, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor : Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor, Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor", - "MemberId": "public .ctor(Microsoft.Extensions.Options.IOptions viewOptions, Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory writerFactory, Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine viewEngine, Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory tempDataFactory, System.Diagnostics.DiagnosticSource diagnosticSource, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.MvcViewOptions : System.Collections.Generic.IEnumerable", - "MemberId": "public System.Boolean get_SuppressTempDataAttributePrefix()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.MvcViewOptions : System.Collections.Generic.IEnumerable", - "MemberId": "public System.Void set_SuppressTempDataAttributePrefix(System.Boolean value)", - "Kind": "Removal" - } -] diff --git a/src/Mvc/Mvc.sln b/src/Mvc/Mvc.sln index a7f901a861..213803a110 100644 --- a/src/Mvc/Mvc.sln +++ b/src/Mvc/Mvc.sln @@ -313,8 +313,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Signal EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson", "..\SignalR\common\Protocols.NewtonsoftJson\src\Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson.csproj", "{F99CAC82-C96E-41F4-AA28-1BBBD09C447A}" EndProject -Project("{6EC3EE1D-3C4E-46DD-8F32-0CC8E7565705}") = "FSharpWebSite", "test\WebSites\FSharpWebSite\FSharpWebSite.fsproj", "{65E98187-96FB-4FCD-94A3-F8048C2F13F1}" -EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "RazorBuildWebSite.PrecompiledViews", "test\WebSites\RazorBuildWebSite.PrecompiledViews\RazorBuildWebSite.PrecompiledViews.csproj", "{A8C3066F-E80D-4E03-9962-741B551B8FBC}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Mvc.Components.Prerendering", "Mvc.Components.Prerendering", "{45CE788D-4B69-4F83-981C-F43D8F15B0F1}" @@ -1793,18 +1791,6 @@ Global {F99CAC82-C96E-41F4-AA28-1BBBD09C447A}.Release|Mixed Platforms.Build.0 = Release|Any CPU {F99CAC82-C96E-41F4-AA28-1BBBD09C447A}.Release|x86.ActiveCfg = Release|Any CPU {F99CAC82-C96E-41F4-AA28-1BBBD09C447A}.Release|x86.Build.0 = Release|Any CPU - {65E98187-96FB-4FCD-94A3-F8048C2F13F1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {65E98187-96FB-4FCD-94A3-F8048C2F13F1}.Debug|Any CPU.Build.0 = Debug|Any CPU - {65E98187-96FB-4FCD-94A3-F8048C2F13F1}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {65E98187-96FB-4FCD-94A3-F8048C2F13F1}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {65E98187-96FB-4FCD-94A3-F8048C2F13F1}.Debug|x86.ActiveCfg = Debug|Any CPU - {65E98187-96FB-4FCD-94A3-F8048C2F13F1}.Debug|x86.Build.0 = Debug|Any CPU - {65E98187-96FB-4FCD-94A3-F8048C2F13F1}.Release|Any CPU.ActiveCfg = Release|Any CPU - {65E98187-96FB-4FCD-94A3-F8048C2F13F1}.Release|Any CPU.Build.0 = Release|Any CPU - {65E98187-96FB-4FCD-94A3-F8048C2F13F1}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {65E98187-96FB-4FCD-94A3-F8048C2F13F1}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {65E98187-96FB-4FCD-94A3-F8048C2F13F1}.Release|x86.ActiveCfg = Release|Any CPU - {65E98187-96FB-4FCD-94A3-F8048C2F13F1}.Release|x86.Build.0 = Release|Any CPU {A8C3066F-E80D-4E03-9962-741B551B8FBC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {A8C3066F-E80D-4E03-9962-741B551B8FBC}.Debug|Any CPU.Build.0 = Debug|Any CPU {A8C3066F-E80D-4E03-9962-741B551B8FBC}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU @@ -1980,7 +1966,6 @@ Global {49C9115F-CA12-48EC-8F60-253651FC0A0E} = {5FE3048A-E96B-44F8-A7C4-FC590D7E04B4} {F85D8F0C-2300-4021-B5C4-A245D94FF419} = {5FE3048A-E96B-44F8-A7C4-FC590D7E04B4} {F99CAC82-C96E-41F4-AA28-1BBBD09C447A} = {5FE3048A-E96B-44F8-A7C4-FC590D7E04B4} - {65E98187-96FB-4FCD-94A3-F8048C2F13F1} = {16703B76-C9F7-4C75-AE6C-53D92E308E3C} {A8C3066F-E80D-4E03-9962-741B551B8FBC} = {16703B76-C9F7-4C75-AE6C-53D92E308E3C} {6D6489E5-48BD-4F9B-9EEE-22AEEA1E1890} = {45CE788D-4B69-4F83-981C-F43D8F15B0F1} {C6F3BCE6-1EFD-4360-932B-B98573E78926} = {45CE788D-4B69-4F83-981C-F43D8F15B0F1} diff --git a/src/Mvc/Mvc/src/baseline.netcore.json b/src/Mvc/Mvc/src/baseline.netcore.json deleted file mode 100644 index 50cfc70d58..0000000000 --- a/src/Mvc/Mvc/src/baseline.netcore.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Mvc, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.Extensions.DependencyInjection.MvcServiceCollectionExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddMvc", - "Parameters": [ - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddMvc", - "Parameters": [ - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - }, - { - "Name": "setupAction", - "Type": "System.Action" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IMvcBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Mvc/benchmarkapps/Directory.Build.props b/src/Mvc/benchmarkapps/Directory.Build.props index 56a40aaa38..8c119d5413 100644 --- a/src/Mvc/benchmarkapps/Directory.Build.props +++ b/src/Mvc/benchmarkapps/Directory.Build.props @@ -1,5 +1,2 @@ - - - - \ No newline at end of file + diff --git a/src/Mvc/benchmarkapps/NuGet.config b/src/Mvc/benchmarkapps/NuGet.config new file mode 100644 index 0000000000..298193b812 --- /dev/null +++ b/src/Mvc/benchmarkapps/NuGet.config @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/src/Mvc/dotnet-getdocument/src/dotnet-getdocument.csproj b/src/Mvc/dotnet-getdocument/src/dotnet-getdocument.csproj index d32ab07a30..1991b3e2df 100644 --- a/src/Mvc/dotnet-getdocument/src/dotnet-getdocument.csproj +++ b/src/Mvc/dotnet-getdocument/src/dotnet-getdocument.csproj @@ -2,7 +2,6 @@ dotnet-getdocument GetDocument Command-line Tool outside man - false false Exe Microsoft.Extensions.ApiDescription.Tool diff --git a/src/Mvc/shared/Mvc.Core.TestCommon/NonSeekableReadableStream.cs b/src/Mvc/shared/Mvc.Core.TestCommon/NonSeekableReadableStream.cs index b5ccd405ac..62be4fc02b 100644 --- a/src/Mvc/shared/Mvc.Core.TestCommon/NonSeekableReadableStream.cs +++ b/src/Mvc/shared/Mvc.Core.TestCommon/NonSeekableReadableStream.cs @@ -11,15 +11,17 @@ namespace Microsoft.AspNetCore.Mvc public class NonSeekableReadStream : Stream { private Stream _inner; + private readonly bool _allowSyncReads; - public NonSeekableReadStream(byte[] data) - : this(new MemoryStream(data)) + public NonSeekableReadStream(byte[] data, bool allowSyncReads = true) + : this(new MemoryStream(data), allowSyncReads) { } - public NonSeekableReadStream(Stream inner) + public NonSeekableReadStream(Stream inner, bool allowSyncReads) { _inner = inner; + _allowSyncReads = allowSyncReads; } public override bool CanRead => _inner.CanRead; @@ -61,6 +63,11 @@ namespace Microsoft.AspNetCore.Mvc public override int Read(byte[] buffer, int offset, int count) { + if (!_allowSyncReads) + { + throw new InvalidOperationException("Cannot perform synchronous reads"); + } + count = Math.Max(count, 1); return _inner.Read(buffer, offset, count); } diff --git a/src/Mvc/test/Mvc.FunctionalTests/LinkParserTest.cs b/src/Mvc/test/Mvc.FunctionalTests/LinkParserTest.cs new file mode 100644 index 0000000000..15c60602cb --- /dev/null +++ b/src/Mvc/test/Mvc.FunctionalTests/LinkParserTest.cs @@ -0,0 +1,96 @@ +// 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.Linq; +using System.Net; +using System.Net.Http; +using System.Threading.Tasks; +using Microsoft.AspNetCore.Hosting; +using Newtonsoft.Json.Linq; +using Xunit; + +namespace Microsoft.AspNetCore.Mvc.FunctionalTests +{ + // Functional tests for MVC's scenarios with LinkParser + public class LinkParserTest : IClassFixture> + { + public LinkParserTest(MvcTestFixture fixture) + { + var factory = fixture.Factories.FirstOrDefault() ?? fixture.WithWebHostBuilder(ConfigureWebHostBuilder); + Client = factory.CreateDefaultClient(); + } + + private static void ConfigureWebHostBuilder(IWebHostBuilder builder) => + builder.UseStartup(); + + public HttpClient Client { get; } + + [Fact] + public async Task ParsePathByEndpoint_CanParsedWithDefaultRoute() + { + // Act + var response = await Client.GetAsync("LinkParser/Index/18"); + var values = await response.Content.ReadAsAsync(); + + // Assert + Assert.Equal(HttpStatusCode.OK, response.StatusCode); + Assert.Collection( + values.Properties().OrderBy(p => p.Name), + p => + { + Assert.Equal("action", p.Name); + Assert.Equal("Index", p.Value.Value()); + }, + p => + { + Assert.Equal("controller", p.Name); + Assert.Equal("LinkParser", p.Value.Value()); + }, + p => + { + Assert.Equal("id", p.Name); + Assert.Equal("18", p.Value.Value()); + }); + } + + [Fact] + public async Task ParsePathByEndpoint_CanParsedWithNamedAttributeRoute() + { + // Act + // + // %2F => / + var response = await Client.GetAsync("LinkParser/Another?path=%2Fsome-path%2Fa%2Fb%2Fc"); + var values = await response.Content.ReadAsAsync(); + + // Assert + Assert.Equal(HttpStatusCode.OK, response.StatusCode); + Assert.Collection( + values.Properties().OrderBy(p => p.Name), + p => + { + Assert.Equal("action", p.Name); + Assert.Equal("AnotherRoute", p.Value.Value()); + }, + p => + { + Assert.Equal("controller", p.Name); + Assert.Equal("LinkParser", p.Value.Value()); + }, + p => + { + Assert.Equal("x", p.Name); + Assert.Equal("a", p.Value.Value()); + }, + p => + { + Assert.Equal("y", p.Name); + Assert.Equal("b", p.Value.Value()); + }, + p => + { + Assert.Equal("z", p.Name); + Assert.Equal("c", p.Value.Value()); + }); + } + } +} diff --git a/src/Mvc/test/Mvc.FunctionalTests/NewtonsoftJsonOutputFormatterTest.cs b/src/Mvc/test/Mvc.FunctionalTests/NewtonsoftJsonOutputFormatterTest.cs index 58e77ca408..47696e446f 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/NewtonsoftJsonOutputFormatterTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/NewtonsoftJsonOutputFormatterTest.cs @@ -4,6 +4,7 @@ using System.Net; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc.NewtonsoftJson; +using FormatterWebSite.Controllers; using Newtonsoft.Json; using Xunit; @@ -41,5 +42,16 @@ namespace Microsoft.AspNetCore.Mvc.FunctionalTests var actualBody = await response.Content.ReadAsStringAsync(); Assert.Equal(expectedBody, actualBody); } + + [Fact] + public async Task JsonOutputFormatter_SetsContentLength() + { + // Act + var response = await Client.GetAsync($"/JsonOutputFormatter/{nameof(JsonOutputFormatterController.SimpleModelResult)}"); + + // Assert + await response.AssertStatusCodeAsync(HttpStatusCode.OK); + Assert.Equal(50, response.Content.Headers.ContentLength); + } } } diff --git a/src/Mvc/test/Mvc.FunctionalTests/RoutingEndpointRoutingTest.cs b/src/Mvc/test/Mvc.FunctionalTests/RoutingEndpointRoutingTest.cs index 07512b9b01..553af52750 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/RoutingEndpointRoutingTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/RoutingEndpointRoutingTest.cs @@ -377,6 +377,67 @@ namespace Microsoft.AspNetCore.Mvc.FunctionalTests Assert.Equal("/ConventionalTransformerRoute/conventional-transformer", result.Link); } + [Fact] + public async Task LinkGenerator_EndpointName_LinkToConventionalRoutedAction() + { + // Arrange + + // Act + var response = await Client.GetAsync("/EndpointName/LinkToConventionalRouted"); + + // Assert + Assert.Equal(HttpStatusCode.OK, response.StatusCode); + var body = await response.Content.ReadAsStringAsync(); + + Assert.Equal("/EndpointName/LinkToConventionalRouted", body); + } + + [Fact] + public async Task LinkGenerator_EndpointName_LinkToConventionalRoutedAction_WithAmbientValueIgnored() + { + // Arrange + + // Act + var response = await Client.GetAsync("/EndpointName/LinkToConventionalRouted/test"); + + // Assert + Assert.Equal(HttpStatusCode.OK, response.StatusCode); + var body = await response.Content.ReadAsStringAsync(); + + Assert.Equal("/EndpointName/LinkToConventionalRouted", body); + } + + + [Fact] + public async Task LinkGenerator_EndpointName_LinkToAttributeRoutedAction() + { + // Arrange + + // Act + var response = await Client.GetAsync("/EndpointName/LinkToAttributeRouted"); + + // Assert + Assert.Equal(HttpStatusCode.OK, response.StatusCode); + var body = await response.Content.ReadAsStringAsync(); + + Assert.Equal("/EndpointName/LinkToAttributeRouted", body); + } + + [Fact] + public async Task LinkGenerator_EndpointName_LinkToAttributeRoutedAction_WithAmbientValueIgnored() + { + // Arrange + + // Act + var response = await Client.GetAsync("/EndpointName/LinkToAttributeRouted/test"); + + // Assert + Assert.Equal(HttpStatusCode.OK, response.StatusCode); + var body = await response.Content.ReadAsStringAsync(); + + Assert.Equal("/EndpointName/LinkToAttributeRouted", body); + } + // Endpoint routing exposes HTTP 405s for HTTP method mismatches. protected override void AssertCorsRejectionStatusCode(HttpResponseMessage response) { diff --git a/src/Mvc/test/Mvc.FunctionalTests/XmlOutputFormatterTests.cs b/src/Mvc/test/Mvc.FunctionalTests/XmlOutputFormatterTests.cs index 35e406ac6a..f453e84741 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/XmlOutputFormatterTests.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/XmlOutputFormatterTests.cs @@ -41,6 +41,7 @@ namespace Microsoft.AspNetCore.Mvc.FunctionalTests "xmlns=\"http://schemas.datacontract.org/2004/07/FormatterWebSite\">" + "10", await response.Content.ReadAsStringAsync()); + Assert.Equal(167, response.Content.Headers.ContentLength); } [Fact] @@ -61,6 +62,7 @@ namespace Microsoft.AspNetCore.Mvc.FunctionalTests "10", await response.Content.ReadAsStringAsync()); + Assert.Equal(149, response.Content.Headers.ContentLength); } [ConditionalFact] diff --git a/src/Mvc/test/WebSites/FSharpWebSite/Controllers/HomeController.fs b/src/Mvc/test/WebSites/FSharpWebSite/Controllers/HomeController.fs deleted file mode 100644 index c5153b1def..0000000000 --- a/src/Mvc/test/WebSites/FSharpWebSite/Controllers/HomeController.fs +++ /dev/null @@ -1,21 +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 FSharpWebSite.Controllers - -open System -open System.Collections.Generic -open System.Linq -open System.Threading.Tasks -open Microsoft.AspNetCore.Mvc - -type HomeController () = - inherit Controller() - - member this.Index () = - this.View() - - member this.AsyncAction () = async { - do! Async.Sleep 50 - return this.Content("Action completed asynchronously") - } diff --git a/src/Mvc/test/WebSites/FSharpWebSite/FSharpWebSite.fsproj b/src/Mvc/test/WebSites/FSharpWebSite/FSharpWebSite.fsproj deleted file mode 100644 index cce8ceb9ba..0000000000 --- a/src/Mvc/test/WebSites/FSharpWebSite/FSharpWebSite.fsproj +++ /dev/null @@ -1,24 +0,0 @@ - - - - netcoreapp3.0 - false - true - - - - - - - - - - - - - - - - - - diff --git a/src/Mvc/test/WebSites/FSharpWebSite/Program.fs b/src/Mvc/test/WebSites/FSharpWebSite/Program.fs deleted file mode 100644 index 9def47bebc..0000000000 --- a/src/Mvc/test/WebSites/FSharpWebSite/Program.fs +++ /dev/null @@ -1,24 +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 FSharpWebSite - -open System.IO -open Microsoft.AspNetCore.Hosting - - -module Program = - - [] - let main args = - let host = - WebHostBuilder() - .UseContentRoot(Directory.GetCurrentDirectory()) - .UseStartup() - .UseKestrel() - .UseIISIntegration() - .Build() - - host.Run() - - 0 diff --git a/src/Mvc/test/WebSites/FSharpWebSite/Startup.fs b/src/Mvc/test/WebSites/FSharpWebSite/Startup.fs deleted file mode 100644 index 229b67de8d..0000000000 --- a/src/Mvc/test/WebSites/FSharpWebSite/Startup.fs +++ /dev/null @@ -1,20 +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 FSharpWebSite - -open Microsoft.AspNetCore.Builder -open Microsoft.AspNetCore.Hosting -open Microsoft.Extensions.DependencyInjection - - -type Startup () = - - member this.ConfigureServices(services: IServiceCollection) = - services.AddMvc() |> ignore - - member this.Configure(app: IApplicationBuilder) = - app.UseDeveloperExceptionPage() |> ignore - app.UseStaticFiles() |> ignore - app.UseRouting() |> ignore - app.UseEndpoints(fun endpoints -> endpoints.MapDefaultControllerRoute() |> ignore) |> ignore diff --git a/src/Mvc/test/WebSites/FSharpWebSite/Views/Home/Index.cshtml b/src/Mvc/test/WebSites/FSharpWebSite/Views/Home/Index.cshtml deleted file mode 100644 index f2fd366901..0000000000 --- a/src/Mvc/test/WebSites/FSharpWebSite/Views/Home/Index.cshtml +++ /dev/null @@ -1,5 +0,0 @@ -@{ - ViewData["Title"] = "Home Page"; -} - -

Hello from FSharpWebSite

diff --git a/src/Mvc/test/WebSites/FSharpWebSite/Views/Shared/_Layout.cshtml b/src/Mvc/test/WebSites/FSharpWebSite/Views/Shared/_Layout.cshtml deleted file mode 100644 index 5523878ce3..0000000000 --- a/src/Mvc/test/WebSites/FSharpWebSite/Views/Shared/_Layout.cshtml +++ /dev/null @@ -1,9 +0,0 @@ - - - - @ViewData["Title"] - FSharpWebSite - - - @RenderBody() - - diff --git a/src/Mvc/test/WebSites/FSharpWebSite/Views/_ViewImports.cshtml b/src/Mvc/test/WebSites/FSharpWebSite/Views/_ViewImports.cshtml deleted file mode 100644 index 4694316f4b..0000000000 --- a/src/Mvc/test/WebSites/FSharpWebSite/Views/_ViewImports.cshtml +++ /dev/null @@ -1 +0,0 @@ -@using FSharpWebSite diff --git a/src/Mvc/test/WebSites/FSharpWebSite/Views/_ViewStart.cshtml b/src/Mvc/test/WebSites/FSharpWebSite/Views/_ViewStart.cshtml deleted file mode 100644 index a5f10045db..0000000000 --- a/src/Mvc/test/WebSites/FSharpWebSite/Views/_ViewStart.cshtml +++ /dev/null @@ -1,3 +0,0 @@ -@{ - Layout = "_Layout"; -} diff --git a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/EndpointNameController.cs b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/EndpointNameController.cs new file mode 100644 index 0000000000..cca88e3962 --- /dev/null +++ b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/EndpointNameController.cs @@ -0,0 +1,33 @@ +// 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.Mvc; +using Microsoft.AspNetCore.Routing; + +namespace RoutingWebSite.Controllers +{ + public class EndpointNameController : ControllerBase + { + private readonly LinkGenerator _generator; + + public EndpointNameController(LinkGenerator generator) + { + _generator = generator; + } + + // This is a special case that leads to multiple endpoints with the same route name. IRouter-based routing + // supports this. + [HttpGet] + [HttpPost] + [Route("/[controller]/[action]/{path?}", Name = "EndpointNameController_LinkToAttributeRouted")] + public string LinkToAttributeRouted() + { + return _generator.GetPathByName(HttpContext, "EndpointNameController_LinkToAttributeRouted", values: null); + } + + public string LinkToConventionalRouted() + { + return _generator.GetPathByName(HttpContext, "RouteWithOptionalSegment", new { controller = "EndpointName", action = nameof(LinkToConventionalRouted), }); + } + } +} diff --git a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/LinkParserController.cs b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/LinkParserController.cs new file mode 100644 index 0000000000..614a207d15 --- /dev/null +++ b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/LinkParserController.cs @@ -0,0 +1,60 @@ +// 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.Linq; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Routing; +using Newtonsoft.Json.Linq; + +namespace RoutingWebSite.Controllers +{ + public class LinkParserController : Controller + { + private readonly LinkParser _linkParser; + + public LinkParserController(LinkParser linkParser) + { + _linkParser = linkParser; + } + + public JObject Index() + { + var parsed = _linkParser.ParsePathByEndpointName("default", HttpContext.Request.Path); + if (parsed == null) + { + throw new Exception("Parsing failed."); + } + + return ToJObject(parsed); + } + + public JObject Another(string path) + { + var parsed = _linkParser.ParsePathByEndpointName("AnotherRoute", path); + if (parsed == null) + { + throw new Exception("Parsing failed."); + } + + return ToJObject(parsed); + } + + [Route("some-path/{x}/{y}/{z?}", Name = "AnotherRoute")] + public void AnotherRoute() + { + throw null; + } + + private static JObject ToJObject(RouteValueDictionary values) + { + var obj = new JObject(); + foreach (var kvp in values) + { + obj.Add(kvp.Key, new JValue(kvp.Value.ToString())); + } + + return obj; + } + } +} diff --git a/src/PackageArchive/Archive.CiServer.Patch.Compat/ArchiveBaseline.2.1.10.txt b/src/PackageArchive/Archive.CiServer.Patch.Compat/ArchiveBaseline.2.1.10.txt deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/PackageArchive/Archive.CiServer.Patch.Compat/ArchiveBaseline.2.2.4.txt b/src/PackageArchive/Archive.CiServer.Patch.Compat/ArchiveBaseline.2.2.4.txt deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/PackageArchive/Archive.CiServer.Patch/ArchiveBaseline.2.1.10.txt b/src/PackageArchive/Archive.CiServer.Patch/ArchiveBaseline.2.1.10.txt deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/PackageArchive/Archive.CiServer.Patch/ArchiveBaseline.2.2.4.txt b/src/PackageArchive/Archive.CiServer.Patch/ArchiveBaseline.2.2.4.txt deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/ProjectTemplates/Directory.Build.targets b/src/ProjectTemplates/Directory.Build.targets index ddcc593ac3..881ddd2bc2 100644 --- a/src/ProjectTemplates/Directory.Build.targets +++ b/src/ProjectTemplates/Directory.Build.targets @@ -1,10 +1,6 @@ - - false - - diff --git a/src/ProjectTemplates/ProjectTemplates.sln b/src/ProjectTemplates/ProjectTemplates.sln index 011f187c22..a1f50a1097 100644 --- a/src/ProjectTemplates/ProjectTemplates.sln +++ b/src/ProjectTemplates/ProjectTemplates.sln @@ -179,6 +179,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.ApiAut EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Mvc.Components.Prerendering", "..\Mvc\Mvc.Components.Prerendering\src\Microsoft.AspNetCore.Mvc.Components.Prerendering.csproj", "{706DBAF7-0BB4-4B4F-9B44-E7C3372ECDF2}" EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.SpaServices.Extensions", "..\Middleware\SpaServices.Extensions\src\Microsoft.AspNetCore.SpaServices.Extensions.csproj", "{06D0D7B2-EDA3-45A2-A060-AB791ED1DB80}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -1233,6 +1235,18 @@ Global {706DBAF7-0BB4-4B4F-9B44-E7C3372ECDF2}.Release|x64.Build.0 = Release|Any CPU {706DBAF7-0BB4-4B4F-9B44-E7C3372ECDF2}.Release|x86.ActiveCfg = Release|Any CPU {706DBAF7-0BB4-4B4F-9B44-E7C3372ECDF2}.Release|x86.Build.0 = Release|Any CPU + {06D0D7B2-EDA3-45A2-A060-AB791ED1DB80}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {06D0D7B2-EDA3-45A2-A060-AB791ED1DB80}.Debug|Any CPU.Build.0 = Debug|Any CPU + {06D0D7B2-EDA3-45A2-A060-AB791ED1DB80}.Debug|x64.ActiveCfg = Debug|Any CPU + {06D0D7B2-EDA3-45A2-A060-AB791ED1DB80}.Debug|x64.Build.0 = Debug|Any CPU + {06D0D7B2-EDA3-45A2-A060-AB791ED1DB80}.Debug|x86.ActiveCfg = Debug|Any CPU + {06D0D7B2-EDA3-45A2-A060-AB791ED1DB80}.Debug|x86.Build.0 = Debug|Any CPU + {06D0D7B2-EDA3-45A2-A060-AB791ED1DB80}.Release|Any CPU.ActiveCfg = Release|Any CPU + {06D0D7B2-EDA3-45A2-A060-AB791ED1DB80}.Release|Any CPU.Build.0 = Release|Any CPU + {06D0D7B2-EDA3-45A2-A060-AB791ED1DB80}.Release|x64.ActiveCfg = Release|Any CPU + {06D0D7B2-EDA3-45A2-A060-AB791ED1DB80}.Release|x64.Build.0 = Release|Any CPU + {06D0D7B2-EDA3-45A2-A060-AB791ED1DB80}.Release|x86.ActiveCfg = Release|Any CPU + {06D0D7B2-EDA3-45A2-A060-AB791ED1DB80}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -1320,6 +1334,7 @@ Global {81B96508-D920-45F6-9534-0D348B11DFAB} = {D64F966A-B33B-4554-BA8C-A1AF91265996} {6012D544-32B4-4F5C-B335-A224AA4F661D} = {D64F966A-B33B-4554-BA8C-A1AF91265996} {706DBAF7-0BB4-4B4F-9B44-E7C3372ECDF2} = {D64F966A-B33B-4554-BA8C-A1AF91265996} + {06D0D7B2-EDA3-45A2-A060-AB791ED1DB80} = {D64F966A-B33B-4554-BA8C-A1AF91265996} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {D2F122BA-928C-4179-B503-6744DB64BA13} diff --git a/src/ProjectTemplates/Web.ProjectTemplates/content/GrpcService-CSharp/Protos/greet.proto b/src/ProjectTemplates/Web.ProjectTemplates/content/GrpcService-CSharp/Protos/greet.proto index 75721ab7d1..1eaa51ce65 100644 --- a/src/ProjectTemplates/Web.ProjectTemplates/content/GrpcService-CSharp/Protos/greet.proto +++ b/src/ProjectTemplates/Web.ProjectTemplates/content/GrpcService-CSharp/Protos/greet.proto @@ -1,5 +1,7 @@ syntax = "proto3"; +option csharp_namespace = "GrpcService_CSharp"; + package Greet; // The greeting service definition. diff --git a/src/ProjectTemplates/Web.ProjectTemplates/content/GrpcService-CSharp/Services/GreeterService.cs b/src/ProjectTemplates/Web.ProjectTemplates/content/GrpcService-CSharp/Services/GreeterService.cs index 2e67465c6e..0277296bba 100644 --- a/src/ProjectTemplates/Web.ProjectTemplates/content/GrpcService-CSharp/Services/GreeterService.cs +++ b/src/ProjectTemplates/Web.ProjectTemplates/content/GrpcService-CSharp/Services/GreeterService.cs @@ -2,7 +2,6 @@ using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -using Greet; using Grpc.Core; namespace GrpcService_CSharp diff --git a/src/ProjectTemplates/Web.ProjectTemplates/content/Worker-CSharp/Program.cs b/src/ProjectTemplates/Web.ProjectTemplates/content/Worker-CSharp/Program.cs index 9972b36982..e9c3984365 100644 --- a/src/ProjectTemplates/Web.ProjectTemplates/content/Worker-CSharp/Program.cs +++ b/src/ProjectTemplates/Web.ProjectTemplates/content/Worker-CSharp/Program.cs @@ -16,7 +16,7 @@ namespace Company.Application1 public static IHostBuilder CreateHostBuilder(string[] args) => Host.CreateDefaultBuilder(args) - .ConfigureServices(services => + .ConfigureServices((hostContext, services) => { services.AddHostedService(); }); diff --git a/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/Angular-CSharp/ClientApp/package.json b/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/Angular-CSharp/ClientApp/package.json index 942a997b30..4ec99f9909 100644 --- a/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/Angular-CSharp/ClientApp/package.json +++ b/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/Angular-CSharp/ClientApp/package.json @@ -1,5 +1,5 @@ { - "name": "Company.WebApplication1", + "name": "company.webapplication1", "version": "0.0.0", "scripts": { "ng": "ng", diff --git a/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/Angular-CSharp/ClientApp/src/api-authorization/authorize.service.ts b/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/Angular-CSharp/ClientApp/src/api-authorization/authorize.service.ts index 88098e601b..16f3b7acce 100644 --- a/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/Angular-CSharp/ClientApp/src/api-authorization/authorize.service.ts +++ b/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/Angular-CSharp/ClientApp/src/api-authorization/authorize.service.ts @@ -322,6 +322,11 @@ export class AuthorizeService { prefix: ApplicationName }); this.userManager = new UserManager(settings); + + this.userManager.events.addUserSignedOut(async () => { + await this.userManager.removeUser(); + this.userSubject.next(null); + }); } private getUserFromStorage(): Observable { diff --git a/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/React-CSharp/ClientApp/package.json b/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/React-CSharp/ClientApp/package.json index 7b28c46f8d..be76209b81 100644 --- a/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/React-CSharp/ClientApp/package.json +++ b/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/React-CSharp/ClientApp/package.json @@ -1,5 +1,5 @@ { - "name": "Company.WebApplication1", + "name": "company.webapplication1", "version": "0.1.0", "private": true, "dependencies": { diff --git a/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/React-CSharp/ClientApp/src/components/api-authorization/AuthorizeRoute.js b/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/React-CSharp/ClientApp/src/components/api-authorization/AuthorizeRoute.js index 4a27f0364a..eda40a9a83 100644 --- a/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/React-CSharp/ClientApp/src/components/api-authorization/AuthorizeRoute.js +++ b/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/React-CSharp/ClientApp/src/components/api-authorization/AuthorizeRoute.js @@ -15,9 +15,14 @@ export default class AuthorizeRoute extends Component { } componentDidMount() { + this._subscription = authService.subscribe(() => this.authenticationChanged()); this.populateAuthenticationState(); } + componentWillUnmount() { + authService.unsubscribe(this._subscription); + } + render() { const { ready, authenticated } = this.state; const redirectUrl = `${ApplicationPaths.Login}?${QueryParameterNames.ReturnUrl}=${encodeURI(window.location.href)}` @@ -40,4 +45,9 @@ export default class AuthorizeRoute extends Component { const authenticated = await authService.isAuthenticated(); this.setState({ ready: true, authenticated }); } + + async authenticationChanged() { + this.setState({ ready: false, authenticated: false }); + await this.populateAuthenticationState(); + } } diff --git a/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/React-CSharp/ClientApp/src/components/api-authorization/AuthorizeService.js b/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/React-CSharp/ClientApp/src/components/api-authorization/AuthorizeService.js index 1e59489b5c..7cd5755712 100644 --- a/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/React-CSharp/ClientApp/src/components/api-authorization/AuthorizeService.js +++ b/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/React-CSharp/ClientApp/src/components/api-authorization/AuthorizeService.js @@ -310,6 +310,11 @@ export class AuthorizeService { }); this.userManager = new UserManager(settings); + + this.userManager.events.addUserSignedOut(async () => { + await this.userManager.removeUser(); + this.updateState(undefined); + }); } static get instance() { return authService } diff --git a/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/React-CSharp/ClientApp/src/index.js b/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/React-CSharp/ClientApp/src/index.js index d6f2966be0..a4cc5fefb3 100644 --- a/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/React-CSharp/ClientApp/src/index.js +++ b/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/React-CSharp/ClientApp/src/index.js @@ -3,7 +3,11 @@ import React from 'react'; import ReactDOM from 'react-dom'; import { BrowserRouter } from 'react-router-dom'; import App from './App'; +////#if (IndividualLocalAuth) +////import registerServiceWorker from './registerServiceWorker'; +////#else import registerServiceWorker from './registerServiceWorker'; +////#endif const baseUrl = document.getElementsByTagName('base')[0].getAttribute('href'); const rootElement = document.getElementById('root'); @@ -14,4 +18,16 @@ ReactDOM.render( , rootElement); +////#if (IndividualLocalAuth) +//// Uncomment the line above that imports the registerServiceWorker function +//// and the line below to register the generated service worker. +//// By default create-react-app includes a service worker to improve the +//// performance of the application by caching static assets. This service +//// worker can interfere with the Identity UI, so it is +//// disabled by default when Identity is being used. +//// +////registerServiceWorker(); +////#else registerServiceWorker(); +////#endif + diff --git a/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/ReactRedux-CSharp/ClientApp/package.json b/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/ReactRedux-CSharp/ClientApp/package.json index b32b1b9b1f..bfe4d07021 100644 --- a/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/ReactRedux-CSharp/ClientApp/package.json +++ b/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/ReactRedux-CSharp/ClientApp/package.json @@ -1,5 +1,5 @@ { - "name": "Company.WebApplication1", + "name": "company.webapplication1", "version": "0.1.0", "private": true, "dependencies": { diff --git a/src/ProjectTemplates/scripts/Run-Angular-Locally.ps1 b/src/ProjectTemplates/scripts/Run-Angular-Locally.ps1 index d2f2a92bce..f431d40f36 100644 --- a/src/ProjectTemplates/scripts/Run-Angular-Locally.ps1 +++ b/src/ProjectTemplates/scripts/Run-Angular-Locally.ps1 @@ -9,4 +9,4 @@ $ErrorActionPreference = 'Stop' . $PSScriptRoot\Test-Template.ps1 -Test-Template "angular" "angular" "Microsoft.DotNet.Web.Spa.ProjectTemplates.3.0.0-preview4-t000.nupkg" $true +Test-Template "angular" "angular" "Microsoft.DotNet.Web.Spa.ProjectTemplates.3.0.0-preview5-t000.nupkg" $true diff --git a/src/ProjectTemplates/scripts/Test-Template.ps1 b/src/ProjectTemplates/scripts/Test-Template.ps1 index 442016970e..36bdefa1da 100644 --- a/src/ProjectTemplates/scripts/Test-Template.ps1 +++ b/src/ProjectTemplates/scripts/Test-Template.ps1 @@ -34,9 +34,9 @@ function Test-Template($templateName, $templateArgs, $templateNupkg, $isSPA) { true
") $projContent | Set-Content $proj - dotnet ef migrations add mvc - dotnet publish --configuration Release - dotnet bin\Release\netcoreapp3.0\publish\$templateName.dll + dotnet.exe ef migrations add mvc + dotnet.exe publish --configuration Release + dotnet.exe bin\Release\netcoreapp3.0\publish\$templateName.dll } finally { Pop-Location diff --git a/src/ProjectTemplates/startvs.cmd b/src/ProjectTemplates/startvs.cmd new file mode 100644 index 0000000000..ed46bb92f6 --- /dev/null +++ b/src/ProjectTemplates/startvs.cmd @@ -0,0 +1,3 @@ +@ECHO OFF + +%~dp0..\..\startvs.cmd %~dp0ProjectTemplates.sln diff --git a/src/ProjectTemplates/test/Helpers/AspNetProcess.cs b/src/ProjectTemplates/test/Helpers/AspNetProcess.cs index 3aa89b9b8b..cb071dc8f3 100644 --- a/src/ProjectTemplates/test/Helpers/AspNetProcess.cs +++ b/src/ProjectTemplates/test/Helpers/AspNetProcess.cs @@ -11,7 +11,9 @@ using System.Threading.Tasks; using AngleSharp.Dom.Html; using AngleSharp.Parser.Html; using Microsoft.AspNetCore.Certificates.Generation; +using Microsoft.AspNetCore.Server.IntegrationTesting; using Microsoft.Extensions.CommandLineUtils; +using Microsoft.Extensions.Logging.Abstractions; using OpenQA.Selenium; using OpenQA.Selenium.Edge; using Xunit; @@ -137,7 +139,11 @@ namespace Templates.Test.Helpers else { Assert.True(string.Equals(anchor.Href, expectedLink), $"Expected next link to be {expectedLink} but it was {anchor.Href}."); - var result = await _httpClient.GetAsync(anchor.Href); + var result = await RetryHelper.RetryRequest(async () => + { + return await _httpClient.GetAsync(anchor.Href); + }, logger: NullLogger.Instance); + Assert.True(IsSuccessStatusCode(result), $"{anchor.Href} is a broken link!"); } } diff --git a/src/ProjectTemplates/test/SpaTemplateTest/AngularTemplateTest.cs b/src/ProjectTemplates/test/SpaTemplateTest/AngularTemplateTest.cs index 4584fea6e9..e7095e39c0 100644 --- a/src/ProjectTemplates/test/SpaTemplateTest/AngularTemplateTest.cs +++ b/src/ProjectTemplates/test/SpaTemplateTest/AngularTemplateTest.cs @@ -3,6 +3,8 @@ using System.Threading.Tasks; using Microsoft.AspNetCore.E2ETesting; +using Microsoft.AspNetCore.Testing; +using Microsoft.AspNetCore.Testing.xunit; using Templates.Test.Helpers; using Xunit; using Xunit.Abstractions; @@ -15,6 +17,7 @@ namespace Templates.Test.SpaTemplateTest : base(projectFactory, browserFixture, output) { } [Fact] + [Flaky("https://github.com/aspnet/AspNetCore-Internal/issues/2422", FlakyOn.All)] public Task AngularTemplate_Works() => SpaTemplateImplAsync("angularnoauth", "angular", useLocalDb: false, usesAuth: false); diff --git a/src/ProjectTemplates/test/SpaTemplateTest/SpaTemplateTestBase.cs b/src/ProjectTemplates/test/SpaTemplateTest/SpaTemplateTestBase.cs index 32d4ab053d..325ca911fb 100644 --- a/src/ProjectTemplates/test/SpaTemplateTest/SpaTemplateTestBase.cs +++ b/src/ProjectTemplates/test/SpaTemplateTest/SpaTemplateTestBase.cs @@ -6,6 +6,7 @@ using System.IO; using System.Linq; using System.Net; using System.Runtime.InteropServices; +using System.Text.RegularExpressions; using System.Threading.Tasks; using Microsoft.AspNetCore.E2ETesting; using Newtonsoft.Json.Linq; @@ -51,7 +52,7 @@ namespace Templates.Test.SpaTemplateTest // multiple NPM installs run concurrently which otherwise causes errors when // tests run in parallel. var clientAppSubdirPath = Path.Combine(Project.TemplateOutputDir, "ClientApp"); - Assert.True(File.Exists(Path.Combine(clientAppSubdirPath, "package.json")), "Missing a package.json"); + ValidatePackageJson(clientAppSubdirPath); var projectFileContents = ReadFile(Project.TemplateOutputDir, $"{Project.ProjectName}.csproj"); if (usesAuth && !useLocalDb) @@ -110,7 +111,7 @@ namespace Templates.Test.SpaTemplateTest { var (browser, logs) = await BrowserFixture.GetOrCreateBrowserAsync(Output, $"{Project.ProjectName}.build"); aspNetProcess.VisitInBrowser(browser); - TestBasicNavigation(visitFetchData: shouldVisitFetchData, usesAuth, browser); + TestBasicNavigation(visitFetchData: shouldVisitFetchData, usesAuth, browser, logs); } } @@ -132,11 +133,22 @@ namespace Templates.Test.SpaTemplateTest { var (browser, logs) = await BrowserFixture.GetOrCreateBrowserAsync(Output, $"{Project.ProjectName}.publish"); aspNetProcess.VisitInBrowser(browser); - TestBasicNavigation(visitFetchData: shouldVisitFetchData, usesAuth, browser); + TestBasicNavigation(visitFetchData: shouldVisitFetchData, usesAuth, browser, logs); } } } + private void ValidatePackageJson(string clientAppSubdirPath) + { + Assert.True(File.Exists(Path.Combine(clientAppSubdirPath, "package.json")), "Missing a package.json"); + var packageJson = JObject.Parse(ReadFile(clientAppSubdirPath, "package.json")); + + // NPM package names must match ^(?:@[a-z0-9-~][a-z0-9-._~]*/)?[a-z0-9-~][a-z0-9-._~]*$ + var packageName = (string)packageJson["name"]; + Regex regex = new Regex("^(?:@[a-z0-9-~][a-z0-9-._~]*/)?[a-z0-9-~][a-z0-9-._~]*$"); + Assert.True(regex.IsMatch(packageName), "package.json name is invalid format"); + } + private static async Task WarmUpServer(AspNetProcess aspNetProcess) { var attempt = 0; @@ -179,7 +191,7 @@ namespace Templates.Test.SpaTemplateTest File.WriteAllText(Path.Combine(Project.TemplatePublishDir, "appsettings.json"), testAppSettings); } - private void TestBasicNavigation(bool visitFetchData, bool usesAuth, IWebDriver browser) + private void TestBasicNavigation(bool visitFetchData, bool usesAuth, IWebDriver browser, ILogs logs) { browser.Exists(By.TagName("ul")); // element gets project ID injected into it during template execution @@ -226,6 +238,16 @@ namespace Templates.Test.SpaTemplateTest browser.Exists(By.CssSelector("table>tbody>tr")); browser.Equal(5, () => browser.FindElements(By.CssSelector("p+table>tbody>tr")).Count); } + + foreach (var logKind in logs.AvailableLogTypes) + { + var entries = logs.GetLog(logKind); + var badEntries = entries.Where(e => new LogLevel[] { LogLevel.Warning, LogLevel.Severe }.Contains(e.Level)); + + badEntries = badEntries.Where(e => !e.Message.EndsWith("failed: WebSocket is closed before the connection is established.")); + + Assert.True(badEntries.Count() == 0, "There were Warnings or Errors from the browser." + Environment.NewLine + string.Join(Environment.NewLine, badEntries)); + } } private void AssertFileExists(string basePath, string path, bool shouldExist) diff --git a/src/Razor/Razor.Runtime/ref/Microsoft.AspNetCore.Razor.Runtime.netcoreapp3.0.cs b/src/Razor/Razor.Runtime/ref/Microsoft.AspNetCore.Razor.Runtime.netcoreapp3.0.cs index 889c6b7449..9e2eb73d09 100644 --- a/src/Razor/Razor.Runtime/ref/Microsoft.AspNetCore.Razor.Runtime.netcoreapp3.0.cs +++ b/src/Razor/Razor.Runtime/ref/Microsoft.AspNetCore.Razor.Runtime.netcoreapp3.0.cs @@ -93,7 +93,6 @@ namespace Microsoft.AspNetCore.Razor.Runtime.TagHelpers public partial class TagHelperRunner { public TagHelperRunner() { } - [System.Diagnostics.DebuggerStepThroughAttribute] public System.Threading.Tasks.Task RunAsync(Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext executionContext) { throw null; } } public partial class TagHelperScopeManager diff --git a/src/Razor/Razor.Runtime/src/Runtime/TagHelpers/TagHelperRunner.cs b/src/Razor/Razor.Runtime/src/Runtime/TagHelpers/TagHelperRunner.cs index 89a8b0e2a0..76481341da 100644 --- a/src/Razor/Razor.Runtime/src/Runtime/TagHelpers/TagHelperRunner.cs +++ b/src/Razor/Razor.Runtime/src/Runtime/TagHelpers/TagHelperRunner.cs @@ -20,7 +20,7 @@ namespace Microsoft.AspNetCore.Razor.Runtime.TagHelpers /// </param> /// <returns>Resulting <see cref="TagHelperOutput"/> from processing all of the /// <paramref name="executionContext"/>'s <see cref="ITagHelper"/>s.</returns> - public async Task RunAsync(TagHelperExecutionContext executionContext) + public Task RunAsync(TagHelperExecutionContext executionContext) { if (executionContext == null) { @@ -28,19 +28,40 @@ namespace Microsoft.AspNetCore.Razor.Runtime.TagHelpers } var tagHelperContext = executionContext.Context; + var tagHelpers = executionContext.TagHelpers; + OrderTagHelpers(tagHelpers); - OrderTagHelpers(executionContext.TagHelpers); - - for (var i = 0; i < executionContext.TagHelpers.Count; i++) + // Read interface .Count once rather than per iteration + var count = tagHelpers.Count; + for (var i = 0; i < count; i++) { - executionContext.TagHelpers[i].Init(tagHelperContext); + tagHelpers[i].Init(tagHelperContext); } var tagHelperOutput = executionContext.Output; - for (var i = 0; i < executionContext.TagHelpers.Count; i++) + for (var i = 0; i < count; i++) { - await executionContext.TagHelpers[i].ProcessAsync(tagHelperContext, tagHelperOutput); + var task = tagHelpers[i].ProcessAsync(tagHelperContext, tagHelperOutput); + if (!task.IsCompletedSuccessfully) + { + return Awaited(task, executionContext, i + 1, count); + } + } + + return Task.CompletedTask; + + static async Task Awaited(Task task, TagHelperExecutionContext executionContext, int i, int count) + { + await task; + + var tagHelpers = executionContext.TagHelpers; + var tagHelperOutput = executionContext.Output; + var tagHelperContext = executionContext.Context; + for (; i < count; i++) + { + await tagHelpers[i].ProcessAsync(tagHelperContext, tagHelperOutput); + } } } @@ -48,14 +69,16 @@ namespace Microsoft.AspNetCore.Razor.Runtime.TagHelpers { // Using bubble-sort here due to its simplicity. It'd be an extreme corner case to ever have more than 3 or // 4 tag helpers simultaneously. - ITagHelper temp = null; - for (var i = 0; i < tagHelpers.Count; i++) + + // Read interface .Count once rather than per iteration + var count = tagHelpers.Count; + for (var i = 0; i < count; i++) { - for (var j = i + 1; j < tagHelpers.Count; j++) + for (var j = i + 1; j < count; j++) { if (tagHelpers[j].Order < tagHelpers[i].Order) { - temp = tagHelpers[i]; + var temp = tagHelpers[i]; tagHelpers[i] = tagHelpers[j]; tagHelpers[j] = temp; } diff --git a/src/Razor/Razor.Runtime/src/baseline.netcore.json b/src/Razor/Razor.Runtime/src/baseline.netcore.json deleted file mode 100644 index 67a7e11e75..0000000000 --- a/src/Razor/Razor.Runtime/src/baseline.netcore.json +++ /dev/null @@ -1,2699 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Razor.Runtime, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ChildContentRetrieved", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Items", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary<System.Object, System.Object>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TagHelpers", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList<Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Output", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Context", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Add", - "Parameters": [ - { - "Name": "tagHelper", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddHtmlAttribute", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "valueStyle", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddHtmlAttribute", - "Parameters": [ - { - "Name": "attribute", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddTagHelperAttribute", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "valueStyle", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddTagHelperAttribute", - "Parameters": [ - { - "Name": "attribute", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Reinitialize", - "Parameters": [ - { - "Name": "tagName", - "Type": "System.String" - }, - { - "Name": "tagMode", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagMode" - }, - { - "Name": "items", - "Type": "System.Collections.Generic.IDictionary<System.Object, System.Object>" - }, - { - "Name": "uniqueId", - "Type": "System.String" - }, - { - "Name": "executeChildContentAsync", - "Type": "System.Func<System.Threading.Tasks.Task>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetOutputContentAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "tagName", - "Type": "System.String" - }, - { - "Name": "tagMode", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagMode" - }, - { - "Name": "items", - "Type": "System.Collections.Generic.IDictionary<System.Object, System.Object>" - }, - { - "Name": "uniqueId", - "Type": "System.String" - }, - { - "Name": "executeChildContentAsync", - "Type": "System.Func<System.Threading.Tasks.Task>" - }, - { - "Name": "startTagHelperWritingScope", - "Type": "System.Action<System.Text.Encodings.Web.HtmlEncoder>" - }, - { - "Name": "endTagHelperWritingScope", - "Type": "System.Func<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent>" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "RunAsync", - "Parameters": [ - { - "Name": "executionContext", - "Type": "Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Begin", - "Parameters": [ - { - "Name": "tagName", - "Type": "System.String" - }, - { - "Name": "tagMode", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagMode" - }, - { - "Name": "uniqueId", - "Type": "System.String" - }, - { - "Name": "executeChildContentAsync", - "Type": "System.Func<System.Threading.Tasks.Task>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "End", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "startTagHelperWritingScope", - "Type": "System.Action<System.Text.Encodings.Web.HtmlEncoder>" - }, - { - "Name": "endTagHelperWritingScope", - "Type": "System.Func<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent>" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.Hosting.IRazorSourceChecksumMetadata", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Checksum", - "Parameters": [], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ChecksumAlgorithm", - "Parameters": [], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Identifier", - "Parameters": [], - "ReturnType": "System.String", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItem", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Identifier", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Kind", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Metadata", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyList<System.Object>", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Type", - "Parameters": [], - "ReturnType": "System.Type", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "BaseType": "System.Attribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Kind", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Identifier", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Type", - "Parameters": [], - "ReturnType": "System.Type", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "type", - "Type": "System.Type" - }, - { - "Name": "kind", - "Type": "System.String" - }, - { - "Name": "identifier", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetChecksumMetadata", - "Parameters": [ - { - "Name": "item", - "Type": "Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItem" - } - ], - "ReturnType": "System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Razor.Hosting.IRazorSourceChecksumMetadata>", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemLoader", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "LoadItems", - "Parameters": [ - { - "Name": "assembly", - "Type": "System.Reflection.Assembly" - } - ], - "ReturnType": "System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItem>", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateItem", - "Parameters": [ - { - "Name": "attribute", - "Type": "Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute" - } - ], - "ReturnType": "Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItem", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "LoadAttributes", - "Parameters": [ - { - "Name": "assembly", - "Type": "System.Reflection.Assembly" - } - ], - "ReturnType": "System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute>", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemMetadataAttribute", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "BaseType": "System.Attribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Key", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Value", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.Hosting.RazorConfigurationNameAttribute", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "BaseType": "System.Attribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ConfigurationName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "configurationName", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.Hosting.RazorExtensionAssemblyNameAttribute", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "BaseType": "System.Attribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_AssemblyName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ExtensionName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "extensionName", - "Type": "System.String" - }, - { - "Name": "assemblyName", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.Hosting.RazorLanguageVersionAttribute", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "BaseType": "System.Attribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_LanguageVersion", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "languageVersion", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "BaseType": "System.Attribute", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Razor.Hosting.IRazorSourceChecksumMetadata" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Checksum", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.Hosting.IRazorSourceChecksumMetadata", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ChecksumAlgorithm", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.Hosting.IRazorSourceChecksumMetadata", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Identifier", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.Hosting.IRazorSourceChecksumMetadata", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "checksumAlgorithm", - "Type": "System.String" - }, - { - "Name": "checksum", - "Type": "System.String" - }, - { - "Name": "identifier", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.DefaultTagHelperContent", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "CopyTo", - "Parameters": [ - { - "Name": "destination", - "Type": "Microsoft.AspNetCore.Html.IHtmlContentBuilder" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Html.IHtmlContentContainer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MoveTo", - "Parameters": [ - { - "Name": "destination", - "Type": "Microsoft.AspNetCore.Html.IHtmlContentBuilder" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": 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", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Html.IHtmlContent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsModified", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsEmptyOrWhiteSpace", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Append", - "Parameters": [ - { - "Name": "unencoded", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AppendHtml", - "Parameters": [ - { - "Name": "htmlContent", - "Type": "Microsoft.AspNetCore.Html.IHtmlContent" - } - ], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AppendHtml", - "Parameters": [ - { - "Name": "encoded", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Clear", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Reinitialize", - "Parameters": [], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetContent", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetContent", - "Parameters": [ - { - "Name": "encoder", - "Type": "System.Text.Encodings.Web.HtmlEncoder" - } - ], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeNameAttribute", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "BaseType": "System.Attribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Name", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_DictionaryAttributePrefix", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_DictionaryAttributePrefix", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_DictionaryAttributePrefixSet", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeNotBoundAttribute", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "BaseType": "System.Attribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.HtmlTargetElementAttribute", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "BaseType": "System.Attribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Tag", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Attributes", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Attributes", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TagStructure", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagStructure", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_TagStructure", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagStructure" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ParentTag", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ParentTag", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "tag", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "ElementCatchAllTarget", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "\"*\"" - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent" - ], - "Members": [], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Init", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ProcessAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext" - }, - { - "Name": "output", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.NullHtmlEncoder", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Text.Encodings.Web.HtmlEncoder", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Default", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.NullHtmlEncoder", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MaxOutputCharactersPerInputCharacter", - "Parameters": [], - "ReturnType": "System.Int32", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Encode", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Encode", - "Parameters": [ - { - "Name": "output", - "Type": "System.IO.TextWriter" - }, - { - "Name": "value", - "Type": "System.Char[]" - }, - { - "Name": "startIndex", - "Type": "System.Int32" - }, - { - "Name": "characterCount", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Encode", - "Parameters": [ - { - "Name": "output", - "Type": "System.IO.TextWriter" - }, - { - "Name": "value", - "Type": "System.String" - }, - { - "Name": "startIndex", - "Type": "System.Int32" - }, - { - "Name": "characterCount", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindFirstCharacterToEncode", - "Parameters": [ - { - "Name": "text", - "Type": "System.Char*" - }, - { - "Name": "textLength", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Int32", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TryEncodeUnicodeScalar", - "Parameters": [ - { - "Name": "unicodeScalar", - "Type": "System.Int32" - }, - { - "Name": "buffer", - "Type": "System.Char*" - }, - { - "Name": "bufferLength", - "Type": "System.Int32" - }, - { - "Name": "numberOfCharactersWritten", - "Type": "System.Int32", - "Direction": "Out" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WillEncode", - "Parameters": [ - { - "Name": "unicodeScalar", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.OutputElementHintAttribute", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "BaseType": "System.Attribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_OutputElement", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "outputElement", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.ReadOnlyTagHelperAttributeList", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "BaseType": "System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Item", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ContainsName", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TryGetAttribute", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "attribute", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute", - "Direction": "Out" - } - ], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TryGetAttributes", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "attributes", - "Type": "System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute>", - "Direction": "Out" - } - ], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IndexOfName", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - } - ], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "NameEquals", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "attribute", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute" - } - ], - "ReturnType": "System.Boolean", - "Static": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "attributes", - "Type": "System.Collections.Generic.IList<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute>" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.RestrictChildrenAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ChildTags", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable<System.String>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "childTag", - "Type": "System.String" - }, - { - "Name": "childTags", - "Type": "System.String[]", - "IsParams": true - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelper", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Init", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ProcessAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext" - }, - { - "Name": "output", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Process", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext" - }, - { - "Name": "output", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Html.IHtmlContentContainer" - ], - "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": "Method", - "Name": "get_Name", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Value", - "Parameters": [], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ValueStyle", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Equals", - "Parameters": [ - { - "Name": "other", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute" - } - ], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "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": "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": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "valueStyle", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttributeList", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Razor.TagHelpers.ReadOnlyTagHelperAttributeList", - "ImplementedInterfaces": [ - "System.Collections.Generic.IList<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute>", - "System.Collections.Generic.ICollection<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute>" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Item", - "Parameters": [ - { - "Name": "index", - "Type": "System.Int32" - } - ], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IList<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Item", - "Parameters": [ - { - "Name": "index", - "Type": "System.Int32" - }, - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IList<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Insert", - "Parameters": [ - { - "Name": "index", - "Type": "System.Int32" - }, - { - "Name": "attribute", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IList<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveAt", - "Parameters": [ - { - "Name": "index", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IList<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Add", - "Parameters": [ - { - "Name": "attribute", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.ICollection<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Clear", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.ICollection<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Remove", - "Parameters": [ - { - "Name": "attribute", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.ICollection<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetAttribute", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetAttribute", - "Parameters": [ - { - "Name": "attribute", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Add", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveAll", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "attributes", - "Type": "System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute>" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "attributes", - "Type": "System.Collections.Generic.List<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute>" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperComponent", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Init", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Process", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext" - }, - { - "Name": "output", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ProcessAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext" - }, - { - "Name": "output", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Html.IHtmlContentBuilder" - ], - "Members": [ - { - "Kind": "Method", - "Name": "CopyTo", - "Parameters": [ - { - "Name": "destination", - "Type": "Microsoft.AspNetCore.Html.IHtmlContentBuilder" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "ImplementedInterface": "Microsoft.AspNetCore.Html.IHtmlContentContainer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MoveTo", - "Parameters": [ - { - "Name": "destination", - "Type": "Microsoft.AspNetCore.Html.IHtmlContentBuilder" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": 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", - "Virtual": true, - "Abstract": true, - "ImplementedInterface": "Microsoft.AspNetCore.Html.IHtmlContent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsModified", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsEmptyOrWhiteSpace", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Append", - "Parameters": [ - { - "Name": "unencoded", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AppendHtml", - "Parameters": [ - { - "Name": "htmlContent", - "Type": "Microsoft.AspNetCore.Html.IHtmlContent" - } - ], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AppendHtml", - "Parameters": [ - { - "Name": "encoded", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Clear", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Reinitialize", - "Parameters": [], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetContent", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetContent", - "Parameters": [ - { - "Name": "encoder", - "Type": "System.Text.Encodings.Web.HtmlEncoder" - } - ], - "ReturnType": "System.String", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetHtmlContent", - "Parameters": [ - { - "Name": "htmlContent", - "Type": "Microsoft.AspNetCore.Html.IHtmlContent" - } - ], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetContent", - "Parameters": [ - { - "Name": "unencoded", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetHtmlContent", - "Parameters": [ - { - "Name": "encoded", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AppendFormat", - "Parameters": [ - { - "Name": "format", - "Type": "System.String" - }, - { - "Name": "args", - "Type": "System.Object[]", - "IsParams": true - } - ], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AppendFormat", - "Parameters": [ - { - "Name": "provider", - "Type": "System.IFormatProvider" - }, - { - "Name": "format", - "Type": "System.String" - }, - { - "Name": "args", - "Type": "System.Object[]", - "IsParams": true - } - ], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_TagName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AllAttributes", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.ReadOnlyTagHelperAttributeList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Items", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary<System.Object, System.Object>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UniqueId", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Reinitialize", - "Parameters": [ - { - "Name": "tagName", - "Type": "System.String" - }, - { - "Name": "items", - "Type": "System.Collections.Generic.IDictionary<System.Object, System.Object>" - }, - { - "Name": "uniqueId", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Reinitialize", - "Parameters": [ - { - "Name": "items", - "Type": "System.Collections.Generic.IDictionary<System.Object, System.Object>" - }, - { - "Name": "uniqueId", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "tagName", - "Type": "System.String" - }, - { - "Name": "allAttributes", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttributeList" - }, - { - "Name": "items", - "Type": "System.Collections.Generic.IDictionary<System.Object, System.Object>" - }, - { - "Name": "uniqueId", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "allAttributes", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttributeList" - }, - { - "Name": "items", - "Type": "System.Collections.Generic.IDictionary<System.Object, System.Object>" - }, - { - "Name": "uniqueId", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Html.IHtmlContentContainer" - ], - "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": "Method", - "Name": "get_TagName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_TagName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PreElement", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PreContent", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Content", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Content", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PostContent", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PostElement", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsContentModified", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TagMode", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagMode", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_TagMode", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagMode" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Attributes", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttributeList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Reinitialize", - "Parameters": [ - { - "Name": "tagName", - "Type": "System.String" - }, - { - "Name": "tagMode", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagMode" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SuppressOutput", - "Parameters": [], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetChildContentAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetChildContentAsync", - "Parameters": [ - { - "Name": "useCachedResult", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetChildContentAsync", - "Parameters": [ - { - "Name": "encoder", - "Type": "System.Text.Encodings.Web.HtmlEncoder" - } - ], - "ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetChildContentAsync", - "Parameters": [ - { - "Name": "useCachedResult", - "Type": "System.Boolean" - }, - { - "Name": "encoder", - "Type": "System.Text.Encodings.Web.HtmlEncoder" - } - ], - "ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "tagName", - "Type": "System.String" - }, - { - "Name": "attributes", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttributeList" - }, - { - "Name": "getChildContentAsync", - "Type": "System.Func<System.Boolean, System.Text.Encodings.Web.HtmlEncoder, System.Threading.Tasks.Task<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent>>" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Razor/Razor/ref/Microsoft.AspNetCore.Razor.netcoreapp3.0.cs b/src/Razor/Razor/ref/Microsoft.AspNetCore.Razor.netcoreapp3.0.cs index 032cc69911..36d08aa6ae 100644 --- a/src/Razor/Razor/ref/Microsoft.AspNetCore.Razor.netcoreapp3.0.cs +++ b/src/Razor/Razor/ref/Microsoft.AspNetCore.Razor.netcoreapp3.0.cs @@ -37,9 +37,9 @@ namespace Microsoft.AspNetCore.Razor.TagHelpers public enum HtmlAttributeValueStyle { DoubleQuotes = 0, - Minimized = 3, - NoQuotes = 2, SingleQuotes = 1, + NoQuotes = 2, + Minimized = 3, } [System.AttributeUsageAttribute(System.AttributeTargets.Class, AllowMultiple=true, Inherited=false)] public sealed partial class HtmlTargetElementAttribute : System.Attribute @@ -204,14 +204,14 @@ namespace Microsoft.AspNetCore.Razor.TagHelpers } public enum TagMode { - SelfClosing = 1, StartTagAndEndTag = 0, + SelfClosing = 1, StartTagOnly = 2, } public enum TagStructure { - NormalOrSelfClosing = 1, Unspecified = 0, + NormalOrSelfClosing = 1, WithoutEndTag = 2, } } diff --git a/src/Razor/Razor/src/TagHelpers/ReadOnlyTagHelperAttributeList.cs b/src/Razor/Razor/src/TagHelpers/ReadOnlyTagHelperAttributeList.cs index f3d1569a59..2b0b55d1f1 100644 --- a/src/Razor/Razor/src/TagHelpers/ReadOnlyTagHelperAttributeList.cs +++ b/src/Razor/Razor/src/TagHelpers/ReadOnlyTagHelperAttributeList.cs @@ -54,11 +54,15 @@ namespace Microsoft.AspNetCore.Razor.TagHelpers } // Perf: Avoid allocating enumerator - for (var i = 0; i < Items.Count; i++) + var items = Items; + // Read interface .Count once rather than per iteration + var itemsCount = items.Count; + for (var i = 0; i < itemsCount; i++) { - if (NameEquals(name, Items[i])) + var attribute = items[i]; + if (NameEquals(name, attribute)) { - return Items[i]; + return attribute; } } @@ -126,16 +130,20 @@ namespace Microsoft.AspNetCore.Razor.TagHelpers // Perf: Avoid allocating enumerator List<TagHelperAttribute> matchedAttributes = null; - for (var i = 0; i < Items.Count; i++) + var items = Items; + // Read interface .Count once rather than per iteration + var itemsCount = items.Count; + for (var i = 0; i < itemsCount; i++) { - if (NameEquals(name, Items[i])) + var attribute = items[i]; + if (NameEquals(name, attribute)) { if (matchedAttributes == null) { matchedAttributes = new List<TagHelperAttribute>(); } - matchedAttributes.Add(Items[i]); + matchedAttributes.Add(attribute); } } attributes = matchedAttributes ?? EmptyList; @@ -158,9 +166,12 @@ namespace Microsoft.AspNetCore.Razor.TagHelpers throw new ArgumentNullException(nameof(name)); } - for (var i = 0; i < Items.Count; i++) + var items = Items; + // Read interface .Count once rather than per iteration + var itemsCount = items.Count; + for (var i = 0; i < itemsCount; i++) { - if (NameEquals(name, Items[i])) + if (NameEquals(name, items[i])) { return i; } diff --git a/src/Razor/Razor/src/TagHelpers/TagHelperOutput.cs b/src/Razor/Razor/src/TagHelpers/TagHelperOutput.cs index 51a7f8392b..64e4bf30e3 100644 --- a/src/Razor/Razor/src/TagHelpers/TagHelperOutput.cs +++ b/src/Razor/Razor/src/TagHelpers/TagHelperOutput.cs @@ -305,8 +305,9 @@ namespace Microsoft.AspNetCore.Razor.TagHelpers destination.AppendHtml("<"); destination.AppendHtml(TagName); - // Perf: Avoid allocating enumerator - for (var i = 0; i < Attributes.Count; i++) + // Perf: Avoid allocating enumerator, cache .Count as it goes via interface + var count = Attributes.Count; + for (var i = 0; i < count; i++) { var attribute = Attributes[i]; destination.AppendHtml(" "); @@ -356,8 +357,9 @@ namespace Microsoft.AspNetCore.Razor.TagHelpers destination.AppendHtml("<"); destination.AppendHtml(TagName); - // Perf: Avoid allocating enumerator - for (var i = 0; i < Attributes.Count; i++) + // Perf: Avoid allocating enumerator, cache .Count as it goes via interface + var count = Attributes.Count; + for (var i = 0; i < count; i++) { var attribute = Attributes[i]; destination.AppendHtml(" "); @@ -416,8 +418,9 @@ namespace Microsoft.AspNetCore.Razor.TagHelpers writer.Write("<"); writer.Write(TagName); - // Perf: Avoid allocating enumerator - for (var i = 0; i < Attributes.Count; i++) + // Perf: Avoid allocating enumerator, cache .Count as it goes via interface + var count = Attributes.Count; + for (var i = 0; i < count; i++) { var attribute = Attributes[i]; writer.Write(" "); diff --git a/src/Razor/Razor/src/baseline.netcore.json b/src/Razor/Razor/src/baseline.netcore.json deleted file mode 100644 index fef55e2d15..0000000000 --- a/src/Razor/Razor/src/baseline.netcore.json +++ /dev/null @@ -1,2068 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Razor, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.DefaultTagHelperContent", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "CopyTo", - "Parameters": [ - { - "Name": "destination", - "Type": "Microsoft.AspNetCore.Html.IHtmlContentBuilder" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Html.IHtmlContentContainer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MoveTo", - "Parameters": [ - { - "Name": "destination", - "Type": "Microsoft.AspNetCore.Html.IHtmlContentBuilder" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": 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", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Html.IHtmlContent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsModified", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsEmptyOrWhiteSpace", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Append", - "Parameters": [ - { - "Name": "unencoded", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AppendHtml", - "Parameters": [ - { - "Name": "htmlContent", - "Type": "Microsoft.AspNetCore.Html.IHtmlContent" - } - ], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AppendHtml", - "Parameters": [ - { - "Name": "encoded", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Clear", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Reinitialize", - "Parameters": [], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetContent", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetContent", - "Parameters": [ - { - "Name": "encoder", - "Type": "System.Text.Encodings.Web.HtmlEncoder" - } - ], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeNameAttribute", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "BaseType": "System.Attribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Name", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_DictionaryAttributePrefix", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_DictionaryAttributePrefix", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_DictionaryAttributePrefixSet", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeNotBoundAttribute", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "BaseType": "System.Attribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle", - "Visibility": "Public", - "Kind": "Enumeration", - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "DoubleQuotes", - "Parameters": [], - "GenericParameter": [], - "Literal": "0" - }, - { - "Kind": "Field", - "Name": "SingleQuotes", - "Parameters": [], - "GenericParameter": [], - "Literal": "1" - }, - { - "Kind": "Field", - "Name": "NoQuotes", - "Parameters": [], - "GenericParameter": [], - "Literal": "2" - }, - { - "Kind": "Field", - "Name": "Minimized", - "Parameters": [], - "GenericParameter": [], - "Literal": "3" - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.HtmlTargetElementAttribute", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "BaseType": "System.Attribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Tag", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Attributes", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Attributes", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TagStructure", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagStructure", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_TagStructure", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagStructure" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ParentTag", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ParentTag", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "tag", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "ElementCatchAllTarget", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "\"*\"" - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent" - ], - "Members": [], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Init", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ProcessAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext" - }, - { - "Name": "output", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.NullHtmlEncoder", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Text.Encodings.Web.HtmlEncoder", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Default", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.NullHtmlEncoder", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MaxOutputCharactersPerInputCharacter", - "Parameters": [], - "ReturnType": "System.Int32", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Encode", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Encode", - "Parameters": [ - { - "Name": "output", - "Type": "System.IO.TextWriter" - }, - { - "Name": "value", - "Type": "System.Char[]" - }, - { - "Name": "startIndex", - "Type": "System.Int32" - }, - { - "Name": "characterCount", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Encode", - "Parameters": [ - { - "Name": "output", - "Type": "System.IO.TextWriter" - }, - { - "Name": "value", - "Type": "System.String" - }, - { - "Name": "startIndex", - "Type": "System.Int32" - }, - { - "Name": "characterCount", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FindFirstCharacterToEncode", - "Parameters": [ - { - "Name": "text", - "Type": "System.Char*" - }, - { - "Name": "textLength", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Int32", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TryEncodeUnicodeScalar", - "Parameters": [ - { - "Name": "unicodeScalar", - "Type": "System.Int32" - }, - { - "Name": "buffer", - "Type": "System.Char*" - }, - { - "Name": "bufferLength", - "Type": "System.Int32" - }, - { - "Name": "numberOfCharactersWritten", - "Type": "System.Int32", - "Direction": "Out" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WillEncode", - "Parameters": [ - { - "Name": "unicodeScalar", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.OutputElementHintAttribute", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "BaseType": "System.Attribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_OutputElement", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "outputElement", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.ReadOnlyTagHelperAttributeList", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "BaseType": "System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Item", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ContainsName", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TryGetAttribute", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "attribute", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute", - "Direction": "Out" - } - ], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TryGetAttributes", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "attributes", - "Type": "System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute>", - "Direction": "Out" - } - ], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IndexOfName", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - } - ], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "NameEquals", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "attribute", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute" - } - ], - "ReturnType": "System.Boolean", - "Static": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "attributes", - "Type": "System.Collections.Generic.IList<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute>" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.RestrictChildrenAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ChildTags", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable<System.String>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "childTag", - "Type": "System.String" - }, - { - "Name": "childTags", - "Type": "System.String[]", - "IsParams": true - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelper", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Init", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ProcessAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext" - }, - { - "Name": "output", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Process", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext" - }, - { - "Name": "output", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Html.IHtmlContentContainer" - ], - "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": "Method", - "Name": "get_Name", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Value", - "Parameters": [], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ValueStyle", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Equals", - "Parameters": [ - { - "Name": "other", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute" - } - ], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "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": "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": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - }, - { - "Name": "valueStyle", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttributeList", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Razor.TagHelpers.ReadOnlyTagHelperAttributeList", - "ImplementedInterfaces": [ - "System.Collections.Generic.IList<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute>", - "System.Collections.Generic.ICollection<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute>" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Item", - "Parameters": [ - { - "Name": "index", - "Type": "System.Int32" - } - ], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IList<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Item", - "Parameters": [ - { - "Name": "index", - "Type": "System.Int32" - }, - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IList<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Insert", - "Parameters": [ - { - "Name": "index", - "Type": "System.Int32" - }, - { - "Name": "attribute", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IList<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveAt", - "Parameters": [ - { - "Name": "index", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IList<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Add", - "Parameters": [ - { - "Name": "attribute", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.ICollection<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Clear", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.ICollection<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Remove", - "Parameters": [ - { - "Name": "attribute", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.ICollection<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetAttribute", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetAttribute", - "Parameters": [ - { - "Name": "attribute", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Add", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveAll", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "attributes", - "Type": "System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute>" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "attributes", - "Type": "System.Collections.Generic.List<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute>" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperComponent", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Order", - "Parameters": [], - "ReturnType": "System.Int32", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Init", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Process", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext" - }, - { - "Name": "output", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ProcessAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext" - }, - { - "Name": "output", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Html.IHtmlContentBuilder" - ], - "Members": [ - { - "Kind": "Method", - "Name": "CopyTo", - "Parameters": [ - { - "Name": "destination", - "Type": "Microsoft.AspNetCore.Html.IHtmlContentBuilder" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "ImplementedInterface": "Microsoft.AspNetCore.Html.IHtmlContentContainer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MoveTo", - "Parameters": [ - { - "Name": "destination", - "Type": "Microsoft.AspNetCore.Html.IHtmlContentBuilder" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": 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", - "Virtual": true, - "Abstract": true, - "ImplementedInterface": "Microsoft.AspNetCore.Html.IHtmlContent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsModified", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsEmptyOrWhiteSpace", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Append", - "Parameters": [ - { - "Name": "unencoded", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AppendHtml", - "Parameters": [ - { - "Name": "htmlContent", - "Type": "Microsoft.AspNetCore.Html.IHtmlContent" - } - ], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AppendHtml", - "Parameters": [ - { - "Name": "encoded", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Clear", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Reinitialize", - "Parameters": [], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetContent", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetContent", - "Parameters": [ - { - "Name": "encoder", - "Type": "System.Text.Encodings.Web.HtmlEncoder" - } - ], - "ReturnType": "System.String", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetHtmlContent", - "Parameters": [ - { - "Name": "htmlContent", - "Type": "Microsoft.AspNetCore.Html.IHtmlContent" - } - ], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetContent", - "Parameters": [ - { - "Name": "unencoded", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetHtmlContent", - "Parameters": [ - { - "Name": "encoded", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AppendFormat", - "Parameters": [ - { - "Name": "format", - "Type": "System.String" - }, - { - "Name": "args", - "Type": "System.Object[]", - "IsParams": true - } - ], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AppendFormat", - "Parameters": [ - { - "Name": "provider", - "Type": "System.IFormatProvider" - }, - { - "Name": "format", - "Type": "System.String" - }, - { - "Name": "args", - "Type": "System.Object[]", - "IsParams": true - } - ], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_TagName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AllAttributes", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.ReadOnlyTagHelperAttributeList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Items", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary<System.Object, System.Object>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UniqueId", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Reinitialize", - "Parameters": [ - { - "Name": "tagName", - "Type": "System.String" - }, - { - "Name": "items", - "Type": "System.Collections.Generic.IDictionary<System.Object, System.Object>" - }, - { - "Name": "uniqueId", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Reinitialize", - "Parameters": [ - { - "Name": "items", - "Type": "System.Collections.Generic.IDictionary<System.Object, System.Object>" - }, - { - "Name": "uniqueId", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "tagName", - "Type": "System.String" - }, - { - "Name": "allAttributes", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttributeList" - }, - { - "Name": "items", - "Type": "System.Collections.Generic.IDictionary<System.Object, System.Object>" - }, - { - "Name": "uniqueId", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "allAttributes", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttributeList" - }, - { - "Name": "items", - "Type": "System.Collections.Generic.IDictionary<System.Object, System.Object>" - }, - { - "Name": "uniqueId", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Html.IHtmlContentContainer" - ], - "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": "Method", - "Name": "get_TagName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_TagName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PreElement", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PreContent", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Content", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Content", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PostContent", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PostElement", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsContentModified", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TagMode", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagMode", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_TagMode", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagMode" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Attributes", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttributeList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Reinitialize", - "Parameters": [ - { - "Name": "tagName", - "Type": "System.String" - }, - { - "Name": "tagMode", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagMode" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SuppressOutput", - "Parameters": [], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetChildContentAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetChildContentAsync", - "Parameters": [ - { - "Name": "useCachedResult", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetChildContentAsync", - "Parameters": [ - { - "Name": "encoder", - "Type": "System.Text.Encodings.Web.HtmlEncoder" - } - ], - "ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetChildContentAsync", - "Parameters": [ - { - "Name": "useCachedResult", - "Type": "System.Boolean" - }, - { - "Name": "encoder", - "Type": "System.Text.Encodings.Web.HtmlEncoder" - } - ], - "ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "tagName", - "Type": "System.String" - }, - { - "Name": "attributes", - "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttributeList" - }, - { - "Name": "getChildContentAsync", - "Type": "System.Func<System.Boolean, System.Text.Encodings.Web.HtmlEncoder, System.Threading.Tasks.Task<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent>>" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.TagMode", - "Visibility": "Public", - "Kind": "Enumeration", - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "StartTagAndEndTag", - "Parameters": [], - "GenericParameter": [], - "Literal": "0" - }, - { - "Kind": "Field", - "Name": "SelfClosing", - "Parameters": [], - "GenericParameter": [], - "Literal": "1" - }, - { - "Kind": "Field", - "Name": "StartTagOnly", - "Parameters": [], - "GenericParameter": [], - "Literal": "2" - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Razor.TagHelpers.TagStructure", - "Visibility": "Public", - "Kind": "Enumeration", - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "Unspecified", - "Parameters": [], - "GenericParameter": [], - "Literal": "0" - }, - { - "Kind": "Field", - "Name": "NormalOrSelfClosing", - "Parameters": [], - "GenericParameter": [], - "Literal": "1" - }, - { - "Kind": "Field", - "Name": "WithoutEndTag", - "Parameters": [], - "GenericParameter": [], - "Literal": "2" - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Security/Authentication/Cookies/src/baseline.netcore.json b/src/Security/Authentication/Cookies/src/baseline.netcore.json deleted file mode 100644 index b218669b76..0000000000 --- a/src/Security/Authentication/Cookies/src/baseline.netcore.json +++ /dev/null @@ -1,1621 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Authentication.Cookies, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.Extensions.DependencyInjection.CookieExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddCookie", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddCookie", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder" - }, - { - "Name": "authenticationScheme", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddCookie", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder" - }, - { - "Name": "configureOptions", - "Type": "System.Action<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddCookie", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder" - }, - { - "Name": "authenticationScheme", - "Type": "System.String" - }, - { - "Name": "configureOptions", - "Type": "System.Action<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddCookie", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder" - }, - { - "Name": "authenticationScheme", - "Type": "System.String" - }, - { - "Name": "displayName", - "Type": "System.String" - }, - { - "Name": "configureOptions", - "Type": "System.Action<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.CookieAppBuilderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseCookieAuthentication", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseCookieAuthentication", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationDefaults", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "CookiePrefix", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "LoginPath", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.PathString", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "LogoutPath", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.PathString", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "AccessDeniedPath", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.PathString", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "ReturnUrlParameter", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "AuthenticationScheme", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "\"Cookies\"" - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.SignInAuthenticationHandler<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Events", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationEvents", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Events", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationEvents" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "InitializeHandlerAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateEventsAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task<System.Object>", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HandleAuthenticateAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticateResult>", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FinishResponseAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HandleSignInAsync", - "Parameters": [ - { - "Name": "user", - "Type": "System.Security.Claims.ClaimsPrincipal" - }, - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HandleSignOutAsync", - "Parameters": [ - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HandleForbiddenAsync", - "Parameters": [ - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HandleChallengeAsync", - "Parameters": [ - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions>" - }, - { - "Name": "logger", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - }, - { - "Name": "encoder", - "Type": "System.Text.Encodings.Web.UrlEncoder" - }, - { - "Name": "clock", - "Type": "Microsoft.AspNetCore.Authentication.ISystemClock" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions", - "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_DataProtectionProvider", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.DataProtection.IDataProtectionProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_DataProtectionProvider", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.DataProtection.IDataProtectionProvider" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SlidingExpiration", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SlidingExpiration", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_LoginPath", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.PathString", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_LoginPath", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.PathString" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_LogoutPath", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.PathString", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_LogoutPath", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.PathString" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AccessDeniedPath", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.PathString", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AccessDeniedPath", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.PathString" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ReturnUrlParameter", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ReturnUrlParameter", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Events", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationEvents", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Events", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationEvents" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TicketDataFormat", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authentication.ISecureDataFormat<Microsoft.AspNetCore.Authentication.AuthenticationTicket>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_TicketDataFormat", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Authentication.ISecureDataFormat<Microsoft.AspNetCore.Authentication.AuthenticationTicket>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_CookieManager", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authentication.Cookies.ICookieManager", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_CookieManager", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Authentication.Cookies.ICookieManager" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SessionStore", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authentication.Cookies.ITicketStore", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SessionStore", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Authentication.Cookies.ITicketStore" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ExpireTimeSpan", - "Parameters": [], - "ReturnType": "System.TimeSpan", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ExpireTimeSpan", - "Parameters": [ - { - "Name": "value", - "Type": "System.TimeSpan" - } - ], - "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_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_CookiePath", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_CookiePath", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_CookieHttpOnly", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_CookieHttpOnly", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_CookieSecure", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.CookieSecurePolicy", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_CookieSecure", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.CookieSecurePolicy" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationEvents", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_OnValidatePrincipal", - "Parameters": [], - "ReturnType": "System.Func<Microsoft.AspNetCore.Authentication.Cookies.CookieValidatePrincipalContext, System.Threading.Tasks.Task>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_OnValidatePrincipal", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func<Microsoft.AspNetCore.Authentication.Cookies.CookieValidatePrincipalContext, System.Threading.Tasks.Task>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_OnSigningIn", - "Parameters": [], - "ReturnType": "System.Func<Microsoft.AspNetCore.Authentication.Cookies.CookieSigningInContext, System.Threading.Tasks.Task>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_OnSigningIn", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func<Microsoft.AspNetCore.Authentication.Cookies.CookieSigningInContext, System.Threading.Tasks.Task>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_OnSignedIn", - "Parameters": [], - "ReturnType": "System.Func<Microsoft.AspNetCore.Authentication.Cookies.CookieSignedInContext, System.Threading.Tasks.Task>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_OnSignedIn", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func<Microsoft.AspNetCore.Authentication.Cookies.CookieSignedInContext, System.Threading.Tasks.Task>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_OnSigningOut", - "Parameters": [], - "ReturnType": "System.Func<Microsoft.AspNetCore.Authentication.Cookies.CookieSigningOutContext, System.Threading.Tasks.Task>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_OnSigningOut", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func<Microsoft.AspNetCore.Authentication.Cookies.CookieSigningOutContext, System.Threading.Tasks.Task>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_OnRedirectToLogin", - "Parameters": [], - "ReturnType": "System.Func<Microsoft.AspNetCore.Authentication.RedirectContext<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions>, System.Threading.Tasks.Task>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_OnRedirectToLogin", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func<Microsoft.AspNetCore.Authentication.RedirectContext<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions>, System.Threading.Tasks.Task>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_OnRedirectToAccessDenied", - "Parameters": [], - "ReturnType": "System.Func<Microsoft.AspNetCore.Authentication.RedirectContext<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions>, System.Threading.Tasks.Task>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_OnRedirectToAccessDenied", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func<Microsoft.AspNetCore.Authentication.RedirectContext<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions>, System.Threading.Tasks.Task>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_OnRedirectToLogout", - "Parameters": [], - "ReturnType": "System.Func<Microsoft.AspNetCore.Authentication.RedirectContext<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions>, System.Threading.Tasks.Task>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_OnRedirectToLogout", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func<Microsoft.AspNetCore.Authentication.RedirectContext<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions>, System.Threading.Tasks.Task>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_OnRedirectToReturnUrl", - "Parameters": [], - "ReturnType": "System.Func<Microsoft.AspNetCore.Authentication.RedirectContext<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions>, System.Threading.Tasks.Task>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_OnRedirectToReturnUrl", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func<Microsoft.AspNetCore.Authentication.RedirectContext<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions>, System.Threading.Tasks.Task>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ValidatePrincipal", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authentication.Cookies.CookieValidatePrincipalContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SigningIn", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authentication.Cookies.CookieSigningInContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SignedIn", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authentication.Cookies.CookieSignedInContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SigningOut", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authentication.Cookies.CookieSigningOutContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToLogout", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authentication.RedirectContext<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions>" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToLogin", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authentication.RedirectContext<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions>" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToReturnUrl", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authentication.RedirectContext<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions>" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToAccessDenied", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authentication.RedirectContext<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions>" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.Cookies.CookieSignedInContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.PrincipalContext<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "scheme", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationScheme" - }, - { - "Name": "principal", - "Type": "System.Security.Claims.ClaimsPrincipal" - }, - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.Cookies.CookieSigningInContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.PrincipalContext<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_CookieOptions", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.CookieOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_CookieOptions", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.CookieOptions" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "scheme", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationScheme" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions" - }, - { - "Name": "principal", - "Type": "System.Security.Claims.ClaimsPrincipal" - }, - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - }, - { - "Name": "cookieOptions", - "Type": "Microsoft.AspNetCore.Http.CookieOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.Cookies.CookieSigningOutContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.PropertiesContext<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_CookieOptions", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.CookieOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_CookieOptions", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.CookieOptions" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "scheme", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationScheme" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions" - }, - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - }, - { - "Name": "cookieOptions", - "Type": "Microsoft.AspNetCore.Http.CookieOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.Cookies.CookieValidatePrincipalContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.PrincipalContext<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ShouldRenew", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ShouldRenew", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ReplacePrincipal", - "Parameters": [ - { - "Name": "principal", - "Type": "System.Security.Claims.ClaimsPrincipal" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RejectPrincipal", - "Parameters": [], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "scheme", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationScheme" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions" - }, - { - "Name": "ticket", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationTicket" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.Cookies.ICookieManager", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetRequestCookie", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AppendResponseCookie", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.String" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Http.CookieOptions" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DeleteCookie", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Http.CookieOptions" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.Cookies.ITicketStore", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "StoreAsync", - "Parameters": [ - { - "Name": "ticket", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationTicket" - } - ], - "ReturnType": "System.Threading.Tasks.Task<System.String>", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RenewAsync", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "ticket", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationTicket" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RetrieveAsync", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationTicket>", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveAsync", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.Cookies.PostConfigureCookieAuthenticationOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.Extensions.Options.IPostConfigureOptions<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions>" - ], - "Members": [ - { - "Kind": "Method", - "Name": "PostConfigure", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.Extensions.Options.IPostConfigureOptions<Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "dataProtection", - "Type": "Microsoft.AspNetCore.DataProtection.IDataProtectionProvider" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.Cookies.ChunkingCookieManager", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Authentication.Cookies.ICookieManager" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_ChunkSize", - "Parameters": [], - "ReturnType": "System.Nullable<System.Int32>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ChunkSize", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable<System.Int32>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ThrowForPartialCookies", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ThrowForPartialCookies", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetRequestCookie", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Authentication.Cookies.ICookieManager", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AppendResponseCookie", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.String" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Http.CookieOptions" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Authentication.Cookies.ICookieManager", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DeleteCookie", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "key", - "Type": "System.String" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Http.CookieOptions" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Authentication.Cookies.ICookieManager", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "DefaultChunkSize", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "4050" - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Security/Authentication/Cookies/src/breakingchanges.netcore.json b/src/Security/Authentication/Cookies/src/breakingchanges.netcore.json deleted file mode 100644 index 7a1ab79625..0000000000 --- a/src/Security/Authentication/Cookies/src/breakingchanges.netcore.json +++ /dev/null @@ -1,52 +0,0 @@ - [ - { - "TypeId": "public class Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions : Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions", - "MemberId": "public Microsoft.AspNetCore.Http.CookieSecurePolicy get_CookieSecure()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions : Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions", - "MemberId": "public System.Boolean get_CookieHttpOnly()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions : Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions", - "MemberId": "public System.String get_CookieDomain()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions : Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions", - "MemberId": "public System.String get_CookieName()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions : Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions", - "MemberId": "public System.String get_CookiePath()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions : Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions", - "MemberId": "public System.Void set_CookieDomain(System.String value)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions : Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions", - "MemberId": "public System.Void set_CookieHttpOnly(System.Boolean value)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions : Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions", - "MemberId": "public System.Void set_CookieName(System.String value)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions : Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions", - "MemberId": "public System.Void set_CookiePath(System.String value)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions : Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions", - "MemberId": "public System.Void set_CookieSecure(Microsoft.AspNetCore.Http.CookieSecurePolicy value)", - "Kind": "Removal" - } - ] \ No newline at end of file diff --git a/src/Security/Authentication/Core/src/baseline.netcore.json b/src/Security/Authentication/Core/src/baseline.netcore.json deleted file mode 100644 index 08eeb5e7b2..0000000000 --- a/src/Security/Authentication/Core/src/baseline.netcore.json +++ /dev/null @@ -1,3330 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Authentication, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Services", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IServiceCollection", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddScheme<T0, T1>", - "Parameters": [ - { - "Name": "authenticationScheme", - "Type": "System.String" - }, - { - "Name": "displayName", - "Type": "System.String" - }, - { - "Name": "configureOptions", - "Type": "System.Action<T0>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TOptions", - "ParameterPosition": 0, - "New": true, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions" - ] - }, - { - "ParameterName": "THandler", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Authentication.AuthenticationHandler<T0>" - ] - } - ] - }, - { - "Kind": "Method", - "Name": "AddScheme<T0, T1>", - "Parameters": [ - { - "Name": "authenticationScheme", - "Type": "System.String" - }, - { - "Name": "configureOptions", - "Type": "System.Action<T0>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TOptions", - "ParameterPosition": 0, - "New": true, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions" - ] - }, - { - "ParameterName": "THandler", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Authentication.AuthenticationHandler<T0>" - ] - } - ] - }, - { - "Kind": "Method", - "Name": "AddRemoteScheme<T0, T1>", - "Parameters": [ - { - "Name": "authenticationScheme", - "Type": "System.String" - }, - { - "Name": "displayName", - "Type": "System.String" - }, - { - "Name": "configureOptions", - "Type": "System.Action<T0>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TOptions", - "ParameterPosition": 0, - "New": true, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions" - ] - }, - { - "ParameterName": "THandler", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler<T0>" - ] - } - ] - }, - { - "Kind": "Method", - "Name": "AddPolicyScheme", - "Parameters": [ - { - "Name": "authenticationScheme", - "Type": "System.String" - }, - { - "Name": "displayName", - "Type": "System.String" - }, - { - "Name": "configureOptions", - "Type": "System.Action<Microsoft.AspNetCore.Authentication.PolicySchemeOptions>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.AuthenticationHandler<T0>", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Authentication.IAuthenticationHandler" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Scheme", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationScheme", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Options", - "Parameters": [], - "ReturnType": "T0", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Context", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HttpContext", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Request", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HttpRequest", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Response", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HttpResponse", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_OriginalPath", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.PathString", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_OriginalPathBase", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.PathString", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Logger", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.Logging.ILogger", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UrlEncoder", - "Parameters": [], - "ReturnType": "System.Text.Encodings.Web.UrlEncoder", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Clock", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authentication.ISystemClock", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_OptionsMonitor", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.Options.IOptionsMonitor<T0>", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Events", - "Parameters": [], - "ReturnType": "System.Object", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Events", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ClaimsIssuer", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_CurrentUri", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "InitializeAsync", - "Parameters": [ - { - "Name": "scheme", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationScheme" - }, - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationHandler", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "InitializeEventsAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateEventsAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task<System.Object>", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "InitializeHandlerAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BuildRedirectUri", - "Parameters": [ - { - "Name": "targetPath", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ResolveTarget", - "Parameters": [ - { - "Name": "scheme", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AuthenticateAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticateResult>", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationHandler", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HandleAuthenticateOnceAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticateResult>", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HandleAuthenticateOnceSafeAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticateResult>", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HandleAuthenticateAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticateResult>", - "Virtual": true, - "Abstract": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HandleForbiddenAsync", - "Parameters": [ - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HandleChallengeAsync", - "Parameters": [ - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ChallengeAsync", - "Parameters": [ - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationHandler", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ForbidAsync", - "Parameters": [ - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationHandler", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptionsMonitor<T0>" - }, - { - "Name": "logger", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - }, - { - "Name": "encoder", - "Type": "System.Text.Encodings.Web.UrlEncoder" - }, - { - "Name": "clock", - "Type": "Microsoft.AspNetCore.Authentication.ISystemClock" - } - ], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TOptions", - "ParameterPosition": 0, - "New": true, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.AuthenticationMiddleware", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Schemes", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Schemes", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Invoke", - "Parameters": [ - { - "Name": "context", - "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": "schemes", - "Type": "Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Validate", - "Parameters": [], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Validate", - "Parameters": [ - { - "Name": "scheme", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ClaimsIssuer", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ClaimsIssuer", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Events", - "Parameters": [], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Events", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_EventsType", - "Parameters": [], - "ReturnType": "System.Type", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_EventsType", - "Parameters": [ - { - "Name": "value", - "Type": "System.Type" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ForwardDefault", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ForwardDefault", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ForwardAuthenticate", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ForwardAuthenticate", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ForwardChallenge", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ForwardChallenge", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ForwardForbid", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ForwardForbid", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ForwardSignIn", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ForwardSignIn", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ForwardSignOut", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ForwardSignOut", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ForwardDefaultSelector", - "Parameters": [], - "ReturnType": "System.Func<Microsoft.AspNetCore.Http.HttpContext, System.String>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ForwardDefaultSelector", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func<Microsoft.AspNetCore.Http.HttpContext, System.String>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.IDataSerializer<T0>", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Serialize", - "Parameters": [ - { - "Name": "model", - "Type": "T0" - } - ], - "ReturnType": "System.Byte[]", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Deserialize", - "Parameters": [ - { - "Name": "data", - "Type": "System.Byte[]" - } - ], - "ReturnType": "T0", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TModel", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.ISecureDataFormat<T0>", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Protect", - "Parameters": [ - { - "Name": "data", - "Type": "T0" - } - ], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Protect", - "Parameters": [ - { - "Name": "data", - "Type": "T0" - }, - { - "Name": "purpose", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Unprotect", - "Parameters": [ - { - "Name": "protectedText", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Unprotect", - "Parameters": [ - { - "Name": "protectedText", - "Type": "System.String" - }, - { - "Name": "purpose", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TData", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.PropertiesDataFormat", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.SecureDataFormat<Microsoft.AspNetCore.Authentication.AuthenticationProperties>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "protector", - "Type": "Microsoft.AspNetCore.DataProtection.IDataProtector" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.PropertiesSerializer", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Authentication.IDataSerializer<Microsoft.AspNetCore.Authentication.AuthenticationProperties>" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Default", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authentication.PropertiesSerializer", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Serialize", - "Parameters": [ - { - "Name": "model", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "System.Byte[]", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IDataSerializer<Microsoft.AspNetCore.Authentication.AuthenticationProperties>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Deserialize", - "Parameters": [ - { - "Name": "data", - "Type": "System.Byte[]" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationProperties", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IDataSerializer<Microsoft.AspNetCore.Authentication.AuthenticationProperties>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Write", - "Parameters": [ - { - "Name": "writer", - "Type": "System.IO.BinaryWriter" - }, - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Read", - "Parameters": [ - { - "Name": "reader", - "Type": "System.IO.BinaryReader" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationProperties", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.SecureDataFormat<T0>", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Authentication.ISecureDataFormat<T0>" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Protect", - "Parameters": [ - { - "Name": "data", - "Type": "T0" - } - ], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Authentication.ISecureDataFormat<T0>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Protect", - "Parameters": [ - { - "Name": "data", - "Type": "T0" - }, - { - "Name": "purpose", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Authentication.ISecureDataFormat<T0>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Unprotect", - "Parameters": [ - { - "Name": "protectedText", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Authentication.ISecureDataFormat<T0>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Unprotect", - "Parameters": [ - { - "Name": "protectedText", - "Type": "System.String" - }, - { - "Name": "purpose", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Authentication.ISecureDataFormat<T0>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "serializer", - "Type": "Microsoft.AspNetCore.Authentication.IDataSerializer<T0>" - }, - { - "Name": "protector", - "Type": "Microsoft.AspNetCore.DataProtection.IDataProtector" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TData", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.Base64UrlTextEncoder", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Encode", - "Parameters": [ - { - "Name": "data", - "Type": "System.Byte[]" - } - ], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Decode", - "Parameters": [ - { - "Name": "text", - "Type": "System.String" - } - ], - "ReturnType": "System.Byte[]", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.TicketDataFormat", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.SecureDataFormat<Microsoft.AspNetCore.Authentication.AuthenticationTicket>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "protector", - "Type": "Microsoft.AspNetCore.DataProtection.IDataProtector" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.TicketSerializer", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Authentication.IDataSerializer<Microsoft.AspNetCore.Authentication.AuthenticationTicket>" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Default", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authentication.TicketSerializer", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Serialize", - "Parameters": [ - { - "Name": "ticket", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationTicket" - } - ], - "ReturnType": "System.Byte[]", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IDataSerializer<Microsoft.AspNetCore.Authentication.AuthenticationTicket>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Deserialize", - "Parameters": [ - { - "Name": "data", - "Type": "System.Byte[]" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationTicket", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IDataSerializer<Microsoft.AspNetCore.Authentication.AuthenticationTicket>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Write", - "Parameters": [ - { - "Name": "writer", - "Type": "System.IO.BinaryWriter" - }, - { - "Name": "ticket", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationTicket" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteIdentity", - "Parameters": [ - { - "Name": "writer", - "Type": "System.IO.BinaryWriter" - }, - { - "Name": "identity", - "Type": "System.Security.Claims.ClaimsIdentity" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteClaim", - "Parameters": [ - { - "Name": "writer", - "Type": "System.IO.BinaryWriter" - }, - { - "Name": "claim", - "Type": "System.Security.Claims.Claim" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Read", - "Parameters": [ - { - "Name": "reader", - "Type": "System.IO.BinaryReader" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationTicket", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ReadIdentity", - "Parameters": [ - { - "Name": "reader", - "Type": "System.IO.BinaryReader" - } - ], - "ReturnType": "System.Security.Claims.ClaimsIdentity", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ReadClaim", - "Parameters": [ - { - "Name": "reader", - "Type": "System.IO.BinaryReader" - }, - { - "Name": "identity", - "Type": "System.Security.Claims.ClaimsIdentity" - } - ], - "ReturnType": "System.Security.Claims.Claim", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.BaseContext<T0>", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Scheme", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationScheme", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Options", - "Parameters": [], - "ReturnType": "T0", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HttpContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HttpContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Request", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HttpRequest", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Response", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HttpResponse", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "scheme", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationScheme" - }, - { - "Name": "options", - "Type": "T0" - } - ], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TOptions", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.HandleRequestContext<T0>", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.BaseContext<T0>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Result", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authentication.HandleRequestResult", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Result", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Authentication.HandleRequestResult" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HandleResponse", - "Parameters": [], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SkipHandler", - "Parameters": [], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "scheme", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationScheme" - }, - { - "Name": "options", - "Type": "T0" - } - ], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TOptions", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.PrincipalContext<T0>", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "BaseType": "Microsoft.AspNetCore.Authentication.PropertiesContext<T0>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Principal", - "Parameters": [], - "ReturnType": "System.Security.Claims.ClaimsPrincipal", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Principal", - "Parameters": [ - { - "Name": "value", - "Type": "System.Security.Claims.ClaimsPrincipal" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "scheme", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationScheme" - }, - { - "Name": "options", - "Type": "T0" - }, - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TOptions", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.PropertiesContext<T0>", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "BaseType": "Microsoft.AspNetCore.Authentication.BaseContext<T0>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Properties", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationProperties", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Properties", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "scheme", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationScheme" - }, - { - "Name": "options", - "Type": "T0" - }, - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TOptions", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.RedirectContext<T0>", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.PropertiesContext<T0>", - "ImplementedInterfaces": [], - "Members": [ - { - "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": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "scheme", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationScheme" - }, - { - "Name": "options", - "Type": "T0" - }, - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - }, - { - "Name": "redirectUri", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TOptions", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.RemoteAuthenticationContext<T0>", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "BaseType": "Microsoft.AspNetCore.Authentication.HandleRequestContext<T0>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Principal", - "Parameters": [], - "ReturnType": "System.Security.Claims.ClaimsPrincipal", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Principal", - "Parameters": [ - { - "Name": "value", - "Type": "System.Security.Claims.ClaimsPrincipal" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Properties", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationProperties", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Properties", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Success", - "Parameters": [], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Fail", - "Parameters": [ - { - "Name": "failure", - "Type": "System.Exception" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Fail", - "Parameters": [ - { - "Name": "failureMessage", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "scheme", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationScheme" - }, - { - "Name": "options", - "Type": "T0" - }, - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TOptions", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.RemoteAuthenticationEvents", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_OnRemoteFailure", - "Parameters": [], - "ReturnType": "System.Func<Microsoft.AspNetCore.Authentication.RemoteFailureContext, System.Threading.Tasks.Task>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_OnRemoteFailure", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func<Microsoft.AspNetCore.Authentication.RemoteFailureContext, System.Threading.Tasks.Task>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_OnTicketReceived", - "Parameters": [], - "ReturnType": "System.Func<Microsoft.AspNetCore.Authentication.TicketReceivedContext, System.Threading.Tasks.Task>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_OnTicketReceived", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func<Microsoft.AspNetCore.Authentication.TicketReceivedContext, System.Threading.Tasks.Task>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoteFailure", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authentication.RemoteFailureContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TicketReceived", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authentication.TicketReceivedContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.RemoteFailureContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.HandleRequestContext<Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions>", - "ImplementedInterfaces": [], - "Members": [ - { - "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": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Properties", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationProperties", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Properties", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "scheme", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationScheme" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions" - }, - { - "Name": "failure", - "Type": "System.Exception" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.ResultContext<T0>", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "BaseType": "Microsoft.AspNetCore.Authentication.BaseContext<T0>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Principal", - "Parameters": [], - "ReturnType": "System.Security.Claims.ClaimsPrincipal", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Principal", - "Parameters": [ - { - "Name": "value", - "Type": "System.Security.Claims.ClaimsPrincipal" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Properties", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationProperties", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Properties", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Result", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticateResult", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Success", - "Parameters": [], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "NoResult", - "Parameters": [], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Fail", - "Parameters": [ - { - "Name": "failure", - "Type": "System.Exception" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Fail", - "Parameters": [ - { - "Name": "failureMessage", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "scheme", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationScheme" - }, - { - "Name": "options", - "Type": "T0" - } - ], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TOptions", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.TicketReceivedContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.RemoteAuthenticationContext<Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ReturnUri", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ReturnUri", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "scheme", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationScheme" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions" - }, - { - "Name": "ticket", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationTicket" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.HandleRequestResult", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.AuthenticateResult", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Handled", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Skipped", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Success", - "Parameters": [ - { - "Name": "ticket", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationTicket" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.HandleRequestResult", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Fail", - "Parameters": [ - { - "Name": "failure", - "Type": "System.Exception" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.HandleRequestResult", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Fail", - "Parameters": [ - { - "Name": "failure", - "Type": "System.Exception" - }, - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.HandleRequestResult", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Fail", - "Parameters": [ - { - "Name": "failureMessage", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.HandleRequestResult", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Fail", - "Parameters": [ - { - "Name": "failureMessage", - "Type": "System.String" - }, - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.HandleRequestResult", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Handle", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authentication.HandleRequestResult", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SkipHandler", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authentication.HandleRequestResult", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.ISystemClock", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_UtcNow", - "Parameters": [], - "ReturnType": "System.DateTimeOffset", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.PolicySchemeHandler", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.SignInAuthenticationHandler<Microsoft.AspNetCore.Authentication.PolicySchemeOptions>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "HandleChallengeAsync", - "Parameters": [ - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HandleForbiddenAsync", - "Parameters": [ - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HandleSignInAsync", - "Parameters": [ - { - "Name": "user", - "Type": "System.Security.Claims.ClaimsPrincipal" - }, - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HandleSignOutAsync", - "Parameters": [ - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HandleAuthenticateAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticateResult>", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.PolicySchemeOptions>" - }, - { - "Name": "logger", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - }, - { - "Name": "encoder", - "Type": "System.Text.Encodings.Web.UrlEncoder" - }, - { - "Name": "clock", - "Type": "Microsoft.AspNetCore.Authentication.ISystemClock" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.PolicySchemeOptions", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler<T0>", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "BaseType": "Microsoft.AspNetCore.Authentication.AuthenticationHandler<T0>", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Authentication.IAuthenticationRequestHandler" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_SignInScheme", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Events", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authentication.RemoteAuthenticationEvents", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Events", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Authentication.RemoteAuthenticationEvents" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateEventsAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task<System.Object>", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ShouldHandleRequestAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task<System.Boolean>", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HandleRequestAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task<System.Boolean>", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationRequestHandler", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HandleRemoteAuthenticateAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.HandleRequestResult>", - "Virtual": true, - "Abstract": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HandleAuthenticateAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticateResult>", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HandleForbiddenAsync", - "Parameters": [ - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GenerateCorrelationId", - "Parameters": [ - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ValidateCorrelationId", - "Parameters": [ - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptionsMonitor<T0>" - }, - { - "Name": "logger", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - }, - { - "Name": "encoder", - "Type": "System.Text.Encodings.Web.UrlEncoder" - }, - { - "Name": "clock", - "Type": "Microsoft.AspNetCore.Authentication.ISystemClock" - } - ], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TOptions", - "ParameterPosition": 0, - "New": true, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Validate", - "Parameters": [ - { - "Name": "scheme", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Validate", - "Parameters": [], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_BackchannelTimeout", - "Parameters": [], - "ReturnType": "System.TimeSpan", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_BackchannelTimeout", - "Parameters": [ - { - "Name": "value", - "Type": "System.TimeSpan" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_BackchannelHttpHandler", - "Parameters": [], - "ReturnType": "System.Net.Http.HttpMessageHandler", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_BackchannelHttpHandler", - "Parameters": [ - { - "Name": "value", - "Type": "System.Net.Http.HttpMessageHandler" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Backchannel", - "Parameters": [], - "ReturnType": "System.Net.Http.HttpClient", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Backchannel", - "Parameters": [ - { - "Name": "value", - "Type": "System.Net.Http.HttpClient" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_DataProtectionProvider", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.DataProtection.IDataProtectionProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_DataProtectionProvider", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.DataProtection.IDataProtectionProvider" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_CallbackPath", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.PathString", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_CallbackPath", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.PathString" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SignInScheme", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SignInScheme", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RemoteAuthenticationTimeout", - "Parameters": [], - "ReturnType": "System.TimeSpan", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RemoteAuthenticationTimeout", - "Parameters": [ - { - "Name": "value", - "Type": "System.TimeSpan" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Events", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authentication.RemoteAuthenticationEvents", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Events", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Authentication.RemoteAuthenticationEvents" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SaveTokens", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SaveTokens", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_CorrelationCookie", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.CookieBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_CorrelationCookie", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.CookieBuilder" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.SignInAuthenticationHandler<T0>", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "BaseType": "Microsoft.AspNetCore.Authentication.SignOutAuthenticationHandler<T0>", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Authentication.IAuthenticationSignInHandler" - ], - "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", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationSignInHandler", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HandleSignInAsync", - "Parameters": [ - { - "Name": "user", - "Type": "System.Security.Claims.ClaimsPrincipal" - }, - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptionsMonitor<T0>" - }, - { - "Name": "logger", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - }, - { - "Name": "encoder", - "Type": "System.Text.Encodings.Web.UrlEncoder" - }, - { - "Name": "clock", - "Type": "Microsoft.AspNetCore.Authentication.ISystemClock" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TOptions", - "ParameterPosition": 0, - "New": true, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.SignOutAuthenticationHandler<T0>", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "BaseType": "Microsoft.AspNetCore.Authentication.AuthenticationHandler<T0>", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Authentication.IAuthenticationSignOutHandler" - ], - "Members": [ - { - "Kind": "Method", - "Name": "SignOutAsync", - "Parameters": [ - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationSignOutHandler", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HandleSignOutAsync", - "Parameters": [ - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptionsMonitor<T0>" - }, - { - "Name": "logger", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - }, - { - "Name": "encoder", - "Type": "System.Text.Encodings.Web.UrlEncoder" - }, - { - "Name": "clock", - "Type": "Microsoft.AspNetCore.Authentication.ISystemClock" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TOptions", - "ParameterPosition": 0, - "New": true, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.SystemClock", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Authentication.ISystemClock" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_UtcNow", - "Parameters": [], - "ReturnType": "System.DateTimeOffset", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Authentication.ISystemClock", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.AuthAppBuilderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseAuthentication", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.Extensions.DependencyInjection.AuthenticationServiceCollectionExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddAuthentication", - "Parameters": [ - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddAuthentication", - "Parameters": [ - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - }, - { - "Name": "defaultScheme", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddAuthentication", - "Parameters": [ - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - }, - { - "Name": "configureOptions", - "Type": "System.Action<Microsoft.AspNetCore.Authentication.AuthenticationOptions>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddScheme<T0, T1>", - "Parameters": [ - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - }, - { - "Name": "authenticationScheme", - "Type": "System.String" - }, - { - "Name": "displayName", - "Type": "System.String" - }, - { - "Name": "configureScheme", - "Type": "System.Action<Microsoft.AspNetCore.Authentication.AuthenticationSchemeBuilder>" - }, - { - "Name": "configureOptions", - "Type": "System.Action<T0>" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IServiceCollection", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TOptions", - "ParameterPosition": 0, - "New": true, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions" - ] - }, - { - "ParameterName": "THandler", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Authentication.AuthenticationHandler<T0>" - ] - } - ] - }, - { - "Kind": "Method", - "Name": "AddScheme<T0, T1>", - "Parameters": [ - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - }, - { - "Name": "authenticationScheme", - "Type": "System.String" - }, - { - "Name": "configureOptions", - "Type": "System.Action<T0>" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IServiceCollection", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TOptions", - "ParameterPosition": 0, - "New": true, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions" - ] - }, - { - "ParameterName": "THandler", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Authentication.AuthenticationHandler<T0>" - ] - } - ] - }, - { - "Kind": "Method", - "Name": "AddScheme<T0, T1>", - "Parameters": [ - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - }, - { - "Name": "authenticationScheme", - "Type": "System.String" - }, - { - "Name": "displayName", - "Type": "System.String" - }, - { - "Name": "configureOptions", - "Type": "System.Action<T0>" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IServiceCollection", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TOptions", - "ParameterPosition": 0, - "New": true, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions" - ] - }, - { - "ParameterName": "THandler", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Authentication.AuthenticationHandler<T0>" - ] - } - ] - }, - { - "Kind": "Method", - "Name": "AddRemoteScheme<T0, T1>", - "Parameters": [ - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - }, - { - "Name": "authenticationScheme", - "Type": "System.String" - }, - { - "Name": "displayName", - "Type": "System.String" - }, - { - "Name": "configureOptions", - "Type": "System.Action<T0>" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IServiceCollection", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TOptions", - "ParameterPosition": 0, - "New": true, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions" - ] - }, - { - "ParameterName": "THandler", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler<T0>" - ] - } - ] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Security/Authentication/Core/src/breakingchanges.netcore.json b/src/Security/Authentication/Core/src/breakingchanges.netcore.json deleted file mode 100644 index d5bc6954ef..0000000000 --- a/src/Security/Authentication/Core/src/breakingchanges.netcore.json +++ /dev/null @@ -1,22 +0,0 @@ - [ - { - "TypeId": "public static class Microsoft.Extensions.DependencyInjection.AuthenticationServiceCollectionExtensions", - "MemberId": "public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddRemoteScheme<T0, T1>(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.String authenticationScheme, System.String displayName, System.Action<T0> configureOptions) where T0 : Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions, new() where T1 : Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler<T0>", - "Kind": "Removal" - }, - { - "TypeId": "public static class Microsoft.Extensions.DependencyInjection.AuthenticationServiceCollectionExtensions", - "MemberId": "public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddScheme<T0, T1>(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.String authenticationScheme, System.Action<T0> configureOptions) where T0 : Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions, new() where T1 : Microsoft.AspNetCore.Authentication.AuthenticationHandler<T0>", - "Kind": "Removal" - }, - { - "TypeId": "public static class Microsoft.Extensions.DependencyInjection.AuthenticationServiceCollectionExtensions", - "MemberId": "public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddScheme<T0, T1>(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.String authenticationScheme, System.String displayName, System.Action<Microsoft.AspNetCore.Authentication.AuthenticationSchemeBuilder> configureScheme, System.Action<T0> configureOptions) where T0 : Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions, new() where T1 : Microsoft.AspNetCore.Authentication.AuthenticationHandler<T0>", - "Kind": "Removal" - }, - { - "TypeId": "public static class Microsoft.Extensions.DependencyInjection.AuthenticationServiceCollectionExtensions", - "MemberId": "public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddScheme<T0, T1>(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.String authenticationScheme, System.String displayName, System.Action<T0> configureOptions) where T0 : Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions, new() where T1 : Microsoft.AspNetCore.Authentication.AuthenticationHandler<T0>", - "Kind": "Removal" - } - ] \ No newline at end of file diff --git a/src/Security/Authentication/Facebook/src/baseline.netcore.json b/src/Security/Authentication/Facebook/src/baseline.netcore.json deleted file mode 100644 index 5d95efca6f..0000000000 --- a/src/Security/Authentication/Facebook/src/baseline.netcore.json +++ /dev/null @@ -1,390 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Authentication.Facebook, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.Extensions.DependencyInjection.FacebookAuthenticationOptionsExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddFacebook", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddFacebook", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder" - }, - { - "Name": "configureOptions", - "Type": "System.Action<Microsoft.AspNetCore.Authentication.Facebook.FacebookOptions>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddFacebook", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder" - }, - { - "Name": "authenticationScheme", - "Type": "System.String" - }, - { - "Name": "configureOptions", - "Type": "System.Action<Microsoft.AspNetCore.Authentication.Facebook.FacebookOptions>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddFacebook", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder" - }, - { - "Name": "authenticationScheme", - "Type": "System.String" - }, - { - "Name": "displayName", - "Type": "System.String" - }, - { - "Name": "configureOptions", - "Type": "System.Action<Microsoft.AspNetCore.Authentication.Facebook.FacebookOptions>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.Facebook.FacebookDefaults", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "DisplayName", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "AuthorizationEndpoint", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "TokenEndpoint", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "UserInformationEndpoint", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "AuthenticationScheme", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "\"Facebook\"" - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.Facebook.FacebookHandler", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.OAuth.OAuthHandler<Microsoft.AspNetCore.Authentication.Facebook.FacebookOptions>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "CreateTicketAsync", - "Parameters": [ - { - "Name": "identity", - "Type": "System.Security.Claims.ClaimsIdentity" - }, - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - }, - { - "Name": "tokens", - "Type": "Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse" - } - ], - "ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationTicket>", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FormatScope", - "Parameters": [ - { - "Name": "scopes", - "Type": "System.Collections.Generic.IEnumerable<System.String>" - } - ], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FormatScope", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.Facebook.FacebookOptions>" - }, - { - "Name": "logger", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - }, - { - "Name": "encoder", - "Type": "System.Text.Encodings.Web.UrlEncoder" - }, - { - "Name": "clock", - "Type": "Microsoft.AspNetCore.Authentication.ISystemClock" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.Facebook.FacebookOptions", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Validate", - "Parameters": [], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AppId", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AppId", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AppSecret", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AppSecret", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SendAppSecretProof", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SendAppSecretProof", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Fields", - "Parameters": [], - "ReturnType": "System.Collections.Generic.ICollection<System.String>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.FacebookAppBuilderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseFacebookAuthentication", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseFacebookAuthentication", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Authentication.Facebook.FacebookOptions" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Security/Authentication/Google/src/baseline.netcore.json b/src/Security/Authentication/Google/src/baseline.netcore.json deleted file mode 100644 index 0a623b3b85..0000000000 --- a/src/Security/Authentication/Google/src/baseline.netcore.json +++ /dev/null @@ -1,550 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Authentication.Google, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.Extensions.DependencyInjection.GoogleExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddGoogle", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddGoogle", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder" - }, - { - "Name": "configureOptions", - "Type": "System.Action<Microsoft.AspNetCore.Authentication.Google.GoogleOptions>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddGoogle", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder" - }, - { - "Name": "authenticationScheme", - "Type": "System.String" - }, - { - "Name": "configureOptions", - "Type": "System.Action<Microsoft.AspNetCore.Authentication.Google.GoogleOptions>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddGoogle", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder" - }, - { - "Name": "authenticationScheme", - "Type": "System.String" - }, - { - "Name": "displayName", - "Type": "System.String" - }, - { - "Name": "configureOptions", - "Type": "System.Action<Microsoft.AspNetCore.Authentication.Google.GoogleOptions>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.Google.GoogleChallengeProperties", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.OAuth.OAuthChallengeProperties", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_AccessType", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AccessType", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ApprovalPrompt", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ApprovalPrompt", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IncludeGrantedScopes", - "Parameters": [], - "ReturnType": "System.Nullable<System.Boolean>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IncludeGrantedScopes", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable<System.Boolean>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_LoginHint", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_LoginHint", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Prompt", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Prompt", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "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<System.String, System.String>" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "items", - "Type": "System.Collections.Generic.IDictionary<System.String, System.String>" - }, - { - "Name": "parameters", - "Type": "System.Collections.Generic.IDictionary<System.String, System.Object>" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "AccessTypeKey", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "ApprovalPromptKey", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "IncludeGrantedScopesKey", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "LoginHintKey", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "PromptParameterKey", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.Google.GoogleDefaults", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "DisplayName", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "AuthorizationEndpoint", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "TokenEndpoint", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "UserInformationEndpoint", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "AuthenticationScheme", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "\"Google\"" - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.Google.GoogleHandler", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.OAuth.OAuthHandler<Microsoft.AspNetCore.Authentication.Google.GoogleOptions>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "CreateTicketAsync", - "Parameters": [ - { - "Name": "identity", - "Type": "System.Security.Claims.ClaimsIdentity" - }, - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - }, - { - "Name": "tokens", - "Type": "Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse" - } - ], - "ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationTicket>", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BuildChallengeUrl", - "Parameters": [ - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - }, - { - "Name": "redirectUri", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.Google.GoogleOptions>" - }, - { - "Name": "logger", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - }, - { - "Name": "encoder", - "Type": "System.Text.Encodings.Web.UrlEncoder" - }, - { - "Name": "clock", - "Type": "Microsoft.AspNetCore.Authentication.ISystemClock" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.Google.GoogleHelper", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetEmail", - "Parameters": [ - { - "Name": "user", - "Type": "Newtonsoft.Json.Linq.JObject" - } - ], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.Google.GoogleOptions", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_AccessType", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AccessType", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.GoogleAppBuilderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseGoogleAuthentication", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseGoogleAuthentication", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Authentication.Google.GoogleOptions" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Security/Authentication/JwtBearer/src/baseline.netcore.json b/src/Security/Authentication/JwtBearer/src/baseline.netcore.json deleted file mode 100644 index d3839022b5..0000000000 --- a/src/Security/Authentication/JwtBearer/src/baseline.netcore.json +++ /dev/null @@ -1,1064 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Authentication.JwtBearer, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.Extensions.DependencyInjection.JwtBearerExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddJwtBearer", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddJwtBearer", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder" - }, - { - "Name": "configureOptions", - "Type": "System.Action<Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerOptions>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddJwtBearer", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder" - }, - { - "Name": "authenticationScheme", - "Type": "System.String" - }, - { - "Name": "configureOptions", - "Type": "System.Action<Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerOptions>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddJwtBearer", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder" - }, - { - "Name": "authenticationScheme", - "Type": "System.String" - }, - { - "Name": "displayName", - "Type": "System.String" - }, - { - "Name": "configureOptions", - "Type": "System.Action<Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerOptions>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.JwtBearerAppBuilderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseJwtBearerAuthentication", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseJwtBearerAuthentication", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerOptions" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.JwtBearer.AuthenticationFailedContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.ResultContext<Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerOptions>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Exception", - "Parameters": [], - "ReturnType": "System.Exception", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Exception", - "Parameters": [ - { - "Name": "value", - "Type": "System.Exception" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "scheme", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationScheme" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerChallengeContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.PropertiesContext<Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerOptions>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_AuthenticateFailure", - "Parameters": [], - "ReturnType": "System.Exception", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AuthenticateFailure", - "Parameters": [ - { - "Name": "value", - "Type": "System.Exception" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Error", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Error", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ErrorDescription", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ErrorDescription", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ErrorUri", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ErrorUri", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Handled", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HandleResponse", - "Parameters": [], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "scheme", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationScheme" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerOptions" - }, - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerEvents", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_OnAuthenticationFailed", - "Parameters": [], - "ReturnType": "System.Func<Microsoft.AspNetCore.Authentication.JwtBearer.AuthenticationFailedContext, System.Threading.Tasks.Task>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_OnAuthenticationFailed", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func<Microsoft.AspNetCore.Authentication.JwtBearer.AuthenticationFailedContext, System.Threading.Tasks.Task>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_OnMessageReceived", - "Parameters": [], - "ReturnType": "System.Func<Microsoft.AspNetCore.Authentication.JwtBearer.MessageReceivedContext, System.Threading.Tasks.Task>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_OnMessageReceived", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func<Microsoft.AspNetCore.Authentication.JwtBearer.MessageReceivedContext, System.Threading.Tasks.Task>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_OnTokenValidated", - "Parameters": [], - "ReturnType": "System.Func<Microsoft.AspNetCore.Authentication.JwtBearer.TokenValidatedContext, System.Threading.Tasks.Task>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_OnTokenValidated", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func<Microsoft.AspNetCore.Authentication.JwtBearer.TokenValidatedContext, System.Threading.Tasks.Task>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_OnChallenge", - "Parameters": [], - "ReturnType": "System.Func<Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerChallengeContext, System.Threading.Tasks.Task>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_OnChallenge", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func<Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerChallengeContext, System.Threading.Tasks.Task>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AuthenticationFailed", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authentication.JwtBearer.AuthenticationFailedContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MessageReceived", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authentication.JwtBearer.MessageReceivedContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TokenValidated", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authentication.JwtBearer.TokenValidatedContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Challenge", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerChallengeContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.JwtBearer.MessageReceivedContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.ResultContext<Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerOptions>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Token", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Token", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "scheme", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationScheme" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.JwtBearer.TokenValidatedContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.ResultContext<Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerOptions>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_SecurityToken", - "Parameters": [], - "ReturnType": "Microsoft.IdentityModel.Tokens.SecurityToken", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SecurityToken", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.IdentityModel.Tokens.SecurityToken" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "scheme", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationScheme" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerDefaults", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "AuthenticationScheme", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "\"Bearer\"" - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.AuthenticationHandler<Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerOptions>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Events", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerEvents", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Events", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerEvents" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateEventsAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task<System.Object>", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HandleAuthenticateAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticateResult>", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HandleChallengeAsync", - "Parameters": [ - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerOptions>" - }, - { - "Name": "logger", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - }, - { - "Name": "encoder", - "Type": "System.Text.Encodings.Web.UrlEncoder" - }, - { - "Name": "dataProtection", - "Type": "Microsoft.AspNetCore.DataProtection.IDataProtectionProvider" - }, - { - "Name": "clock", - "Type": "Microsoft.AspNetCore.Authentication.ISystemClock" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerOptions", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_RequireHttpsMetadata", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RequireHttpsMetadata", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MetadataAddress", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MetadataAddress", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Authority", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Authority", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Audience", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Audience", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Challenge", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Challenge", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Events", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerEvents", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Events", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerEvents" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_BackchannelHttpHandler", - "Parameters": [], - "ReturnType": "System.Net.Http.HttpMessageHandler", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_BackchannelHttpHandler", - "Parameters": [ - { - "Name": "value", - "Type": "System.Net.Http.HttpMessageHandler" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_BackchannelTimeout", - "Parameters": [], - "ReturnType": "System.TimeSpan", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_BackchannelTimeout", - "Parameters": [ - { - "Name": "value", - "Type": "System.TimeSpan" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Configuration", - "Parameters": [], - "ReturnType": "Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectConfiguration", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Configuration", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectConfiguration" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ConfigurationManager", - "Parameters": [], - "ReturnType": "Microsoft.IdentityModel.Protocols.IConfigurationManager<Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectConfiguration>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ConfigurationManager", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.IdentityModel.Protocols.IConfigurationManager<Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectConfiguration>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RefreshOnIssuerKeyNotFound", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RefreshOnIssuerKeyNotFound", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SecurityTokenValidators", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList<Microsoft.IdentityModel.Tokens.ISecurityTokenValidator>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TokenValidationParameters", - "Parameters": [], - "ReturnType": "Microsoft.IdentityModel.Tokens.TokenValidationParameters", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_TokenValidationParameters", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.IdentityModel.Tokens.TokenValidationParameters" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SaveToken", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SaveToken", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IncludeErrorDetails", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IncludeErrorDetails", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerPostConfigureOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.Extensions.Options.IPostConfigureOptions<Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerOptions>" - ], - "Members": [ - { - "Kind": "Method", - "Name": "PostConfigure", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerOptions" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.Extensions.Options.IPostConfigureOptions<Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerOptions>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Security/Authentication/JwtBearer/src/breakingchanges.netcore.json b/src/Security/Authentication/JwtBearer/src/breakingchanges.netcore.json deleted file mode 100644 index d17003a80a..0000000000 --- a/src/Security/Authentication/JwtBearer/src/breakingchanges.netcore.json +++ /dev/null @@ -1,7 +0,0 @@ - [ - { - "TypeId": "public class Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler : Microsoft.AspNetCore.Authentication.AuthenticationHandler<Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerOptions>", - "MemberId": "public .ctor(Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerOptions> options, Microsoft.Extensions.Logging.ILoggerFactory logger, System.Text.Encodings.Web.UrlEncoder encoder, Microsoft.AspNetCore.DataProtection.IDataProtectionProvider dataProtection, Microsoft.AspNetCore.Authentication.ISystemClock clock)", - "Kind": "Removal" - } - ] \ No newline at end of file diff --git a/src/Security/Authentication/MicrosoftAccount/src/baseline.netcore.json b/src/Security/Authentication/MicrosoftAccount/src/baseline.netcore.json deleted file mode 100644 index 877e9035ac..0000000000 --- a/src/Security/Authentication/MicrosoftAccount/src/baseline.netcore.json +++ /dev/null @@ -1,284 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Authentication.MicrosoftAccount, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.Extensions.DependencyInjection.MicrosoftAccountExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddMicrosoftAccount", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddMicrosoftAccount", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder" - }, - { - "Name": "configureOptions", - "Type": "System.Action<Microsoft.AspNetCore.Authentication.MicrosoftAccount.MicrosoftAccountOptions>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddMicrosoftAccount", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder" - }, - { - "Name": "authenticationScheme", - "Type": "System.String" - }, - { - "Name": "configureOptions", - "Type": "System.Action<Microsoft.AspNetCore.Authentication.MicrosoftAccount.MicrosoftAccountOptions>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddMicrosoftAccount", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder" - }, - { - "Name": "authenticationScheme", - "Type": "System.String" - }, - { - "Name": "displayName", - "Type": "System.String" - }, - { - "Name": "configureOptions", - "Type": "System.Action<Microsoft.AspNetCore.Authentication.MicrosoftAccount.MicrosoftAccountOptions>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.MicrosoftAccount.MicrosoftAccountDefaults", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "DisplayName", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "AuthorizationEndpoint", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "TokenEndpoint", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "UserInformationEndpoint", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "AuthenticationScheme", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "\"Microsoft\"" - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.MicrosoftAccount.MicrosoftAccountHandler", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.OAuth.OAuthHandler<Microsoft.AspNetCore.Authentication.MicrosoftAccount.MicrosoftAccountOptions>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "CreateTicketAsync", - "Parameters": [ - { - "Name": "identity", - "Type": "System.Security.Claims.ClaimsIdentity" - }, - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - }, - { - "Name": "tokens", - "Type": "Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse" - } - ], - "ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationTicket>", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.MicrosoftAccount.MicrosoftAccountOptions>" - }, - { - "Name": "logger", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - }, - { - "Name": "encoder", - "Type": "System.Text.Encodings.Web.UrlEncoder" - }, - { - "Name": "clock", - "Type": "Microsoft.AspNetCore.Authentication.ISystemClock" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.MicrosoftAccount.MicrosoftAccountOptions", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.MicrosoftAccountAppBuilderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseMicrosoftAccountAuthentication", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseMicrosoftAccountAuthentication", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Authentication.MicrosoftAccount.MicrosoftAccountOptions" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Security/Authentication/OAuth/src/baseline.netcore.json b/src/Security/Authentication/OAuth/src/baseline.netcore.json deleted file mode 100644 index 9c23947049..0000000000 --- a/src/Security/Authentication/OAuth/src/baseline.netcore.json +++ /dev/null @@ -1,1810 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Authentication.OAuth, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.Extensions.DependencyInjection.OAuthExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddOAuth", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder" - }, - { - "Name": "authenticationScheme", - "Type": "System.String" - }, - { - "Name": "configureOptions", - "Type": "System.Action<Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddOAuth", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder" - }, - { - "Name": "authenticationScheme", - "Type": "System.String" - }, - { - "Name": "displayName", - "Type": "System.String" - }, - { - "Name": "configureOptions", - "Type": "System.Action<Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddOAuth<T0, T1>", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder" - }, - { - "Name": "authenticationScheme", - "Type": "System.String" - }, - { - "Name": "configureOptions", - "Type": "System.Action<T0>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TOptions", - "ParameterPosition": 0, - "New": true, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions" - ] - }, - { - "ParameterName": "THandler", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Authentication.OAuth.OAuthHandler<T0>" - ] - } - ] - }, - { - "Kind": "Method", - "Name": "AddOAuth<T0, T1>", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder" - }, - { - "Name": "authenticationScheme", - "Type": "System.String" - }, - { - "Name": "displayName", - "Type": "System.String" - }, - { - "Name": "configureOptions", - "Type": "System.Action<T0>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TOptions", - "ParameterPosition": 0, - "New": true, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions" - ] - }, - { - "ParameterName": "THandler", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Authentication.OAuth.OAuthHandler<T0>" - ] - } - ] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.Extensions.DependencyInjection.OAuthPostConfigureOptions<T0, T1>", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.Extensions.Options.IPostConfigureOptions<T0>" - ], - "Members": [ - { - "Kind": "Method", - "Name": "PostConfigure", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "options", - "Type": "T0" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.Extensions.Options.IPostConfigureOptions<T0>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "dataProtection", - "Type": "Microsoft.AspNetCore.DataProtection.IDataProtectionProvider" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TOptions", - "ParameterPosition": 0, - "New": true, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions" - ] - }, - { - "ParameterName": "THandler", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Authentication.OAuth.OAuthHandler<T0>" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Builder.OAuthAppBuilderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseOAuthAuthentication", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseOAuthAuthentication", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.ClaimActionCollectionMapExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "MapJsonKey", - "Parameters": [ - { - "Name": "collection", - "Type": "Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimActionCollection" - }, - { - "Name": "claimType", - "Type": "System.String" - }, - { - "Name": "jsonKey", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MapJsonKey", - "Parameters": [ - { - "Name": "collection", - "Type": "Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimActionCollection" - }, - { - "Name": "claimType", - "Type": "System.String" - }, - { - "Name": "jsonKey", - "Type": "System.String" - }, - { - "Name": "valueType", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MapJsonSubKey", - "Parameters": [ - { - "Name": "collection", - "Type": "Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimActionCollection" - }, - { - "Name": "claimType", - "Type": "System.String" - }, - { - "Name": "jsonKey", - "Type": "System.String" - }, - { - "Name": "subKey", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MapJsonSubKey", - "Parameters": [ - { - "Name": "collection", - "Type": "Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimActionCollection" - }, - { - "Name": "claimType", - "Type": "System.String" - }, - { - "Name": "jsonKey", - "Type": "System.String" - }, - { - "Name": "subKey", - "Type": "System.String" - }, - { - "Name": "valueType", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MapCustomJson", - "Parameters": [ - { - "Name": "collection", - "Type": "Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimActionCollection" - }, - { - "Name": "claimType", - "Type": "System.String" - }, - { - "Name": "resolver", - "Type": "System.Func<Newtonsoft.Json.Linq.JObject, System.String>" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MapCustomJson", - "Parameters": [ - { - "Name": "collection", - "Type": "Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimActionCollection" - }, - { - "Name": "claimType", - "Type": "System.String" - }, - { - "Name": "valueType", - "Type": "System.String" - }, - { - "Name": "resolver", - "Type": "System.Func<Newtonsoft.Json.Linq.JObject, System.String>" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MapAll", - "Parameters": [ - { - "Name": "collection", - "Type": "Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimActionCollection" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MapAllExcept", - "Parameters": [ - { - "Name": "collection", - "Type": "Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimActionCollection" - }, - { - "Name": "exclusions", - "Type": "System.String[]", - "IsParams": true - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DeleteClaim", - "Parameters": [ - { - "Name": "collection", - "Type": "Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimActionCollection" - }, - { - "Name": "claimType", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DeleteClaims", - "Parameters": [ - { - "Name": "collection", - "Type": "Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimActionCollection" - }, - { - "Name": "claimTypes", - "Type": "System.String[]", - "IsParams": true - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.OAuth.OAuthCreatingTicketContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.ResultContext<Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_User", - "Parameters": [], - "ReturnType": "Newtonsoft.Json.Linq.JObject", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TokenResponse", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AccessToken", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TokenType", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RefreshToken", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ExpiresIn", - "Parameters": [], - "ReturnType": "System.Nullable<System.TimeSpan>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Backchannel", - "Parameters": [], - "ReturnType": "System.Net.Http.HttpClient", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Identity", - "Parameters": [], - "ReturnType": "System.Security.Claims.ClaimsIdentity", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RunClaimActions", - "Parameters": [], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RunClaimActions", - "Parameters": [ - { - "Name": "userData", - "Type": "Newtonsoft.Json.Linq.JObject" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "principal", - "Type": "System.Security.Claims.ClaimsPrincipal" - }, - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - }, - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "scheme", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationScheme" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions" - }, - { - "Name": "backchannel", - "Type": "System.Net.Http.HttpClient" - }, - { - "Name": "tokens", - "Type": "Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "principal", - "Type": "System.Security.Claims.ClaimsPrincipal" - }, - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - }, - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "scheme", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationScheme" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions" - }, - { - "Name": "backchannel", - "Type": "System.Net.Http.HttpClient" - }, - { - "Name": "tokens", - "Type": "Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse" - }, - { - "Name": "user", - "Type": "Newtonsoft.Json.Linq.JObject" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.OAuth.OAuthEvents", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.RemoteAuthenticationEvents", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_OnCreatingTicket", - "Parameters": [], - "ReturnType": "System.Func<Microsoft.AspNetCore.Authentication.OAuth.OAuthCreatingTicketContext, System.Threading.Tasks.Task>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_OnCreatingTicket", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func<Microsoft.AspNetCore.Authentication.OAuth.OAuthCreatingTicketContext, System.Threading.Tasks.Task>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_OnRedirectToAuthorizationEndpoint", - "Parameters": [], - "ReturnType": "System.Func<Microsoft.AspNetCore.Authentication.RedirectContext<Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions>, System.Threading.Tasks.Task>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_OnRedirectToAuthorizationEndpoint", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func<Microsoft.AspNetCore.Authentication.RedirectContext<Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions>, System.Threading.Tasks.Task>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreatingTicket", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authentication.OAuth.OAuthCreatingTicketContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToAuthorizationEndpoint", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authentication.RedirectContext<Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions>" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.OAuth.OAuthChallengeProperties", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.AuthenticationProperties", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Scope", - "Parameters": [], - "ReturnType": "System.Collections.Generic.ICollection<System.String>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Scope", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.ICollection<System.String>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetScope", - "Parameters": [ - { - "Name": "scopes", - "Type": "System.String[]", - "IsParams": true - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "items", - "Type": "System.Collections.Generic.IDictionary<System.String, System.String>" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "items", - "Type": "System.Collections.Generic.IDictionary<System.String, System.String>" - }, - { - "Name": "parameters", - "Type": "System.Collections.Generic.IDictionary<System.String, System.Object>" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "ScopeKey", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.OAuth.OAuthDefaults", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "DisplayName", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.OAuth.OAuthHandler<T0>", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler<T0>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Backchannel", - "Parameters": [], - "ReturnType": "System.Net.Http.HttpClient", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Events", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authentication.OAuth.OAuthEvents", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Events", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Authentication.OAuth.OAuthEvents" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateEventsAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task<System.Object>", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HandleRemoteAuthenticateAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.HandleRequestResult>", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ExchangeCodeAsync", - "Parameters": [ - { - "Name": "code", - "Type": "System.String" - }, - { - "Name": "redirectUri", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse>", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateTicketAsync", - "Parameters": [ - { - "Name": "identity", - "Type": "System.Security.Claims.ClaimsIdentity" - }, - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - }, - { - "Name": "tokens", - "Type": "Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse" - } - ], - "ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationTicket>", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HandleChallengeAsync", - "Parameters": [ - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BuildChallengeUrl", - "Parameters": [ - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - }, - { - "Name": "redirectUri", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FormatScope", - "Parameters": [ - { - "Name": "scopes", - "Type": "System.Collections.Generic.IEnumerable<System.String>" - } - ], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FormatScope", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptionsMonitor<T0>" - }, - { - "Name": "logger", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - }, - { - "Name": "encoder", - "Type": "System.Text.Encodings.Web.UrlEncoder" - }, - { - "Name": "clock", - "Type": "Microsoft.AspNetCore.Authentication.ISystemClock" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TOptions", - "ParameterPosition": 0, - "New": true, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Validate", - "Parameters": [], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "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_AuthorizationEndpoint", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AuthorizationEndpoint", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TokenEndpoint", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_TokenEndpoint", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UserInformationEndpoint", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_UserInformationEndpoint", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Events", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authentication.OAuth.OAuthEvents", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Events", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Authentication.OAuth.OAuthEvents" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ClaimActions", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimActionCollection", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Scope", - "Parameters": [], - "ReturnType": "System.Collections.Generic.ICollection<System.String>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_StateDataFormat", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authentication.ISecureDataFormat<Microsoft.AspNetCore.Authentication.AuthenticationProperties>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_StateDataFormat", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Authentication.ISecureDataFormat<Microsoft.AspNetCore.Authentication.AuthenticationProperties>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Success", - "Parameters": [ - { - "Name": "response", - "Type": "Newtonsoft.Json.Linq.JObject" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Failed", - "Parameters": [ - { - "Name": "error", - "Type": "System.Exception" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Response", - "Parameters": [], - "ReturnType": "Newtonsoft.Json.Linq.JObject", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Response", - "Parameters": [ - { - "Name": "value", - "Type": "Newtonsoft.Json.Linq.JObject" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AccessToken", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AccessToken", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TokenType", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_TokenType", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RefreshToken", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RefreshToken", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ExpiresIn", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ExpiresIn", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Error", - "Parameters": [], - "ReturnType": "System.Exception", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Error", - "Parameters": [ - { - "Name": "value", - "Type": "System.Exception" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimAction", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ClaimType", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ValueType", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Run", - "Parameters": [ - { - "Name": "userData", - "Type": "Newtonsoft.Json.Linq.JObject" - }, - { - "Name": "identity", - "Type": "System.Security.Claims.ClaimsIdentity" - }, - { - "Name": "issuer", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "claimType", - "Type": "System.String" - }, - { - "Name": "valueType", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimActionCollection", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimAction>" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Clear", - "Parameters": [], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Remove", - "Parameters": [ - { - "Name": "claimType", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Add", - "Parameters": [ - { - "Name": "action", - "Type": "Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimAction" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetEnumerator", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerator<Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimAction>", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimAction>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.OAuth.Claims.CustomJsonClaimAction", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimAction", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Resolver", - "Parameters": [], - "ReturnType": "System.Func<Newtonsoft.Json.Linq.JObject, System.String>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Run", - "Parameters": [ - { - "Name": "userData", - "Type": "Newtonsoft.Json.Linq.JObject" - }, - { - "Name": "identity", - "Type": "System.Security.Claims.ClaimsIdentity" - }, - { - "Name": "issuer", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "claimType", - "Type": "System.String" - }, - { - "Name": "valueType", - "Type": "System.String" - }, - { - "Name": "resolver", - "Type": "System.Func<Newtonsoft.Json.Linq.JObject, System.String>" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.OAuth.Claims.DeleteClaimAction", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimAction", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Run", - "Parameters": [ - { - "Name": "userData", - "Type": "Newtonsoft.Json.Linq.JObject" - }, - { - "Name": "identity", - "Type": "System.Security.Claims.ClaimsIdentity" - }, - { - "Name": "issuer", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "claimType", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.OAuth.Claims.JsonKeyClaimAction", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimAction", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_JsonKey", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Run", - "Parameters": [ - { - "Name": "userData", - "Type": "Newtonsoft.Json.Linq.JObject" - }, - { - "Name": "identity", - "Type": "System.Security.Claims.ClaimsIdentity" - }, - { - "Name": "issuer", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "claimType", - "Type": "System.String" - }, - { - "Name": "valueType", - "Type": "System.String" - }, - { - "Name": "jsonKey", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.OAuth.Claims.JsonSubKeyClaimAction", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.OAuth.Claims.JsonKeyClaimAction", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_SubKey", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Run", - "Parameters": [ - { - "Name": "userData", - "Type": "Newtonsoft.Json.Linq.JObject" - }, - { - "Name": "identity", - "Type": "System.Security.Claims.ClaimsIdentity" - }, - { - "Name": "issuer", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "claimType", - "Type": "System.String" - }, - { - "Name": "valueType", - "Type": "System.String" - }, - { - "Name": "jsonKey", - "Type": "System.String" - }, - { - "Name": "subKey", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.OAuth.Claims.MapAllClaimsAction", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimAction", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Run", - "Parameters": [ - { - "Name": "userData", - "Type": "Newtonsoft.Json.Linq.JObject" - }, - { - "Name": "identity", - "Type": "System.Security.Claims.ClaimsIdentity" - }, - { - "Name": "issuer", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Security/Authentication/OpenIdConnect/ref/Microsoft.AspNetCore.Authentication.OpenIdConnect.netcoreapp3.0.cs b/src/Security/Authentication/OpenIdConnect/ref/Microsoft.AspNetCore.Authentication.OpenIdConnect.netcoreapp3.0.cs index e42f56a732..318ba7a6e9 100644 --- a/src/Security/Authentication/OpenIdConnect/ref/Microsoft.AspNetCore.Authentication.OpenIdConnect.netcoreapp3.0.cs +++ b/src/Security/Authentication/OpenIdConnect/ref/Microsoft.AspNetCore.Authentication.OpenIdConnect.netcoreapp3.0.cs @@ -145,8 +145,8 @@ namespace Microsoft.AspNetCore.Authentication.OpenIdConnect } public enum OpenIdConnectRedirectBehavior { - FormPost = 1, RedirectGet = 0, + FormPost = 1, } public partial class RedirectContext : Microsoft.AspNetCore.Authentication.PropertiesContext<Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions> { diff --git a/src/Security/Authentication/OpenIdConnect/src/baseline.netcore.json b/src/Security/Authentication/OpenIdConnect/src/baseline.netcore.json deleted file mode 100644 index d5c10d18db..0000000000 --- a/src/Security/Authentication/OpenIdConnect/src/baseline.netcore.json +++ /dev/null @@ -1,2452 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Authentication.OpenIdConnect, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.Extensions.DependencyInjection.OpenIdConnectExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddOpenIdConnect", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddOpenIdConnect", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder" - }, - { - "Name": "configureOptions", - "Type": "System.Action<Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddOpenIdConnect", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder" - }, - { - "Name": "authenticationScheme", - "Type": "System.String" - }, - { - "Name": "configureOptions", - "Type": "System.Action<Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddOpenIdConnect", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder" - }, - { - "Name": "authenticationScheme", - "Type": "System.String" - }, - { - "Name": "displayName", - "Type": "System.String" - }, - { - "Name": "configureOptions", - "Type": "System.Action<Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.OpenIdConnectAppBuilderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseOpenIdConnectAuthentication", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseOpenIdConnectAuthentication", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.ClaimActionCollectionUniqueExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "MapUniqueJsonKey", - "Parameters": [ - { - "Name": "collection", - "Type": "Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimActionCollection" - }, - { - "Name": "claimType", - "Type": "System.String" - }, - { - "Name": "jsonKey", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MapUniqueJsonKey", - "Parameters": [ - { - "Name": "collection", - "Type": "Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimActionCollection" - }, - { - "Name": "claimType", - "Type": "System.String" - }, - { - "Name": "jsonKey", - "Type": "System.String" - }, - { - "Name": "valueType", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.OpenIdConnect.AuthenticationFailedContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.RemoteAuthenticationContext<Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ProtocolMessage", - "Parameters": [], - "ReturnType": "Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectMessage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ProtocolMessage", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectMessage" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Exception", - "Parameters": [], - "ReturnType": "System.Exception", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Exception", - "Parameters": [ - { - "Name": "value", - "Type": "System.Exception" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "scheme", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationScheme" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.OpenIdConnect.AuthorizationCodeReceivedContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.RemoteAuthenticationContext<Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ProtocolMessage", - "Parameters": [], - "ReturnType": "Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectMessage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ProtocolMessage", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectMessage" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_JwtSecurityToken", - "Parameters": [], - "ReturnType": "System.IdentityModel.Tokens.Jwt.JwtSecurityToken", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_JwtSecurityToken", - "Parameters": [ - { - "Name": "value", - "Type": "System.IdentityModel.Tokens.Jwt.JwtSecurityToken" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TokenEndpointRequest", - "Parameters": [], - "ReturnType": "Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectMessage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_TokenEndpointRequest", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectMessage" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Backchannel", - "Parameters": [], - "ReturnType": "System.Net.Http.HttpClient", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TokenEndpointResponse", - "Parameters": [], - "ReturnType": "Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectMessage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_TokenEndpointResponse", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectMessage" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HandledCodeRedemption", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HandleCodeRedemption", - "Parameters": [], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HandleCodeRedemption", - "Parameters": [ - { - "Name": "accessToken", - "Type": "System.String" - }, - { - "Name": "idToken", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HandleCodeRedemption", - "Parameters": [ - { - "Name": "tokenEndpointResponse", - "Type": "Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectMessage" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "scheme", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationScheme" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions" - }, - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.OpenIdConnect.MessageReceivedContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.RemoteAuthenticationContext<Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ProtocolMessage", - "Parameters": [], - "ReturnType": "Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectMessage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ProtocolMessage", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectMessage" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Token", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Token", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "scheme", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationScheme" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions" - }, - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectEvents", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.RemoteAuthenticationEvents", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_OnAuthenticationFailed", - "Parameters": [], - "ReturnType": "System.Func<Microsoft.AspNetCore.Authentication.OpenIdConnect.AuthenticationFailedContext, System.Threading.Tasks.Task>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_OnAuthenticationFailed", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func<Microsoft.AspNetCore.Authentication.OpenIdConnect.AuthenticationFailedContext, System.Threading.Tasks.Task>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_OnAuthorizationCodeReceived", - "Parameters": [], - "ReturnType": "System.Func<Microsoft.AspNetCore.Authentication.OpenIdConnect.AuthorizationCodeReceivedContext, System.Threading.Tasks.Task>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_OnAuthorizationCodeReceived", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func<Microsoft.AspNetCore.Authentication.OpenIdConnect.AuthorizationCodeReceivedContext, System.Threading.Tasks.Task>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_OnMessageReceived", - "Parameters": [], - "ReturnType": "System.Func<Microsoft.AspNetCore.Authentication.OpenIdConnect.MessageReceivedContext, System.Threading.Tasks.Task>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_OnMessageReceived", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func<Microsoft.AspNetCore.Authentication.OpenIdConnect.MessageReceivedContext, System.Threading.Tasks.Task>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_OnRedirectToIdentityProvider", - "Parameters": [], - "ReturnType": "System.Func<Microsoft.AspNetCore.Authentication.OpenIdConnect.RedirectContext, System.Threading.Tasks.Task>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_OnRedirectToIdentityProvider", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func<Microsoft.AspNetCore.Authentication.OpenIdConnect.RedirectContext, System.Threading.Tasks.Task>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_OnRedirectToIdentityProviderForSignOut", - "Parameters": [], - "ReturnType": "System.Func<Microsoft.AspNetCore.Authentication.OpenIdConnect.RedirectContext, System.Threading.Tasks.Task>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_OnRedirectToIdentityProviderForSignOut", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func<Microsoft.AspNetCore.Authentication.OpenIdConnect.RedirectContext, System.Threading.Tasks.Task>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_OnSignedOutCallbackRedirect", - "Parameters": [], - "ReturnType": "System.Func<Microsoft.AspNetCore.Authentication.OpenIdConnect.RemoteSignOutContext, System.Threading.Tasks.Task>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_OnSignedOutCallbackRedirect", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func<Microsoft.AspNetCore.Authentication.OpenIdConnect.RemoteSignOutContext, System.Threading.Tasks.Task>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_OnRemoteSignOut", - "Parameters": [], - "ReturnType": "System.Func<Microsoft.AspNetCore.Authentication.OpenIdConnect.RemoteSignOutContext, System.Threading.Tasks.Task>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_OnRemoteSignOut", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func<Microsoft.AspNetCore.Authentication.OpenIdConnect.RemoteSignOutContext, System.Threading.Tasks.Task>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_OnTokenResponseReceived", - "Parameters": [], - "ReturnType": "System.Func<Microsoft.AspNetCore.Authentication.OpenIdConnect.TokenResponseReceivedContext, System.Threading.Tasks.Task>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_OnTokenResponseReceived", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func<Microsoft.AspNetCore.Authentication.OpenIdConnect.TokenResponseReceivedContext, System.Threading.Tasks.Task>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_OnTokenValidated", - "Parameters": [], - "ReturnType": "System.Func<Microsoft.AspNetCore.Authentication.OpenIdConnect.TokenValidatedContext, System.Threading.Tasks.Task>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_OnTokenValidated", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func<Microsoft.AspNetCore.Authentication.OpenIdConnect.TokenValidatedContext, System.Threading.Tasks.Task>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_OnUserInformationReceived", - "Parameters": [], - "ReturnType": "System.Func<Microsoft.AspNetCore.Authentication.OpenIdConnect.UserInformationReceivedContext, System.Threading.Tasks.Task>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_OnUserInformationReceived", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func<Microsoft.AspNetCore.Authentication.OpenIdConnect.UserInformationReceivedContext, System.Threading.Tasks.Task>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AuthenticationFailed", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authentication.OpenIdConnect.AuthenticationFailedContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AuthorizationCodeReceived", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authentication.OpenIdConnect.AuthorizationCodeReceivedContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MessageReceived", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authentication.OpenIdConnect.MessageReceivedContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToIdentityProvider", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authentication.OpenIdConnect.RedirectContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToIdentityProviderForSignOut", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authentication.OpenIdConnect.RedirectContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SignedOutCallbackRedirect", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authentication.OpenIdConnect.RemoteSignOutContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoteSignOut", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authentication.OpenIdConnect.RemoteSignOutContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TokenResponseReceived", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authentication.OpenIdConnect.TokenResponseReceivedContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TokenValidated", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authentication.OpenIdConnect.TokenValidatedContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UserInformationReceived", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authentication.OpenIdConnect.UserInformationReceivedContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.OpenIdConnect.RedirectContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.PropertiesContext<Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ProtocolMessage", - "Parameters": [], - "ReturnType": "Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectMessage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ProtocolMessage", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectMessage" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Handled", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HandleResponse", - "Parameters": [], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "scheme", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationScheme" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions" - }, - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.OpenIdConnect.RemoteSignOutContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.RemoteAuthenticationContext<Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ProtocolMessage", - "Parameters": [], - "ReturnType": "Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectMessage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ProtocolMessage", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectMessage" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "scheme", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationScheme" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions" - }, - { - "Name": "message", - "Type": "Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectMessage" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.OpenIdConnect.TokenResponseReceivedContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.RemoteAuthenticationContext<Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ProtocolMessage", - "Parameters": [], - "ReturnType": "Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectMessage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ProtocolMessage", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectMessage" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TokenEndpointResponse", - "Parameters": [], - "ReturnType": "Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectMessage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_TokenEndpointResponse", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectMessage" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "scheme", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationScheme" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions" - }, - { - "Name": "user", - "Type": "System.Security.Claims.ClaimsPrincipal" - }, - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.OpenIdConnect.TokenValidatedContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.RemoteAuthenticationContext<Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ProtocolMessage", - "Parameters": [], - "ReturnType": "Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectMessage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ProtocolMessage", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectMessage" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SecurityToken", - "Parameters": [], - "ReturnType": "System.IdentityModel.Tokens.Jwt.JwtSecurityToken", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SecurityToken", - "Parameters": [ - { - "Name": "value", - "Type": "System.IdentityModel.Tokens.Jwt.JwtSecurityToken" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TokenEndpointResponse", - "Parameters": [], - "ReturnType": "Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectMessage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_TokenEndpointResponse", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectMessage" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Nonce", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Nonce", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "scheme", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationScheme" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions" - }, - { - "Name": "principal", - "Type": "System.Security.Claims.ClaimsPrincipal" - }, - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.OpenIdConnect.UserInformationReceivedContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.RemoteAuthenticationContext<Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ProtocolMessage", - "Parameters": [], - "ReturnType": "Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectMessage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ProtocolMessage", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectMessage" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_User", - "Parameters": [], - "ReturnType": "Newtonsoft.Json.Linq.JObject", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_User", - "Parameters": [ - { - "Name": "value", - "Type": "Newtonsoft.Json.Linq.JObject" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "scheme", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationScheme" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions" - }, - { - "Name": "principal", - "Type": "System.Security.Claims.ClaimsPrincipal" - }, - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectChallengeProperties", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.OAuth.OAuthChallengeProperties", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_MaxAge", - "Parameters": [], - "ReturnType": "System.Nullable<System.TimeSpan>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MaxAge", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable<System.TimeSpan>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Prompt", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Prompt", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "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<System.String, System.String>" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "items", - "Type": "System.Collections.Generic.IDictionary<System.String, System.String>" - }, - { - "Name": "parameters", - "Type": "System.Collections.Generic.IDictionary<System.String, System.Object>" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "MaxAgeKey", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "PromptKey", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectDefaults", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "AuthenticationPropertiesKey", - "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": [] - }, - { - "Kind": "Field", - "Name": "CookieNoncePrefix", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "RedirectUriForCodePropertiesKey", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "UserstatePropertiesKey", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "AuthenticationScheme", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "\"OpenIdConnect\"" - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler<Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions>", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Authentication.IAuthenticationSignOutHandler" - ], - "Members": [ - { - "Kind": "Method", - "Name": "HandleRequestAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task<System.Boolean>", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationRequestHandler", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Backchannel", - "Parameters": [], - "ReturnType": "System.Net.Http.HttpClient", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HtmlEncoder", - "Parameters": [], - "ReturnType": "System.Text.Encodings.Web.HtmlEncoder", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Events", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectEvents", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Events", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectEvents" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateEventsAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task<System.Object>", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HandleRemoteSignOutAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task<System.Boolean>", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SignOutAsync", - "Parameters": [ - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationSignOutHandler", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HandleSignOutCallbackAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task<System.Boolean>", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HandleChallengeAsync", - "Parameters": [ - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HandleRemoteAuthenticateAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.HandleRequestResult>", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedeemAuthorizationCodeAsync", - "Parameters": [ - { - "Name": "tokenEndpointRequest", - "Type": "Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectMessage" - } - ], - "ReturnType": "System.Threading.Tasks.Task<Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectMessage>", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetUserInformationAsync", - "Parameters": [ - { - "Name": "message", - "Type": "Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectMessage" - }, - { - "Name": "jwt", - "Type": "System.IdentityModel.Tokens.Jwt.JwtSecurityToken" - }, - { - "Name": "principal", - "Type": "System.Security.Claims.ClaimsPrincipal" - }, - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.HandleRequestResult>", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions>" - }, - { - "Name": "logger", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - }, - { - "Name": "htmlEncoder", - "Type": "System.Text.Encodings.Web.HtmlEncoder" - }, - { - "Name": "encoder", - "Type": "System.Text.Encodings.Web.UrlEncoder" - }, - { - "Name": "clock", - "Type": "Microsoft.AspNetCore.Authentication.ISystemClock" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Validate", - "Parameters": [], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Authority", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Authority", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "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_Configuration", - "Parameters": [], - "ReturnType": "Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectConfiguration", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Configuration", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectConfiguration" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ConfigurationManager", - "Parameters": [], - "ReturnType": "Microsoft.IdentityModel.Protocols.IConfigurationManager<Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectConfiguration>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ConfigurationManager", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.IdentityModel.Protocols.IConfigurationManager<Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectConfiguration>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_GetClaimsFromUserInfoEndpoint", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_GetClaimsFromUserInfoEndpoint", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ClaimActions", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimActionCollection", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RequireHttpsMetadata", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RequireHttpsMetadata", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MetadataAddress", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MetadataAddress", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Events", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectEvents", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Events", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectEvents" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MaxAge", - "Parameters": [], - "ReturnType": "System.Nullable<System.TimeSpan>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MaxAge", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable<System.TimeSpan>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ProtocolValidator", - "Parameters": [], - "ReturnType": "Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectProtocolValidator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ProtocolValidator", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectProtocolValidator" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SignedOutCallbackPath", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.PathString", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SignedOutCallbackPath", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.PathString" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SignedOutRedirectUri", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SignedOutRedirectUri", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RefreshOnIssuerKeyNotFound", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RefreshOnIssuerKeyNotFound", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AuthenticationMethod", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectRedirectBehavior", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AuthenticationMethod", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectRedirectBehavior" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Resource", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Resource", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ResponseMode", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ResponseMode", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ResponseType", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ResponseType", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Prompt", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Prompt", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Scope", - "Parameters": [], - "ReturnType": "System.Collections.Generic.ICollection<System.String>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RemoteSignOutPath", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.PathString", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RemoteSignOutPath", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.PathString" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SignOutScheme", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SignOutScheme", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_StateDataFormat", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authentication.ISecureDataFormat<Microsoft.AspNetCore.Authentication.AuthenticationProperties>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_StateDataFormat", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Authentication.ISecureDataFormat<Microsoft.AspNetCore.Authentication.AuthenticationProperties>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_StringDataFormat", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authentication.ISecureDataFormat<System.String>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_StringDataFormat", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Authentication.ISecureDataFormat<System.String>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SecurityTokenValidator", - "Parameters": [], - "ReturnType": "Microsoft.IdentityModel.Tokens.ISecurityTokenValidator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SecurityTokenValidator", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.IdentityModel.Tokens.ISecurityTokenValidator" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TokenValidationParameters", - "Parameters": [], - "ReturnType": "Microsoft.IdentityModel.Tokens.TokenValidationParameters", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_TokenValidationParameters", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.IdentityModel.Tokens.TokenValidationParameters" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UseTokenLifetime", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_UseTokenLifetime", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SkipUnrecognizedRequests", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SkipUnrecognizedRequests", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_DisableTelemetry", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_DisableTelemetry", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_NonceCookie", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.CookieBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_NonceCookie", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.CookieBuilder" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectPostConfigureOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.Extensions.Options.IPostConfigureOptions<Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions>" - ], - "Members": [ - { - "Kind": "Method", - "Name": "PostConfigure", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.Extensions.Options.IPostConfigureOptions<Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "dataProtection", - "Type": "Microsoft.AspNetCore.DataProtection.IDataProtectionProvider" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectRedirectBehavior", - "Visibility": "Public", - "Kind": "Enumeration", - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "RedirectGet", - "Parameters": [], - "GenericParameter": [], - "Literal": "0" - }, - { - "Kind": "Field", - "Name": "FormPost", - "Parameters": [], - "GenericParameter": [], - "Literal": "1" - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.OpenIdConnect.Claims.UniqueJsonKeyClaimAction", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.OAuth.Claims.JsonKeyClaimAction", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Run", - "Parameters": [ - { - "Name": "userData", - "Type": "Newtonsoft.Json.Linq.JObject" - }, - { - "Name": "identity", - "Type": "System.Security.Claims.ClaimsIdentity" - }, - { - "Name": "issuer", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "claimType", - "Type": "System.String" - }, - { - "Name": "valueType", - "Type": "System.String" - }, - { - "Name": "jsonKey", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Security/Authentication/Twitter/src/baseline.netcore.json b/src/Security/Authentication/Twitter/src/baseline.netcore.json deleted file mode 100644 index 03ee645623..0000000000 --- a/src/Security/Authentication/Twitter/src/baseline.netcore.json +++ /dev/null @@ -1,924 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Authentication.Twitter, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.Extensions.DependencyInjection.TwitterExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddTwitter", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddTwitter", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder" - }, - { - "Name": "configureOptions", - "Type": "System.Action<Microsoft.AspNetCore.Authentication.Twitter.TwitterOptions>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddTwitter", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder" - }, - { - "Name": "authenticationScheme", - "Type": "System.String" - }, - { - "Name": "configureOptions", - "Type": "System.Action<Microsoft.AspNetCore.Authentication.Twitter.TwitterOptions>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddTwitter", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder" - }, - { - "Name": "authenticationScheme", - "Type": "System.String" - }, - { - "Name": "displayName", - "Type": "System.String" - }, - { - "Name": "configureOptions", - "Type": "System.Action<Microsoft.AspNetCore.Authentication.Twitter.TwitterOptions>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.TwitterAppBuilderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseTwitterAuthentication", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseTwitterAuthentication", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Authentication.Twitter.TwitterOptions" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.Twitter.TwitterCreatingTicketContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.ResultContext<Microsoft.AspNetCore.Authentication.Twitter.TwitterOptions>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_UserId", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ScreenName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AccessToken", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AccessTokenSecret", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_User", - "Parameters": [], - "ReturnType": "Newtonsoft.Json.Linq.JObject", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "scheme", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationScheme" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Authentication.Twitter.TwitterOptions" - }, - { - "Name": "principal", - "Type": "System.Security.Claims.ClaimsPrincipal" - }, - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - }, - { - "Name": "userId", - "Type": "System.String" - }, - { - "Name": "screenName", - "Type": "System.String" - }, - { - "Name": "accessToken", - "Type": "System.String" - }, - { - "Name": "accessTokenSecret", - "Type": "System.String" - }, - { - "Name": "user", - "Type": "Newtonsoft.Json.Linq.JObject" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.Twitter.TwitterEvents", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.RemoteAuthenticationEvents", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_OnCreatingTicket", - "Parameters": [], - "ReturnType": "System.Func<Microsoft.AspNetCore.Authentication.Twitter.TwitterCreatingTicketContext, System.Threading.Tasks.Task>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_OnCreatingTicket", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func<Microsoft.AspNetCore.Authentication.Twitter.TwitterCreatingTicketContext, System.Threading.Tasks.Task>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_OnRedirectToAuthorizationEndpoint", - "Parameters": [], - "ReturnType": "System.Func<Microsoft.AspNetCore.Authentication.RedirectContext<Microsoft.AspNetCore.Authentication.Twitter.TwitterOptions>, System.Threading.Tasks.Task>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_OnRedirectToAuthorizationEndpoint", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func<Microsoft.AspNetCore.Authentication.RedirectContext<Microsoft.AspNetCore.Authentication.Twitter.TwitterOptions>, System.Threading.Tasks.Task>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreatingTicket", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authentication.Twitter.TwitterCreatingTicketContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToAuthorizationEndpoint", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authentication.RedirectContext<Microsoft.AspNetCore.Authentication.Twitter.TwitterOptions>" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.Twitter.AccessToken", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.Twitter.RequestToken", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_UserId", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_UserId", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ScreenName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ScreenName", - "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.Twitter.RequestToken", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Token", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Token", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TokenSecret", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_TokenSecret", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_CallbackConfirmed", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_CallbackConfirmed", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Properties", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationProperties", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Properties", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.Twitter.RequestTokenSerializer", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Authentication.IDataSerializer<Microsoft.AspNetCore.Authentication.Twitter.RequestToken>" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Serialize", - "Parameters": [ - { - "Name": "model", - "Type": "Microsoft.AspNetCore.Authentication.Twitter.RequestToken" - } - ], - "ReturnType": "System.Byte[]", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IDataSerializer<Microsoft.AspNetCore.Authentication.Twitter.RequestToken>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Deserialize", - "Parameters": [ - { - "Name": "data", - "Type": "System.Byte[]" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.Twitter.RequestToken", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IDataSerializer<Microsoft.AspNetCore.Authentication.Twitter.RequestToken>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Write", - "Parameters": [ - { - "Name": "writer", - "Type": "System.IO.BinaryWriter" - }, - { - "Name": "token", - "Type": "Microsoft.AspNetCore.Authentication.Twitter.RequestToken" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Read", - "Parameters": [ - { - "Name": "reader", - "Type": "System.IO.BinaryReader" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.Twitter.RequestToken", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.Twitter.TwitterDefaults", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "DisplayName", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "AuthenticationScheme", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "\"Twitter\"" - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.Twitter.TwitterHandler", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler<Microsoft.AspNetCore.Authentication.Twitter.TwitterOptions>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Events", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authentication.Twitter.TwitterEvents", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Events", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Authentication.Twitter.TwitterEvents" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateEventsAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task<System.Object>", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HandleRemoteAuthenticateAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.HandleRequestResult>", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateTicketAsync", - "Parameters": [ - { - "Name": "identity", - "Type": "System.Security.Claims.ClaimsIdentity" - }, - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - }, - { - "Name": "token", - "Type": "Microsoft.AspNetCore.Authentication.Twitter.AccessToken" - }, - { - "Name": "user", - "Type": "Newtonsoft.Json.Linq.JObject" - } - ], - "ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationTicket>", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HandleChallengeAsync", - "Parameters": [ - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.Twitter.TwitterOptions>" - }, - { - "Name": "logger", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - }, - { - "Name": "encoder", - "Type": "System.Text.Encodings.Web.UrlEncoder" - }, - { - "Name": "clock", - "Type": "Microsoft.AspNetCore.Authentication.ISystemClock" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.Twitter.TwitterOptions", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ConsumerKey", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ConsumerKey", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ConsumerSecret", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ConsumerSecret", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RetrieveUserDetails", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RetrieveUserDetails", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ClaimActions", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimActionCollection", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_StateDataFormat", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authentication.ISecureDataFormat<Microsoft.AspNetCore.Authentication.Twitter.RequestToken>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_StateDataFormat", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Authentication.ISecureDataFormat<Microsoft.AspNetCore.Authentication.Twitter.RequestToken>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Events", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authentication.Twitter.TwitterEvents", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Events", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Authentication.Twitter.TwitterEvents" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_StateCookie", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.CookieBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_StateCookie", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.CookieBuilder" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Validate", - "Parameters": [], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.Twitter.TwitterPostConfigureOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.Extensions.Options.IPostConfigureOptions<Microsoft.AspNetCore.Authentication.Twitter.TwitterOptions>" - ], - "Members": [ - { - "Kind": "Method", - "Name": "PostConfigure", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Authentication.Twitter.TwitterOptions" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.Extensions.Options.IPostConfigureOptions<Microsoft.AspNetCore.Authentication.Twitter.TwitterOptions>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "dataProtection", - "Type": "Microsoft.AspNetCore.DataProtection.IDataProtectionProvider" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Security/Authentication/WsFederation/src/baseline.netcore.json b/src/Security/Authentication/WsFederation/src/baseline.netcore.json deleted file mode 100644 index 41150cbc09..0000000000 --- a/src/Security/Authentication/WsFederation/src/baseline.netcore.json +++ /dev/null @@ -1,1314 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Authentication.WsFederation, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.Extensions.DependencyInjection.WsFederationExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddWsFederation", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddWsFederation", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder" - }, - { - "Name": "configureOptions", - "Type": "System.Action<Microsoft.AspNetCore.Authentication.WsFederation.WsFederationOptions>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddWsFederation", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder" - }, - { - "Name": "authenticationScheme", - "Type": "System.String" - }, - { - "Name": "configureOptions", - "Type": "System.Action<Microsoft.AspNetCore.Authentication.WsFederation.WsFederationOptions>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddWsFederation", - "Parameters": [ - { - "Name": "builder", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder" - }, - { - "Name": "authenticationScheme", - "Type": "System.String" - }, - { - "Name": "displayName", - "Type": "System.String" - }, - { - "Name": "configureOptions", - "Type": "System.Action<Microsoft.AspNetCore.Authentication.WsFederation.WsFederationOptions>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.WsFederation.AuthenticationFailedContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.RemoteAuthenticationContext<Microsoft.AspNetCore.Authentication.WsFederation.WsFederationOptions>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ProtocolMessage", - "Parameters": [], - "ReturnType": "Microsoft.IdentityModel.Protocols.WsFederation.WsFederationMessage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ProtocolMessage", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.IdentityModel.Protocols.WsFederation.WsFederationMessage" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Exception", - "Parameters": [], - "ReturnType": "System.Exception", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Exception", - "Parameters": [ - { - "Name": "value", - "Type": "System.Exception" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "scheme", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationScheme" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Authentication.WsFederation.WsFederationOptions" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.WsFederation.MessageReceivedContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.RemoteAuthenticationContext<Microsoft.AspNetCore.Authentication.WsFederation.WsFederationOptions>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ProtocolMessage", - "Parameters": [], - "ReturnType": "Microsoft.IdentityModel.Protocols.WsFederation.WsFederationMessage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ProtocolMessage", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.IdentityModel.Protocols.WsFederation.WsFederationMessage" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "scheme", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationScheme" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Authentication.WsFederation.WsFederationOptions" - }, - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.WsFederation.RedirectContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.PropertiesContext<Microsoft.AspNetCore.Authentication.WsFederation.WsFederationOptions>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ProtocolMessage", - "Parameters": [], - "ReturnType": "Microsoft.IdentityModel.Protocols.WsFederation.WsFederationMessage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ProtocolMessage", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.IdentityModel.Protocols.WsFederation.WsFederationMessage" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Handled", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HandleResponse", - "Parameters": [], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "scheme", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationScheme" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Authentication.WsFederation.WsFederationOptions" - }, - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.WsFederation.RemoteSignOutContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.RemoteAuthenticationContext<Microsoft.AspNetCore.Authentication.WsFederation.WsFederationOptions>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ProtocolMessage", - "Parameters": [], - "ReturnType": "Microsoft.IdentityModel.Protocols.WsFederation.WsFederationMessage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ProtocolMessage", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.IdentityModel.Protocols.WsFederation.WsFederationMessage" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "scheme", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationScheme" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Authentication.WsFederation.WsFederationOptions" - }, - { - "Name": "message", - "Type": "Microsoft.IdentityModel.Protocols.WsFederation.WsFederationMessage" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.WsFederation.SecurityTokenReceivedContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.RemoteAuthenticationContext<Microsoft.AspNetCore.Authentication.WsFederation.WsFederationOptions>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ProtocolMessage", - "Parameters": [], - "ReturnType": "Microsoft.IdentityModel.Protocols.WsFederation.WsFederationMessage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ProtocolMessage", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.IdentityModel.Protocols.WsFederation.WsFederationMessage" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "scheme", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationScheme" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Authentication.WsFederation.WsFederationOptions" - }, - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.WsFederation.SecurityTokenValidatedContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.RemoteAuthenticationContext<Microsoft.AspNetCore.Authentication.WsFederation.WsFederationOptions>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ProtocolMessage", - "Parameters": [], - "ReturnType": "Microsoft.IdentityModel.Protocols.WsFederation.WsFederationMessage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ProtocolMessage", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.IdentityModel.Protocols.WsFederation.WsFederationMessage" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SecurityToken", - "Parameters": [], - "ReturnType": "Microsoft.IdentityModel.Tokens.SecurityToken", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SecurityToken", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.IdentityModel.Tokens.SecurityToken" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "scheme", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationScheme" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Authentication.WsFederation.WsFederationOptions" - }, - { - "Name": "principal", - "Type": "System.Security.Claims.ClaimsPrincipal" - }, - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.WsFederation.WsFederationEvents", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.RemoteAuthenticationEvents", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_OnAuthenticationFailed", - "Parameters": [], - "ReturnType": "System.Func<Microsoft.AspNetCore.Authentication.WsFederation.AuthenticationFailedContext, System.Threading.Tasks.Task>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_OnAuthenticationFailed", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func<Microsoft.AspNetCore.Authentication.WsFederation.AuthenticationFailedContext, System.Threading.Tasks.Task>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_OnMessageReceived", - "Parameters": [], - "ReturnType": "System.Func<Microsoft.AspNetCore.Authentication.WsFederation.MessageReceivedContext, System.Threading.Tasks.Task>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_OnMessageReceived", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func<Microsoft.AspNetCore.Authentication.WsFederation.MessageReceivedContext, System.Threading.Tasks.Task>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_OnRedirectToIdentityProvider", - "Parameters": [], - "ReturnType": "System.Func<Microsoft.AspNetCore.Authentication.WsFederation.RedirectContext, System.Threading.Tasks.Task>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_OnRedirectToIdentityProvider", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func<Microsoft.AspNetCore.Authentication.WsFederation.RedirectContext, System.Threading.Tasks.Task>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_OnRemoteSignOut", - "Parameters": [], - "ReturnType": "System.Func<Microsoft.AspNetCore.Authentication.WsFederation.RemoteSignOutContext, System.Threading.Tasks.Task>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_OnRemoteSignOut", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func<Microsoft.AspNetCore.Authentication.WsFederation.RemoteSignOutContext, System.Threading.Tasks.Task>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_OnSecurityTokenReceived", - "Parameters": [], - "ReturnType": "System.Func<Microsoft.AspNetCore.Authentication.WsFederation.SecurityTokenReceivedContext, System.Threading.Tasks.Task>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_OnSecurityTokenReceived", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func<Microsoft.AspNetCore.Authentication.WsFederation.SecurityTokenReceivedContext, System.Threading.Tasks.Task>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_OnSecurityTokenValidated", - "Parameters": [], - "ReturnType": "System.Func<Microsoft.AspNetCore.Authentication.WsFederation.SecurityTokenValidatedContext, System.Threading.Tasks.Task>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_OnSecurityTokenValidated", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func<Microsoft.AspNetCore.Authentication.WsFederation.SecurityTokenValidatedContext, System.Threading.Tasks.Task>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AuthenticationFailed", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authentication.WsFederation.AuthenticationFailedContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MessageReceived", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authentication.WsFederation.MessageReceivedContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RedirectToIdentityProvider", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authentication.WsFederation.RedirectContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoteSignOut", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authentication.WsFederation.RemoteSignOutContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SecurityTokenReceived", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authentication.WsFederation.SecurityTokenReceivedContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SecurityTokenValidated", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authentication.WsFederation.SecurityTokenValidatedContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.WsFederation.WsFederationDefaults", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "UserstatePropertiesKey", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "AuthenticationScheme", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "\"WsFederation\"" - }, - { - "Kind": "Field", - "Name": "DisplayName", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "\"WsFederation\"" - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.WsFederation.WsFederationHandler", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler<Microsoft.AspNetCore.Authentication.WsFederation.WsFederationOptions>", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Authentication.IAuthenticationSignOutHandler" - ], - "Members": [ - { - "Kind": "Method", - "Name": "HandleRequestAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task<System.Boolean>", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationRequestHandler", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Events", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authentication.WsFederation.WsFederationEvents", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Events", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Authentication.WsFederation.WsFederationEvents" - } - ], - "ReturnType": "System.Void", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CreateEventsAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task<System.Object>", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HandleChallengeAsync", - "Parameters": [ - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HandleRemoteAuthenticateAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.HandleRequestResult>", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SignOutAsync", - "Parameters": [ - { - "Name": "properties", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationSignOutHandler", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HandleRemoteSignOutAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task<System.Boolean>", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.WsFederation.WsFederationOptions>" - }, - { - "Name": "logger", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - }, - { - "Name": "encoder", - "Type": "System.Text.Encodings.Web.UrlEncoder" - }, - { - "Name": "clock", - "Type": "Microsoft.AspNetCore.Authentication.ISystemClock" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authentication.WsFederation.WsFederationOptions", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Validate", - "Parameters": [], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Configuration", - "Parameters": [], - "ReturnType": "Microsoft.IdentityModel.Protocols.WsFederation.WsFederationConfiguration", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Configuration", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.IdentityModel.Protocols.WsFederation.WsFederationConfiguration" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MetadataAddress", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MetadataAddress", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ConfigurationManager", - "Parameters": [], - "ReturnType": "Microsoft.IdentityModel.Protocols.IConfigurationManager<Microsoft.IdentityModel.Protocols.WsFederation.WsFederationConfiguration>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ConfigurationManager", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.IdentityModel.Protocols.IConfigurationManager<Microsoft.IdentityModel.Protocols.WsFederation.WsFederationConfiguration>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RefreshOnIssuerKeyNotFound", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RefreshOnIssuerKeyNotFound", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SkipUnrecognizedRequests", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SkipUnrecognizedRequests", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Events", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authentication.WsFederation.WsFederationEvents", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Events", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Authentication.WsFederation.WsFederationEvents" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SecurityTokenHandlers", - "Parameters": [], - "ReturnType": "System.Collections.Generic.ICollection<Microsoft.IdentityModel.Tokens.ISecurityTokenValidator>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SecurityTokenHandlers", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.ICollection<Microsoft.IdentityModel.Tokens.ISecurityTokenValidator>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_StateDataFormat", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authentication.ISecureDataFormat<Microsoft.AspNetCore.Authentication.AuthenticationProperties>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_StateDataFormat", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Authentication.ISecureDataFormat<Microsoft.AspNetCore.Authentication.AuthenticationProperties>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TokenValidationParameters", - "Parameters": [], - "ReturnType": "Microsoft.IdentityModel.Tokens.TokenValidationParameters", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_TokenValidationParameters", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.IdentityModel.Tokens.TokenValidationParameters" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Wreply", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Wreply", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SignOutWreply", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SignOutWreply", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Wtrealm", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Wtrealm", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UseTokenLifetime", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_UseTokenLifetime", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RequireHttpsMetadata", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RequireHttpsMetadata", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AllowUnsolicitedLogins", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AllowUnsolicitedLogins", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RemoteSignOutPath", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.PathString", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RemoteSignOutPath", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.PathString" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SignOutScheme", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SignOutScheme", - "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.WsFederation.WsFederationPostConfigureOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.Extensions.Options.IPostConfigureOptions<Microsoft.AspNetCore.Authentication.WsFederation.WsFederationOptions>" - ], - "Members": [ - { - "Kind": "Method", - "Name": "PostConfigure", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Authentication.WsFederation.WsFederationOptions" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.Extensions.Options.IPostConfigureOptions<Microsoft.AspNetCore.Authentication.WsFederation.WsFederationOptions>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "dataProtection", - "Type": "Microsoft.AspNetCore.DataProtection.IDataProtectionProvider" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Security/Authorization/Core/ref/Microsoft.AspNetCore.Authorization.netcoreapp3.0.cs b/src/Security/Authorization/Core/ref/Microsoft.AspNetCore.Authorization.netcoreapp3.0.cs index c80ea08c14..30c87d87b8 100644 --- a/src/Security/Authorization/Core/ref/Microsoft.AspNetCore.Authorization.netcoreapp3.0.cs +++ b/src/Security/Authorization/Core/ref/Microsoft.AspNetCore.Authorization.netcoreapp3.0.cs @@ -250,9 +250,9 @@ namespace Microsoft.AspNetCore.Builder } public static partial class AuthorizationEndpointConventionBuilderExtensions { - public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder RequireAuthorization(this Microsoft.AspNetCore.Builder.IEndpointConventionBuilder builder) { throw null; } - public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder RequireAuthorization(this Microsoft.AspNetCore.Builder.IEndpointConventionBuilder builder, params Microsoft.AspNetCore.Authorization.IAuthorizeData[] authorizeData) { throw null; } - public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder RequireAuthorization(this Microsoft.AspNetCore.Builder.IEndpointConventionBuilder builder, params string[] policyNames) { throw null; } + public static TBuilder RequireAuthorization<TBuilder>(this TBuilder builder) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder { throw null; } + public static TBuilder RequireAuthorization<TBuilder>(this TBuilder builder, params Microsoft.AspNetCore.Authorization.IAuthorizeData[] authorizeData) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder { throw null; } + public static TBuilder RequireAuthorization<TBuilder>(this TBuilder builder, params string[] policyNames) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder { throw null; } } } namespace Microsoft.Extensions.DependencyInjection diff --git a/src/Security/Authorization/Core/src/Microsoft.AspNetCore.Authorization.csproj b/src/Security/Authorization/Core/src/Microsoft.AspNetCore.Authorization.csproj index 68a958a1a0..726247c53b 100644 --- a/src/Security/Authorization/Core/src/Microsoft.AspNetCore.Authorization.csproj +++ b/src/Security/Authorization/Core/src/Microsoft.AspNetCore.Authorization.csproj @@ -10,7 +10,6 @@ Microsoft.AspNetCore.Authorization.AuthorizeAttribute</Description> <NoWarn>$(NoWarn);CS1591</NoWarn> <GenerateDocumentationFile>true</GenerateDocumentationFile> <PackageTags>aspnetcore;authorization</PackageTags> - <EnableApiCheck>false</EnableApiCheck> </PropertyGroup> <ItemGroup> diff --git a/src/Security/Authorization/Core/src/Policy/AuthorizationEndpointConventionBuilderExtensions.cs b/src/Security/Authorization/Core/src/Policy/AuthorizationEndpointConventionBuilderExtensions.cs index 316c45012b..cefb534c55 100644 --- a/src/Security/Authorization/Core/src/Policy/AuthorizationEndpointConventionBuilderExtensions.cs +++ b/src/Security/Authorization/Core/src/Policy/AuthorizationEndpointConventionBuilderExtensions.cs @@ -18,7 +18,7 @@ namespace Microsoft.AspNetCore.Builder /// <param name="builder">The endpoint convention builder.</param> /// <param name="authorizeData">A collection of <see cref="IAuthorizeData"/>.</param> /// <returns>The original convention builder parameter.</returns> - public static IEndpointConventionBuilder RequireAuthorization(this IEndpointConventionBuilder builder, params IAuthorizeData[] authorizeData) + public static TBuilder RequireAuthorization<TBuilder>(this TBuilder builder, params IAuthorizeData[] authorizeData) where TBuilder : IEndpointConventionBuilder { if (builder == null) { @@ -46,7 +46,7 @@ namespace Microsoft.AspNetCore.Builder /// <param name="builder">The endpoint convention builder.</param> /// <param name="policyNames">A collection of policy names.</param> /// <returns>The original convention builder parameter.</returns> - public static IEndpointConventionBuilder RequireAuthorization(this IEndpointConventionBuilder builder, params string[] policyNames) + public static TBuilder RequireAuthorization<TBuilder>(this TBuilder builder, params string[] policyNames) where TBuilder : IEndpointConventionBuilder { if (builder == null) { @@ -66,7 +66,7 @@ namespace Microsoft.AspNetCore.Builder /// </summary> /// <param name="builder">The endpoint convention builder.</param> /// <returns>The original convention builder parameter.</returns> - public static IEndpointConventionBuilder RequireAuthorization(this IEndpointConventionBuilder builder) + public static TBuilder RequireAuthorization<TBuilder>(this TBuilder builder) where TBuilder : IEndpointConventionBuilder { if (builder == null) { diff --git a/src/Security/Authorization/Core/src/baseline.netcore.json b/src/Security/Authorization/Core/src/baseline.netcore.json deleted file mode 100644 index 9910c93f6a..0000000000 --- a/src/Security/Authorization/Core/src/baseline.netcore.json +++ /dev/null @@ -1,1947 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Authorization, Version=2.0.3.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.Extensions.DependencyInjection.AuthorizationServiceCollectionExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddAuthorization", - "Parameters": [ - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IServiceCollection", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddAuthorization", - "Parameters": [ - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - }, - { - "Name": "configure", - "Type": "System.Action<Microsoft.AspNetCore.Authorization.AuthorizationOptions>" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IServiceCollection", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authorization.AllowAnonymousAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Authorization.IAllowAnonymous" - ], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authorization.AuthorizationFailure", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_FailCalled", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_FailedRequirements", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.IAuthorizationRequirement>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ExplicitFail", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationFailure", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Failed", - "Parameters": [ - { - "Name": "failed", - "Type": "System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.IAuthorizationRequirement>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationFailure", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authorization.AuthorizationHandler<T0>", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Authorization.IAuthorizationHandler" - ], - "Members": [ - { - "Kind": "Method", - "Name": "HandleAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Authorization.IAuthorizationHandler", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HandleRequirementAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext" - }, - { - "Name": "requirement", - "Type": "T0" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TRequirement", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Authorization.IAuthorizationRequirement" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Authorization.AuthorizationHandler<T0, T1>", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Authorization.IAuthorizationHandler" - ], - "Members": [ - { - "Kind": "Method", - "Name": "HandleAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Authorization.IAuthorizationHandler", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HandleRequirementAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext" - }, - { - "Name": "requirement", - "Type": "T0" - }, - { - "Name": "resource", - "Type": "T1" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "TRequirement", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Authorization.IAuthorizationRequirement" - ] - }, - { - "ParameterName": "TResource", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Requirements", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.IAuthorizationRequirement>", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_User", - "Parameters": [], - "ReturnType": "System.Security.Claims.ClaimsPrincipal", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Resource", - "Parameters": [], - "ReturnType": "System.Object", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PendingRequirements", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.IAuthorizationRequirement>", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HasFailed", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HasSucceeded", - "Parameters": [], - "ReturnType": "System.Boolean", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Fail", - "Parameters": [], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Succeed", - "Parameters": [ - { - "Name": "requirement", - "Type": "Microsoft.AspNetCore.Authorization.IAuthorizationRequirement" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "requirements", - "Type": "System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.IAuthorizationRequirement>" - }, - { - "Name": "user", - "Type": "System.Security.Claims.ClaimsPrincipal" - }, - { - "Name": "resource", - "Type": "System.Object" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authorization.AuthorizationOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_InvokeHandlersAfterFailure", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_InvokeHandlersAfterFailure", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_DefaultPolicy", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationPolicy", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_DefaultPolicy", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Authorization.AuthorizationPolicy" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddPolicy", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "policy", - "Type": "Microsoft.AspNetCore.Authorization.AuthorizationPolicy" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddPolicy", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "configurePolicy", - "Type": "System.Action<Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetPolicy", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationPolicy", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authorization.AuthorizationPolicy", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Requirements", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Authorization.IAuthorizationRequirement>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AuthenticationSchemes", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyList<System.String>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Combine", - "Parameters": [ - { - "Name": "policies", - "Type": "Microsoft.AspNetCore.Authorization.AuthorizationPolicy[]", - "IsParams": true - } - ], - "ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationPolicy", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Combine", - "Parameters": [ - { - "Name": "policies", - "Type": "System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.AuthorizationPolicy>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationPolicy", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CombineAsync", - "Parameters": [ - { - "Name": "policyProvider", - "Type": "Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider" - }, - { - "Name": "authorizeData", - "Type": "System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.IAuthorizeData>" - } - ], - "ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authorization.AuthorizationPolicy>", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "requirements", - "Type": "System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.IAuthorizationRequirement>" - }, - { - "Name": "authenticationSchemes", - "Type": "System.Collections.Generic.IEnumerable<System.String>" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Requirements", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList<Microsoft.AspNetCore.Authorization.IAuthorizationRequirement>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Requirements", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IList<Microsoft.AspNetCore.Authorization.IAuthorizationRequirement>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AuthenticationSchemes", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList<System.String>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AuthenticationSchemes", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IList<System.String>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddAuthenticationSchemes", - "Parameters": [ - { - "Name": "schemes", - "Type": "System.String[]", - "IsParams": true - } - ], - "ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddRequirements", - "Parameters": [ - { - "Name": "requirements", - "Type": "Microsoft.AspNetCore.Authorization.IAuthorizationRequirement[]", - "IsParams": true - } - ], - "ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Combine", - "Parameters": [ - { - "Name": "policy", - "Type": "Microsoft.AspNetCore.Authorization.AuthorizationPolicy" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RequireClaim", - "Parameters": [ - { - "Name": "claimType", - "Type": "System.String" - }, - { - "Name": "requiredValues", - "Type": "System.String[]", - "IsParams": true - } - ], - "ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RequireClaim", - "Parameters": [ - { - "Name": "claimType", - "Type": "System.String" - }, - { - "Name": "requiredValues", - "Type": "System.Collections.Generic.IEnumerable<System.String>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RequireClaim", - "Parameters": [ - { - "Name": "claimType", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RequireRole", - "Parameters": [ - { - "Name": "roles", - "Type": "System.String[]", - "IsParams": true - } - ], - "ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RequireRole", - "Parameters": [ - { - "Name": "roles", - "Type": "System.Collections.Generic.IEnumerable<System.String>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RequireUserName", - "Parameters": [ - { - "Name": "userName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RequireAuthenticatedUser", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RequireAssertion", - "Parameters": [ - { - "Name": "handler", - "Type": "System.Func<Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext, System.Boolean>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RequireAssertion", - "Parameters": [ - { - "Name": "handler", - "Type": "System.Func<Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext, System.Threading.Tasks.Task<System.Boolean>>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Build", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationPolicy", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "authenticationSchemes", - "Type": "System.String[]", - "IsParams": true - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "policy", - "Type": "Microsoft.AspNetCore.Authorization.AuthorizationPolicy" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authorization.AuthorizationResult", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Succeeded", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Failure", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationFailure", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Success", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationResult", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Failed", - "Parameters": [ - { - "Name": "failure", - "Type": "Microsoft.AspNetCore.Authorization.AuthorizationFailure" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationResult", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Failed", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationResult", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authorization.AuthorizationServiceExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AuthorizeAsync", - "Parameters": [ - { - "Name": "service", - "Type": "Microsoft.AspNetCore.Authorization.IAuthorizationService" - }, - { - "Name": "user", - "Type": "System.Security.Claims.ClaimsPrincipal" - }, - { - "Name": "resource", - "Type": "System.Object" - }, - { - "Name": "requirement", - "Type": "Microsoft.AspNetCore.Authorization.IAuthorizationRequirement" - } - ], - "ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authorization.AuthorizationResult>", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AuthorizeAsync", - "Parameters": [ - { - "Name": "service", - "Type": "Microsoft.AspNetCore.Authorization.IAuthorizationService" - }, - { - "Name": "user", - "Type": "System.Security.Claims.ClaimsPrincipal" - }, - { - "Name": "resource", - "Type": "System.Object" - }, - { - "Name": "policy", - "Type": "Microsoft.AspNetCore.Authorization.AuthorizationPolicy" - } - ], - "ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authorization.AuthorizationResult>", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AuthorizeAsync", - "Parameters": [ - { - "Name": "service", - "Type": "Microsoft.AspNetCore.Authorization.IAuthorizationService" - }, - { - "Name": "user", - "Type": "System.Security.Claims.ClaimsPrincipal" - }, - { - "Name": "policy", - "Type": "Microsoft.AspNetCore.Authorization.AuthorizationPolicy" - } - ], - "ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authorization.AuthorizationResult>", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AuthorizeAsync", - "Parameters": [ - { - "Name": "service", - "Type": "Microsoft.AspNetCore.Authorization.IAuthorizationService" - }, - { - "Name": "user", - "Type": "System.Security.Claims.ClaimsPrincipal" - }, - { - "Name": "policyName", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authorization.AuthorizationResult>", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authorization.AuthorizeAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Authorization.IAuthorizeData" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Policy", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Authorization.IAuthorizeData", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Policy", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Authorization.IAuthorizeData", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Roles", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Authorization.IAuthorizeData", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Roles", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Authorization.IAuthorizeData", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AuthenticationSchemes", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Authorization.IAuthorizeData", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AuthenticationSchemes", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Authorization.IAuthorizeData", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ActiveAuthenticationSchemes", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ActiveAuthenticationSchemes", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "policy", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authorization.DefaultAuthorizationEvaluator", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Authorization.IAuthorizationEvaluator" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Evaluate", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationResult", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Authorization.IAuthorizationEvaluator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authorization.DefaultAuthorizationHandlerContextFactory", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Authorization.IAuthorizationHandlerContextFactory" - ], - "Members": [ - { - "Kind": "Method", - "Name": "CreateContext", - "Parameters": [ - { - "Name": "requirements", - "Type": "System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.IAuthorizationRequirement>" - }, - { - "Name": "user", - "Type": "System.Security.Claims.ClaimsPrincipal" - }, - { - "Name": "resource", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Authorization.IAuthorizationHandlerContextFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authorization.DefaultAuthorizationHandlerProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Authorization.IAuthorizationHandlerProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetHandlersAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.IAuthorizationHandler>>", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Authorization.IAuthorizationHandlerProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "handlers", - "Type": "System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.IAuthorizationHandler>" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authorization.DefaultAuthorizationPolicyProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetDefaultPolicyAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authorization.AuthorizationPolicy>", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetPolicyAsync", - "Parameters": [ - { - "Name": "policyName", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authorization.AuthorizationPolicy>", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Authorization.AuthorizationOptions>" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authorization.DefaultAuthorizationService", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Authorization.IAuthorizationService" - ], - "Members": [ - { - "Kind": "Method", - "Name": "AuthorizeAsync", - "Parameters": [ - { - "Name": "user", - "Type": "System.Security.Claims.ClaimsPrincipal" - }, - { - "Name": "resource", - "Type": "System.Object" - }, - { - "Name": "requirements", - "Type": "System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.IAuthorizationRequirement>" - } - ], - "ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authorization.AuthorizationResult>", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Authorization.IAuthorizationService", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AuthorizeAsync", - "Parameters": [ - { - "Name": "user", - "Type": "System.Security.Claims.ClaimsPrincipal" - }, - { - "Name": "resource", - "Type": "System.Object" - }, - { - "Name": "policyName", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authorization.AuthorizationResult>", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Authorization.IAuthorizationService", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "policyProvider", - "Type": "Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider" - }, - { - "Name": "handlers", - "Type": "Microsoft.AspNetCore.Authorization.IAuthorizationHandlerProvider" - }, - { - "Name": "logger", - "Type": "Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Authorization.DefaultAuthorizationService>" - }, - { - "Name": "contextFactory", - "Type": "Microsoft.AspNetCore.Authorization.IAuthorizationHandlerContextFactory" - }, - { - "Name": "evaluator", - "Type": "Microsoft.AspNetCore.Authorization.IAuthorizationEvaluator" - }, - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Authorization.AuthorizationOptions>" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authorization.IAllowAnonymous", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authorization.IAuthorizationEvaluator", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Evaluate", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationResult", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authorization.IAuthorizationHandler", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "HandleAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authorization.IAuthorizationHandlerContextFactory", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "CreateContext", - "Parameters": [ - { - "Name": "requirements", - "Type": "System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.IAuthorizationRequirement>" - }, - { - "Name": "user", - "Type": "System.Security.Claims.ClaimsPrincipal" - }, - { - "Name": "resource", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authorization.IAuthorizationHandlerProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetHandlersAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.IAuthorizationHandler>>", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetPolicyAsync", - "Parameters": [ - { - "Name": "policyName", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authorization.AuthorizationPolicy>", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetDefaultPolicyAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authorization.AuthorizationPolicy>", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authorization.IAuthorizationRequirement", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authorization.IAuthorizationService", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AuthorizeAsync", - "Parameters": [ - { - "Name": "user", - "Type": "System.Security.Claims.ClaimsPrincipal" - }, - { - "Name": "resource", - "Type": "System.Object" - }, - { - "Name": "requirements", - "Type": "System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.IAuthorizationRequirement>" - } - ], - "ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authorization.AuthorizationResult>", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AuthorizeAsync", - "Parameters": [ - { - "Name": "user", - "Type": "System.Security.Claims.ClaimsPrincipal" - }, - { - "Name": "resource", - "Type": "System.Object" - }, - { - "Name": "policyName", - "Type": "System.String" - } - ], - "ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authorization.AuthorizationResult>", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authorization.IAuthorizeData", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Policy", - "Parameters": [], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Policy", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Roles", - "Parameters": [], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Roles", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AuthenticationSchemes", - "Parameters": [], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AuthenticationSchemes", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authorization.Infrastructure.AssertionRequirement", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Authorization.IAuthorizationHandler", - "Microsoft.AspNetCore.Authorization.IAuthorizationRequirement" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Handler", - "Parameters": [], - "ReturnType": "System.Func<Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext, System.Threading.Tasks.Task<System.Boolean>>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HandleAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Authorization.IAuthorizationHandler", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "handler", - "Type": "System.Func<Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext, System.Boolean>" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "handler", - "Type": "System.Func<Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext, System.Threading.Tasks.Task<System.Boolean>>" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authorization.Infrastructure.ClaimsAuthorizationRequirement", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authorization.AuthorizationHandler<Microsoft.AspNetCore.Authorization.Infrastructure.ClaimsAuthorizationRequirement>", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Authorization.IAuthorizationRequirement" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_ClaimType", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AllowedValues", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable<System.String>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HandleRequirementAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext" - }, - { - "Name": "requirement", - "Type": "Microsoft.AspNetCore.Authorization.Infrastructure.ClaimsAuthorizationRequirement" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "claimType", - "Type": "System.String" - }, - { - "Name": "allowedValues", - "Type": "System.Collections.Generic.IEnumerable<System.String>" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authorization.Infrastructure.DenyAnonymousAuthorizationRequirement", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authorization.AuthorizationHandler<Microsoft.AspNetCore.Authorization.Infrastructure.DenyAnonymousAuthorizationRequirement>", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Authorization.IAuthorizationRequirement" - ], - "Members": [ - { - "Kind": "Method", - "Name": "HandleRequirementAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext" - }, - { - "Name": "requirement", - "Type": "Microsoft.AspNetCore.Authorization.Infrastructure.DenyAnonymousAuthorizationRequirement" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authorization.Infrastructure.NameAuthorizationRequirement", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authorization.AuthorizationHandler<Microsoft.AspNetCore.Authorization.Infrastructure.NameAuthorizationRequirement>", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Authorization.IAuthorizationRequirement" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_RequiredName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HandleRequirementAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext" - }, - { - "Name": "requirement", - "Type": "Microsoft.AspNetCore.Authorization.Infrastructure.NameAuthorizationRequirement" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "requiredName", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authorization.Infrastructure.OperationAuthorizationRequirement", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Authorization.IAuthorizationRequirement" - ], - "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": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authorization.Infrastructure.PassThroughAuthorizationHandler", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Authorization.IAuthorizationHandler" - ], - "Members": [ - { - "Kind": "Method", - "Name": "HandleAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Authorization.IAuthorizationHandler", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authorization.Infrastructure.RolesAuthorizationRequirement", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Authorization.AuthorizationHandler<Microsoft.AspNetCore.Authorization.Infrastructure.RolesAuthorizationRequirement>", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Authorization.IAuthorizationRequirement" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_AllowedRoles", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable<System.String>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HandleRequirementAsync", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext" - }, - { - "Name": "requirement", - "Type": "Microsoft.AspNetCore.Authorization.Infrastructure.RolesAuthorizationRequirement" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "allowedRoles", - "Type": "System.Collections.Generic.IEnumerable<System.String>" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Security/Authorization/Policy/src/baseline.netcore.json b/src/Security/Authorization/Policy/src/baseline.netcore.json deleted file mode 100644 index e8708538d3..0000000000 --- a/src/Security/Authorization/Policy/src/baseline.netcore.json +++ /dev/null @@ -1,211 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Authorization.Policy, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.Authorization.Policy.IPolicyEvaluator", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AuthenticateAsync", - "Parameters": [ - { - "Name": "policy", - "Type": "Microsoft.AspNetCore.Authorization.AuthorizationPolicy" - }, - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticateResult>", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AuthorizeAsync", - "Parameters": [ - { - "Name": "policy", - "Type": "Microsoft.AspNetCore.Authorization.AuthorizationPolicy" - }, - { - "Name": "authenticationResult", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticateResult" - }, - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "resource", - "Type": "System.Object" - } - ], - "ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authorization.Policy.PolicyAuthorizationResult>", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authorization.Policy.PolicyAuthorizationResult", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Challenged", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Forbidden", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Succeeded", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Challenge", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authorization.Policy.PolicyAuthorizationResult", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Forbid", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authorization.Policy.PolicyAuthorizationResult", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Success", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Authorization.Policy.PolicyAuthorizationResult", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Authorization.Policy.PolicyEvaluator", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Authorization.Policy.IPolicyEvaluator" - ], - "Members": [ - { - "Kind": "Method", - "Name": "AuthenticateAsync", - "Parameters": [ - { - "Name": "policy", - "Type": "Microsoft.AspNetCore.Authorization.AuthorizationPolicy" - }, - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticateResult>", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Authorization.Policy.IPolicyEvaluator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AuthorizeAsync", - "Parameters": [ - { - "Name": "policy", - "Type": "Microsoft.AspNetCore.Authorization.AuthorizationPolicy" - }, - { - "Name": "authenticationResult", - "Type": "Microsoft.AspNetCore.Authentication.AuthenticateResult" - }, - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "resource", - "Type": "System.Object" - } - ], - "ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authorization.Policy.PolicyAuthorizationResult>", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Authorization.Policy.IPolicyEvaluator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "authorization", - "Type": "Microsoft.AspNetCore.Authorization.IAuthorizationService" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.Extensions.DependencyInjection.PolicyServiceCollectionExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddAuthorizationPolicyEvaluator", - "Parameters": [ - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IServiceCollection", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Security/Authorization/test/AuthorizationEndpointConventionBuilderExtensionsTests.cs b/src/Security/Authorization/test/AuthorizationEndpointConventionBuilderExtensionsTests.cs index 7a01f88ae6..f535bf7e69 100644 --- a/src/Security/Authorization/test/AuthorizationEndpointConventionBuilderExtensionsTests.cs +++ b/src/Security/Authorization/test/AuthorizationEndpointConventionBuilderExtensionsTests.cs @@ -70,9 +70,23 @@ namespace Microsoft.AspNetCore.Authorization.Test Assert.Null(authMetadata.Policy); } + [Fact] + public void RequireAuthorization_ChainedCall() + { + // Arrange + var builder = new TestEndpointConventionBuilder(); + + // Act + var chainedBuilder = builder.RequireAuthorization(); + + // Assert + Assert.True(chainedBuilder.TestProperty); + } + private class TestEndpointConventionBuilder : IEndpointConventionBuilder { public IList<Action<EndpointBuilder>> Conventions { get; } = new List<Action<EndpointBuilder>>(); + public bool TestProperty { get; } = true; public void Add(Action<EndpointBuilder> convention) { diff --git a/src/Security/CookiePolicy/ref/Microsoft.AspNetCore.CookiePolicy.netcoreapp3.0.cs b/src/Security/CookiePolicy/ref/Microsoft.AspNetCore.CookiePolicy.netcoreapp3.0.cs index 6968b27353..f2e231debc 100644 --- a/src/Security/CookiePolicy/ref/Microsoft.AspNetCore.CookiePolicy.netcoreapp3.0.cs +++ b/src/Security/CookiePolicy/ref/Microsoft.AspNetCore.CookiePolicy.netcoreapp3.0.cs @@ -52,7 +52,7 @@ namespace Microsoft.AspNetCore.CookiePolicy } public enum HttpOnlyPolicy { - Always = 1, None = 0, + Always = 1, } } diff --git a/src/Security/CookiePolicy/src/baseline.netcore.json b/src/Security/CookiePolicy/src/baseline.netcore.json deleted file mode 100644 index 01a16c57a9..0000000000 --- a/src/Security/CookiePolicy/src/baseline.netcore.json +++ /dev/null @@ -1,548 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.CookiePolicy, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.Builder.CookiePolicyAppBuilderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseCookiePolicy", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseCookiePolicy", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Builder.CookiePolicyOptions" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.CookiePolicyOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_MinimumSameSitePolicy", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.SameSiteMode", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MinimumSameSitePolicy", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.SameSiteMode" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HttpOnly", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.CookiePolicy.HttpOnlyPolicy", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_HttpOnly", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.CookiePolicy.HttpOnlyPolicy" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Secure", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.CookieSecurePolicy", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Secure", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.CookieSecurePolicy" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ConsentCookie", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.CookieBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ConsentCookie", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.CookieBuilder" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_CheckConsentNeeded", - "Parameters": [], - "ReturnType": "System.Func<Microsoft.AspNetCore.Http.HttpContext, System.Boolean>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_CheckConsentNeeded", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func<Microsoft.AspNetCore.Http.HttpContext, System.Boolean>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_OnAppendCookie", - "Parameters": [], - "ReturnType": "System.Action<Microsoft.AspNetCore.CookiePolicy.AppendCookieContext>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_OnAppendCookie", - "Parameters": [ - { - "Name": "value", - "Type": "System.Action<Microsoft.AspNetCore.CookiePolicy.AppendCookieContext>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_OnDeleteCookie", - "Parameters": [], - "ReturnType": "System.Action<Microsoft.AspNetCore.CookiePolicy.DeleteCookieContext>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_OnDeleteCookie", - "Parameters": [ - { - "Name": "value", - "Type": "System.Action<Microsoft.AspNetCore.CookiePolicy.DeleteCookieContext>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.CookiePolicy.AppendCookieContext", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Context", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HttpContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_CookieOptions", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.CookieOptions", - "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_CookieValue", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_CookieValue", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsConsentNeeded", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HasConsent", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IssueCookie", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IssueCookie", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Http.CookieOptions" - }, - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "value", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.CookiePolicy.CookiePolicyMiddleware", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Options", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Builder.CookiePolicyOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Options", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Builder.CookiePolicyOptions" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Invoke", - "Parameters": [ - { - "Name": "context", - "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": "options", - "Type": "Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.CookiePolicyOptions>" - }, - { - "Name": "factory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "next", - "Type": "Microsoft.AspNetCore.Http.RequestDelegate" - }, - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.CookiePolicyOptions>" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.CookiePolicy.DeleteCookieContext", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Context", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HttpContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_CookieOptions", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.CookieOptions", - "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_IsConsentNeeded", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HasConsent", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IssueCookie", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IssueCookie", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "context", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Http.CookieOptions" - }, - { - "Name": "name", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.CookiePolicy.HttpOnlyPolicy", - "Visibility": "Public", - "Kind": "Enumeration", - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "None", - "Parameters": [], - "GenericParameter": [], - "Literal": "0" - }, - { - "Kind": "Field", - "Name": "Always", - "Parameters": [], - "GenericParameter": [], - "Literal": "1" - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Security/CookiePolicy/test/CookieChunkingTests.cs b/src/Security/CookiePolicy/test/CookieChunkingTests.cs index 59c45f05b7..4b65df4073 100644 --- a/src/Security/CookiePolicy/test/CookieChunkingTests.cs +++ b/src/Security/CookiePolicy/test/CookieChunkingTests.cs @@ -21,6 +21,29 @@ namespace Microsoft.AspNetCore.Internal Assert.Equal("TestCookie=" + testString + "; path=/", values[0]); } + [Fact] + public void AppendLargeCookie_WithOptions_Appended() + { + HttpContext context = new DefaultHttpContext(); + var now = DateTimeOffset.UtcNow; + var options = new CookieOptions + { + Domain = "foo.com", + HttpOnly = true, + SameSite = SameSiteMode.Strict, + Path = "/bar", + Secure = true, + Expires = now.AddMinutes(5), + MaxAge = TimeSpan.FromMinutes(5) + }; + var testString = "abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; + new ChunkingCookieManager() { ChunkSize = null }.AppendResponseCookie(context, "TestCookie", testString, options); + + var values = context.Response.Headers["Set-Cookie"]; + Assert.Single(values); + Assert.Equal($"TestCookie={testString}; expires={now.AddMinutes(5).ToString("R")}; max-age=300; domain=foo.com; path=/bar; secure; samesite=strict; httponly", values[0]); + } + [Fact] public void AppendLargeCookieWithLimit_Chunked() { @@ -107,19 +130,19 @@ namespace Microsoft.AspNetCore.Internal HttpContext context = new DefaultHttpContext(); context.Request.Headers.Append("Cookie", "TestCookie=chunks-7"); - new ChunkingCookieManager().DeleteCookie(context, "TestCookie", new CookieOptions() { Domain = "foo.com" }); + new ChunkingCookieManager().DeleteCookie(context, "TestCookie", new CookieOptions() { Domain = "foo.com", Secure = true }); var cookies = context.Response.Headers["Set-Cookie"]; Assert.Equal(8, cookies.Count); Assert.Equal(new[] { - "TestCookie=; expires=Thu, 01 Jan 1970 00:00:00 GMT; domain=foo.com; path=/", - "TestCookieC1=; expires=Thu, 01 Jan 1970 00:00:00 GMT; domain=foo.com; path=/", - "TestCookieC2=; expires=Thu, 01 Jan 1970 00:00:00 GMT; domain=foo.com; path=/", - "TestCookieC3=; expires=Thu, 01 Jan 1970 00:00:00 GMT; domain=foo.com; path=/", - "TestCookieC4=; expires=Thu, 01 Jan 1970 00:00:00 GMT; domain=foo.com; path=/", - "TestCookieC5=; expires=Thu, 01 Jan 1970 00:00:00 GMT; domain=foo.com; path=/", - "TestCookieC6=; expires=Thu, 01 Jan 1970 00:00:00 GMT; domain=foo.com; path=/", - "TestCookieC7=; expires=Thu, 01 Jan 1970 00:00:00 GMT; domain=foo.com; path=/", + "TestCookie=; expires=Thu, 01 Jan 1970 00:00:00 GMT; domain=foo.com; path=/; secure", + "TestCookieC1=; expires=Thu, 01 Jan 1970 00:00:00 GMT; domain=foo.com; path=/; secure", + "TestCookieC2=; expires=Thu, 01 Jan 1970 00:00:00 GMT; domain=foo.com; path=/; secure", + "TestCookieC3=; expires=Thu, 01 Jan 1970 00:00:00 GMT; domain=foo.com; path=/; secure", + "TestCookieC4=; expires=Thu, 01 Jan 1970 00:00:00 GMT; domain=foo.com; path=/; secure", + "TestCookieC5=; expires=Thu, 01 Jan 1970 00:00:00 GMT; domain=foo.com; path=/; secure", + "TestCookieC6=; expires=Thu, 01 Jan 1970 00:00:00 GMT; domain=foo.com; path=/; secure", + "TestCookieC7=; expires=Thu, 01 Jan 1970 00:00:00 GMT; domain=foo.com; path=/; secure", }, cookies); } } diff --git a/src/Servers/Connections.Abstractions/ref/Microsoft.AspNetCore.Connections.Abstractions.netstandard2.0.cs b/src/Servers/Connections.Abstractions/ref/Microsoft.AspNetCore.Connections.Abstractions.netstandard2.0.cs index 6ae8b7206a..1189ad64cf 100644 --- a/src/Servers/Connections.Abstractions/ref/Microsoft.AspNetCore.Connections.Abstractions.netstandard2.0.cs +++ b/src/Servers/Connections.Abstractions/ref/Microsoft.AspNetCore.Connections.Abstractions.netstandard2.0.cs @@ -100,6 +100,10 @@ namespace Microsoft.AspNetCore.Connections } namespace Microsoft.AspNetCore.Connections.Features { + public partial interface IConnectionCompleteFeature + { + void OnCompleted(System.Func<object, System.Threading.Tasks.Task> callback, object state); + } public partial interface IConnectionHeartbeatFeature { void OnHeartbeat(System.Action<object> action, object state); diff --git a/src/Servers/Connections.Abstractions/src/Features/IConnectionCompleteFeature.cs b/src/Servers/Connections.Abstractions/src/Features/IConnectionCompleteFeature.cs new file mode 100644 index 0000000000..94587ae6e8 --- /dev/null +++ b/src/Servers/Connections.Abstractions/src/Features/IConnectionCompleteFeature.cs @@ -0,0 +1,22 @@ +// 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.Threading.Tasks; + +namespace Microsoft.AspNetCore.Connections.Features +{ + /// <summary> + /// Represents the completion action for a connection. + /// </summary> + public interface IConnectionCompleteFeature + { + /// <summary> + /// Registers a callback to be invoked after a connection has fully completed processing. This is + /// intended for resource cleanup. + /// </summary> + /// <param name="callback">The callback to invoke after the connection has completed processing.</param> + /// <param name="state">The state to pass into the callback.</param> + void OnCompleted(Func<object, Task> callback, object state); + } +} diff --git a/src/Servers/Connections.Abstractions/src/baseline.netcore.json b/src/Servers/Connections.Abstractions/src/baseline.netcore.json deleted file mode 100644 index 1bf1db58bc..0000000000 --- a/src/Servers/Connections.Abstractions/src/baseline.netcore.json +++ /dev/null @@ -1,1060 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Connections.Abstractions, Version=2.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.Connections.ConnectionBuilder", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Connections.IConnectionBuilder" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_ApplicationServices", - "Parameters": [], - "ReturnType": "System.IServiceProvider", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Connections.IConnectionBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Use", - "Parameters": [ - { - "Name": "middleware", - "Type": "System.Func<Microsoft.AspNetCore.Connections.ConnectionDelegate, Microsoft.AspNetCore.Connections.ConnectionDelegate>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Connections.IConnectionBuilder", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Connections.IConnectionBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Build", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Connections.ConnectionDelegate", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Connections.IConnectionBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "applicationServices", - "Type": "System.IServiceProvider" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Connections.ConnectionBuilderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseConnectionHandler<T0>", - "Parameters": [ - { - "Name": "connectionBuilder", - "Type": "Microsoft.AspNetCore.Connections.IConnectionBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Connections.IConnectionBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TConnectionHandler", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Connections.ConnectionHandler" - ] - } - ] - }, - { - "Kind": "Method", - "Name": "Use", - "Parameters": [ - { - "Name": "connectionBuilder", - "Type": "Microsoft.AspNetCore.Connections.IConnectionBuilder" - }, - { - "Name": "middleware", - "Type": "System.Func<Microsoft.AspNetCore.Connections.ConnectionContext, System.Func<System.Threading.Tasks.Task>, System.Threading.Tasks.Task>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Connections.IConnectionBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Run", - "Parameters": [ - { - "Name": "connectionBuilder", - "Type": "Microsoft.AspNetCore.Connections.IConnectionBuilder" - }, - { - "Name": "middleware", - "Type": "System.Func<Microsoft.AspNetCore.Connections.ConnectionContext, System.Threading.Tasks.Task>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Connections.IConnectionBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Connections.ConnectionContext", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ConnectionId", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ConnectionId", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Features", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.Features.IFeatureCollection", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Items", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary<System.Object, System.Object>", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Items", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IDictionary<System.Object, System.Object>" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Transport", - "Parameters": [], - "ReturnType": "System.IO.Pipelines.IDuplexPipe", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Transport", - "Parameters": [ - { - "Name": "value", - "Type": "System.IO.Pipelines.IDuplexPipe" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Connections.ConnectionDelegate", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "BaseType": "System.MulticastDelegate", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Invoke", - "Parameters": [ - { - "Name": "connection", - "Type": "Microsoft.AspNetCore.Connections.ConnectionContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BeginInvoke", - "Parameters": [ - { - "Name": "connection", - "Type": "Microsoft.AspNetCore.Connections.ConnectionContext" - }, - { - "Name": "callback", - "Type": "System.AsyncCallback" - }, - { - "Name": "object", - "Type": "System.Object" - } - ], - "ReturnType": "System.IAsyncResult", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "EndInvoke", - "Parameters": [ - { - "Name": "result", - "Type": "System.IAsyncResult" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "object", - "Type": "System.Object" - }, - { - "Name": "method", - "Type": "System.IntPtr" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Connections.ConnectionHandler", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "OnConnectedAsync", - "Parameters": [ - { - "Name": "connection", - "Type": "Microsoft.AspNetCore.Connections.ConnectionContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Connections.ConnectionItems", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "System.Collections.Generic.IDictionary<System.Object, System.Object>" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Items", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary<System.Object, System.Object>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "items", - "Type": "System.Collections.Generic.IDictionary<System.Object, System.Object>" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Connections.DefaultConnectionContext", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Connections.ConnectionContext", - "ImplementedInterfaces": [ - "System.IDisposable", - "Microsoft.AspNetCore.Connections.Features.IConnectionIdFeature", - "Microsoft.AspNetCore.Connections.Features.IConnectionItemsFeature", - "Microsoft.AspNetCore.Connections.Features.IConnectionTransportFeature", - "Microsoft.AspNetCore.Connections.Features.IConnectionUserFeature", - "Microsoft.AspNetCore.Connections.Features.IConnectionLifetimeFeature" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_ConnectionId", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Connections.Features.IConnectionIdFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ConnectionId", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Connections.Features.IConnectionIdFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Features", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.Features.IFeatureCollection", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_User", - "Parameters": [], - "ReturnType": "System.Security.Claims.ClaimsPrincipal", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Connections.Features.IConnectionUserFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_User", - "Parameters": [ - { - "Name": "value", - "Type": "System.Security.Claims.ClaimsPrincipal" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Connections.Features.IConnectionUserFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Items", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary<System.Object, System.Object>", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Connections.Features.IConnectionItemsFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Items", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IDictionary<System.Object, System.Object>" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Connections.Features.IConnectionItemsFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Application", - "Parameters": [], - "ReturnType": "System.IO.Pipelines.IDuplexPipe", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Application", - "Parameters": [ - { - "Name": "value", - "Type": "System.IO.Pipelines.IDuplexPipe" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Transport", - "Parameters": [], - "ReturnType": "System.IO.Pipelines.IDuplexPipe", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Connections.Features.IConnectionTransportFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Transport", - "Parameters": [ - { - "Name": "value", - "Type": "System.IO.Pipelines.IDuplexPipe" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Connections.Features.IConnectionTransportFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ConnectionClosed", - "Parameters": [], - "ReturnType": "System.Threading.CancellationToken", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Connections.Features.IConnectionLifetimeFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ConnectionClosed", - "Parameters": [ - { - "Name": "value", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Connections.Features.IConnectionLifetimeFeature", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Abort", - "Parameters": [], - "ReturnType": "System.Void", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Connections.Features.IConnectionLifetimeFeature", - "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": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "id", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "id", - "Type": "System.String" - }, - { - "Name": "transport", - "Type": "System.IO.Pipelines.IDuplexPipe" - }, - { - "Name": "application", - "Type": "System.IO.Pipelines.IDuplexPipe" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Connections.AddressInUseException", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.InvalidOperationException", - "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": "inner", - "Type": "System.Exception" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Connections.ConnectionAbortedException", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.OperationCanceledException", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "message", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "message", - "Type": "System.String" - }, - { - "Name": "inner", - "Type": "System.Exception" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Connections.ConnectionResetException", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.IO.IOException", - "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": "inner", - "Type": "System.Exception" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Connections.IConnectionBuilder", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ApplicationServices", - "Parameters": [], - "ReturnType": "System.IServiceProvider", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Use", - "Parameters": [ - { - "Name": "middleware", - "Type": "System.Func<Microsoft.AspNetCore.Connections.ConnectionDelegate, Microsoft.AspNetCore.Connections.ConnectionDelegate>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Connections.IConnectionBuilder", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Build", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Connections.ConnectionDelegate", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Connections.TransferFormat", - "Visibility": "Public", - "Kind": "Enumeration", - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "Binary", - "Parameters": [], - "GenericParameter": [], - "Literal": "1" - }, - { - "Kind": "Field", - "Name": "Text", - "Parameters": [], - "GenericParameter": [], - "Literal": "2" - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Connections.Features.IConnectionHeartbeatFeature", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "OnHeartbeat", - "Parameters": [ - { - "Name": "action", - "Type": "System.Action<System.Object>" - }, - { - "Name": "state", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Connections.Features.IConnectionIdFeature", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ConnectionId", - "Parameters": [], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ConnectionId", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Connections.Features.IConnectionInherentKeepAliveFeature", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_HasInherentKeepAlive", - "Parameters": [], - "ReturnType": "System.Boolean", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Connections.Features.IConnectionItemsFeature", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Items", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary<System.Object, System.Object>", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Items", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IDictionary<System.Object, System.Object>" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Connections.Features.IConnectionLifetimeFeature", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ConnectionClosed", - "Parameters": [], - "ReturnType": "System.Threading.CancellationToken", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ConnectionClosed", - "Parameters": [ - { - "Name": "value", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Abort", - "Parameters": [], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Connections.Features.IConnectionTransportFeature", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Transport", - "Parameters": [], - "ReturnType": "System.IO.Pipelines.IDuplexPipe", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Transport", - "Parameters": [ - { - "Name": "value", - "Type": "System.IO.Pipelines.IDuplexPipe" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Connections.Features.IConnectionUserFeature", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_User", - "Parameters": [], - "ReturnType": "System.Security.Claims.ClaimsPrincipal", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_User", - "Parameters": [ - { - "Name": "value", - "Type": "System.Security.Claims.ClaimsPrincipal" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Connections.Features.IMemoryPoolFeature", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_MemoryPool", - "Parameters": [], - "ReturnType": "System.Buffers.MemoryPool<System.Byte>", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Connections.Features.ITransferFormatFeature", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_SupportedFormats", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Connections.TransferFormat", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ActiveFormat", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Connections.TransferFormat", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ActiveFormat", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Connections.TransferFormat" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Servers/Connections.Abstractions/src/breakingchanges.netcore.json b/src/Servers/Connections.Abstractions/src/breakingchanges.netcore.json deleted file mode 100644 index f68229b101..0000000000 --- a/src/Servers/Connections.Abstractions/src/breakingchanges.netcore.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "TypeId": "public class Microsoft.AspNetCore.Connections.DefaultConnectionContext : Microsoft.AspNetCore.Connections.ConnectionContext, System.IDisposable, Microsoft.AspNetCore.Connections.Features.IConnectionIdFeature, Microsoft.AspNetCore.Connections.Features.IConnectionItemsFeature, Microsoft.AspNetCore.Connections.Features.IConnectionTransportFeature, Microsoft.AspNetCore.Connections.Features.IConnectionUserFeature, Microsoft.AspNetCore.Connections.Features.IConnectionLifetimeFeature", - "MemberId": "public System.Void Abort()", - "Kind": "Removal" - } -] \ No newline at end of file diff --git a/src/Servers/HttpSys/ref/Microsoft.AspNetCore.Server.HttpSys.netcoreapp3.0.cs b/src/Servers/HttpSys/ref/Microsoft.AspNetCore.Server.HttpSys.netcoreapp3.0.cs index 2beba4da8f..96907a8602 100644 --- a/src/Servers/HttpSys/ref/Microsoft.AspNetCore.Server.HttpSys.netcoreapp3.0.cs +++ b/src/Servers/HttpSys/ref/Microsoft.AspNetCore.Server.HttpSys.netcoreapp3.0.cs @@ -20,17 +20,17 @@ namespace Microsoft.AspNetCore.Server.HttpSys [System.FlagsAttribute] public enum AuthenticationSchemes { - Basic = 1, - Kerberos = 16, - Negotiate = 8, None = 0, + Basic = 1, NTLM = 4, + Negotiate = 8, + Kerberos = 16, } public enum Http503VerbosityLevel : long { Basic = (long)0, - Full = (long)2, Limited = (long)1, + Full = (long)2, } public static partial class HttpSysDefaults { diff --git a/src/Servers/HttpSys/src/baseline.netcore.json b/src/Servers/HttpSys/src/baseline.netcore.json deleted file mode 100644 index a2a3a393fa..0000000000 --- a/src/Servers/HttpSys/src/baseline.netcore.json +++ /dev/null @@ -1,881 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Server.HttpSys, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.Hosting.WebHostBuilderHttpSysExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseHttpSys", - "Parameters": [ - { - "Name": "hostBuilder", - "Type": "Microsoft.AspNetCore.Hosting.IWebHostBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseHttpSys", - "Parameters": [ - { - "Name": "hostBuilder", - "Type": "Microsoft.AspNetCore.Hosting.IWebHostBuilder" - }, - { - "Name": "options", - "Type": "System.Action<Microsoft.AspNetCore.Server.HttpSys.HttpSysOptions>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Server.HttpSys.AuthenticationManager", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Schemes", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Server.HttpSys.AuthenticationSchemes", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Schemes", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Server.HttpSys.AuthenticationSchemes" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AllowAnonymous", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AllowAnonymous", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Server.HttpSys.AuthenticationSchemes", - "Visibility": "Public", - "Kind": "Enumeration", - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "None", - "Parameters": [], - "GenericParameter": [], - "Literal": "0" - }, - { - "Kind": "Field", - "Name": "Basic", - "Parameters": [], - "GenericParameter": [], - "Literal": "1" - }, - { - "Kind": "Field", - "Name": "NTLM", - "Parameters": [], - "GenericParameter": [], - "Literal": "4" - }, - { - "Kind": "Field", - "Name": "Negotiate", - "Parameters": [], - "GenericParameter": [], - "Literal": "8" - }, - { - "Kind": "Field", - "Name": "Kerberos", - "Parameters": [], - "GenericParameter": [], - "Literal": "16" - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Server.HttpSys.Http503VerbosityLevel", - "Visibility": "Public", - "Kind": "Enumeration", - "Sealed": true, - "BaseType": "System.Int64", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "Basic", - "Parameters": [], - "GenericParameter": [], - "Literal": "0" - }, - { - "Kind": "Field", - "Name": "Limited", - "Parameters": [], - "GenericParameter": [], - "Literal": "1" - }, - { - "Kind": "Field", - "Name": "Full", - "Parameters": [], - "GenericParameter": [], - "Literal": "2" - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Server.HttpSys.HttpSysDefaults", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "AuthenticationScheme", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Server.HttpSys.HttpSysException", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.ComponentModel.Win32Exception", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ErrorCode", - "Parameters": [], - "ReturnType": "System.Int32", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Server.HttpSys.HttpSysOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_MaxAccepts", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MaxAccepts", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_EnableResponseCaching", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_EnableResponseCaching", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UrlPrefixes", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Server.HttpSys.UrlPrefixCollection", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Authentication", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Server.HttpSys.AuthenticationManager", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Timeouts", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Server.HttpSys.TimeoutManager", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ThrowWriteExceptions", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ThrowWriteExceptions", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MaxConnections", - "Parameters": [], - "ReturnType": "System.Nullable<System.Int64>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MaxConnections", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable<System.Int64>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RequestQueueLimit", - "Parameters": [], - "ReturnType": "System.Int64", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RequestQueueLimit", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int64" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MaxRequestBodySize", - "Parameters": [], - "ReturnType": "System.Nullable<System.Int64>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MaxRequestBodySize", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable<System.Int64>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AllowSynchronousIO", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AllowSynchronousIO", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Http503Verbosity", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Server.HttpSys.Http503VerbosityLevel", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Http503Verbosity", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Server.HttpSys.Http503VerbosityLevel" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Server.HttpSys.TimeoutManager", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_EntityBody", - "Parameters": [], - "ReturnType": "System.TimeSpan", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_EntityBody", - "Parameters": [ - { - "Name": "value", - "Type": "System.TimeSpan" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_DrainEntityBody", - "Parameters": [], - "ReturnType": "System.TimeSpan", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_DrainEntityBody", - "Parameters": [ - { - "Name": "value", - "Type": "System.TimeSpan" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RequestQueue", - "Parameters": [], - "ReturnType": "System.TimeSpan", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RequestQueue", - "Parameters": [ - { - "Name": "value", - "Type": "System.TimeSpan" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IdleConnection", - "Parameters": [], - "ReturnType": "System.TimeSpan", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IdleConnection", - "Parameters": [ - { - "Name": "value", - "Type": "System.TimeSpan" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HeaderWait", - "Parameters": [], - "ReturnType": "System.TimeSpan", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_HeaderWait", - "Parameters": [ - { - "Name": "value", - "Type": "System.TimeSpan" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MinSendBytesPerSecond", - "Parameters": [], - "ReturnType": "System.Int64", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MinSendBytesPerSecond", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int64" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Server.HttpSys.UrlPrefix", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Create", - "Parameters": [ - { - "Name": "scheme", - "Type": "System.String" - }, - { - "Name": "host", - "Type": "System.String" - }, - { - "Name": "port", - "Type": "System.String" - }, - { - "Name": "path", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Server.HttpSys.UrlPrefix", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Create", - "Parameters": [ - { - "Name": "scheme", - "Type": "System.String" - }, - { - "Name": "host", - "Type": "System.String" - }, - { - "Name": "portValue", - "Type": "System.Nullable<System.Int32>" - }, - { - "Name": "path", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Server.HttpSys.UrlPrefix", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Create", - "Parameters": [ - { - "Name": "prefix", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Server.HttpSys.UrlPrefix", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsHttps", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Scheme", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Host", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Port", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PortValue", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Path", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_FullPrefix", - "Parameters": [], - "ReturnType": "System.String", - "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": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Server.HttpSys.UrlPrefixCollection", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "System.Collections.Generic.ICollection<Microsoft.AspNetCore.Server.HttpSys.UrlPrefix>" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetEnumerator", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerator<Microsoft.AspNetCore.Server.HttpSys.UrlPrefix>", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Server.HttpSys.UrlPrefix>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Count", - "Parameters": [], - "ReturnType": "System.Int32", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.ICollection<Microsoft.AspNetCore.Server.HttpSys.UrlPrefix>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsReadOnly", - "Parameters": [], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.ICollection<Microsoft.AspNetCore.Server.HttpSys.UrlPrefix>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Add", - "Parameters": [ - { - "Name": "prefix", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Add", - "Parameters": [ - { - "Name": "item", - "Type": "Microsoft.AspNetCore.Server.HttpSys.UrlPrefix" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.ICollection<Microsoft.AspNetCore.Server.HttpSys.UrlPrefix>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Clear", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.ICollection<Microsoft.AspNetCore.Server.HttpSys.UrlPrefix>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Contains", - "Parameters": [ - { - "Name": "item", - "Type": "Microsoft.AspNetCore.Server.HttpSys.UrlPrefix" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.ICollection<Microsoft.AspNetCore.Server.HttpSys.UrlPrefix>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CopyTo", - "Parameters": [ - { - "Name": "array", - "Type": "Microsoft.AspNetCore.Server.HttpSys.UrlPrefix[]" - }, - { - "Name": "arrayIndex", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.ICollection<Microsoft.AspNetCore.Server.HttpSys.UrlPrefix>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Remove", - "Parameters": [ - { - "Name": "prefix", - "Type": "System.String" - } - ], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Remove", - "Parameters": [ - { - "Name": "item", - "Type": "Microsoft.AspNetCore.Server.HttpSys.UrlPrefix" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.ICollection<Microsoft.AspNetCore.Server.HttpSys.UrlPrefix>", - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Servers/HttpSys/test/FunctionalTests/HttpsTests.cs b/src/Servers/HttpSys/test/FunctionalTests/HttpsTests.cs index 7b99af24a4..414414e0e4 100644 --- a/src/Servers/HttpSys/test/FunctionalTests/HttpsTests.cs +++ b/src/Servers/HttpSys/test/FunctionalTests/HttpsTests.cs @@ -12,15 +12,18 @@ using System.Threading.Tasks; using Microsoft.AspNetCore.Connections.Features; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http.Features; +using Microsoft.AspNetCore.Testing; using Microsoft.AspNetCore.Testing.xunit; using Xunit; namespace Microsoft.AspNetCore.Server.HttpSys { - [SkipOnHelix] // https://github.com/aspnet/AspNetCore-Internal/issues/1816 + // Flaky doesn't support classes :( + // https://github.com/aspnet/Extensions/issues/1568 public class HttpsTests { [ConditionalFact] + [Flaky("https://github.com/aspnet/AspNetCore-Internal/issues/2209", FlakyOn.Helix.All)] public async Task Https_200OK_Success() { using (Utilities.CreateDynamicHttpsServer(out var address, httpContext => @@ -34,6 +37,7 @@ namespace Microsoft.AspNetCore.Server.HttpSys } [ConditionalFact] + [Flaky("https://github.com/aspnet/AspNetCore-Internal/issues/2209", FlakyOn.Helix.All)] public async Task Https_SendHelloWorld_Success() { using (Utilities.CreateDynamicHttpsServer(out var address, httpContext => @@ -49,6 +53,7 @@ namespace Microsoft.AspNetCore.Server.HttpSys } [ConditionalFact] + [Flaky("https://github.com/aspnet/AspNetCore-Internal/issues/2209", FlakyOn.Helix.All)] public async Task Https_EchoHelloWorld_Success() { using (Utilities.CreateDynamicHttpsServer(out var address, async httpContext => @@ -66,6 +71,7 @@ namespace Microsoft.AspNetCore.Server.HttpSys } [ConditionalFact] + [Flaky("https://github.com/aspnet/AspNetCore-Internal/issues/2209", FlakyOn.Helix.All)] public async Task Https_ClientCertNotSent_ClientCertNotPresent() { using (Utilities.CreateDynamicHttpsServer(out var address, async httpContext => @@ -102,6 +108,7 @@ namespace Microsoft.AspNetCore.Server.HttpSys } [ConditionalFact] + [Flaky("https://github.com/aspnet/AspNetCore-Internal/issues/2209", FlakyOn.Helix.All)] [OSDontSkipCondition(OperatingSystems.Windows, WindowsVersions.Win7, WindowsVersions.Win2008R2)] public async Task Https_SkipsITlsHandshakeFeatureOnWin7() { @@ -124,6 +131,7 @@ namespace Microsoft.AspNetCore.Server.HttpSys } [ConditionalFact] + [Flaky("https://github.com/aspnet/AspNetCore-Internal/issues/2209", FlakyOn.Helix.All)] [OSSkipCondition(OperatingSystems.Windows, WindowsVersions.Win7, WindowsVersions.Win2008R2)] public async Task Https_SetsITlsHandshakeFeature() { diff --git a/src/Servers/HttpSys/test/FunctionalTests/Listener/RequestBodyTests.cs b/src/Servers/HttpSys/test/FunctionalTests/Listener/RequestBodyTests.cs index a3f55a7ea1..8e438141ef 100644 --- a/src/Servers/HttpSys/test/FunctionalTests/Listener/RequestBodyTests.cs +++ b/src/Servers/HttpSys/test/FunctionalTests/Listener/RequestBodyTests.cs @@ -143,6 +143,7 @@ namespace Microsoft.AspNetCore.Server.HttpSys.Listener } [ConditionalFact] + [Flaky("https://github.com/aspnet/AspNetCore-Internal/issues/2206", FlakyOn.All)] public async Task RequestBody_ReadAsyncPartialBodyAndExpiredTimeout_Canceled() { StaggardContent content = new StaggardContent(); diff --git a/src/Servers/HttpSys/test/FunctionalTests/ResponseCachingTests.cs b/src/Servers/HttpSys/test/FunctionalTests/ResponseCachingTests.cs index ef98d28f47..f5fe7592ed 100644 --- a/src/Servers/HttpSys/test/FunctionalTests/ResponseCachingTests.cs +++ b/src/Servers/HttpSys/test/FunctionalTests/ResponseCachingTests.cs @@ -46,6 +46,7 @@ namespace Microsoft.AspNetCore.Server.HttpSys.FunctionalTests } [ConditionalFact] + [Flaky("https://github.com/aspnet/AspNetCore-Internal/issues/2135", FlakyOn.All)] public async Task Caching_JustPublic_NotCached() { var requestCount = 1; @@ -86,7 +87,7 @@ namespace Microsoft.AspNetCore.Server.HttpSys.FunctionalTests } [ConditionalFact] - [Flaky("https://github.com/aspnet/AspNetCore-Internal/issues/1826", FlakyOn.All)] + [Flaky("https://github.com/aspnet/AspNetCore-Internal/issues/2207", FlakyOn.All)] public async Task Caching_WithoutContentType_Cached_OnWin7AndWin2008R2() { if (Utilities.IsWin8orLater) @@ -237,7 +238,7 @@ namespace Microsoft.AspNetCore.Server.HttpSys.FunctionalTests [ConditionalTheory] [InlineData("0")] [InlineData("-1")] - [Flaky("https://github.com/aspnet/AspNetCore-Internal/issues/1826", FlakyOn.All)] + [Flaky("https://github.com/aspnet/AspNetCore-Internal/issues/2208", FlakyOn.All)] public async Task Caching_InvalidExpires_NotCached(string expiresValue) { var requestCount = 1; @@ -378,7 +379,7 @@ namespace Microsoft.AspNetCore.Server.HttpSys.FunctionalTests } [ConditionalFact] - [Flaky("https://github.com/aspnet/AspNetCore-Internal/issues/1826", FlakyOn.All)] + [Flaky("https://github.com/aspnet/AspNetCore-Internal/issues/2209", FlakyOn.All)] public async Task Caching_VariousStatusCodes_Cached() { var requestCount = 1; diff --git a/src/Servers/IIS/IIS/src/Core/IISHttpContext.IO.cs b/src/Servers/IIS/IIS/src/Core/IISHttpContext.IO.cs index 9b6fecd000..feea13e2e2 100644 --- a/src/Servers/IIS/IIS/src/Core/IISHttpContext.IO.cs +++ b/src/Servers/IIS/IIS/src/Core/IISHttpContext.IO.cs @@ -20,7 +20,7 @@ namespace Microsoft.AspNetCore.Server.IIS.Core /// <param name="memory"></param> /// <param name="cancellationToken"></param> /// <returns></returns> - internal async Task<int> ReadAsync(Memory<byte> memory, CancellationToken cancellationToken) + internal async ValueTask<int> ReadAsync(Memory<byte> memory, CancellationToken cancellationToken) { if (!_hasRequestReadingStarted) { @@ -155,7 +155,7 @@ namespace Microsoft.AspNetCore.Server.IIS.Core break; } - flush = flush | result.IsCanceled; + flush |= result.IsCanceled; if (flush) { diff --git a/src/Servers/IIS/IIS/src/Core/IISHttpContext.cs b/src/Servers/IIS/IIS/src/Core/IISHttpContext.cs index c1da56bfc7..7286288427 100644 --- a/src/Servers/IIS/IIS/src/Core/IISHttpContext.cs +++ b/src/Servers/IIS/IIS/src/Core/IISHttpContext.cs @@ -184,7 +184,7 @@ namespace Microsoft.AspNetCore.Server.IIS.Core var rawUrlInBytes = GetRawUrlInBytes(); // Pre Windows 10 RS2 applicationInitialization request might not have pRawUrl set, fallback to cocked url - if (rawUrlInBytes == null) + if (rawUrlInBytes.Length == 0) { return GetCookedUrl().GetAbsPath(); } @@ -193,9 +193,7 @@ namespace Microsoft.AspNetCore.Server.IIS.Core // check and skip it if (rawUrlInBytes.Length > 0 && rawUrlInBytes[rawUrlInBytes.Length - 1] == 0) { - var newRawUrlInBytes = new byte[rawUrlInBytes.Length - 1]; - Array.Copy(rawUrlInBytes, newRawUrlInBytes, newRawUrlInBytes.Length); - rawUrlInBytes = newRawUrlInBytes; + rawUrlInBytes = rawUrlInBytes.Slice(0, rawUrlInBytes.Length - 1); } var originalPath = RequestUriBuilder.DecodeAndUnescapePath(rawUrlInBytes); diff --git a/src/Servers/IIS/IIS/test/Common.FunctionalTests/AppOfflineTests.cs b/src/Servers/IIS/IIS/test/Common.FunctionalTests/AppOfflineTests.cs index 91df17404e..dc6d470fc6 100644 --- a/src/Servers/IIS/IIS/test/Common.FunctionalTests/AppOfflineTests.cs +++ b/src/Servers/IIS/IIS/test/Common.FunctionalTests/AppOfflineTests.cs @@ -78,7 +78,7 @@ namespace Microsoft.AspNetCore.Server.IIS.FunctionalTests DeletePublishOutput(deploymentResult); } - [ConditionalFact(Skip = "https://github.com/aspnet/IISIntegration/issues/933")] + [ConditionalFact(Skip = "https://github.com/aspnet/AspNetCore/issues/3835")] public async Task AppOfflineDroppedWhileSiteFailedToStartInRequestHandler_SiteStops_InProcess() { var deploymentResult = await DeployApp(HostingModel.InProcess); diff --git a/src/Servers/IIS/IIS/test/Common.FunctionalTests/Inprocess/StartupTests.cs b/src/Servers/IIS/IIS/test/Common.FunctionalTests/Inprocess/StartupTests.cs index a3ae391fbe..d67b8eae44 100644 --- a/src/Servers/IIS/IIS/test/Common.FunctionalTests/Inprocess/StartupTests.cs +++ b/src/Servers/IIS/IIS/test/Common.FunctionalTests/Inprocess/StartupTests.cs @@ -107,13 +107,13 @@ namespace Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests Assert.Equal(1, TestSink.Writes.Count(w => w.Message.Contains("Invoking where.exe to find dotnet.exe"))); } - [SkipOnHelix] // https://github.com/aspnet/AspNetCore/issues/7972 [ConditionalTheory] [InlineData(RuntimeArchitecture.x64)] [InlineData(RuntimeArchitecture.x86)] [SkipIfNotAdmin] [RequiresNewShim] [RequiresIIS(IISCapability.PoolEnvironmentVariables)] + [Flaky("https://github.com/aspnet/AspNetCore-Internal/issues/2221", FlakyOn.Helix.All)] public async Task StartsWithDotnetInstallLocation(RuntimeArchitecture runtimeArchitecture) { var deploymentParameters = Fixture.GetBaseDeploymentParameters(); @@ -651,7 +651,7 @@ namespace Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests private static void VerifyDotnetRuntimeEventLog(IISDeploymentResult deploymentResult) { - var entries = GetEventLogsFromDotnetRuntime(deploymentResult); + var entries = GetEventLogsFromDotnetRuntime(deploymentResult); var expectedRegex = new Regex("Exception Info: System\\.InvalidOperationException:", RegexOptions.Singleline); var matchedEntries = entries.Where(entry => expectedRegex.IsMatch(entry.Message)).ToArray(); diff --git a/src/Servers/IIS/IIS/test/Common.FunctionalTests/LogFileTests.cs b/src/Servers/IIS/IIS/test/Common.FunctionalTests/LogFileTests.cs index 68ff8d44ac..5f7fdec604 100644 --- a/src/Servers/IIS/IIS/test/Common.FunctionalTests/LogFileTests.cs +++ b/src/Servers/IIS/IIS/test/Common.FunctionalTests/LogFileTests.cs @@ -171,8 +171,8 @@ namespace Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests } [ConditionalTheory] - [Flaky("https://github.com/aspnet/AspNetCore-Internal/issues/2200", FlakyOn.All)] [MemberData(nameof(TestVariants))] + [Flaky("https://github.com/aspnet/AspNetCore-Internal/issues/2200", FlakyOn.All)] public async Task CheckUTF8File(TestVariant variant) { var path = "CheckConsoleFunctions"; diff --git a/src/Servers/IIS/IIS/test/IIS.Shared.FunctionalTests/MofFileTests.cs b/src/Servers/IIS/IIS/test/IIS.Shared.FunctionalTests/MofFileTests.cs index f9e302160a..41d8404395 100644 --- a/src/Servers/IIS/IIS/test/IIS.Shared.FunctionalTests/MofFileTests.cs +++ b/src/Servers/IIS/IIS/test/IIS.Shared.FunctionalTests/MofFileTests.cs @@ -15,7 +15,7 @@ namespace IIS.FunctionalTests [ConditionalFact] [OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX)] [RequiresIIS(IISCapability.TracingModule)] - [SkipOnHelix] // https://github.com/aspnet/AspNetCore/issues/7972 + [Flaky("https://github.com/aspnet/AspNetCore-Internal/issues/2222", FlakyOn.Helix.All)] public void CheckMofFile() { var path = Path.Combine(TestPathUtilities.GetSolutionRootDirectory("IISIntegration"), "aspnetcoremodulev2", "aspnetcore", "ancm.mof"); diff --git a/src/Servers/IIS/IIS/test/IIS.Tests/ClientDisconnectTests.cs b/src/Servers/IIS/IIS/test/IIS.Tests/ClientDisconnectTests.cs index f3eb964ca3..16586947a1 100644 --- a/src/Servers/IIS/IIS/test/IIS.Tests/ClientDisconnectTests.cs +++ b/src/Servers/IIS/IIS/test/IIS.Tests/ClientDisconnectTests.cs @@ -20,6 +20,7 @@ namespace Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests public class ClientDisconnectTests : StrictTestServerTests { [ConditionalFact] + [Flaky("https://github.com/aspnet/AspNetCore-Internal/issues/2358", FlakyOn.All)] public async Task WritesSucceedAfterClientDisconnect() { var requestStartedCompletionSource = CreateTaskCompletionSource(); @@ -137,7 +138,7 @@ namespace Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests } [ConditionalFact] - public async Task WriterThrowsCancelledException() + public async Task WriterThrowsCanceledException() { var requestStartedCompletionSource = CreateTaskCompletionSource(); var requestCompletedCompletionSource = CreateTaskCompletionSource(); @@ -178,10 +179,10 @@ namespace Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests } [ConditionalFact] - [Flaky("https://github.com/aspnet/AspNetCore-Internal/issues/1831", FlakyOn.All)] - public async Task ReaderThrowsCancelledException() + [Repeat] + public async Task ReaderThrowsCanceledException() { - var requestStartedCompletionSource = CreateTaskCompletionSource(); + var readIsAsyncCompletionSource = CreateTaskCompletionSource(); var requestCompletedCompletionSource = CreateTaskCompletionSource(); Exception exception = null; @@ -190,10 +191,11 @@ namespace Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests var data = new byte[1024]; using (var testServer = await TestServer.Create(async ctx => { - requestStartedCompletionSource.SetResult(true); try { - await ctx.Request.Body.ReadAsync(data, cancellationTokenSource.Token); + var task = ctx.Request.Body.ReadAsync(data, cancellationTokenSource.Token); + readIsAsyncCompletionSource.SetResult(true); + await task; } catch (Exception e) { @@ -206,7 +208,7 @@ namespace Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests using (var connection = testServer.CreateConnection()) { await SendContentLength1Post(connection); - await requestStartedCompletionSource.Task.DefaultTimeout(); + await readIsAsyncCompletionSource.Task.DefaultTimeout(); cancellationTokenSource.Cancel(); await requestCompletedCompletionSource.Task.DefaultTimeout(); } diff --git a/src/Servers/IIS/IIS/test/IIS.Tests/IIS.Tests.csproj b/src/Servers/IIS/IIS/test/IIS.Tests/IIS.Tests.csproj index c82b5dee7e..7ecf9a0122 100644 --- a/src/Servers/IIS/IIS/test/IIS.Tests/IIS.Tests.csproj +++ b/src/Servers/IIS/IIS/test/IIS.Tests/IIS.Tests.csproj @@ -5,8 +5,11 @@ <PropertyGroup> <TargetFramework>netcoreapp3.0</TargetFramework> <InProcessTestSite>true</InProcessTestSite> + <IsIISTest>true</IsIISTest> </PropertyGroup> + <Import Project="../FunctionalTest.props" /> + <ItemGroup> <ProjectReference Include="..\Common.Tests\Common.Tests.csproj" /> <ProjectReference Include="$(RepositoryRoot)src\Hosting\Server.IntegrationTesting\src\Microsoft.AspNetCore.Server.IntegrationTesting.csproj" /> diff --git a/src/Servers/IIS/IISIntegration/breakingchanges.netcore.json b/src/Servers/IIS/IISIntegration/breakingchanges.netcore.json deleted file mode 100644 index 31cdd9c09b..0000000000 --- a/src/Servers/IIS/IISIntegration/breakingchanges.netcore.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "TypeId": "public class Microsoft.AspNetCore.Server.IISIntegration.IISDefaults", - "MemberId": "public static readonly System.String AuthenticationScheme", - "Kind": "Removal" - } -] \ No newline at end of file diff --git a/src/Servers/IIS/IISIntegration/src/baseline.netcore.json b/src/Servers/IIS/IISIntegration/src/baseline.netcore.json deleted file mode 100644 index 8cb928a411..0000000000 --- a/src/Servers/IIS/IISIntegration/src/baseline.netcore.json +++ /dev/null @@ -1,247 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Server.IISIntegration, Version=2.0.2.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.Hosting.WebHostBuilderIISExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseIISIntegration", - "Parameters": [ - { - "Name": "hostBuilder", - "Type": "Microsoft.AspNetCore.Hosting.IWebHostBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.IISOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_AutomaticAuthentication", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AutomaticAuthentication", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AuthenticationDisplayName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AuthenticationDisplayName", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ForwardClientCertificate", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ForwardClientCertificate", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Server.IISIntegration.IISDefaults", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "AuthenticationScheme", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "Negotiate", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "\"Negotiate\"" - }, - { - "Kind": "Field", - "Name": "Ntlm", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "\"NTLM\"" - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Server.IISIntegration.IISHostingStartup", - "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": [] - }, - { - "Name": "Microsoft.AspNetCore.Server.IISIntegration.IISMiddleware", - "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": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - }, - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.IISOptions>" - }, - { - "Name": "pairingToken", - "Type": "System.String" - }, - { - "Name": "authentication", - "Type": "Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider" - }, - { - "Name": "applicationLifetime", - "Type": "Microsoft.AspNetCore.Hosting.IApplicationLifetime" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Servers/IIS/build/native.targets b/src/Servers/IIS/build/native.targets index 9628729c05..0a9d6a9666 100644 --- a/src/Servers/IIS/build/native.targets +++ b/src/Servers/IIS/build/native.targets @@ -7,7 +7,7 @@ <ItemGroup Condition="@(MessageFile->Count()) != 0"> <CustomBuild Include="@(MessageFile)"> <FileType>Document</FileType> - <Command>mc %(FullPath) -h $(IntDir) -r $(IntDir)</Command> + <Command>mc "%(FullPath)" -h $(IntDir) -r $(IntDir)</Command> <Message>Compiling Event Messages ...</Message> <Outputs>$(IntDir)\%(Filename).rc;$(IntDir)\%(Filename).h;$(IntDir)\MSG0409.bin</Outputs> </CustomBuild> diff --git a/src/Servers/Kestrel/Core/ref/Microsoft.AspNetCore.Server.Kestrel.Core.netcoreapp3.0.cs b/src/Servers/Kestrel/Core/ref/Microsoft.AspNetCore.Server.Kestrel.Core.netcoreapp3.0.cs index 62687bc800..af52396a20 100644 --- a/src/Servers/Kestrel/Core/ref/Microsoft.AspNetCore.Server.Kestrel.Core.netcoreapp3.0.cs +++ b/src/Servers/Kestrel/Core/ref/Microsoft.AspNetCore.Server.Kestrel.Core.netcoreapp3.0.cs @@ -80,10 +80,10 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core [System.FlagsAttribute] public enum HttpProtocols { - Http1 = 1, - Http1AndHttp2 = 3, - Http2 = 2, None = 0, + Http1 = 1, + Http2 = 2, + Http1AndHttp2 = 3, } public partial class KestrelServer : Microsoft.AspNetCore.Hosting.Server.IServer, System.IDisposable { @@ -215,17 +215,17 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http { public enum HttpMethod : byte { - Connect = (byte)7, - Custom = (byte)9, - Delete = (byte)2, Get = (byte)0, - Head = (byte)4, - None = (byte)255, - Options = (byte)8, - Patch = (byte)6, - Post = (byte)3, Put = (byte)1, + Delete = (byte)2, + Post = (byte)3, + Head = (byte)4, Trace = (byte)5, + Patch = (byte)6, + Connect = (byte)7, + Options = (byte)8, + Custom = (byte)9, + None = (byte)255, } public partial class HttpParser<TRequestHandler> : Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.IHttpParser<TRequestHandler> where TRequestHandler : Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.IHttpHeadersHandler, Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.IHttpRequestLineHandler { @@ -238,16 +238,16 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http } public enum HttpScheme { + Unknown = -1, Http = 0, Https = 1, - Unknown = -1, } public enum HttpVersion { + Unknown = -1, Http10 = 0, Http11 = 1, Http2 = 2, - Unknown = -1, } public partial interface IHttpHeadersHandler { @@ -290,8 +290,8 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Https { public enum ClientCertificateMode { - AllowCertificate = 1, NoCertificate = 0, + AllowCertificate = 1, RequireCertificate = 2, } public partial class HttpsConnectionAdapterOptions diff --git a/src/Servers/Kestrel/Core/src/Adapter/Internal/LoggingStream.cs b/src/Servers/Kestrel/Core/src/Adapter/Internal/LoggingStream.cs index d7d5e85590..dd54a32c2c 100644 --- a/src/Servers/Kestrel/Core/src/Adapter/Internal/LoggingStream.cs +++ b/src/Servers/Kestrel/Core/src/Adapter/Internal/LoggingStream.cs @@ -10,7 +10,7 @@ using Microsoft.Extensions.Logging; namespace Microsoft.AspNetCore.Server.Kestrel.Core.Adapter.Internal { - internal class LoggingStream : Stream + internal sealed class LoggingStream : Stream { private readonly Stream _inner; private readonly ILogger _logger; diff --git a/src/Servers/Kestrel/Core/src/Adapter/Internal/RawStream.cs b/src/Servers/Kestrel/Core/src/Adapter/Internal/RawStream.cs index 2875d0ad13..0258fc6c11 100644 --- a/src/Servers/Kestrel/Core/src/Adapter/Internal/RawStream.cs +++ b/src/Servers/Kestrel/Core/src/Adapter/Internal/RawStream.cs @@ -10,7 +10,7 @@ using System.Buffers; namespace Microsoft.AspNetCore.Server.Kestrel.Core.Adapter.Internal { - internal class RawStream : Stream + internal sealed class RawStream : Stream { private readonly PipeReader _input; private readonly PipeWriter _output; diff --git a/src/Servers/Kestrel/Core/src/AnyIPListenOptions.cs b/src/Servers/Kestrel/Core/src/AnyIPListenOptions.cs index 2639337dd7..e2319b4977 100644 --- a/src/Servers/Kestrel/Core/src/AnyIPListenOptions.cs +++ b/src/Servers/Kestrel/Core/src/AnyIPListenOptions.cs @@ -10,7 +10,7 @@ using Microsoft.Extensions.Logging; namespace Microsoft.AspNetCore.Server.Kestrel.Core { - internal class AnyIPListenOptions : ListenOptions + internal sealed class AnyIPListenOptions : ListenOptions { internal AnyIPListenOptions(int port) : base(new IPEndPoint(IPAddress.IPv6Any, port)) diff --git a/src/Servers/Kestrel/Core/src/CertificateLoader.cs b/src/Servers/Kestrel/Core/src/CertificateLoader.cs index 424dfb25ec..f5c868d654 100644 --- a/src/Servers/Kestrel/Core/src/CertificateLoader.cs +++ b/src/Servers/Kestrel/Core/src/CertificateLoader.cs @@ -29,6 +29,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Https.Internal foundCertificate = foundCertificates .OfType<X509Certificate2>() .Where(IsCertificateAllowedForServerAuth) + .Where(DoesCertificateHaveAnAccessiblePrivateKey) .OrderByDescending(certificate => certificate.NotAfter) .FirstOrDefault(); @@ -80,6 +81,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Https.Internal return !hasEkuExtension; } + internal static bool DoesCertificateHaveAnAccessiblePrivateKey(X509Certificate2 certificate) + => certificate.HasPrivateKey; + private static void DisposeCertificates(X509Certificate2Collection certificates, X509Certificate2 except) { if (certificates != null) diff --git a/src/Servers/Kestrel/Core/src/Internal/ClosedStream.cs b/src/Servers/Kestrel/Core/src/Internal/ClosedStream.cs index a744faf0ec..15bd864bca 100644 --- a/src/Servers/Kestrel/Core/src/Internal/ClosedStream.cs +++ b/src/Servers/Kestrel/Core/src/Internal/ClosedStream.cs @@ -8,7 +8,7 @@ using System.Threading.Tasks; namespace Microsoft.AspNetCore.Server.Kestrel.Https.Internal { - internal class ClosedStream : Stream + internal sealed class ClosedStream : Stream { private static readonly Task<int> ZeroResultTask = Task.FromResult(result: 0); diff --git a/src/Servers/Kestrel/Core/src/Internal/ConnectionDispatcher.cs b/src/Servers/Kestrel/Core/src/Internal/ConnectionDispatcher.cs index 0e0108417b..0c0cca1573 100644 --- a/src/Servers/Kestrel/Core/src/Internal/ConnectionDispatcher.cs +++ b/src/Servers/Kestrel/Core/src/Internal/ConnectionDispatcher.cs @@ -82,6 +82,8 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal } finally { + await connectionContext.CompleteAsync(); + Log.ConnectionStop(connectionContext.ConnectionId); KestrelEventSource.Log.ConnectionStop(connectionContext); diff --git a/src/Servers/Kestrel/Core/src/Internal/Http/Http1ChunkedEncodingMessageBody.cs b/src/Servers/Kestrel/Core/src/Internal/Http/Http1ChunkedEncodingMessageBody.cs index 6de433251c..fdc8edb0cf 100644 --- a/src/Servers/Kestrel/Core/src/Internal/Http/Http1ChunkedEncodingMessageBody.cs +++ b/src/Servers/Kestrel/Core/src/Internal/Http/Http1ChunkedEncodingMessageBody.cs @@ -16,7 +16,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http /// <summary> /// http://tools.ietf.org/html/rfc2616#section-3.6.1 /// </summary> - internal class Http1ChunkedEncodingMessageBody : Http1MessageBody + internal sealed class Http1ChunkedEncodingMessageBody : Http1MessageBody { // byte consts don't have a data type annotation so we pre-cast it private const byte ByteCR = (byte)'\r'; @@ -209,7 +209,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http _requestBodyPipe.Reset(); } - protected void Copy(ReadOnlySequence<byte> readableBuffer, PipeWriter writableBuffer) + private void Copy(ReadOnlySequence<byte> readableBuffer, PipeWriter writableBuffer) { if (readableBuffer.IsSingleSegment) { @@ -229,7 +229,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http _pumpTask = PumpAsync(); } - protected bool Read(ReadOnlySequence<byte> readableBuffer, PipeWriter writableBuffer, out SequencePosition consumed, out SequencePosition examined) + private bool Read(ReadOnlySequence<byte> readableBuffer, PipeWriter writableBuffer, out SequencePosition consumed, out SequencePosition examined) { consumed = default; examined = default; diff --git a/src/Servers/Kestrel/Core/src/Internal/Http/Http1ContentLengthMessageBody.cs b/src/Servers/Kestrel/Core/src/Internal/Http/Http1ContentLengthMessageBody.cs index dd2049d0ae..66d97819ba 100644 --- a/src/Servers/Kestrel/Core/src/Internal/Http/Http1ContentLengthMessageBody.cs +++ b/src/Servers/Kestrel/Core/src/Internal/Http/Http1ContentLengthMessageBody.cs @@ -9,7 +9,7 @@ using Microsoft.AspNetCore.Connections; namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http { - internal class Http1ContentLengthMessageBody : Http1MessageBody + internal sealed class Http1ContentLengthMessageBody : Http1MessageBody { private ReadResult _readResult; private readonly long _contentLength; diff --git a/src/Servers/Kestrel/Core/src/Internal/Http/Http1UpgradeMessageBody.cs b/src/Servers/Kestrel/Core/src/Internal/Http/Http1UpgradeMessageBody.cs index a197561698..3958fad0ba 100644 --- a/src/Servers/Kestrel/Core/src/Internal/Http/Http1UpgradeMessageBody.cs +++ b/src/Servers/Kestrel/Core/src/Internal/Http/Http1UpgradeMessageBody.cs @@ -12,7 +12,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http /// The upgrade stream uses the raw connection stream instead of going through the RequestBodyPipe. This /// removes the redundant copy from the transport pipe to the body pipe. /// </summary> - internal class Http1UpgradeMessageBody : Http1MessageBody + internal sealed class Http1UpgradeMessageBody : Http1MessageBody { public bool _completed; public Http1UpgradeMessageBody(Http1Connection context) diff --git a/src/Servers/Kestrel/Core/src/Internal/Http/HttpProtocol.FeatureCollection.cs b/src/Servers/Kestrel/Core/src/Internal/Http/HttpProtocol.FeatureCollection.cs index a917555871..637d6e086f 100644 --- a/src/Servers/Kestrel/Core/src/Internal/Http/HttpProtocol.FeatureCollection.cs +++ b/src/Servers/Kestrel/Core/src/Internal/Http/HttpProtocol.FeatureCollection.cs @@ -10,6 +10,7 @@ using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http.Features; +using Microsoft.AspNetCore.Routing; using Microsoft.AspNetCore.Server.Kestrel.Core.Features; using Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure; using Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal; @@ -18,16 +19,18 @@ using Microsoft.Net.Http.Headers; namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http { internal partial class HttpProtocol : IHttpRequestFeature, - IHttpResponseFeature, - IResponseBodyPipeFeature, - IRequestBodyPipeFeature, - IHttpUpgradeFeature, - IHttpConnectionFeature, - IHttpRequestLifetimeFeature, - IHttpRequestIdentifierFeature, - IHttpBodyControlFeature, - IHttpMaxRequestBodySizeFeature, - IHttpResponseStartFeature + IHttpResponseFeature, + IResponseBodyPipeFeature, + IRequestBodyPipeFeature, + IHttpUpgradeFeature, + IHttpConnectionFeature, + IHttpRequestLifetimeFeature, + IHttpRequestIdentifierFeature, + IHttpBodyControlFeature, + IHttpMaxRequestBodySizeFeature, + IHttpResponseStartFeature, + IEndpointFeature, + IRouteValuesFeature { // NOTE: When feature interfaces are added to or removed from this HttpProtocol class implementation, // then the list of `implementedFeatures` in the generated code project MUST also be updated. @@ -258,6 +261,18 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http } } + Endpoint IEndpointFeature.Endpoint + { + get => _endpoint; + set => _endpoint = value; + } + + RouteValueDictionary IRouteValuesFeature.RouteValues + { + get => _routeValues ??= new RouteValueDictionary(); + set => _routeValues = value; + } + protected void ResetHttp1Features() { _currentIHttpMinRequestBodyDataRateFeature = this; diff --git a/src/Servers/Kestrel/Core/src/Internal/Http/HttpProtocol.Generated.cs b/src/Servers/Kestrel/Core/src/Internal/Http/HttpProtocol.Generated.cs index bd0edf1357..aaeffffe1b 100644 --- a/src/Servers/Kestrel/Core/src/Internal/Http/HttpProtocol.Generated.cs +++ b/src/Servers/Kestrel/Core/src/Internal/Http/HttpProtocol.Generated.cs @@ -21,6 +21,8 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http private static readonly Type IServiceProvidersFeatureType = typeof(IServiceProvidersFeature); private static readonly Type IHttpRequestLifetimeFeatureType = typeof(IHttpRequestLifetimeFeature); private static readonly Type IHttpConnectionFeatureType = typeof(IHttpConnectionFeature); + private static readonly Type IRouteValuesFeatureType = typeof(IRouteValuesFeature); + private static readonly Type IEndpointFeatureType = typeof(IEndpointFeature); private static readonly Type IHttpAuthenticationFeatureType = typeof(IHttpAuthenticationFeature); private static readonly Type IQueryFeatureType = typeof(IQueryFeature); private static readonly Type IFormFeatureType = typeof(IFormFeature); @@ -47,6 +49,8 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http private object _currentIServiceProvidersFeature; private object _currentIHttpRequestLifetimeFeature; private object _currentIHttpConnectionFeature; + private object _currentIRouteValuesFeature; + private object _currentIEndpointFeature; private object _currentIHttpAuthenticationFeature; private object _currentIQueryFeature; private object _currentIFormFeature; @@ -82,6 +86,8 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http _currentIHttpMaxRequestBodySizeFeature = this; _currentIHttpBodyControlFeature = this; _currentIHttpResponseStartFeature = this; + _currentIRouteValuesFeature = this; + _currentIEndpointFeature = this; _currentIServiceProvidersFeature = null; _currentIHttpAuthenticationFeature = null; @@ -183,6 +189,14 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http { feature = _currentIHttpConnectionFeature; } + else if (key == IRouteValuesFeatureType) + { + feature = _currentIRouteValuesFeature; + } + else if (key == IEndpointFeatureType) + { + feature = _currentIEndpointFeature; + } else if (key == IHttpAuthenticationFeatureType) { feature = _currentIHttpAuthenticationFeature; @@ -295,6 +309,14 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http { _currentIHttpConnectionFeature = value; } + else if (key == IRouteValuesFeatureType) + { + _currentIRouteValuesFeature = value; + } + else if (key == IEndpointFeatureType) + { + _currentIEndpointFeature = value; + } else if (key == IHttpAuthenticationFeatureType) { _currentIHttpAuthenticationFeature = value; @@ -405,6 +427,14 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http { feature = (TFeature)_currentIHttpConnectionFeature; } + else if (typeof(TFeature) == typeof(IRouteValuesFeature)) + { + feature = (TFeature)_currentIRouteValuesFeature; + } + else if (typeof(TFeature) == typeof(IEndpointFeature)) + { + feature = (TFeature)_currentIEndpointFeature; + } else if (typeof(TFeature) == typeof(IHttpAuthenticationFeature)) { feature = (TFeature)_currentIHttpAuthenticationFeature; @@ -521,6 +551,14 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http { _currentIHttpConnectionFeature = feature; } + else if (typeof(TFeature) == typeof(IRouteValuesFeature)) + { + _currentIRouteValuesFeature = feature; + } + else if (typeof(TFeature) == typeof(IEndpointFeature)) + { + _currentIEndpointFeature = feature; + } else if (typeof(TFeature) == typeof(IHttpAuthenticationFeature)) { _currentIHttpAuthenticationFeature = feature; @@ -629,6 +667,14 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http { yield return new KeyValuePair<Type, object>(IHttpConnectionFeatureType, _currentIHttpConnectionFeature); } + if (_currentIRouteValuesFeature != null) + { + yield return new KeyValuePair<Type, object>(IRouteValuesFeatureType, _currentIRouteValuesFeature); + } + if (_currentIEndpointFeature != null) + { + yield return new KeyValuePair<Type, object>(IEndpointFeatureType, _currentIEndpointFeature); + } if (_currentIHttpAuthenticationFeature != null) { yield return new KeyValuePair<Type, object>(IHttpAuthenticationFeatureType, _currentIHttpAuthenticationFeature); diff --git a/src/Servers/Kestrel/Core/src/Internal/Http/HttpProtocol.cs b/src/Servers/Kestrel/Core/src/Internal/Http/HttpProtocol.cs index e7d2dd154b..164bb14877 100644 --- a/src/Servers/Kestrel/Core/src/Internal/Http/HttpProtocol.cs +++ b/src/Servers/Kestrel/Core/src/Internal/Http/HttpProtocol.cs @@ -17,6 +17,7 @@ using Microsoft.AspNetCore.Hosting.Server; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http.Features; using Microsoft.AspNetCore.Internal; +using Microsoft.AspNetCore.Routing; using Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Primitives; @@ -64,6 +65,8 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http private readonly HttpConnectionContext _context; private DefaultHttpContext _httpContext; + private RouteValueDictionary _routeValues; + private Endpoint _endpoint; protected string _methodText = null; private string _scheme = null; @@ -326,6 +329,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http { _onStarting?.Clear(); _onCompleted?.Clear(); + _routeValues?.Clear(); _requestProcessingStatus = RequestProcessingStatus.RequestPending; _autoChunk = false; @@ -340,6 +344,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http TraceIdentifier = null; Method = HttpMethod.None; _methodText = null; + _endpoint = null; PathBase = null; Path = null; RawTarget = null; diff --git a/src/Servers/Kestrel/Core/src/Internal/Http/HttpRequestPipeReader.cs b/src/Servers/Kestrel/Core/src/Internal/Http/HttpRequestPipeReader.cs index 02e5bf3648..17214ccb75 100644 --- a/src/Servers/Kestrel/Core/src/Internal/Http/HttpRequestPipeReader.cs +++ b/src/Servers/Kestrel/Core/src/Internal/Http/HttpRequestPipeReader.cs @@ -13,7 +13,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http /// <summary> /// Default HttpRequest PipeReader implementation to be used by Kestrel. /// </summary> - internal class HttpRequestPipeReader : PipeReader + internal sealed class HttpRequestPipeReader : PipeReader { private MessageBody _body; private HttpStreamState _state; diff --git a/src/Servers/Kestrel/Core/src/Internal/Http/HttpRequestStream.cs b/src/Servers/Kestrel/Core/src/Internal/Http/HttpRequestStream.cs index 587fdc55c0..10daf49dbb 100644 --- a/src/Servers/Kestrel/Core/src/Internal/Http/HttpRequestStream.cs +++ b/src/Servers/Kestrel/Core/src/Internal/Http/HttpRequestStream.cs @@ -11,7 +11,7 @@ using Microsoft.AspNetCore.Http.Features; namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http { - internal class HttpRequestStream : ReadOnlyPipeStream + internal sealed class HttpRequestStream : ReadOnlyPipeStream { private HttpRequestPipeReader _pipeReader; private readonly IHttpBodyControlFeature _bodyControl; diff --git a/src/Servers/Kestrel/Core/src/Internal/Http/HttpResponsePipeWriter.cs b/src/Servers/Kestrel/Core/src/Internal/Http/HttpResponsePipeWriter.cs index dc37670c61..a63fd9ebd9 100644 --- a/src/Servers/Kestrel/Core/src/Internal/Http/HttpResponsePipeWriter.cs +++ b/src/Servers/Kestrel/Core/src/Internal/Http/HttpResponsePipeWriter.cs @@ -9,7 +9,7 @@ using System.Threading.Tasks; namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http { - internal class HttpResponsePipeWriter : PipeWriter + internal sealed class HttpResponsePipeWriter : PipeWriter { private HttpStreamState _state; private readonly IHttpResponseControl _pipeControl; diff --git a/src/Servers/Kestrel/Core/src/Internal/Http/HttpResponseStream.cs b/src/Servers/Kestrel/Core/src/Internal/Http/HttpResponseStream.cs index 0c9f19075e..2faed0e12f 100644 --- a/src/Servers/Kestrel/Core/src/Internal/Http/HttpResponseStream.cs +++ b/src/Servers/Kestrel/Core/src/Internal/Http/HttpResponseStream.cs @@ -7,7 +7,7 @@ using Microsoft.AspNetCore.Http.Features; namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http { - internal class HttpResponseStream : WriteOnlyPipeStream + internal sealed class HttpResponseStream : WriteOnlyPipeStream { private readonly HttpResponsePipeWriter _pipeWriter; private readonly IHttpBodyControlFeature _bodyControl; diff --git a/src/Servers/Kestrel/Core/src/Internal/Http/HttpUpgradeStream.cs b/src/Servers/Kestrel/Core/src/Internal/Http/HttpUpgradeStream.cs index 4557e6609d..cfa77d3eec 100644 --- a/src/Servers/Kestrel/Core/src/Internal/Http/HttpUpgradeStream.cs +++ b/src/Servers/Kestrel/Core/src/Internal/Http/HttpUpgradeStream.cs @@ -8,7 +8,7 @@ using System.Threading.Tasks; namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http { - internal class HttpUpgradeStream : Stream + internal sealed class HttpUpgradeStream : Stream { private readonly Stream _requestStream; private readonly Stream _responseStream; diff --git a/src/Servers/Kestrel/Core/src/Internal/Http/ZeroContentLengthMessageBody.cs b/src/Servers/Kestrel/Core/src/Internal/Http/ZeroContentLengthMessageBody.cs index ab88b1e80e..d803271b89 100644 --- a/src/Servers/Kestrel/Core/src/Internal/Http/ZeroContentLengthMessageBody.cs +++ b/src/Servers/Kestrel/Core/src/Internal/Http/ZeroContentLengthMessageBody.cs @@ -8,7 +8,7 @@ using System.Threading.Tasks; namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http { - internal class ZeroContentLengthMessageBody : MessageBody + internal sealed class ZeroContentLengthMessageBody : MessageBody { public ZeroContentLengthMessageBody(bool keepAlive) : base(null, null) diff --git a/src/Servers/Kestrel/Core/src/Internal/Http2/Bitshifter.cs b/src/Servers/Kestrel/Core/src/Internal/Http2/Bitshifter.cs index 8aa5f59e35..2641343012 100644 --- a/src/Servers/Kestrel/Core/src/Internal/Http2/Bitshifter.cs +++ b/src/Servers/Kestrel/Core/src/Internal/Http2/Bitshifter.cs @@ -9,7 +9,7 @@ using System.Runtime.CompilerServices; namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http2 { // Mimics BinaryPrimitives with oddly sized units - internal class Bitshifter + internal static class Bitshifter { [MethodImpl(MethodImplOptions.AggressiveInlining)] public static uint ReadUInt24BigEndian(ReadOnlySpan<byte> source) diff --git a/src/Servers/Kestrel/Core/src/Internal/Http2/HPack/HPackDecodingException.cs b/src/Servers/Kestrel/Core/src/Internal/Http2/HPack/HPackDecodingException.cs index bb9d46aa25..d549554ab6 100644 --- a/src/Servers/Kestrel/Core/src/Internal/Http2/HPack/HPackDecodingException.cs +++ b/src/Servers/Kestrel/Core/src/Internal/Http2/HPack/HPackDecodingException.cs @@ -5,7 +5,7 @@ using System; namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http2.HPack { - internal class HPackDecodingException : Exception + internal sealed class HPackDecodingException : Exception { public HPackDecodingException(string message) : base(message) diff --git a/src/Servers/Kestrel/Core/src/Internal/Http2/HPack/HPackEncodingException.cs b/src/Servers/Kestrel/Core/src/Internal/Http2/HPack/HPackEncodingException.cs index d1ef84dc75..6911754476 100644 --- a/src/Servers/Kestrel/Core/src/Internal/Http2/HPack/HPackEncodingException.cs +++ b/src/Servers/Kestrel/Core/src/Internal/Http2/HPack/HPackEncodingException.cs @@ -5,7 +5,7 @@ using System; namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http2.HPack { - internal class HPackEncodingException : Exception + internal sealed class HPackEncodingException : Exception { public HPackEncodingException(string message) : base(message) diff --git a/src/Servers/Kestrel/Core/src/Internal/Http2/HPack/HuffmanDecodingException.cs b/src/Servers/Kestrel/Core/src/Internal/Http2/HPack/HuffmanDecodingException.cs index 43b324d94f..f20769f0b6 100644 --- a/src/Servers/Kestrel/Core/src/Internal/Http2/HPack/HuffmanDecodingException.cs +++ b/src/Servers/Kestrel/Core/src/Internal/Http2/HPack/HuffmanDecodingException.cs @@ -5,7 +5,7 @@ using System; namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http2.HPack { - internal class HuffmanDecodingException : Exception + internal sealed class HuffmanDecodingException : Exception { public HuffmanDecodingException(string message) : base(message) diff --git a/src/Servers/Kestrel/Core/src/Internal/Http2/Http2ConnectionErrorException.cs b/src/Servers/Kestrel/Core/src/Internal/Http2/Http2ConnectionErrorException.cs index 58556dd62c..4f06c98c2c 100644 --- a/src/Servers/Kestrel/Core/src/Internal/Http2/Http2ConnectionErrorException.cs +++ b/src/Servers/Kestrel/Core/src/Internal/Http2/Http2ConnectionErrorException.cs @@ -5,7 +5,7 @@ using System; namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http2 { - internal class Http2ConnectionErrorException : Exception + internal sealed class Http2ConnectionErrorException : Exception { public Http2ConnectionErrorException(string message, Http2ErrorCode errorCode) : base($"HTTP/2 connection error ({errorCode}): {message}") diff --git a/src/Servers/Kestrel/Core/src/Internal/Http2/Http2MessageBody.cs b/src/Servers/Kestrel/Core/src/Internal/Http2/Http2MessageBody.cs index e77b5c2fad..b2c8f7956d 100644 --- a/src/Servers/Kestrel/Core/src/Internal/Http2/Http2MessageBody.cs +++ b/src/Servers/Kestrel/Core/src/Internal/Http2/Http2MessageBody.cs @@ -10,7 +10,7 @@ using Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http; namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http2 { - internal class Http2MessageBody : MessageBody + internal sealed class Http2MessageBody : MessageBody { private readonly Http2Stream _context; private ReadResult _readResult; diff --git a/src/Servers/Kestrel/Core/src/Internal/Http2/Http2SettingsParameterOutOfRangeException.cs b/src/Servers/Kestrel/Core/src/Internal/Http2/Http2SettingsParameterOutOfRangeException.cs index 48cde17a80..05856cbf6e 100644 --- a/src/Servers/Kestrel/Core/src/Internal/Http2/Http2SettingsParameterOutOfRangeException.cs +++ b/src/Servers/Kestrel/Core/src/Internal/Http2/Http2SettingsParameterOutOfRangeException.cs @@ -5,7 +5,7 @@ using System; namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http2 { - internal class Http2SettingsParameterOutOfRangeException : Exception + internal sealed class Http2SettingsParameterOutOfRangeException : Exception { public Http2SettingsParameterOutOfRangeException(Http2SettingsParameter parameter, long lowerBound, long upperBound) : base($"HTTP/2 SETTINGS parameter {parameter} must be set to a value between {lowerBound} and {upperBound}") diff --git a/src/Servers/Kestrel/Core/src/Internal/Http2/Http2StreamContext.cs b/src/Servers/Kestrel/Core/src/Internal/Http2/Http2StreamContext.cs index 85646a2bfb..d3da32d373 100644 --- a/src/Servers/Kestrel/Core/src/Internal/Http2/Http2StreamContext.cs +++ b/src/Servers/Kestrel/Core/src/Internal/Http2/Http2StreamContext.cs @@ -5,7 +5,7 @@ using Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http2.FlowControl; namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http2 { - internal class Http2StreamContext : HttpConnectionContext + internal sealed class Http2StreamContext : HttpConnectionContext { public int StreamId { get; set; } public IHttp2StreamLifetimeHandler StreamLifetimeHandler { get; set; } diff --git a/src/Servers/Kestrel/Core/src/Internal/Http2/Http2StreamErrorException.cs b/src/Servers/Kestrel/Core/src/Internal/Http2/Http2StreamErrorException.cs index c463111e69..532b300c81 100644 --- a/src/Servers/Kestrel/Core/src/Internal/Http2/Http2StreamErrorException.cs +++ b/src/Servers/Kestrel/Core/src/Internal/Http2/Http2StreamErrorException.cs @@ -5,7 +5,7 @@ using System; namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http2 { - internal class Http2StreamErrorException : Exception + internal sealed class Http2StreamErrorException : Exception { public Http2StreamErrorException(int streamId, string message, Http2ErrorCode errorCode) : base($"HTTP/2 stream ID {streamId} error ({errorCode}): {message}") diff --git a/src/Servers/Kestrel/Core/src/Internal/Http2/Http2StreamOfT.cs b/src/Servers/Kestrel/Core/src/Internal/Http2/Http2StreamOfT.cs index b408e27114..ee6bbd3d88 100644 --- a/src/Servers/Kestrel/Core/src/Internal/Http2/Http2StreamOfT.cs +++ b/src/Servers/Kestrel/Core/src/Internal/Http2/Http2StreamOfT.cs @@ -5,7 +5,7 @@ using Microsoft.AspNetCore.Hosting.Server; namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http2 { - internal class Http2Stream<TContext> : Http2Stream + internal sealed class Http2Stream<TContext> : Http2Stream { private readonly IHttpApplication<TContext> _application; diff --git a/src/Servers/Kestrel/Core/src/Internal/Infrastructure/ThrowingWasUpgradedWriteOnlyStream.cs b/src/Servers/Kestrel/Core/src/Internal/Infrastructure/ThrowingWasUpgradedWriteOnlyStream.cs index 78ead0c350..8036638f94 100644 --- a/src/Servers/Kestrel/Core/src/Internal/Infrastructure/ThrowingWasUpgradedWriteOnlyStream.cs +++ b/src/Servers/Kestrel/Core/src/Internal/Infrastructure/ThrowingWasUpgradedWriteOnlyStream.cs @@ -8,7 +8,7 @@ using System.Threading.Tasks; namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure { - internal class ThrowingWasUpgradedWriteOnlyStream : WriteOnlyStream + internal sealed class ThrowingWasUpgradedWriteOnlyStream : WriteOnlyStream { public override bool CanSeek => false; diff --git a/src/Servers/Kestrel/Core/src/Internal/Infrastructure/WrappingStream.cs b/src/Servers/Kestrel/Core/src/Internal/Infrastructure/WrappingStream.cs index 6f1b13c39b..c62cda3342 100644 --- a/src/Servers/Kestrel/Core/src/Internal/Infrastructure/WrappingStream.cs +++ b/src/Servers/Kestrel/Core/src/Internal/Infrastructure/WrappingStream.cs @@ -8,7 +8,7 @@ using System.Threading.Tasks; namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure { - internal class WrappingStream : Stream + internal sealed class WrappingStream : Stream { private Stream _inner; private bool _disposed; diff --git a/src/Servers/Kestrel/Core/src/LocalhostListenOptions.cs b/src/Servers/Kestrel/Core/src/LocalhostListenOptions.cs index ee28dce63e..80e008c78b 100644 --- a/src/Servers/Kestrel/Core/src/LocalhostListenOptions.cs +++ b/src/Servers/Kestrel/Core/src/LocalhostListenOptions.cs @@ -12,7 +12,7 @@ using Microsoft.Extensions.Logging; namespace Microsoft.AspNetCore.Server.Kestrel.Core { - internal class LocalhostListenOptions : ListenOptions + internal sealed class LocalhostListenOptions : ListenOptions { internal LocalhostListenOptions(int port) : base(new IPEndPoint(IPAddress.Loopback, port)) diff --git a/src/Servers/Kestrel/Core/src/baseline.netcore.json b/src/Servers/Kestrel/Core/src/baseline.netcore.json deleted file mode 100644 index 096c343428..0000000000 --- a/src/Servers/Kestrel/Core/src/baseline.netcore.json +++ /dev/null @@ -1,2197 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Server.Kestrel.Core, Version=2.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.Hosting.ListenOptionsConnectionLoggingExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseConnectionLogging", - "Parameters": [ - { - "Name": "listenOptions", - "Type": "Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions" - } - ], - "ReturnType": "Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseConnectionLogging", - "Parameters": [ - { - "Name": "listenOptions", - "Type": "Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions" - }, - { - "Name": "loggerName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Hosting.ListenOptionsHttpsExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseHttps", - "Parameters": [ - { - "Name": "listenOptions", - "Type": "Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions" - } - ], - "ReturnType": "Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseHttps", - "Parameters": [ - { - "Name": "listenOptions", - "Type": "Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions" - }, - { - "Name": "fileName", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseHttps", - "Parameters": [ - { - "Name": "listenOptions", - "Type": "Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions" - }, - { - "Name": "fileName", - "Type": "System.String" - }, - { - "Name": "password", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseHttps", - "Parameters": [ - { - "Name": "listenOptions", - "Type": "Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions" - }, - { - "Name": "fileName", - "Type": "System.String" - }, - { - "Name": "password", - "Type": "System.String" - }, - { - "Name": "configureOptions", - "Type": "System.Action<Microsoft.AspNetCore.Server.Kestrel.Https.HttpsConnectionAdapterOptions>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseHttps", - "Parameters": [ - { - "Name": "listenOptions", - "Type": "Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions" - }, - { - "Name": "storeName", - "Type": "System.Security.Cryptography.X509Certificates.StoreName" - }, - { - "Name": "subject", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseHttps", - "Parameters": [ - { - "Name": "listenOptions", - "Type": "Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions" - }, - { - "Name": "storeName", - "Type": "System.Security.Cryptography.X509Certificates.StoreName" - }, - { - "Name": "subject", - "Type": "System.String" - }, - { - "Name": "allowInvalid", - "Type": "System.Boolean" - } - ], - "ReturnType": "Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseHttps", - "Parameters": [ - { - "Name": "listenOptions", - "Type": "Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions" - }, - { - "Name": "storeName", - "Type": "System.Security.Cryptography.X509Certificates.StoreName" - }, - { - "Name": "subject", - "Type": "System.String" - }, - { - "Name": "allowInvalid", - "Type": "System.Boolean" - }, - { - "Name": "location", - "Type": "System.Security.Cryptography.X509Certificates.StoreLocation" - } - ], - "ReturnType": "Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseHttps", - "Parameters": [ - { - "Name": "listenOptions", - "Type": "Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions" - }, - { - "Name": "storeName", - "Type": "System.Security.Cryptography.X509Certificates.StoreName" - }, - { - "Name": "subject", - "Type": "System.String" - }, - { - "Name": "allowInvalid", - "Type": "System.Boolean" - }, - { - "Name": "location", - "Type": "System.Security.Cryptography.X509Certificates.StoreLocation" - }, - { - "Name": "configureOptions", - "Type": "System.Action<Microsoft.AspNetCore.Server.Kestrel.Https.HttpsConnectionAdapterOptions>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseHttps", - "Parameters": [ - { - "Name": "listenOptions", - "Type": "Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions" - }, - { - "Name": "serverCertificate", - "Type": "System.Security.Cryptography.X509Certificates.X509Certificate2" - } - ], - "ReturnType": "Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseHttps", - "Parameters": [ - { - "Name": "listenOptions", - "Type": "Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions" - }, - { - "Name": "serverCertificate", - "Type": "System.Security.Cryptography.X509Certificates.X509Certificate2" - }, - { - "Name": "configureOptions", - "Type": "System.Action<Microsoft.AspNetCore.Server.Kestrel.Https.HttpsConnectionAdapterOptions>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseHttps", - "Parameters": [ - { - "Name": "listenOptions", - "Type": "Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions" - }, - { - "Name": "configureOptions", - "Type": "System.Action<Microsoft.AspNetCore.Server.Kestrel.Https.HttpsConnectionAdapterOptions>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseHttps", - "Parameters": [ - { - "Name": "listenOptions", - "Type": "Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions" - }, - { - "Name": "httpsOptions", - "Type": "Microsoft.AspNetCore.Server.Kestrel.Https.HttpsConnectionAdapterOptions" - } - ], - "ReturnType": "Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Hosting.KestrelServerOptionsSystemdExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseSystemd", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions" - } - ], - "ReturnType": "Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseSystemd", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions" - }, - { - "Name": "configure", - "Type": "System.Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Server.Kestrel.EndpointConfiguration", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_IsHttps", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ListenOptions", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HttpsOptions", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Server.Kestrel.Https.HttpsConnectionAdapterOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ConfigSection", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.Configuration.IConfigurationSection", - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Options", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Configuration", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.Configuration.IConfiguration", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Endpoint", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - }, - { - "Name": "configureOptions", - "Type": "System.Action<Microsoft.AspNetCore.Server.Kestrel.EndpointConfiguration>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Endpoint", - "Parameters": [ - { - "Name": "address", - "Type": "System.Net.IPAddress" - }, - { - "Name": "port", - "Type": "System.Int32" - } - ], - "ReturnType": "Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Endpoint", - "Parameters": [ - { - "Name": "address", - "Type": "System.Net.IPAddress" - }, - { - "Name": "port", - "Type": "System.Int32" - }, - { - "Name": "configure", - "Type": "System.Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Endpoint", - "Parameters": [ - { - "Name": "endPoint", - "Type": "System.Net.IPEndPoint" - } - ], - "ReturnType": "Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Endpoint", - "Parameters": [ - { - "Name": "endPoint", - "Type": "System.Net.IPEndPoint" - }, - { - "Name": "configure", - "Type": "System.Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "LocalhostEndpoint", - "Parameters": [ - { - "Name": "port", - "Type": "System.Int32" - } - ], - "ReturnType": "Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "LocalhostEndpoint", - "Parameters": [ - { - "Name": "port", - "Type": "System.Int32" - }, - { - "Name": "configure", - "Type": "System.Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AnyIPEndpoint", - "Parameters": [ - { - "Name": "port", - "Type": "System.Int32" - } - ], - "ReturnType": "Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AnyIPEndpoint", - "Parameters": [ - { - "Name": "port", - "Type": "System.Int32" - }, - { - "Name": "configure", - "Type": "System.Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UnixSocketEndpoint", - "Parameters": [ - { - "Name": "socketPath", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UnixSocketEndpoint", - "Parameters": [ - { - "Name": "socketPath", - "Type": "System.String" - }, - { - "Name": "configure", - "Type": "System.Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HandleEndpoint", - "Parameters": [ - { - "Name": "handle", - "Type": "System.UInt64" - } - ], - "ReturnType": "Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "HandleEndpoint", - "Parameters": [ - { - "Name": "handle", - "Type": "System.UInt64" - }, - { - "Name": "configure", - "Type": "System.Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Load", - "Parameters": [], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Server.Kestrel.Https.ClientCertificateMode", - "Visibility": "Public", - "Kind": "Enumeration", - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "NoCertificate", - "Parameters": [], - "GenericParameter": [], - "Literal": "0" - }, - { - "Kind": "Field", - "Name": "AllowCertificate", - "Parameters": [], - "GenericParameter": [], - "Literal": "1" - }, - { - "Kind": "Field", - "Name": "RequireCertificate", - "Parameters": [], - "GenericParameter": [], - "Literal": "2" - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Server.Kestrel.Https.HttpsConnectionAdapterOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ServerCertificate", - "Parameters": [], - "ReturnType": "System.Security.Cryptography.X509Certificates.X509Certificate2", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ServerCertificate", - "Parameters": [ - { - "Name": "value", - "Type": "System.Security.Cryptography.X509Certificates.X509Certificate2" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ServerCertificateSelector", - "Parameters": [], - "ReturnType": "System.Func<Microsoft.AspNetCore.Connections.ConnectionContext, System.String, System.Security.Cryptography.X509Certificates.X509Certificate2>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ServerCertificateSelector", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func<Microsoft.AspNetCore.Connections.ConnectionContext, System.String, System.Security.Cryptography.X509Certificates.X509Certificate2>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ClientCertificateMode", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Server.Kestrel.Https.ClientCertificateMode", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ClientCertificateMode", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Server.Kestrel.Https.ClientCertificateMode" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ClientCertificateValidation", - "Parameters": [], - "ReturnType": "System.Func<System.Security.Cryptography.X509Certificates.X509Certificate2, System.Security.Cryptography.X509Certificates.X509Chain, System.Net.Security.SslPolicyErrors, System.Boolean>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ClientCertificateValidation", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func<System.Security.Cryptography.X509Certificates.X509Certificate2, System.Security.Cryptography.X509Certificates.X509Chain, System.Net.Security.SslPolicyErrors, System.Boolean>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SslProtocols", - "Parameters": [], - "ReturnType": "System.Security.Authentication.SslProtocols", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SslProtocols", - "Parameters": [ - { - "Name": "value", - "Type": "System.Security.Authentication.SslProtocols" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_CheckCertificateRevocation", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_CheckCertificateRevocation", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HandshakeTimeout", - "Parameters": [], - "ReturnType": "System.TimeSpan", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_HandshakeTimeout", - "Parameters": [ - { - "Name": "value", - "Type": "System.TimeSpan" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Server.Kestrel.Core.BadHttpRequestException", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "BaseType": "System.IO.IOException", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Throw", - "Parameters": [ - { - "Name": "reason", - "Type": "Microsoft.AspNetCore.Server.Kestrel.Core.Http.RequestRejectionReason" - }, - { - "Name": "method", - "Type": "Microsoft.AspNetCore.Server.Kestrel.Core.Http.HttpMethod" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Server.Kestrel.Core.HttpProtocols", - "Visibility": "Public", - "Kind": "Enumeration", - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "None", - "Parameters": [], - "GenericParameter": [], - "Literal": "0" - }, - { - "Kind": "Field", - "Name": "Http1", - "Parameters": [], - "GenericParameter": [], - "Literal": "1" - }, - { - "Kind": "Field", - "Name": "Http2", - "Parameters": [], - "GenericParameter": [], - "Literal": "2" - }, - { - "Kind": "Field", - "Name": "Http1AndHttp2", - "Parameters": [], - "GenericParameter": [], - "Literal": "3" - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Hosting.Server.IServer" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Dispose", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.IDisposable", - "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": "get_Options", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "StartAsync<T0>", - "Parameters": [ - { - "Name": "application", - "Type": "Microsoft.AspNetCore.Hosting.Server.IHttpApplication<T0>" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Hosting.Server.IServer", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TContext", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "StopAsync", - "Parameters": [ - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Hosting.Server.IServer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions>" - }, - { - "Name": "transportFactory", - "Type": "Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.ITransportFactory" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerLimits", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_MaxResponseBufferSize", - "Parameters": [], - "ReturnType": "System.Nullable<System.Int64>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MaxResponseBufferSize", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable<System.Int64>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MaxRequestBufferSize", - "Parameters": [], - "ReturnType": "System.Nullable<System.Int64>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MaxRequestBufferSize", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable<System.Int64>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MaxRequestLineSize", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MaxRequestLineSize", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MaxRequestHeadersTotalSize", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MaxRequestHeadersTotalSize", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MaxRequestHeaderCount", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MaxRequestHeaderCount", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MaxRequestBodySize", - "Parameters": [], - "ReturnType": "System.Nullable<System.Int64>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MaxRequestBodySize", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable<System.Int64>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_KeepAliveTimeout", - "Parameters": [], - "ReturnType": "System.TimeSpan", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_KeepAliveTimeout", - "Parameters": [ - { - "Name": "value", - "Type": "System.TimeSpan" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_RequestHeadersTimeout", - "Parameters": [], - "ReturnType": "System.TimeSpan", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_RequestHeadersTimeout", - "Parameters": [ - { - "Name": "value", - "Type": "System.TimeSpan" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MaxConcurrentConnections", - "Parameters": [], - "ReturnType": "System.Nullable<System.Int64>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MaxConcurrentConnections", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable<System.Int64>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MaxConcurrentUpgradedConnections", - "Parameters": [], - "ReturnType": "System.Nullable<System.Int64>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MaxConcurrentUpgradedConnections", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable<System.Int64>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MinRequestBodyDataRate", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Server.Kestrel.Core.MinDataRate", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MinRequestBodyDataRate", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Server.Kestrel.Core.MinDataRate" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MinResponseDataRate", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Server.Kestrel.Core.MinDataRate", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MinResponseDataRate", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Server.Kestrel.Core.MinDataRate" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_AddServerHeader", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AddServerHeader", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ApplicationSchedulingMode", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.SchedulingMode", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ApplicationSchedulingMode", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.SchedulingMode" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AllowSynchronousIO", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AllowSynchronousIO", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ApplicationServices", - "Parameters": [], - "ReturnType": "System.IServiceProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ApplicationServices", - "Parameters": [ - { - "Name": "value", - "Type": "System.IServiceProvider" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Limits", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerLimits", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ConfigurationLoader", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ConfigurationLoader", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ConfigureEndpointDefaults", - "Parameters": [ - { - "Name": "configureOptions", - "Type": "System.Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ConfigureHttpsDefaults", - "Parameters": [ - { - "Name": "configureOptions", - "Type": "System.Action<Microsoft.AspNetCore.Server.Kestrel.Https.HttpsConnectionAdapterOptions>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Configure", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Configure", - "Parameters": [ - { - "Name": "config", - "Type": "Microsoft.Extensions.Configuration.IConfiguration" - } - ], - "ReturnType": "Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Listen", - "Parameters": [ - { - "Name": "address", - "Type": "System.Net.IPAddress" - }, - { - "Name": "port", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Listen", - "Parameters": [ - { - "Name": "address", - "Type": "System.Net.IPAddress" - }, - { - "Name": "port", - "Type": "System.Int32" - }, - { - "Name": "configure", - "Type": "System.Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Listen", - "Parameters": [ - { - "Name": "endPoint", - "Type": "System.Net.IPEndPoint" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Listen", - "Parameters": [ - { - "Name": "endPoint", - "Type": "System.Net.IPEndPoint" - }, - { - "Name": "configure", - "Type": "System.Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ListenLocalhost", - "Parameters": [ - { - "Name": "port", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ListenLocalhost", - "Parameters": [ - { - "Name": "port", - "Type": "System.Int32" - }, - { - "Name": "configure", - "Type": "System.Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ListenAnyIP", - "Parameters": [ - { - "Name": "port", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ListenAnyIP", - "Parameters": [ - { - "Name": "port", - "Type": "System.Int32" - }, - { - "Name": "configure", - "Type": "System.Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ListenUnixSocket", - "Parameters": [ - { - "Name": "socketPath", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ListenUnixSocket", - "Parameters": [ - { - "Name": "socketPath", - "Type": "System.String" - }, - { - "Name": "configure", - "Type": "System.Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ListenHandle", - "Parameters": [ - { - "Name": "handle", - "Type": "System.UInt64" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ListenHandle", - "Parameters": [ - { - "Name": "handle", - "Type": "System.UInt64" - }, - { - "Name": "configure", - "Type": "System.Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.IEndPointInformation", - "Microsoft.AspNetCore.Connections.IConnectionBuilder" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Type", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.ListenType", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.IEndPointInformation", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HandleType", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.FileHandleType", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.IEndPointInformation", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_HandleType", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.FileHandleType" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.IEndPointInformation", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IPEndPoint", - "Parameters": [], - "ReturnType": "System.Net.IPEndPoint", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.IEndPointInformation", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IPEndPoint", - "Parameters": [ - { - "Name": "value", - "Type": "System.Net.IPEndPoint" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.IEndPointInformation", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SocketPath", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.IEndPointInformation", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_FileHandle", - "Parameters": [], - "ReturnType": "System.UInt64", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.IEndPointInformation", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_KestrelServerOptions", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_NoDelay", - "Parameters": [], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.IEndPointInformation", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_NoDelay", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ConnectionAdapters", - "Parameters": [], - "ReturnType": "System.Collections.Generic.List<Microsoft.AspNetCore.Server.Kestrel.Core.Adapter.IConnectionAdapter>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ApplicationServices", - "Parameters": [], - "ReturnType": "System.IServiceProvider", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Connections.IConnectionBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ToString", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Use", - "Parameters": [ - { - "Name": "middleware", - "Type": "System.Func<Microsoft.AspNetCore.Connections.ConnectionDelegate, Microsoft.AspNetCore.Connections.ConnectionDelegate>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Connections.IConnectionBuilder", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Connections.IConnectionBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Build", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Connections.ConnectionDelegate", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Connections.IConnectionBuilder", - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Server.Kestrel.Core.MinDataRate", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_BytesPerSecond", - "Parameters": [], - "ReturnType": "System.Double", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_GracePeriod", - "Parameters": [], - "ReturnType": "System.TimeSpan", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "bytesPerSecond", - "Type": "System.Double" - }, - { - "Name": "gracePeriod", - "Type": "System.TimeSpan" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Server.Kestrel.Core.ServerAddress", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Host", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PathBase", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Port", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Scheme", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsUnixPipe", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UnixPipePath", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ToString", - "Parameters": [], - "ReturnType": "System.String", - "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": "Equals", - "Parameters": [ - { - "Name": "obj", - "Type": "System.Object" - } - ], - "ReturnType": "System.Boolean", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "FromUrl", - "Parameters": [ - { - "Name": "url", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Server.Kestrel.Core.ServerAddress", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Server.Kestrel.Core.Features.IConnectionTimeoutFeature", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "SetTimeout", - "Parameters": [ - { - "Name": "timeSpan", - "Type": "System.TimeSpan" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ResetTimeout", - "Parameters": [ - { - "Name": "timeSpan", - "Type": "System.TimeSpan" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "CancelTimeout", - "Parameters": [], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Server.Kestrel.Core.Features.IDecrementConcurrentConnectionCountFeature", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ReleaseConnection", - "Parameters": [], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Server.Kestrel.Core.Features.IHttp2StreamIdFeature", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_StreamId", - "Parameters": [], - "ReturnType": "System.Int32", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Server.Kestrel.Core.Features.IHttpMinRequestBodyDataRateFeature", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_MinDataRate", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Server.Kestrel.Core.MinDataRate", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MinDataRate", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Server.Kestrel.Core.MinDataRate" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Server.Kestrel.Core.Features.IHttpMinResponseDataRateFeature", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_MinDataRate", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Server.Kestrel.Core.MinDataRate", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MinDataRate", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Server.Kestrel.Core.MinDataRate" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Server.Kestrel.Core.Features.ITlsApplicationProtocolFeature", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ApplicationProtocol", - "Parameters": [], - "ReturnType": "System.ReadOnlyMemory<System.Byte>", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "System.IO.Pipelines.DuplexPipe+DuplexPipePair", - "Visibility": "Public", - "Kind": "Struct", - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Transport", - "Parameters": [], - "ReturnType": "System.IO.Pipelines.IDuplexPipe", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Application", - "Parameters": [], - "ReturnType": "System.IO.Pipelines.IDuplexPipe", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "transport", - "Type": "System.IO.Pipelines.IDuplexPipe" - }, - { - "Name": "application", - "Type": "System.IO.Pipelines.IDuplexPipe" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Servers/Kestrel/Core/src/breakingchanges.netcore.json b/src/Servers/Kestrel/Core/src/breakingchanges.netcore.json deleted file mode 100644 index 19b82b3a13..0000000000 --- a/src/Servers/Kestrel/Core/src/breakingchanges.netcore.json +++ /dev/null @@ -1,6 +0,0 @@ -[ - { - "TypeId": "public class Microsoft.AspNetCore.Server.Kestrel.Core.ServerAddress", - "Kind": "Removal" - } -] \ No newline at end of file diff --git a/src/Servers/Kestrel/Core/test/ConnectionDispatcherTests.cs b/src/Servers/Kestrel/Core/test/ConnectionDispatcherTests.cs index efc53c9228..1d1c3b46e3 100644 --- a/src/Servers/Kestrel/Core/test/ConnectionDispatcherTests.cs +++ b/src/Servers/Kestrel/Core/test/ConnectionDispatcherTests.cs @@ -7,9 +7,11 @@ using System.IO.Pipelines; using System.Linq; using System.Threading; using System.Threading.Tasks; +using Microsoft.AspNetCore.Connections.Features; using Microsoft.AspNetCore.Server.Kestrel.Core.Internal; using Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal; using Microsoft.AspNetCore.Testing; +using Microsoft.Extensions.Logging; using Moq; using Xunit; @@ -69,5 +71,50 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Tests mockPipeWriter.Verify(m => m.Complete(It.IsAny<Exception>()), Times.Once()); mockPipeReader.Verify(m => m.Complete(It.IsAny<Exception>()), Times.Once()); } + + [Fact] + public async Task OnConnectionFiresOnCompleted() + { + var serviceContext = new TestServiceContext(); + var dispatcher = new ConnectionDispatcher(serviceContext, _ => Task.CompletedTask); + + var connection = new Mock<TransportConnection> { CallBase = true }.Object; + connection.ConnectionClosed = new CancellationToken(canceled: true); + var completeFeature = connection.Features.Get<IConnectionCompleteFeature>(); + + Assert.NotNull(completeFeature); + object stateObject = new object(); + object callbackState = null; + completeFeature.OnCompleted(state => { callbackState = state; return Task.CompletedTask; }, stateObject); + + await dispatcher.OnConnection(connection); + + Assert.Equal(stateObject, callbackState); + } + + [Fact] + public async Task OnConnectionOnCompletedExceptionCaught() + { + var serviceContext = new TestServiceContext(); + var dispatcher = new ConnectionDispatcher(serviceContext, _ => Task.CompletedTask); + + var connection = new Mock<TransportConnection> { CallBase = true }.Object; + connection.ConnectionClosed = new CancellationToken(canceled: true); + var completeFeature = connection.Features.Get<IConnectionCompleteFeature>(); + var mockLogger = new Mock<ILogger>(); + connection.Logger = mockLogger.Object; + + Assert.NotNull(completeFeature); + object stateObject = new object(); + object callbackState = null; + completeFeature.OnCompleted(state => { callbackState = state; throw new InvalidTimeZoneException(); }, stateObject); + + await dispatcher.OnConnection(connection); + + Assert.Equal(stateObject, callbackState); + var log = mockLogger.Invocations.First(); + Assert.Equal("An error occured running an IConnectionCompleteFeature.OnCompleted callback.", log.Arguments[2].ToString()); + Assert.IsType<InvalidTimeZoneException>(log.Arguments[3]); + } } } diff --git a/src/Servers/Kestrel/Core/test/HttpProtocolFeatureCollectionTests.cs b/src/Servers/Kestrel/Core/test/HttpProtocolFeatureCollectionTests.cs index 28b1df7c7a..2524e88785 100644 --- a/src/Servers/Kestrel/Core/test/HttpProtocolFeatureCollectionTests.cs +++ b/src/Servers/Kestrel/Core/test/HttpProtocolFeatureCollectionTests.cs @@ -127,6 +127,8 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Tests _collection[typeof(IHttpMinResponseDataRateFeature)] = CreateHttp1Connection(); _collection[typeof(IHttpBodyControlFeature)] = CreateHttp1Connection(); _collection[typeof(IHttpResponseStartFeature)] = CreateHttp1Connection(); + _collection[typeof(IRouteValuesFeature)] = CreateHttp1Connection(); + _collection[typeof(IEndpointFeature)] = CreateHttp1Connection(); CompareGenericGetterToIndexer(); @@ -148,6 +150,8 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Tests _collection.Set<IHttpMinResponseDataRateFeature>(CreateHttp1Connection()); _collection.Set<IHttpBodyControlFeature>(CreateHttp1Connection()); _collection.Set<IHttpResponseStartFeature>(CreateHttp1Connection()); + _collection.Set<IRouteValuesFeature>(CreateHttp1Connection()); + _collection.Set<IEndpointFeature>(CreateHttp1Connection()); CompareGenericGetterToIndexer(); diff --git a/src/Servers/Kestrel/Core/test/PipelineExtensionTests.cs b/src/Servers/Kestrel/Core/test/PipelineExtensionTests.cs index 11f7209ac2..1e5f82677d 100644 --- a/src/Servers/Kestrel/Core/test/PipelineExtensionTests.cs +++ b/src/Servers/Kestrel/Core/test/PipelineExtensionTests.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; diff --git a/src/Servers/Kestrel/Directory.Build.props b/src/Servers/Kestrel/Directory.Build.props index 5e46999491..0063803868 100644 --- a/src/Servers/Kestrel/Directory.Build.props +++ b/src/Servers/Kestrel/Directory.Build.props @@ -6,8 +6,6 @@ </PropertyGroup> <PropertyGroup> - <!-- https://github.com/aspnet/KestrelHttpServer/issues/2350 --> - <EnableApiCheck>false</EnableApiCheck> <KestrelSharedSourceRoot>$(MSBuildThisFileDirectory)shared\</KestrelSharedSourceRoot> </PropertyGroup> diff --git a/src/Servers/Kestrel/Kestrel/src/baseline.netcore.json b/src/Servers/Kestrel/Kestrel/src/baseline.netcore.json deleted file mode 100644 index c51f43edfd..0000000000 --- a/src/Servers/Kestrel/Kestrel/src/baseline.netcore.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Server.Kestrel, Version=2.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.Hosting.WebHostBuilderKestrelExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseKestrel", - "Parameters": [ - { - "Name": "hostBuilder", - "Type": "Microsoft.AspNetCore.Hosting.IWebHostBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseKestrel", - "Parameters": [ - { - "Name": "hostBuilder", - "Type": "Microsoft.AspNetCore.Hosting.IWebHostBuilder" - }, - { - "Name": "options", - "Type": "System.Action<Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseKestrel", - "Parameters": [ - { - "Name": "hostBuilder", - "Type": "Microsoft.AspNetCore.Hosting.IWebHostBuilder" - }, - { - "Name": "configureOptions", - "Type": "System.Action<Microsoft.AspNetCore.Hosting.WebHostBuilderContext, Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/Servers/Kestrel/Kestrel/test/GeneratedCodeTests.cs b/src/Servers/Kestrel/Kestrel/test/GeneratedCodeTests.cs index 50f5a561ec..9c53407be9 100644 --- a/src/Servers/Kestrel/Kestrel/test/GeneratedCodeTests.cs +++ b/src/Servers/Kestrel/Kestrel/test/GeneratedCodeTests.cs @@ -5,6 +5,7 @@ using System; using System.IO; using System.Linq; using System.Reflection; +using Microsoft.AspNetCore.Testing; using Microsoft.AspNetCore.Testing.xunit; using Xunit; @@ -12,8 +13,8 @@ namespace Microsoft.AspNetCore.Server.Kestrel.FunctionalTests { public class GeneratedCodeTests { - [ConditionalFact] - [SkipOnHelix] // https://github.com/aspnet/AspNetCore/issues/6720 + [ConditionalFact] + [Flaky("https://github.com/aspnet/AspNetCore-Internal/issues/2223", FlakyOn.Helix.All)] public void GeneratedCodeIsUpToDate() { var repositoryRoot = typeof(GeneratedCodeTests).Assembly.GetCustomAttributes<AssemblyMetadataAttribute>().First(f => string.Equals(f.Key, "RepositoryRoot", StringComparison.OrdinalIgnoreCase)).Value; diff --git a/src/Servers/Kestrel/Transport.Abstractions/ref/Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.csproj b/src/Servers/Kestrel/Transport.Abstractions/ref/Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.csproj index 8bf0f0c690..ea00244772 100644 --- a/src/Servers/Kestrel/Transport.Abstractions/ref/Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.csproj +++ b/src/Servers/Kestrel/Transport.Abstractions/ref/Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.csproj @@ -6,5 +6,6 @@ <ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.0'"> <Compile Include="Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.netcoreapp3.0.cs" /> <Reference Include="Microsoft.AspNetCore.Connections.Abstractions" /> + <Reference Include="Microsoft.Extensions.Logging.Abstractions" /> </ItemGroup> </Project> diff --git a/src/Servers/Kestrel/Transport.Abstractions/ref/Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.netcoreapp3.0.cs b/src/Servers/Kestrel/Transport.Abstractions/ref/Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.netcoreapp3.0.cs index cf24b0dca9..5420d07eac 100644 --- a/src/Servers/Kestrel/Transport.Abstractions/ref/Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.netcoreapp3.0.cs +++ b/src/Servers/Kestrel/Transport.Abstractions/ref/Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.netcoreapp3.0.cs @@ -6,8 +6,8 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal public enum FileHandleType { Auto = 0, - Pipe = 2, Tcp = 1, + Pipe = 2, } public partial interface IApplicationTransportFeature { @@ -49,17 +49,17 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal } public enum ListenType { - FileHandle = 2, IPEndPoint = 0, SocketPath = 1, + FileHandle = 2, } public enum SchedulingMode { Default = 0, - Inline = 2, ThreadPool = 1, + Inline = 2, } - public abstract partial class TransportConnection : Microsoft.AspNetCore.Connections.ConnectionContext, Microsoft.AspNetCore.Connections.Features.IConnectionHeartbeatFeature, Microsoft.AspNetCore.Connections.Features.IConnectionIdFeature, Microsoft.AspNetCore.Connections.Features.IConnectionItemsFeature, Microsoft.AspNetCore.Connections.Features.IConnectionLifetimeFeature, Microsoft.AspNetCore.Connections.Features.IConnectionLifetimeNotificationFeature, Microsoft.AspNetCore.Connections.Features.IConnectionTransportFeature, Microsoft.AspNetCore.Connections.Features.IMemoryPoolFeature, Microsoft.AspNetCore.Http.Features.IFeatureCollection, Microsoft.AspNetCore.Http.Features.IHttpConnectionFeature, Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal.IApplicationTransportFeature, Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal.ITransportSchedulerFeature, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.Type, object>>, System.Collections.IEnumerable + public abstract partial class TransportConnection : Microsoft.AspNetCore.Connections.ConnectionContext, Microsoft.AspNetCore.Connections.Features.IConnectionCompleteFeature, Microsoft.AspNetCore.Connections.Features.IConnectionHeartbeatFeature, Microsoft.AspNetCore.Connections.Features.IConnectionIdFeature, Microsoft.AspNetCore.Connections.Features.IConnectionItemsFeature, Microsoft.AspNetCore.Connections.Features.IConnectionLifetimeFeature, Microsoft.AspNetCore.Connections.Features.IConnectionLifetimeNotificationFeature, Microsoft.AspNetCore.Connections.Features.IConnectionTransportFeature, Microsoft.AspNetCore.Connections.Features.IMemoryPoolFeature, Microsoft.AspNetCore.Http.Features.IFeatureCollection, Microsoft.AspNetCore.Http.Features.IHttpConnectionFeature, Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal.IApplicationTransportFeature, Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal.ITransportSchedulerFeature, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.Type, object>>, System.Collections.IEnumerable { protected readonly System.Threading.CancellationTokenSource _connectionClosingCts; public TransportConnection() { } @@ -73,6 +73,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal public override System.Collections.Generic.IDictionary<object, object> Items { get { throw null; } set { } } public System.Net.IPAddress LocalAddress { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } public int LocalPort { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } + protected internal virtual Microsoft.Extensions.Logging.ILogger Logger { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } public virtual System.Buffers.MemoryPool<byte> MemoryPool { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } System.Collections.Generic.IDictionary<object, object> Microsoft.AspNetCore.Connections.Features.IConnectionItemsFeature.Items { get { throw null; } set { } } System.Threading.CancellationToken Microsoft.AspNetCore.Connections.Features.IConnectionLifetimeFeature.ConnectionClosed { get { throw null; } set { } } @@ -96,6 +97,8 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal public int RemotePort { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } public override System.IO.Pipelines.IDuplexPipe Transport { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } public override void Abort(Microsoft.AspNetCore.Connections.ConnectionAbortedException abortReason) { } + public System.Threading.Tasks.Task CompleteAsync() { throw null; } + void Microsoft.AspNetCore.Connections.Features.IConnectionCompleteFeature.OnCompleted(System.Func<object, System.Threading.Tasks.Task> callback, object state) { } void Microsoft.AspNetCore.Connections.Features.IConnectionHeartbeatFeature.OnHeartbeat(System.Action<object> action, object state) { } void Microsoft.AspNetCore.Connections.Features.IConnectionLifetimeFeature.Abort() { } void Microsoft.AspNetCore.Connections.Features.IConnectionLifetimeNotificationFeature.RequestClose() { } diff --git a/src/Servers/Kestrel/Transport.Abstractions/src/Internal/TransportConnection.FeatureCollection.cs b/src/Servers/Kestrel/Transport.Abstractions/src/Internal/TransportConnection.FeatureCollection.cs index 2a07874ab7..7f98162507 100644 --- a/src/Servers/Kestrel/Transport.Abstractions/src/Internal/TransportConnection.FeatureCollection.cs +++ b/src/Servers/Kestrel/Transport.Abstractions/src/Internal/TransportConnection.FeatureCollection.cs @@ -1,14 +1,17 @@ -// 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; using System.Buffers; using System.Collections.Generic; using System.IO.Pipelines; using System.Net; using System.Threading; +using System.Threading.Tasks; using Microsoft.AspNetCore.Connections; using Microsoft.AspNetCore.Connections.Features; using Microsoft.AspNetCore.Http.Features; +using Microsoft.Extensions.Logging; namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal { @@ -21,12 +24,16 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal ITransportSchedulerFeature, IConnectionLifetimeFeature, IConnectionHeartbeatFeature, - IConnectionLifetimeNotificationFeature + IConnectionLifetimeNotificationFeature, + IConnectionCompleteFeature { // NOTE: When feature interfaces are added to or removed from this TransportConnection class implementation, // then the list of `features` in the generated code project MUST also be updated. // See also: tools/CodeGenerator/TransportConnectionFeatureCollection.cs + private Stack<KeyValuePair<Func<object, Task>, object>> _onCompleted; + private bool _completed; + string IHttpConnectionFeature.ConnectionId { get => ConnectionId; @@ -100,5 +107,82 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal { OnHeartbeat(action, state); } + + void IConnectionCompleteFeature.OnCompleted(Func<object, Task> callback, object state) + { + if (_completed) + { + throw new InvalidOperationException("The connection is already complete."); + } + + if (_onCompleted == null) + { + _onCompleted = new Stack<KeyValuePair<Func<object, Task>, object>>(); + } + _onCompleted.Push(new KeyValuePair<Func<object, Task>, object>(callback, state)); + } + + public Task CompleteAsync() + { + if (_completed) + { + throw new InvalidOperationException("The connection is already complete."); + } + + _completed = true; + var onCompleted = _onCompleted; + + if (onCompleted == null || onCompleted.Count == 0) + { + return Task.CompletedTask; + } + + return CompleteAsyncMayAwait(onCompleted); + } + + private Task CompleteAsyncMayAwait(Stack<KeyValuePair<Func<object, Task>, object>> onCompleted) + { + while (onCompleted.TryPop(out var entry)) + { + try + { + var task = entry.Key.Invoke(entry.Value); + if (!ReferenceEquals(task, Task.CompletedTask)) + { + return CompleteAsyncAwaited(task, onCompleted); + } + } + catch (Exception ex) + { + Logger?.LogError(ex, "An error occured running an IConnectionCompleteFeature.OnCompleted callback."); + } + } + + return Task.CompletedTask; + } + + private async Task CompleteAsyncAwaited(Task currentTask, Stack<KeyValuePair<Func<object, Task>, object>> onCompleted) + { + try + { + await currentTask; + } + catch (Exception ex) + { + Logger?.LogError(ex, "An error occured running an IConnectionCompleteFeature.OnCompleted callback."); + } + + while (onCompleted.TryPop(out var entry)) + { + try + { + await entry.Key.Invoke(entry.Value); + } + catch (Exception ex) + { + Logger?.LogError(ex, "An error occured running an IConnectionCompleteFeature.OnCompleted callback."); + } + } + } } } diff --git a/src/Servers/Kestrel/Transport.Abstractions/src/Internal/TransportConnection.Generated.cs b/src/Servers/Kestrel/Transport.Abstractions/src/Internal/TransportConnection.Generated.cs index 5eba177a89..b5d0122ffb 100644 --- a/src/Servers/Kestrel/Transport.Abstractions/src/Internal/TransportConnection.Generated.cs +++ b/src/Servers/Kestrel/Transport.Abstractions/src/Internal/TransportConnection.Generated.cs @@ -22,6 +22,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal private static readonly Type IConnectionLifetimeFeatureType = typeof(IConnectionLifetimeFeature); private static readonly Type IConnectionHeartbeatFeatureType = typeof(IConnectionHeartbeatFeature); private static readonly Type IConnectionLifetimeNotificationFeatureType = typeof(IConnectionLifetimeNotificationFeature); + private static readonly Type IConnectionCompleteFeatureType = typeof(IConnectionCompleteFeature); private object _currentIHttpConnectionFeature; private object _currentIConnectionIdFeature; @@ -33,6 +34,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal private object _currentIConnectionLifetimeFeature; private object _currentIConnectionHeartbeatFeature; private object _currentIConnectionLifetimeNotificationFeature; + private object _currentIConnectionCompleteFeature; private int _featureRevision; @@ -50,6 +52,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal _currentIConnectionLifetimeFeature = this; _currentIConnectionHeartbeatFeature = this; _currentIConnectionLifetimeNotificationFeature = this; + _currentIConnectionCompleteFeature = this; } @@ -145,6 +148,10 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal { feature = _currentIConnectionLifetimeNotificationFeature; } + else if (key == IConnectionCompleteFeatureType) + { + feature = _currentIConnectionCompleteFeature; + } else if (MaybeExtra != null) { feature = ExtraFeatureGet(key); @@ -197,6 +204,10 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal { _currentIConnectionLifetimeNotificationFeature = value; } + else if (key == IConnectionCompleteFeatureType) + { + _currentIConnectionCompleteFeature = value; + } else { ExtraFeatureSet(key, value); @@ -247,6 +258,10 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal { feature = (TFeature)_currentIConnectionLifetimeNotificationFeature; } + else if (typeof(TFeature) == typeof(IConnectionCompleteFeature)) + { + feature = (TFeature)_currentIConnectionCompleteFeature; + } else if (MaybeExtra != null) { feature = (TFeature)(ExtraFeatureGet(typeof(TFeature))); @@ -298,6 +313,10 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal { _currentIConnectionLifetimeNotificationFeature = feature; } + else if (typeof(TFeature) == typeof(IConnectionCompleteFeature)) + { + _currentIConnectionCompleteFeature = feature; + } else { ExtraFeatureSet(typeof(TFeature), feature); @@ -346,6 +365,10 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal { yield return new KeyValuePair<Type, object>(IConnectionLifetimeNotificationFeatureType, _currentIConnectionLifetimeNotificationFeature); } + if (_currentIConnectionCompleteFeature != null) + { + yield return new KeyValuePair<Type, object>(IConnectionCompleteFeatureType, _currentIConnectionCompleteFeature); + } if (MaybeExtra != null) { diff --git a/src/Servers/Kestrel/Transport.Abstractions/src/Internal/TransportConnection.cs b/src/Servers/Kestrel/Transport.Abstractions/src/Internal/TransportConnection.cs index bc9a8b27a0..e3d012cc27 100644 --- a/src/Servers/Kestrel/Transport.Abstractions/src/Internal/TransportConnection.cs +++ b/src/Servers/Kestrel/Transport.Abstractions/src/Internal/TransportConnection.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; @@ -9,6 +9,7 @@ using System.Net; using System.Threading; using Microsoft.AspNetCore.Connections; using Microsoft.AspNetCore.Http.Features; +using Microsoft.Extensions.Logging; namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal { @@ -35,6 +36,8 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal public override IFeatureCollection Features => this; + protected internal virtual ILogger Logger { get; set; } + public virtual MemoryPool<byte> MemoryPool { get; } public virtual PipeScheduler InputWriterScheduler { get; } public virtual PipeScheduler OutputReaderScheduler { get; } diff --git a/src/Servers/Kestrel/Transport.Abstractions/src/Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.csproj b/src/Servers/Kestrel/Transport.Abstractions/src/Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.csproj index 0d812732eb..2cf09c60d0 100644 --- a/src/Servers/Kestrel/Transport.Abstractions/src/Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.csproj +++ b/src/Servers/Kestrel/Transport.Abstractions/src/Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.csproj @@ -17,6 +17,7 @@ <ItemGroup> <Reference Include="Microsoft.AspNetCore.Connections.Abstractions" /> + <Reference Include="Microsoft.Extensions.Logging.Abstractions" /> </ItemGroup> </Project> diff --git a/src/Servers/Kestrel/Transport.Abstractions/src/baseline.netcore.json b/src/Servers/Kestrel/Transport.Abstractions/src/baseline.netcore.json deleted file mode 100644 index 327f68192b..0000000000 --- a/src/Servers/Kestrel/Transport.Abstractions/src/baseline.netcore.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions, Version=2.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [] -} \ No newline at end of file diff --git a/src/Servers/Kestrel/Transport.Libuv/src/Internal/LibuvConnection.cs b/src/Servers/Kestrel/Transport.Libuv/src/Internal/LibuvConnection.cs index b0f61c8023..adcc5cd09d 100644 --- a/src/Servers/Kestrel/Transport.Libuv/src/Internal/LibuvConnection.cs +++ b/src/Servers/Kestrel/Transport.Libuv/src/Internal/LibuvConnection.cs @@ -43,6 +43,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv.Internal LocalPort = localEndPoint?.Port ?? 0; ConnectionClosed = _connectionClosedTokenSource.Token; + Logger = log; Log = log; Thread = thread; } diff --git a/src/Servers/Kestrel/Transport.Libuv/src/baseline.netcore.json b/src/Servers/Kestrel/Transport.Libuv/src/baseline.netcore.json deleted file mode 100644 index a9b75e6a37..0000000000 --- a/src/Servers/Kestrel/Transport.Libuv/src/baseline.netcore.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv, Version=2.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.Hosting.WebHostBuilderLibuvExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseLibuv", - "Parameters": [ - { - "Name": "hostBuilder", - "Type": "Microsoft.AspNetCore.Hosting.IWebHostBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseLibuv", - "Parameters": [ - { - "Name": "hostBuilder", - "Type": "Microsoft.AspNetCore.Hosting.IWebHostBuilder" - }, - { - "Name": "configureOptions", - "Type": "System.Action<Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv.LibuvTransportOptions>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv.LibuvTransportOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ThreadCount", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ThreadCount", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "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/Servers/Kestrel/Transport.Sockets/src/Internal/SocketConnection.cs b/src/Servers/Kestrel/Transport.Sockets/src/Internal/SocketConnection.cs index 3a52cf5358..bfb467f94a 100644 --- a/src/Servers/Kestrel/Transport.Sockets/src/Internal/SocketConnection.cs +++ b/src/Servers/Kestrel/Transport.Sockets/src/Internal/SocketConnection.cs @@ -42,6 +42,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.Internal _socket = socket; MemoryPool = memoryPool; _scheduler = scheduler; + Logger = trace; _trace = trace; var localEndPoint = (IPEndPoint)_socket.LocalEndPoint; diff --git a/src/Servers/Kestrel/Transport.Sockets/src/baseline.netcore.json b/src/Servers/Kestrel/Transport.Sockets/src/baseline.netcore.json deleted file mode 100644 index 73d321df08..0000000000 --- a/src/Servers/Kestrel/Transport.Sockets/src/baseline.netcore.json +++ /dev/null @@ -1,140 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets, Version=2.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.Hosting.WebHostBuilderSocketExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseSockets", - "Parameters": [ - { - "Name": "hostBuilder", - "Type": "Microsoft.AspNetCore.Hosting.IWebHostBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "UseSockets", - "Parameters": [ - { - "Name": "hostBuilder", - "Type": "Microsoft.AspNetCore.Hosting.IWebHostBuilder" - }, - { - "Name": "configureOptions", - "Type": "System.Action<Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportOptions>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Hosting.IWebHostBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportFactory", - "Visibility": "Public", - "Kind": "Class", - "Sealed": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.ITransportFactory" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Create", - "Parameters": [ - { - "Name": "endPointInformation", - "Type": "Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.IEndPointInformation" - }, - { - "Name": "dispatcher", - "Type": "Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.IConnectionDispatcher" - } - ], - "ReturnType": "Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.ITransport", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.ITransportFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportOptions>" - }, - { - "Name": "applicationLifetime", - "Type": "Microsoft.AspNetCore.Hosting.IApplicationLifetime" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_IOQueueCount", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_IOQueueCount", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int32" - } - ], - "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/Servers/Kestrel/perf/PlatformBenchmarks/BenchmarkApplication.cs b/src/Servers/Kestrel/perf/PlatformBenchmarks/BenchmarkApplication.cs index f494902681..b1e5c8b475 100644 --- a/src/Servers/Kestrel/perf/PlatformBenchmarks/BenchmarkApplication.cs +++ b/src/Servers/Kestrel/perf/PlatformBenchmarks/BenchmarkApplication.cs @@ -3,9 +3,9 @@ using System; using System.IO.Pipelines; +using System.Text.Json.Serialization; using System.Threading.Tasks; using Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http; -using Utf8Json; namespace PlatformBenchmarks { @@ -25,6 +25,8 @@ namespace PlatformBenchmarks private readonly static AsciiString _plainTextBody = "Hello, World!"; + private static readonly JsonSerializerOptions SerializerOptions = new JsonSerializerOptions(); + public static class Paths { public readonly static AsciiString Plaintext = "/plaintext"; @@ -115,8 +117,8 @@ namespace PlatformBenchmarks // Content-Length header writer.Write(_headerContentLength); - var jsonPayload = JsonSerializer.SerializeUnsafe(new { message = "Hello, World!" }); - writer.WriteNumeric((uint)jsonPayload.Count); + var jsonPayload = JsonSerializer.ToBytes(new { message = "Hello, World!" }, SerializerOptions); + writer.WriteNumeric((uint)jsonPayload.Length); // End of headers writer.Write(_eoh); diff --git a/src/Servers/Kestrel/perf/PlatformBenchmarks/Directory.Build.props b/src/Servers/Kestrel/perf/PlatformBenchmarks/Directory.Build.props index 7bd8002727..8c119d5413 100644 --- a/src/Servers/Kestrel/perf/PlatformBenchmarks/Directory.Build.props +++ b/src/Servers/Kestrel/perf/PlatformBenchmarks/Directory.Build.props @@ -1,5 +1,2 @@ <Project> - - <Import Project="$(MSBuildThisFileDirectory)..\..\..\..\..\build\sources.props" /> - -</Project> \ No newline at end of file +</Project> diff --git a/src/Servers/Kestrel/perf/PlatformBenchmarks/NuGet.config b/src/Servers/Kestrel/perf/PlatformBenchmarks/NuGet.config new file mode 100644 index 0000000000..298193b812 --- /dev/null +++ b/src/Servers/Kestrel/perf/PlatformBenchmarks/NuGet.config @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8"?> +<configuration> + <packageSources> + <clear /> + <add key="dotnet-core" value="https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json" /> + <add key="extensions" value="https://dotnetfeed.blob.core.windows.net/aspnet-extensions/index.json" /> + <add key="entityframeworkcore" value="https://dotnetfeed.blob.core.windows.net/aspnet-entityframeworkcore/index.json" /> + <add key="aspnetcore-tooling" value="https://dotnetfeed.blob.core.windows.net/aspnet-aspnetcore-tooling/index.json" /> + <add key="aspnetcore" value="https://dotnetfeed.blob.core.windows.net/aspnet-aspnetcore/index.json" /> + <add key="NuGet.org" value="https://api.nuget.org/v3/index.json" /> + </packageSources> +</configuration> diff --git a/src/Servers/Kestrel/perf/PlatformBenchmarks/PlatformBenchmarks.csproj b/src/Servers/Kestrel/perf/PlatformBenchmarks/PlatformBenchmarks.csproj index cd238b374f..4a9e6c3750 100644 --- a/src/Servers/Kestrel/perf/PlatformBenchmarks/PlatformBenchmarks.csproj +++ b/src/Servers/Kestrel/perf/PlatformBenchmarks/PlatformBenchmarks.csproj @@ -11,7 +11,6 @@ <!-- These references are used when running locally --> <ItemGroup Condition="'$(BenchmarksTargetFramework)' == ''"> - <Reference Include="Utf8Json" /> <Reference Include="Microsoft.AspNetCore.Server.Kestrel" /> <Reference Include="Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv" /> @@ -20,7 +19,6 @@ <!-- These references are used when running on the Benchmarks Server --> <ItemGroup Condition="'$(BenchmarksTargetFramework)' != ''"> - <PackageReference Include="Utf8Json" Version="1.3.7" /> <PackageReference Include="Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv" Version="$(MicrosoftAspNetCoreAppPackageVersion)" /> <FrameworkReference Update="Microsoft.AspNetCore.App" RuntimeFrameworkVersion="$(MicrosoftAspNetCoreAppPackageVersion)" /> diff --git a/src/Servers/Kestrel/test/FunctionalTests/Http2/HandshakeTests.cs b/src/Servers/Kestrel/test/FunctionalTests/Http2/HandshakeTests.cs index 76e85f21df..af802990cb 100644 --- a/src/Servers/Kestrel/test/FunctionalTests/Http2/HandshakeTests.cs +++ b/src/Servers/Kestrel/test/FunctionalTests/Http2/HandshakeTests.cs @@ -20,7 +20,6 @@ using Xunit; namespace Microsoft.AspNetCore.Server.Kestrel.FunctionalTests.Http2 { [OSSkipCondition(OperatingSystems.MacOSX, SkipReason = "Missing SslStream ALPN support: https://github.com/dotnet/corefx/issues/30492")] - [OSSkipCondition(OperatingSystems.Linux, SkipReason = "Curl requires a custom install to support HTTP/2, see https://askubuntu.com/questions/884899/how-do-i-install-curl-with-http2-support")] [MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10)] public class HandshakeTests : LoggedTest { @@ -30,14 +29,13 @@ namespace Microsoft.AspNetCore.Server.Kestrel.FunctionalTests.Http2 public HandshakeTests() { - if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) + Client = new HttpClient(new HttpClientHandler { - // We don't want the default SocketsHttpHandler, it doesn't support HTTP/2 yet. - Client = new HttpClient(new WinHttpHandler - { - ServerCertificateValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator - }); - } + ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator + }) + { + DefaultRequestVersion = new Version(2, 0), + }; } [ConditionalFact] diff --git a/src/Servers/Kestrel/test/FunctionalTests/Http2/ShutdownTests.cs b/src/Servers/Kestrel/test/FunctionalTests/Http2/ShutdownTests.cs index 311587deb2..c7a0a89af6 100644 --- a/src/Servers/Kestrel/test/FunctionalTests/Http2/ShutdownTests.cs +++ b/src/Servers/Kestrel/test/FunctionalTests/Http2/ShutdownTests.cs @@ -1,6 +1,7 @@ // 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 System.Net; using System.Net.Http; @@ -21,7 +22,6 @@ using Xunit; namespace Microsoft.AspNetCore.Server.Kestrel.FunctionalTests.Http2 { [OSSkipCondition(OperatingSystems.MacOSX, SkipReason = "Missing SslStream ALPN support: https://github.com/dotnet/corefx/issues/30492")] - [OSSkipCondition(OperatingSystems.Linux, SkipReason = "Curl requires a custom install to support HTTP/2, see https://askubuntu.com/questions/884899/how-do-i-install-curl-with-http2-support")] [MinimumOSVersion(OperatingSystems.Windows, WindowsVersions.Win10)] public class ShutdownTests : TestApplicationErrorLoggerLoggedTest { @@ -32,14 +32,13 @@ namespace Microsoft.AspNetCore.Server.Kestrel.FunctionalTests.Http2 public ShutdownTests() { - if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) + Client = new HttpClient(new HttpClientHandler { - // We don't want the default SocketsHttpHandler, it doesn't support HTTP/2 yet. - Client = new HttpClient(new WinHttpHandler - { - ServerCertificateValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator - }); - } + ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator + }) + { + DefaultRequestVersion = new Version(2, 0), + }; } [ConditionalFact] diff --git a/src/Servers/Kestrel/test/FunctionalTests/RequestTests.cs b/src/Servers/Kestrel/test/FunctionalTests/RequestTests.cs index 30bc96a50d..8e1555aa2e 100644 --- a/src/Servers/Kestrel/test/FunctionalTests/RequestTests.cs +++ b/src/Servers/Kestrel/test/FunctionalTests/RequestTests.cs @@ -137,7 +137,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.FunctionalTests [ConditionalFact] [IPv6SupportedCondition] #if LIBUV - [SkipOnHelix] // https://github.com/aspnet/AspNetCore/issues/8109 + [Flaky("https://github.com/aspnet/AspNetCore-Internal/issues/1977", FlakyOn.Helix.All)] // https://github.com/aspnet/AspNetCore/issues/8109 #endif public Task RemoteIPv6Address() { @@ -796,7 +796,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.FunctionalTests [Theory] #if LIBUV - [SkipOnHelix] + [Flaky("https://github.com/aspnet/AspNetCore-Internal/issues/1971", FlakyOn.Helix.All)] #endif [MemberData(nameof(ConnectionAdapterData))] public async Task AppCanHandleClientAbortingConnectionMidRequest(ListenOptions listenOptions) diff --git a/src/Servers/Kestrel/test/FunctionalTests/ResponseTests.cs b/src/Servers/Kestrel/test/FunctionalTests/ResponseTests.cs index f4abe60cc3..13d27c663c 100644 --- a/src/Servers/Kestrel/test/FunctionalTests/ResponseTests.cs +++ b/src/Servers/Kestrel/test/FunctionalTests/ResponseTests.cs @@ -342,7 +342,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.FunctionalTests } [Theory] - [Flaky("https://github.com/aspnet/AspNetCore/issues/7342", FlakyOn.All)] + [Flaky("https://github.com/aspnet/AspNetCore-Internal/issues/1972", FlakyOn.All)] [MemberData(nameof(ConnectionAdapterData))] public async Task AppCanHandleClientAbortingConnectionMidResponse(ListenOptions listenOptions) { diff --git a/src/Servers/Kestrel/test/InMemory.FunctionalTests/HttpsConnectionAdapterTests.cs b/src/Servers/Kestrel/test/InMemory.FunctionalTests/HttpsConnectionAdapterTests.cs index 1334d1809b..f2a4d41136 100644 --- a/src/Servers/Kestrel/test/InMemory.FunctionalTests/HttpsConnectionAdapterTests.cs +++ b/src/Servers/Kestrel/test/InMemory.FunctionalTests/HttpsConnectionAdapterTests.cs @@ -447,7 +447,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.InMemory.FunctionalTests } [Theory] - [Flaky("https://github.com/aspnet/AspNetCore/issues/7265", FlakyOn.All)] + [Flaky("https://github.com/aspnet/AspNetCore-Internal/issues/1976", FlakyOn.All)] [InlineData(ClientCertificateMode.AllowCertificate)] [InlineData(ClientCertificateMode.RequireCertificate)] public async Task ClientCertificateValidationGetsCalledWithNotNullParameters(ClientCertificateMode mode) @@ -485,7 +485,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.InMemory.FunctionalTests } [ConditionalTheory] - [SkipOnHelix] + [Flaky("https://github.com/aspnet/AspNetCore-Internal/issues/1950", FlakyOn.Helix.All)] [InlineData(ClientCertificateMode.AllowCertificate)] [InlineData(ClientCertificateMode.RequireCertificate)] public async Task ValidationFailureRejectsConnection(ClientCertificateMode mode) diff --git a/src/Servers/Kestrel/test/InMemory.FunctionalTests/LoggingConnectionAdapterTests.cs b/src/Servers/Kestrel/test/InMemory.FunctionalTests/LoggingConnectionAdapterTests.cs index cd0d470eec..4fe77ba7d3 100644 --- a/src/Servers/Kestrel/test/InMemory.FunctionalTests/LoggingConnectionAdapterTests.cs +++ b/src/Servers/Kestrel/test/InMemory.FunctionalTests/LoggingConnectionAdapterTests.cs @@ -15,7 +15,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.InMemory.FunctionalTests public class LoggingConnectionAdapterTests : LoggedTest { [Fact] - [Flaky("https://github.com/aspnet/AspNetCore-Internal/issues/1753", FlakyOn.Helix.All)] + [Flaky("https://github.com/aspnet/AspNetCore-Internal/issues/2276", FlakyOn.Helix.All)] public async Task LoggingConnectionAdapterCanBeAddedBeforeAndAfterHttpsAdapter() { await using (var server = new TestServer(context => diff --git a/src/Servers/Kestrel/test/Interop.FunctionalTests/H2SpecTests.cs b/src/Servers/Kestrel/test/Interop.FunctionalTests/H2SpecTests.cs index 8de79a438b..dc0fce4e87 100644 --- a/src/Servers/Kestrel/test/Interop.FunctionalTests/H2SpecTests.cs +++ b/src/Servers/Kestrel/test/Interop.FunctionalTests/H2SpecTests.cs @@ -25,7 +25,7 @@ namespace Interop.FunctionalTests { [ConditionalTheory] [MemberData(nameof(H2SpecTestCases))] - [SkipOnHelix] // https://github.com/aspnet/AspNetCore/issues/7299 + [Flaky("https://github.com/aspnet/AspNetCore-Internal/issues/2225", FlakyOn.Helix.All)] public async Task RunIndividualTestCase(H2SpecTestCase testCase) { var hostBuilder = new WebHostBuilder() diff --git a/src/Servers/Kestrel/test/Libuv.FunctionalTests/Libuv.FunctionalTests.csproj b/src/Servers/Kestrel/test/Libuv.FunctionalTests/Libuv.FunctionalTests.csproj index abcd0020f7..e0f40be150 100644 --- a/src/Servers/Kestrel/test/Libuv.FunctionalTests/Libuv.FunctionalTests.csproj +++ b/src/Servers/Kestrel/test/Libuv.FunctionalTests/Libuv.FunctionalTests.csproj @@ -25,7 +25,6 @@ <Reference Include="Microsoft.Internal.AspNetCore.H2Spec.All" /> <Reference Include="Microsoft.AspNetCore.Server.Kestrel.Core" /> <Reference Include="Newtonsoft.Json" /> - <Reference Include="System.Net.Http.WinHttpHandler" /> </ItemGroup> </Project> diff --git a/src/Servers/Kestrel/test/Sockets.FunctionalTests/Sockets.FunctionalTests.csproj b/src/Servers/Kestrel/test/Sockets.FunctionalTests/Sockets.FunctionalTests.csproj index 1731b4205e..1576d542e1 100644 --- a/src/Servers/Kestrel/test/Sockets.FunctionalTests/Sockets.FunctionalTests.csproj +++ b/src/Servers/Kestrel/test/Sockets.FunctionalTests/Sockets.FunctionalTests.csproj @@ -1,4 +1,4 @@ -<Project Sdk="Microsoft.NET.Sdk"> +<Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <TargetFramework>netcoreapp3.0</TargetFramework> @@ -21,7 +21,6 @@ <Reference Include="Microsoft.AspNetCore.Server.Kestrel" /> <Reference Include="Microsoft.AspNetCore.Server.Kestrel.Core" /> <Reference Include="Newtonsoft.Json" /> - <Reference Include="System.Net.Http.WinHttpHandler" /> </ItemGroup> </Project> diff --git a/src/Servers/Kestrel/tools/CodeGenerator/HttpProtocolFeatureCollection.cs b/src/Servers/Kestrel/tools/CodeGenerator/HttpProtocolFeatureCollection.cs index f61df14ff2..1be680d38a 100644 --- a/src/Servers/Kestrel/tools/CodeGenerator/HttpProtocolFeatureCollection.cs +++ b/src/Servers/Kestrel/tools/CodeGenerator/HttpProtocolFeatureCollection.cs @@ -19,6 +19,8 @@ namespace CodeGenerator "IServiceProvidersFeature", "IHttpRequestLifetimeFeature", "IHttpConnectionFeature", + "IRouteValuesFeature", + "IEndpointFeature" }; var commonFeatures = new[] @@ -70,7 +72,9 @@ namespace CodeGenerator "IHttpConnectionFeature", "IHttpMaxRequestBodySizeFeature", "IHttpBodyControlFeature", - "IHttpResponseStartFeature" + "IHttpResponseStartFeature", + "IRouteValuesFeature", + "IEndpointFeature" }; var usings = $@" diff --git a/src/Servers/Kestrel/tools/CodeGenerator/TransportConnectionFeatureCollection.cs b/src/Servers/Kestrel/tools/CodeGenerator/TransportConnectionFeatureCollection.cs index 251af12843..93d0339a53 100644 --- a/src/Servers/Kestrel/tools/CodeGenerator/TransportConnectionFeatureCollection.cs +++ b/src/Servers/Kestrel/tools/CodeGenerator/TransportConnectionFeatureCollection.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. namespace CodeGenerator @@ -20,7 +20,8 @@ namespace CodeGenerator "ITransportSchedulerFeature", "IConnectionLifetimeFeature", "IConnectionHeartbeatFeature", - "IConnectionLifetimeNotificationFeature" + "IConnectionLifetimeNotificationFeature", + "IConnectionCompleteFeature" }; var usings = $@" diff --git a/src/Shared/Buffers.MemoryPool/MemoryPoolBlock.cs b/src/Shared/Buffers.MemoryPool/MemoryPoolBlock.cs index be442d0690..e23b4679c4 100644 --- a/src/Shared/Buffers.MemoryPool/MemoryPoolBlock.cs +++ b/src/Shared/Buffers.MemoryPool/MemoryPoolBlock.cs @@ -42,11 +42,7 @@ namespace System.Buffers ~MemoryPoolBlock() { - if (Slab != null && Slab.IsActive) - { - // Need to make a new object because this one is being finalized - Pool.Return(new MemoryPoolBlock(Pool, Slab, _offset, _length)); - } + Pool.RefreshBlock(Slab, _offset, _length); } public void Dispose() @@ -58,4 +54,4 @@ namespace System.Buffers { } } -} \ No newline at end of file +} diff --git a/src/Shared/Buffers.MemoryPool/SlabMemoryPool.cs b/src/Shared/Buffers.MemoryPool/SlabMemoryPool.cs index 205beeef78..0359c72193 100644 --- a/src/Shared/Buffers.MemoryPool/SlabMemoryPool.cs +++ b/src/Shared/Buffers.MemoryPool/SlabMemoryPool.cs @@ -10,7 +10,7 @@ namespace System.Buffers /// <summary> /// Used to allocate and distribute re-usable blocks of memory. /// </summary> - internal class SlabMemoryPool : MemoryPool<byte> + internal sealed class SlabMemoryPool : MemoryPool<byte> { /// <summary> /// The size of a block. 4096 is chosen because most operating systems use 4k pages. @@ -160,6 +160,21 @@ namespace System.Buffers } } + // This method can ONLY be called from the finalizer of MemoryPoolBlock + internal void RefreshBlock(MemoryPoolSlab slab, int offset, int length) + { + lock (_disposeSync) + { + if (!_isDisposed && slab != null && slab.IsActive) + { + // Need to make a new object because this one is being finalized + // Note, this must be called within the _disposeSync lock because the block + // could be disposed at the same time as the finalizer. + Return(new MemoryPoolBlock(this, slab, offset, length)); + } + } + } + protected override void Dispose(bool disposing) { if (_isDisposed) diff --git a/src/Shared/ChunkingCookieManager/ChunkingCookieManager.cs b/src/Shared/ChunkingCookieManager/ChunkingCookieManager.cs index 42cc4e2f0f..0df694392a 100644 --- a/src/Shared/ChunkingCookieManager/ChunkingCookieManager.cs +++ b/src/Shared/ChunkingCookieManager/ChunkingCookieManager.cs @@ -169,6 +169,7 @@ namespace Microsoft.AspNetCore.Internal HttpOnly = options.HttpOnly, Path = options.Path, Secure = options.Secure, + MaxAge = options.MaxAge, }; var templateLength = template.ToString().Length; @@ -285,6 +286,7 @@ namespace Microsoft.AspNetCore.Internal Path = options.Path, Domain = options.Domain, SameSite = options.SameSite, + Secure = options.Secure, IsEssential = options.IsEssential, Expires = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc), }); @@ -300,6 +302,7 @@ namespace Microsoft.AspNetCore.Internal Path = options.Path, Domain = options.Domain, SameSite = options.SameSite, + Secure = options.Secure, IsEssential = options.IsEssential, Expires = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc), }); diff --git a/src/Shared/E2ETesting/E2ETesting.targets b/src/Shared/E2ETesting/E2ETesting.targets index 88d77ebf73..628880eb53 100644 --- a/src/Shared/E2ETesting/E2ETesting.targets +++ b/src/Shared/E2ETesting/E2ETesting.targets @@ -11,7 +11,7 @@ Importance="High" Text="Prerequisites were not enforced at build time. Running Yarn or the E2E tests might fail as a result. Check /src/Shared/E2ETesting/Readme.md for instructions." /> - <Yarn Command="install" /> + <Yarn Command="install --mutex network" /> </Target> <Target Name="_IsCustomRestoreTargetSupported" Returns="@(CustomRestoreTargets)" Condition="'$(BuildNodeJs)' == 'true'"> diff --git a/src/Shared/HttpSys/RequestProcessing/NativeRequestContext.cs b/src/Shared/HttpSys/RequestProcessing/NativeRequestContext.cs index b19bb1b4a6..26c01e4868 100644 --- a/src/Shared/HttpSys/RequestProcessing/NativeRequestContext.cs +++ b/src/Shared/HttpSys/RequestProcessing/NativeRequestContext.cs @@ -138,17 +138,14 @@ namespace Microsoft.AspNetCore.HttpSys.Internal return null; } - internal byte[] GetRawUrlInBytes() + internal Span<byte> GetRawUrlInBytes() { if (NativeRequest->pRawUrl != null && NativeRequest->RawUrlLength > 0) { - var result = new byte[NativeRequest->RawUrlLength]; - Marshal.Copy((IntPtr)NativeRequest->pRawUrl, result, 0, NativeRequest->RawUrlLength); - - return result; + return new Span<byte>(NativeRequest->pRawUrl, NativeRequest->RawUrlLength); } - return null; + return default; } internal CookedUrl GetCookedUrl() diff --git a/src/Shared/HttpSys/RequestProcessing/RawUrlHelper.cs b/src/Shared/HttpSys/RequestProcessing/RawUrlHelper.cs index ee0bf4a996..c1eb53997b 100644 --- a/src/Shared/HttpSys/RequestProcessing/RawUrlHelper.cs +++ b/src/Shared/HttpSys/RequestProcessing/RawUrlHelper.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; @@ -8,12 +8,10 @@ namespace Microsoft.AspNetCore.HttpSys.Internal { internal static class RawUrlHelper { - private static readonly byte[] _forwardSlashPath = Encoding.ASCII.GetBytes("/"); - /// <summary> /// Find the segment of the URI byte array which represents the path. /// </summary> - public static ArraySegment<byte> GetPath(byte[] raw) + public static Span<byte> GetPath(Span<byte> raw) { // performance var pathStartIndex = 0; @@ -38,12 +36,12 @@ namespace Microsoft.AspNetCore.HttpSys.Internal // and http.sys behavior: If the Uri contains a query, there must be at least one '/' // between the authority and the '?' character: It's safe to just look for the first // '/' after the authority to determine the beginning of the path. - pathStartIndex = Find(raw, authorityStartIndex, '/'); + pathStartIndex = Find(raw, authorityStartIndex, (byte)'/'); if (pathStartIndex == -1) { // e.g. for request lines like: 'GET http://myserver' (no final '/') // At this point we can return a path with a slash. - return new ArraySegment<byte>(_forwardSlashPath); + return default; } } else @@ -67,7 +65,7 @@ namespace Microsoft.AspNetCore.HttpSys.Internal scan++; } - return new ArraySegment<byte>(raw, pathStartIndex, scan - pathStartIndex); + return raw.Slice(pathStartIndex, scan - pathStartIndex); } /// <summary> @@ -75,7 +73,7 @@ namespace Microsoft.AspNetCore.HttpSys.Internal /// </summary> /// <param name="raw">The byte array represents the raw URI</param> /// <returns>Length of the matched bytes, 0 if it is not matched.</returns> - private static int FindHttpOrHttps(byte[] raw) + private static int FindHttpOrHttps(Span<byte> raw) { if (raw.Length < 7) { @@ -135,17 +133,14 @@ namespace Microsoft.AspNetCore.HttpSys.Internal } } - private static int Find(byte[] raw, int begin, char target) + private static int Find(Span<byte> raw, int begin, byte target) { - for (var idx = begin; idx < raw.Length; ++idx) + var idx = raw.Slice(begin).IndexOf(target); + if (idx != -1) { - if (raw[idx] == target) - { - return idx; - } + return idx + begin; } - - return -1; + return idx; } } } diff --git a/src/Shared/HttpSys/RequestProcessing/RequestUriBuilder.cs b/src/Shared/HttpSys/RequestProcessing/RequestUriBuilder.cs index 6308d6d8ea..13c07baafc 100644 --- a/src/Shared/HttpSys/RequestProcessing/RequestUriBuilder.cs +++ b/src/Shared/HttpSys/RequestProcessing/RequestUriBuilder.cs @@ -1,7 +1,8 @@ -// 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; +using System.Diagnostics; using System.Text; namespace Microsoft.AspNetCore.HttpSys.Internal @@ -17,23 +18,19 @@ namespace Microsoft.AspNetCore.HttpSys.Internal encoderShouldEmitUTF8Identifier: false, throwOnInvalidBytes: true); - public static string DecodeAndUnescapePath(byte[] rawUrlBytes) + public static string DecodeAndUnescapePath(Span<byte> rawUrlBytes) { - if (rawUrlBytes == null) - { - throw new ArgumentNullException(nameof(rawUrlBytes)); - } - - if (rawUrlBytes.Length == 0) - { - throw new ArgumentException("Length of the URL cannot be zero.", nameof(rawUrlBytes)); - } - + Debug.Assert(rawUrlBytes.Length > 0, "Length of the URL cannot be zero."); var rawPath = RawUrlHelper.GetPath(rawUrlBytes); + if (rawPath.Length == 0) + { + return "/"; + } + var unescapedPath = Unescape(rawPath); - return UTF8.GetString(unescapedPath.Array, unescapedPath.Offset, unescapedPath.Count); + return UTF8.GetString(unescapedPath); } /// <summary> @@ -41,19 +38,16 @@ namespace Microsoft.AspNetCore.HttpSys.Internal /// </summary> /// <param name="rawPath">The raw path string to be unescaped</param> /// <returns>The unescaped path string</returns> - private static ArraySegment<byte> Unescape(ArraySegment<byte> rawPath) + private static ReadOnlySpan<byte> Unescape(Span<byte> rawPath) { // the slot to read the input - var reader = rawPath.Offset; + var reader = 0; // the slot to write the unescaped byte - var writer = rawPath.Offset; + var writer = 0; // the end of the path - var end = rawPath.Offset + rawPath.Count; - - // the byte array - var buffer = rawPath.Array; + var end = rawPath.Length; while (true) { @@ -62,7 +56,7 @@ namespace Microsoft.AspNetCore.HttpSys.Internal break; } - if (rawPath.Array[reader] == '%') + if (rawPath[reader] == '%') { var decodeReader = reader; @@ -73,20 +67,20 @@ namespace Microsoft.AspNetCore.HttpSys.Internal // The decodeReader iterator is always moved to the first byte not yet // be scanned after the process. A failed decoding means the chars // between the reader and decodeReader can be copied to output untouched. - if (!DecodeCore(ref decodeReader, ref writer, end, buffer)) + if (!DecodeCore(ref decodeReader, ref writer, end, rawPath)) { - Copy(reader, decodeReader, ref writer, buffer); + Copy(reader, decodeReader, ref writer, rawPath); } reader = decodeReader; } else { - buffer[writer++] = buffer[reader++]; + rawPath[writer++] = rawPath[reader++]; } } - return new ArraySegment<byte>(buffer, rawPath.Offset, writer - rawPath.Offset); + return rawPath.Slice(0, writer); } /// <summary> @@ -96,7 +90,7 @@ namespace Microsoft.AspNetCore.HttpSys.Internal /// <param name="writer">The place to write to</param> /// <param name="end">The end of the buffer</param> /// <param name="buffer">The byte array</param> - private static bool DecodeCore(ref int reader, ref int writer, int end, byte[] buffer) + private static bool DecodeCore(ref int reader, ref int writer, int end, Span<byte> buffer) { // preserves the original head. if the percent-encodings cannot be interpreted as sequence of UTF-8 octets, // bytes from this till the last scanned one will be copied to the memory pointed by writer. @@ -232,7 +226,7 @@ namespace Microsoft.AspNetCore.HttpSys.Internal return true; } - private static void Copy(int begin, int end, ref int writer, byte[] buffer) + private static void Copy(int begin, int end, ref int writer, Span<byte> buffer) { while (begin != end) { @@ -260,7 +254,7 @@ namespace Microsoft.AspNetCore.HttpSys.Internal /// <param name="end">The end of the buffer</param> /// <param name="buffer">The byte array</param> /// <returns>The unescaped byte if success. Otherwise return -1.</returns> - private static int? UnescapePercentEncoding(ref int scan, int end, byte[] buffer) + private static int? UnescapePercentEncoding(ref int scan, int end, ReadOnlySpan<byte> buffer) { if (buffer[scan++] != '%') { @@ -300,7 +294,7 @@ namespace Microsoft.AspNetCore.HttpSys.Internal /// <param name="end">The end of the buffer</param> /// <param name="buffer">The byte array</param> /// <returns>The hexadecimal value if successes, otherwise -1.</returns> - private static int? ReadHex(ref int scan, int end, byte[] buffer) + private static int? ReadHex(ref int scan, int end, ReadOnlySpan<byte> buffer) { if (scan == end) { diff --git a/src/SignalR/build.cmd b/src/SignalR/build.cmd index 2406296662..b7a7ab4c70 100644 --- a/src/SignalR/build.cmd +++ b/src/SignalR/build.cmd @@ -1,3 +1,3 @@ @ECHO OFF -SET RepoRoot=%~dp0..\.. -%RepoRoot%\build.cmd -projects %~dp0**\*.*proj %* +SET RepoRoot=%~dp0..\..\ +%RepoRoot%build.cmd -projects %~dp0**\*.*proj %* diff --git a/src/SignalR/clients/csharp/Client.Core/ref/Microsoft.AspNetCore.SignalR.Client.Core.netcoreapp3.0.cs b/src/SignalR/clients/csharp/Client.Core/ref/Microsoft.AspNetCore.SignalR.Client.Core.netcoreapp3.0.cs index facbb2b773..e773e46696 100644 --- a/src/SignalR/clients/csharp/Client.Core/ref/Microsoft.AspNetCore.SignalR.Client.Core.netcoreapp3.0.cs +++ b/src/SignalR/clients/csharp/Client.Core/ref/Microsoft.AspNetCore.SignalR.Client.Core.netcoreapp3.0.cs @@ -150,8 +150,8 @@ namespace Microsoft.AspNetCore.SignalR.Client } public enum HubConnectionState { - Connected = 1, Disconnected = 0, + Connected = 1, } public partial interface IConnectionFactory { diff --git a/src/SignalR/clients/csharp/Client.Core/ref/Microsoft.AspNetCore.SignalR.Client.Core.netstandard2.0.cs b/src/SignalR/clients/csharp/Client.Core/ref/Microsoft.AspNetCore.SignalR.Client.Core.netstandard2.0.cs index 84c7df7344..640b7c85e0 100644 --- a/src/SignalR/clients/csharp/Client.Core/ref/Microsoft.AspNetCore.SignalR.Client.Core.netstandard2.0.cs +++ b/src/SignalR/clients/csharp/Client.Core/ref/Microsoft.AspNetCore.SignalR.Client.Core.netstandard2.0.cs @@ -138,8 +138,8 @@ namespace Microsoft.AspNetCore.SignalR.Client } public enum HubConnectionState { - Connected = 1, Disconnected = 0, + Connected = 1, } public partial interface IConnectionFactory { diff --git a/src/SignalR/clients/csharp/Client.Core/src/HubConnection.cs b/src/SignalR/clients/csharp/Client.Core/src/HubConnection.cs index fb027315c6..cdbd7f7caa 100644 --- a/src/SignalR/clients/csharp/Client.Core/src/HubConnection.cs +++ b/src/SignalR/clients/csharp/Client.Core/src/HubConnection.cs @@ -72,7 +72,6 @@ namespace Microsoft.AspNetCore.SignalR.Client // Transient state to a connection private ConnectionState _connectionState; - private int _serverProtocolMinorVersion; /// <summary> /// Occurs when the connection is closed. The connection could be closed due to an error or due to either the server or client intentionally @@ -953,8 +952,6 @@ namespace Microsoft.AspNetCore.SignalR.Client $"Unable to complete handshake with the server due to an error: {message.Error}"); } - _serverProtocolMinorVersion = message.MinorVersion; - break; } } diff --git a/src/SignalR/clients/csharp/Client.Core/src/baseline.netcore.json b/src/SignalR/clients/csharp/Client.Core/src/baseline.netcore.json deleted file mode 100644 index 8352ab739d..0000000000 --- a/src/SignalR/clients/csharp/Client.Core/src/baseline.netcore.json +++ /dev/null @@ -1,3052 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.SignalR.Client.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.SignalR.Client.HubConnection", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "add_Closed", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func<System.Exception, System.Threading.Tasks.Task>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "remove_Closed", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func<System.Exception, System.Threading.Tasks.Task>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ServerTimeout", - "Parameters": [], - "ReturnType": "System.TimeSpan", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ServerTimeout", - "Parameters": [ - { - "Name": "value", - "Type": "System.TimeSpan" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HandshakeTimeout", - "Parameters": [], - "ReturnType": "System.TimeSpan", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_HandshakeTimeout", - "Parameters": [ - { - "Name": "value", - "Type": "System.TimeSpan" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "StartAsync", - "Parameters": [ - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "StopAsync", - "Parameters": [ - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DisposeAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "On", - "Parameters": [ - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "parameterTypes", - "Type": "System.Type[]" - }, - { - "Name": "handler", - "Type": "System.Func<System.Object[], System.Object, System.Threading.Tasks.Task>" - }, - { - "Name": "state", - "Type": "System.Object" - } - ], - "ReturnType": "System.IDisposable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "StreamAsChannelCoreAsync", - "Parameters": [ - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "returnType", - "Type": "System.Type" - }, - { - "Name": "args", - "Type": "System.Object[]" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task<System.Threading.Channels.ChannelReader<System.Object>>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "InvokeCoreAsync", - "Parameters": [ - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "returnType", - "Type": "System.Type" - }, - { - "Name": "args", - "Type": "System.Object[]" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task<System.Object>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SendCoreAsync", - "Parameters": [ - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "args", - "Type": "System.Object[]" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "connectionFactory", - "Type": "Microsoft.AspNetCore.SignalR.Client.IConnectionFactory" - }, - { - "Name": "protocol", - "Type": "Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol" - }, - { - "Name": "serviceProvider", - "Type": "System.IServiceProvider" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "connectionFactory", - "Type": "Microsoft.AspNetCore.SignalR.Client.IConnectionFactory" - }, - { - "Name": "protocol", - "Type": "Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "DefaultServerTimeout", - "Parameters": [], - "ReturnType": "System.TimeSpan", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "DefaultHandshakeTimeout", - "Parameters": [], - "ReturnType": "System.TimeSpan", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.Client.HubConnectionBuilder", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Services", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IServiceCollection", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.SignalR.ISignalRBuilder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Build", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.SignalR.Client.HubConnection", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder", - "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": "ToString", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetType", - "Parameters": [], - "ReturnType": "System.Type", - "New": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.Client.HubConnectionBuilderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ConfigureLogging", - "Parameters": [ - { - "Name": "hubConnectionBuilder", - "Type": "Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder" - }, - { - "Name": "configureLogging", - "Type": "System.Action<Microsoft.Extensions.Logging.ILoggingBuilder>" - } - ], - "ReturnType": "Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.Client.HubConnectionExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "On", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "handler", - "Type": "System.Action" - } - ], - "ReturnType": "System.IDisposable", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "On<T0>", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "handler", - "Type": "System.Action<T0>" - } - ], - "ReturnType": "System.IDisposable", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T1", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "On<T0, T1>", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "handler", - "Type": "System.Action<T0, T1>" - } - ], - "ReturnType": "System.IDisposable", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T1", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "T2", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "On<T0, T1, T2>", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "handler", - "Type": "System.Action<T0, T1, T2>" - } - ], - "ReturnType": "System.IDisposable", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T1", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "T2", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "T3", - "ParameterPosition": 2, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "On<T0, T1, T2, T3>", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "handler", - "Type": "System.Action<T0, T1, T2, T3>" - } - ], - "ReturnType": "System.IDisposable", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T1", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "T2", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "T3", - "ParameterPosition": 2, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "T4", - "ParameterPosition": 3, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "On<T0, T1, T2, T3, T4>", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "handler", - "Type": "System.Action<T0, T1, T2, T3, T4>" - } - ], - "ReturnType": "System.IDisposable", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T1", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "T2", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "T3", - "ParameterPosition": 2, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "T4", - "ParameterPosition": 3, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "T5", - "ParameterPosition": 4, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "On<T0, T1, T2, T3, T4, T5>", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "handler", - "Type": "System.Action<T0, T1, T2, T3, T4, T5>" - } - ], - "ReturnType": "System.IDisposable", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T1", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "T2", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "T3", - "ParameterPosition": 2, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "T4", - "ParameterPosition": 3, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "T5", - "ParameterPosition": 4, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "T6", - "ParameterPosition": 5, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "On<T0, T1, T2, T3, T4, T5, T6>", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "handler", - "Type": "System.Action<T0, T1, T2, T3, T4, T5, T6>" - } - ], - "ReturnType": "System.IDisposable", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T1", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "T2", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "T3", - "ParameterPosition": 2, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "T4", - "ParameterPosition": 3, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "T5", - "ParameterPosition": 4, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "T6", - "ParameterPosition": 5, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "T7", - "ParameterPosition": 6, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "On<T0, T1, T2, T3, T4, T5, T6, T7>", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "handler", - "Type": "System.Action<T0, T1, T2, T3, T4, T5, T6, T7>" - } - ], - "ReturnType": "System.IDisposable", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T1", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "T2", - "ParameterPosition": 1, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "T3", - "ParameterPosition": 2, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "T4", - "ParameterPosition": 3, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "T5", - "ParameterPosition": 4, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "T6", - "ParameterPosition": 5, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "T7", - "ParameterPosition": 6, - "BaseTypeOrInterfaces": [] - }, - { - "ParameterName": "T8", - "ParameterPosition": 7, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "On", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "parameterTypes", - "Type": "System.Type[]" - }, - { - "Name": "handler", - "Type": "System.Func<System.Object[], System.Threading.Tasks.Task>" - } - ], - "ReturnType": "System.IDisposable", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "InvokeAsync", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "InvokeAsync", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "InvokeAsync", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "arg2", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "InvokeAsync", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "arg2", - "Type": "System.Object" - }, - { - "Name": "arg3", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "InvokeAsync", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "arg2", - "Type": "System.Object" - }, - { - "Name": "arg3", - "Type": "System.Object" - }, - { - "Name": "arg4", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "InvokeAsync", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "arg2", - "Type": "System.Object" - }, - { - "Name": "arg3", - "Type": "System.Object" - }, - { - "Name": "arg4", - "Type": "System.Object" - }, - { - "Name": "arg5", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "InvokeAsync", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "arg2", - "Type": "System.Object" - }, - { - "Name": "arg3", - "Type": "System.Object" - }, - { - "Name": "arg4", - "Type": "System.Object" - }, - { - "Name": "arg5", - "Type": "System.Object" - }, - { - "Name": "arg6", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "InvokeAsync", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "arg2", - "Type": "System.Object" - }, - { - "Name": "arg3", - "Type": "System.Object" - }, - { - "Name": "arg4", - "Type": "System.Object" - }, - { - "Name": "arg5", - "Type": "System.Object" - }, - { - "Name": "arg6", - "Type": "System.Object" - }, - { - "Name": "arg7", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "InvokeAsync", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "arg2", - "Type": "System.Object" - }, - { - "Name": "arg3", - "Type": "System.Object" - }, - { - "Name": "arg4", - "Type": "System.Object" - }, - { - "Name": "arg5", - "Type": "System.Object" - }, - { - "Name": "arg6", - "Type": "System.Object" - }, - { - "Name": "arg7", - "Type": "System.Object" - }, - { - "Name": "arg8", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "InvokeAsync", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "arg2", - "Type": "System.Object" - }, - { - "Name": "arg3", - "Type": "System.Object" - }, - { - "Name": "arg4", - "Type": "System.Object" - }, - { - "Name": "arg5", - "Type": "System.Object" - }, - { - "Name": "arg6", - "Type": "System.Object" - }, - { - "Name": "arg7", - "Type": "System.Object" - }, - { - "Name": "arg8", - "Type": "System.Object" - }, - { - "Name": "arg9", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "InvokeAsync", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "arg2", - "Type": "System.Object" - }, - { - "Name": "arg3", - "Type": "System.Object" - }, - { - "Name": "arg4", - "Type": "System.Object" - }, - { - "Name": "arg5", - "Type": "System.Object" - }, - { - "Name": "arg6", - "Type": "System.Object" - }, - { - "Name": "arg7", - "Type": "System.Object" - }, - { - "Name": "arg8", - "Type": "System.Object" - }, - { - "Name": "arg9", - "Type": "System.Object" - }, - { - "Name": "arg10", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "InvokeCoreAsync", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "args", - "Type": "System.Object[]" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "InvokeAsync<T0>", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task<T0>", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "InvokeAsync<T0>", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task<T0>", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "InvokeAsync<T0>", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "arg2", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task<T0>", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "InvokeAsync<T0>", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "arg2", - "Type": "System.Object" - }, - { - "Name": "arg3", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task<T0>", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "InvokeAsync<T0>", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "arg2", - "Type": "System.Object" - }, - { - "Name": "arg3", - "Type": "System.Object" - }, - { - "Name": "arg4", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task<T0>", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "InvokeAsync<T0>", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "arg2", - "Type": "System.Object" - }, - { - "Name": "arg3", - "Type": "System.Object" - }, - { - "Name": "arg4", - "Type": "System.Object" - }, - { - "Name": "arg5", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task<T0>", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "InvokeAsync<T0>", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "arg2", - "Type": "System.Object" - }, - { - "Name": "arg3", - "Type": "System.Object" - }, - { - "Name": "arg4", - "Type": "System.Object" - }, - { - "Name": "arg5", - "Type": "System.Object" - }, - { - "Name": "arg6", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task<T0>", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "InvokeAsync<T0>", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "arg2", - "Type": "System.Object" - }, - { - "Name": "arg3", - "Type": "System.Object" - }, - { - "Name": "arg4", - "Type": "System.Object" - }, - { - "Name": "arg5", - "Type": "System.Object" - }, - { - "Name": "arg6", - "Type": "System.Object" - }, - { - "Name": "arg7", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task<T0>", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "InvokeAsync<T0>", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "arg2", - "Type": "System.Object" - }, - { - "Name": "arg3", - "Type": "System.Object" - }, - { - "Name": "arg4", - "Type": "System.Object" - }, - { - "Name": "arg5", - "Type": "System.Object" - }, - { - "Name": "arg6", - "Type": "System.Object" - }, - { - "Name": "arg7", - "Type": "System.Object" - }, - { - "Name": "arg8", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task<T0>", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "InvokeAsync<T0>", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "arg2", - "Type": "System.Object" - }, - { - "Name": "arg3", - "Type": "System.Object" - }, - { - "Name": "arg4", - "Type": "System.Object" - }, - { - "Name": "arg5", - "Type": "System.Object" - }, - { - "Name": "arg6", - "Type": "System.Object" - }, - { - "Name": "arg7", - "Type": "System.Object" - }, - { - "Name": "arg8", - "Type": "System.Object" - }, - { - "Name": "arg9", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task<T0>", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "InvokeAsync<T0>", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "arg2", - "Type": "System.Object" - }, - { - "Name": "arg3", - "Type": "System.Object" - }, - { - "Name": "arg4", - "Type": "System.Object" - }, - { - "Name": "arg5", - "Type": "System.Object" - }, - { - "Name": "arg6", - "Type": "System.Object" - }, - { - "Name": "arg7", - "Type": "System.Object" - }, - { - "Name": "arg8", - "Type": "System.Object" - }, - { - "Name": "arg9", - "Type": "System.Object" - }, - { - "Name": "arg10", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task<T0>", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "InvokeCoreAsync<T0>", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "args", - "Type": "System.Object[]" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task<T0>", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "SendAsync", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SendAsync", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SendAsync", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "arg2", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SendAsync", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "arg2", - "Type": "System.Object" - }, - { - "Name": "arg3", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SendAsync", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "arg2", - "Type": "System.Object" - }, - { - "Name": "arg3", - "Type": "System.Object" - }, - { - "Name": "arg4", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SendAsync", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "arg2", - "Type": "System.Object" - }, - { - "Name": "arg3", - "Type": "System.Object" - }, - { - "Name": "arg4", - "Type": "System.Object" - }, - { - "Name": "arg5", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SendAsync", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "arg2", - "Type": "System.Object" - }, - { - "Name": "arg3", - "Type": "System.Object" - }, - { - "Name": "arg4", - "Type": "System.Object" - }, - { - "Name": "arg5", - "Type": "System.Object" - }, - { - "Name": "arg6", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SendAsync", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "arg2", - "Type": "System.Object" - }, - { - "Name": "arg3", - "Type": "System.Object" - }, - { - "Name": "arg4", - "Type": "System.Object" - }, - { - "Name": "arg5", - "Type": "System.Object" - }, - { - "Name": "arg6", - "Type": "System.Object" - }, - { - "Name": "arg7", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SendAsync", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "arg2", - "Type": "System.Object" - }, - { - "Name": "arg3", - "Type": "System.Object" - }, - { - "Name": "arg4", - "Type": "System.Object" - }, - { - "Name": "arg5", - "Type": "System.Object" - }, - { - "Name": "arg6", - "Type": "System.Object" - }, - { - "Name": "arg7", - "Type": "System.Object" - }, - { - "Name": "arg8", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SendAsync", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "arg2", - "Type": "System.Object" - }, - { - "Name": "arg3", - "Type": "System.Object" - }, - { - "Name": "arg4", - "Type": "System.Object" - }, - { - "Name": "arg5", - "Type": "System.Object" - }, - { - "Name": "arg6", - "Type": "System.Object" - }, - { - "Name": "arg7", - "Type": "System.Object" - }, - { - "Name": "arg8", - "Type": "System.Object" - }, - { - "Name": "arg9", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SendAsync", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "arg2", - "Type": "System.Object" - }, - { - "Name": "arg3", - "Type": "System.Object" - }, - { - "Name": "arg4", - "Type": "System.Object" - }, - { - "Name": "arg5", - "Type": "System.Object" - }, - { - "Name": "arg6", - "Type": "System.Object" - }, - { - "Name": "arg7", - "Type": "System.Object" - }, - { - "Name": "arg8", - "Type": "System.Object" - }, - { - "Name": "arg9", - "Type": "System.Object" - }, - { - "Name": "arg10", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "StreamAsChannelAsync<T0>", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task<System.Threading.Channels.ChannelReader<T0>>", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "StreamAsChannelAsync<T0>", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task<System.Threading.Channels.ChannelReader<T0>>", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "StreamAsChannelAsync<T0>", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "arg2", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task<System.Threading.Channels.ChannelReader<T0>>", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "StreamAsChannelAsync<T0>", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "arg2", - "Type": "System.Object" - }, - { - "Name": "arg3", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task<System.Threading.Channels.ChannelReader<T0>>", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "StreamAsChannelAsync<T0>", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "arg2", - "Type": "System.Object" - }, - { - "Name": "arg3", - "Type": "System.Object" - }, - { - "Name": "arg4", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task<System.Threading.Channels.ChannelReader<T0>>", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "StreamAsChannelAsync<T0>", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "arg2", - "Type": "System.Object" - }, - { - "Name": "arg3", - "Type": "System.Object" - }, - { - "Name": "arg4", - "Type": "System.Object" - }, - { - "Name": "arg5", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task<System.Threading.Channels.ChannelReader<T0>>", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "StreamAsChannelAsync<T0>", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "arg2", - "Type": "System.Object" - }, - { - "Name": "arg3", - "Type": "System.Object" - }, - { - "Name": "arg4", - "Type": "System.Object" - }, - { - "Name": "arg5", - "Type": "System.Object" - }, - { - "Name": "arg6", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task<System.Threading.Channels.ChannelReader<T0>>", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "StreamAsChannelAsync<T0>", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "arg2", - "Type": "System.Object" - }, - { - "Name": "arg3", - "Type": "System.Object" - }, - { - "Name": "arg4", - "Type": "System.Object" - }, - { - "Name": "arg5", - "Type": "System.Object" - }, - { - "Name": "arg6", - "Type": "System.Object" - }, - { - "Name": "arg7", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task<System.Threading.Channels.ChannelReader<T0>>", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "StreamAsChannelAsync<T0>", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "arg2", - "Type": "System.Object" - }, - { - "Name": "arg3", - "Type": "System.Object" - }, - { - "Name": "arg4", - "Type": "System.Object" - }, - { - "Name": "arg5", - "Type": "System.Object" - }, - { - "Name": "arg6", - "Type": "System.Object" - }, - { - "Name": "arg7", - "Type": "System.Object" - }, - { - "Name": "arg8", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task<System.Threading.Channels.ChannelReader<T0>>", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "StreamAsChannelAsync<T0>", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "arg2", - "Type": "System.Object" - }, - { - "Name": "arg3", - "Type": "System.Object" - }, - { - "Name": "arg4", - "Type": "System.Object" - }, - { - "Name": "arg5", - "Type": "System.Object" - }, - { - "Name": "arg6", - "Type": "System.Object" - }, - { - "Name": "arg7", - "Type": "System.Object" - }, - { - "Name": "arg8", - "Type": "System.Object" - }, - { - "Name": "arg9", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task<System.Threading.Channels.ChannelReader<T0>>", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "StreamAsChannelAsync<T0>", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "arg2", - "Type": "System.Object" - }, - { - "Name": "arg3", - "Type": "System.Object" - }, - { - "Name": "arg4", - "Type": "System.Object" - }, - { - "Name": "arg5", - "Type": "System.Object" - }, - { - "Name": "arg6", - "Type": "System.Object" - }, - { - "Name": "arg7", - "Type": "System.Object" - }, - { - "Name": "arg8", - "Type": "System.Object" - }, - { - "Name": "arg9", - "Type": "System.Object" - }, - { - "Name": "arg10", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task<System.Threading.Channels.ChannelReader<T0>>", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "StreamAsChannelCoreAsync<T0>", - "Parameters": [ - { - "Name": "hubConnection", - "Type": "Microsoft.AspNetCore.SignalR.Client.HubConnection" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "args", - "Type": "System.Object[]" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task<System.Threading.Channels.ChannelReader<T0>>", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TResult", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.Client.IConnectionFactory", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ConnectAsync", - "Parameters": [ - { - "Name": "transferFormat", - "Type": "Microsoft.AspNetCore.Connections.TransferFormat" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Connections.ConnectionContext>", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DisposeAsync", - "Parameters": [ - { - "Name": "connection", - "Type": "Microsoft.AspNetCore.Connections.ConnectionContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.SignalR.ISignalRBuilder" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Build", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.SignalR.Client.HubConnection", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/SignalR/clients/csharp/Client/src/baseline.netcore.json b/src/SignalR/clients/csharp/Client/src/baseline.netcore.json deleted file mode 100644 index a610feb47b..0000000000 --- a/src/SignalR/clients/csharp/Client/src/baseline.netcore.json +++ /dev/null @@ -1,265 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.SignalR.Client, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.SignalR.Client.HttpConnectionFactory", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.SignalR.Client.IConnectionFactory" - ], - "Members": [ - { - "Kind": "Method", - "Name": "ConnectAsync", - "Parameters": [ - { - "Name": "transferFormat", - "Type": "Microsoft.AspNetCore.Connections.TransferFormat" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Connections.ConnectionContext>", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.SignalR.Client.IConnectionFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DisposeAsync", - "Parameters": [ - { - "Name": "connection", - "Type": "Microsoft.AspNetCore.Connections.ConnectionContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.SignalR.Client.IConnectionFactory", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionOptions>" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.Client.HubConnectionBuilderHttpExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "WithUrl", - "Parameters": [ - { - "Name": "hubConnectionBuilder", - "Type": "Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder" - }, - { - "Name": "url", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WithUrl", - "Parameters": [ - { - "Name": "hubConnectionBuilder", - "Type": "Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder" - }, - { - "Name": "url", - "Type": "System.String" - }, - { - "Name": "configureHttpConnection", - "Type": "System.Action<Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionOptions>" - } - ], - "ReturnType": "Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WithUrl", - "Parameters": [ - { - "Name": "hubConnectionBuilder", - "Type": "Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder" - }, - { - "Name": "url", - "Type": "System.String" - }, - { - "Name": "transports", - "Type": "Microsoft.AspNetCore.Http.Connections.HttpTransportType" - } - ], - "ReturnType": "Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WithUrl", - "Parameters": [ - { - "Name": "hubConnectionBuilder", - "Type": "Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder" - }, - { - "Name": "url", - "Type": "System.String" - }, - { - "Name": "transports", - "Type": "Microsoft.AspNetCore.Http.Connections.HttpTransportType" - }, - { - "Name": "configureHttpConnection", - "Type": "System.Action<Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionOptions>" - } - ], - "ReturnType": "Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WithUrl", - "Parameters": [ - { - "Name": "hubConnectionBuilder", - "Type": "Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder" - }, - { - "Name": "url", - "Type": "System.Uri" - } - ], - "ReturnType": "Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WithUrl", - "Parameters": [ - { - "Name": "hubConnectionBuilder", - "Type": "Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder" - }, - { - "Name": "url", - "Type": "System.Uri" - }, - { - "Name": "configureHttpConnection", - "Type": "System.Action<Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionOptions>" - } - ], - "ReturnType": "Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WithUrl", - "Parameters": [ - { - "Name": "hubConnectionBuilder", - "Type": "Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder" - }, - { - "Name": "url", - "Type": "System.Uri" - }, - { - "Name": "transports", - "Type": "Microsoft.AspNetCore.Http.Connections.HttpTransportType" - } - ], - "ReturnType": "Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WithUrl", - "Parameters": [ - { - "Name": "hubConnectionBuilder", - "Type": "Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder" - }, - { - "Name": "url", - "Type": "System.Uri" - }, - { - "Name": "transports", - "Type": "Microsoft.AspNetCore.Http.Connections.HttpTransportType" - }, - { - "Name": "configureHttpConnection", - "Type": "System.Action<Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionOptions>" - } - ], - "ReturnType": "Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/SignalR/clients/csharp/Client/test/FunctionalTests/HubConnectionTests.cs b/src/SignalR/clients/csharp/Client/test/FunctionalTests/HubConnectionTests.cs index 8ed6e18184..9a013291a2 100644 --- a/src/SignalR/clients/csharp/Client/test/FunctionalTests/HubConnectionTests.cs +++ b/src/SignalR/clients/csharp/Client/test/FunctionalTests/HubConnectionTests.cs @@ -357,6 +357,52 @@ namespace Microsoft.AspNetCore.SignalR.Client.FunctionalTests } } + [Theory] + [InlineData("json")] + [InlineData("messagepack")] + public async Task CanStreamToHubWithIAsyncEnumerableMethodArg(string protocolName) + { + var protocol = HubProtocols[protocolName]; + using (StartServer<Startup>(out var server)) + { + var connection = CreateHubConnection(server.Url, "/default", HttpTransportType.WebSockets, protocol, LoggerFactory); + try + { + async IAsyncEnumerable<int> ClientStreamData(int value) + { + for (var i = 0; i < value; i++) + { + yield return i; + await Task.Delay(10); + } + } + + var streamTo = 5; + var stream = ClientStreamData(streamTo); + + await connection.StartAsync().OrTimeout(); + var expectedValue = 0; + var asyncEnumerable = connection.StreamAsync<int>("StreamIAsyncConsumer", stream); + await foreach (var streamValue in asyncEnumerable) + { + Assert.Equal(expectedValue, streamValue); + expectedValue++; + } + + Assert.Equal(streamTo, expectedValue); + } + catch (Exception ex) + { + LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); + throw; + } + finally + { + await connection.DisposeAsync().OrTimeout(); + } + } + } + [Theory] [MemberData(nameof(HubProtocolsAndTransportsAndHubPaths))] [LogLevel(LogLevel.Trace)] diff --git a/src/SignalR/clients/csharp/Client/test/FunctionalTests/Hubs.cs b/src/SignalR/clients/csharp/Client/test/FunctionalTests/Hubs.cs index 14f102da8f..6843a4cb64 100644 --- a/src/SignalR/clients/csharp/Client/test/FunctionalTests/Hubs.cs +++ b/src/SignalR/clients/csharp/Client/test/FunctionalTests/Hubs.cs @@ -45,6 +45,8 @@ namespace Microsoft.AspNetCore.SignalR.Client.FunctionalTests public ChannelReader<int> StreamEchoInt(ChannelReader<int> source) => TestHubMethodsImpl.StreamEchoInt(source); + public IAsyncEnumerable<int> StreamIAsyncConsumer(IAsyncEnumerable<int> source) => source; + public string GetUserIdentifier() { return Context.UserIdentifier; @@ -125,6 +127,8 @@ namespace Microsoft.AspNetCore.SignalR.Client.FunctionalTests public ChannelReader<string> StreamEcho(ChannelReader<string> source) => TestHubMethodsImpl.StreamEcho(source); public ChannelReader<int> StreamEchoInt(ChannelReader<int> source) => TestHubMethodsImpl.StreamEchoInt(source); + + public IAsyncEnumerable<int> StreamIAsyncConsumer(IAsyncEnumerable<int> source) => source; } public class TestHubT : Hub<ITestHub> @@ -157,6 +161,8 @@ namespace Microsoft.AspNetCore.SignalR.Client.FunctionalTests public ChannelReader<string> StreamEcho(ChannelReader<string> source) => TestHubMethodsImpl.StreamEcho(source); public ChannelReader<int> StreamEchoInt(ChannelReader<int> source) => TestHubMethodsImpl.StreamEchoInt(source); + + public IAsyncEnumerable<int> StreamIAsyncConsumer(IAsyncEnumerable<int> source) => source; } internal static class TestHubMethodsImpl diff --git a/src/SignalR/clients/csharp/Client/test/UnitTests/TestConnection.cs b/src/SignalR/clients/csharp/Client/test/UnitTests/TestConnection.cs index 432d4595a8..dc9e1b9d56 100644 --- a/src/SignalR/clients/csharp/Client/test/UnitTests/TestConnection.cs +++ b/src/SignalR/clients/csharp/Client/test/UnitTests/TestConnection.cs @@ -87,7 +87,7 @@ namespace Microsoft.AspNetCore.SignalR.Client.Tests var output = MemoryBufferWriter.Get(); try { - HandshakeProtocol.WriteResponseMessage(new HandshakeResponseMessage(minorVersion), output); + HandshakeProtocol.WriteResponseMessage(HandshakeResponseMessage.Empty, output); response = output.ToArray(); } finally diff --git a/src/SignalR/clients/csharp/Http.Connections.Client/src/baseline.netcore.json b/src/SignalR/clients/csharp/Http.Connections.Client/src/baseline.netcore.json deleted file mode 100644 index 33ae77465e..0000000000 --- a/src/SignalR/clients/csharp/Http.Connections.Client/src/baseline.netcore.json +++ /dev/null @@ -1,537 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Http.Connections.Client, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.Http.Connections.Client.HttpConnection", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Connections.ConnectionContext", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Connections.Features.IConnectionInherentKeepAliveFeature" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Transport", - "Parameters": [], - "ReturnType": "System.IO.Pipelines.IDuplexPipe", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Transport", - "Parameters": [ - { - "Name": "value", - "Type": "System.IO.Pipelines.IDuplexPipe" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Features", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.Features.IFeatureCollection", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ConnectionId", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ConnectionId", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Items", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary<System.Object, System.Object>", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Items", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IDictionary<System.Object, System.Object>" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "StartAsync", - "Parameters": [ - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "StartAsync", - "Parameters": [ - { - "Name": "transferFormat", - "Type": "Microsoft.AspNetCore.Connections.TransferFormat" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "DisposeAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "url", - "Type": "System.Uri" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "url", - "Type": "System.Uri" - }, - { - "Name": "transports", - "Type": "Microsoft.AspNetCore.Http.Connections.HttpTransportType" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "url", - "Type": "System.Uri" - }, - { - "Name": "transports", - "Type": "Microsoft.AspNetCore.Http.Connections.HttpTransportType" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "httpConnectionOptions", - "Type": "Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionOptions" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_HttpMessageHandlerFactory", - "Parameters": [], - "ReturnType": "System.Func<System.Net.Http.HttpMessageHandler, System.Net.Http.HttpMessageHandler>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_HttpMessageHandlerFactory", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func<System.Net.Http.HttpMessageHandler, System.Net.Http.HttpMessageHandler>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Headers", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary<System.String, System.String>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Headers", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IDictionary<System.String, System.String>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ClientCertificates", - "Parameters": [], - "ReturnType": "System.Security.Cryptography.X509Certificates.X509CertificateCollection", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ClientCertificates", - "Parameters": [ - { - "Name": "value", - "Type": "System.Security.Cryptography.X509Certificates.X509CertificateCollection" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Cookies", - "Parameters": [], - "ReturnType": "System.Net.CookieContainer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Cookies", - "Parameters": [ - { - "Name": "value", - "Type": "System.Net.CookieContainer" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Url", - "Parameters": [], - "ReturnType": "System.Uri", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Url", - "Parameters": [ - { - "Name": "value", - "Type": "System.Uri" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Transports", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.Connections.HttpTransportType", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Transports", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.Connections.HttpTransportType" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SkipNegotiation", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SkipNegotiation", - "Parameters": [ - { - "Name": "value", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AccessTokenProvider", - "Parameters": [], - "ReturnType": "System.Func<System.Threading.Tasks.Task<System.String>>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AccessTokenProvider", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func<System.Threading.Tasks.Task<System.String>>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_CloseTimeout", - "Parameters": [], - "ReturnType": "System.TimeSpan", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_CloseTimeout", - "Parameters": [ - { - "Name": "value", - "Type": "System.TimeSpan" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Credentials", - "Parameters": [], - "ReturnType": "System.Net.ICredentials", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Credentials", - "Parameters": [ - { - "Name": "value", - "Type": "System.Net.ICredentials" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Proxy", - "Parameters": [], - "ReturnType": "System.Net.IWebProxy", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Proxy", - "Parameters": [ - { - "Name": "value", - "Type": "System.Net.IWebProxy" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UseDefaultCredentials", - "Parameters": [], - "ReturnType": "System.Nullable<System.Boolean>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_UseDefaultCredentials", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable<System.Boolean>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_WebSocketConfiguration", - "Parameters": [], - "ReturnType": "System.Action<System.Net.WebSockets.ClientWebSocketOptions>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_WebSocketConfiguration", - "Parameters": [ - { - "Name": "value", - "Type": "System.Action<System.Net.WebSockets.ClientWebSocketOptions>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "System.IO.Pipelines.DuplexPipe+DuplexPipePair", - "Visibility": "Public", - "Kind": "Struct", - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Transport", - "Parameters": [], - "ReturnType": "System.IO.Pipelines.IDuplexPipe", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Application", - "Parameters": [], - "ReturnType": "System.IO.Pipelines.IDuplexPipe", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "transport", - "Type": "System.IO.Pipelines.IDuplexPipe" - }, - { - "Name": "application", - "Type": "System.IO.Pipelines.IDuplexPipe" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/SignalR/clients/ts/FunctionalTests/Startup.cs b/src/SignalR/clients/ts/FunctionalTests/Startup.cs index 30d0b1e770..a7ad5a3886 100644 --- a/src/SignalR/clients/ts/FunctionalTests/Startup.cs +++ b/src/SignalR/clients/ts/FunctionalTests/Startup.cs @@ -45,7 +45,7 @@ namespace FunctionalTests { // we are running the same tests with JSON and MsgPack protocols and having // consistent casing makes it cleaner to verify results - options.UseCamelCase = false; + options.PayloadSerializerOptions.PropertyNamingPolicy = null; }) .AddMessagePackProtocol(); diff --git a/src/SignalR/common/Http.Connections.Common/ref/Microsoft.AspNetCore.Http.Connections.Common.csproj b/src/SignalR/common/Http.Connections.Common/ref/Microsoft.AspNetCore.Http.Connections.Common.csproj index c564d1974e..e7de246e93 100644 --- a/src/SignalR/common/Http.Connections.Common/ref/Microsoft.AspNetCore.Http.Connections.Common.csproj +++ b/src/SignalR/common/Http.Connections.Common/ref/Microsoft.AspNetCore.Http.Connections.Common.csproj @@ -6,9 +6,7 @@ <ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'"> <Compile Include="Microsoft.AspNetCore.Http.Connections.Common.netstandard2.0.cs" /> <Reference Include="Microsoft.AspNetCore.Connections.Abstractions" /> - <Reference Include="Microsoft.Bcl.Json.Sources" /> - <Reference Include="System.Buffers" /> - <Reference Include="System.Runtime.CompilerServices.Unsafe" /> + <Reference Include="System.Text.Json" /> </ItemGroup> <ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.0'"> <Compile Include="Microsoft.AspNetCore.Http.Connections.Common.netcoreapp3.0.cs" /> diff --git a/src/SignalR/common/Http.Connections.Common/ref/Microsoft.AspNetCore.Http.Connections.Common.netcoreapp3.0.cs b/src/SignalR/common/Http.Connections.Common/ref/Microsoft.AspNetCore.Http.Connections.Common.netcoreapp3.0.cs index a8862263af..27d206da33 100644 --- a/src/SignalR/common/Http.Connections.Common/ref/Microsoft.AspNetCore.Http.Connections.Common.netcoreapp3.0.cs +++ b/src/SignalR/common/Http.Connections.Common/ref/Microsoft.AspNetCore.Http.Connections.Common.netcoreapp3.0.cs @@ -16,10 +16,10 @@ namespace Microsoft.AspNetCore.Http.Connections [System.FlagsAttribute] public enum HttpTransportType { - LongPolling = 4, None = 0, - ServerSentEvents = 2, WebSockets = 1, + ServerSentEvents = 2, + LongPolling = 4, } public static partial class NegotiateProtocol { diff --git a/src/SignalR/common/Http.Connections.Common/ref/Microsoft.AspNetCore.Http.Connections.Common.netstandard2.0.cs b/src/SignalR/common/Http.Connections.Common/ref/Microsoft.AspNetCore.Http.Connections.Common.netstandard2.0.cs index a8862263af..27d206da33 100644 --- a/src/SignalR/common/Http.Connections.Common/ref/Microsoft.AspNetCore.Http.Connections.Common.netstandard2.0.cs +++ b/src/SignalR/common/Http.Connections.Common/ref/Microsoft.AspNetCore.Http.Connections.Common.netstandard2.0.cs @@ -16,10 +16,10 @@ namespace Microsoft.AspNetCore.Http.Connections [System.FlagsAttribute] public enum HttpTransportType { - LongPolling = 4, None = 0, - ServerSentEvents = 2, WebSockets = 1, + ServerSentEvents = 2, + LongPolling = 4, } public static partial class NegotiateProtocol { diff --git a/src/SignalR/common/Http.Connections.Common/src/Microsoft.AspNetCore.Http.Connections.Common.csproj b/src/SignalR/common/Http.Connections.Common/src/Microsoft.AspNetCore.Http.Connections.Common.csproj index 533add06e1..29d4251866 100644 --- a/src/SignalR/common/Http.Connections.Common/src/Microsoft.AspNetCore.Http.Connections.Common.csproj +++ b/src/SignalR/common/Http.Connections.Common/src/Microsoft.AspNetCore.Http.Connections.Common.csproj @@ -20,14 +20,15 @@ </ItemGroup> <ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'" > - <Reference Include="Microsoft.Bcl.Json.Sources" /> - <Reference Include="System.Buffers" /> - <Reference Include="System.Runtime.CompilerServices.Unsafe" /> + <Reference Include="System.Text.Json" /> </ItemGroup> <ItemGroup Condition="'$(AspNetCoreMajorMinorVersion)' == '3.0'"> <!-- This dependency was replaced by System.Text.Json between 3.0 and 2.2. This suppression can be removed after 3.0 is complete. --> <SuppressBaselineReference Include="Newtonsoft.Json" /> + + <!-- System.Text.Json (for .NET Standard 2.0) and ShardFx bring System.Buffers in (transitively). No need for both here. --> + <SuppressBaselineReference Include="System.Buffers" /> </ItemGroup> </Project> diff --git a/src/SignalR/common/Http.Connections.Common/src/baseline.netcore.json b/src/SignalR/common/Http.Connections.Common/src/baseline.netcore.json deleted file mode 100644 index 10ccc50665..0000000000 --- a/src/SignalR/common/Http.Connections.Common/src/baseline.netcore.json +++ /dev/null @@ -1,267 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Http.Connections.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.Http.Connections.AvailableTransport", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Transport", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Transport", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TransferFormats", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList<System.String>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_TransferFormats", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IList<System.String>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Connections.HttpTransports", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "All", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.Connections.HttpTransportType", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Connections.HttpTransportType", - "Visibility": "Public", - "Kind": "Enumeration", - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "None", - "Parameters": [], - "GenericParameter": [], - "Literal": "0" - }, - { - "Kind": "Field", - "Name": "WebSockets", - "Parameters": [], - "GenericParameter": [], - "Literal": "1" - }, - { - "Kind": "Field", - "Name": "ServerSentEvents", - "Parameters": [], - "GenericParameter": [], - "Literal": "2" - }, - { - "Kind": "Field", - "Name": "LongPolling", - "Parameters": [], - "GenericParameter": [], - "Literal": "4" - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Connections.NegotiateProtocol", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "WriteResponse", - "Parameters": [ - { - "Name": "response", - "Type": "Microsoft.AspNetCore.Http.Connections.NegotiationResponse" - }, - { - "Name": "output", - "Type": "System.Buffers.IBufferWriter<System.Byte>" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ParseResponse", - "Parameters": [ - { - "Name": "content", - "Type": "System.IO.Stream" - } - ], - "ReturnType": "Microsoft.AspNetCore.Http.Connections.NegotiationResponse", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Connections.NegotiationResponse", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Url", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Url", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AccessToken", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AccessToken", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ConnectionId", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ConnectionId", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AvailableTransports", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList<Microsoft.AspNetCore.Http.Connections.AvailableTransport>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AvailableTransports", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IList<Microsoft.AspNetCore.Http.Connections.AvailableTransport>" - } - ], - "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/SignalR/common/Http.Connections/ref/Microsoft.AspNetCore.Http.Connections.netcoreapp3.0.cs b/src/SignalR/common/Http.Connections/ref/Microsoft.AspNetCore.Http.Connections.netcoreapp3.0.cs index cbf3c89743..78ca329b45 100644 --- a/src/SignalR/common/Http.Connections/ref/Microsoft.AspNetCore.Http.Connections.netcoreapp3.0.cs +++ b/src/SignalR/common/Http.Connections/ref/Microsoft.AspNetCore.Http.Connections.netcoreapp3.0.cs @@ -134,9 +134,9 @@ namespace Microsoft.AspNetCore.Http.Connections.Internal } public enum HttpConnectionStatus { + Inactive = 0, Active = 1, Disposed = 2, - Inactive = 0, } public static partial class ServerSentEventsMessageFormatter { diff --git a/src/SignalR/common/Http.Connections/src/baseline.netcore.json b/src/SignalR/common/Http.Connections/src/baseline.netcore.json deleted file mode 100644 index b03190ef17..0000000000 --- a/src/SignalR/common/Http.Connections/src/baseline.netcore.json +++ /dev/null @@ -1,469 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.Http.Connections, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.Http.Connections.ConnectionsRouteBuilder", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "MapConnections", - "Parameters": [ - { - "Name": "path", - "Type": "Microsoft.AspNetCore.Http.PathString" - }, - { - "Name": "configure", - "Type": "System.Action<Microsoft.AspNetCore.Connections.IConnectionBuilder>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MapConnections", - "Parameters": [ - { - "Name": "path", - "Type": "Microsoft.AspNetCore.Http.PathString" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Http.Connections.HttpConnectionDispatcherOptions" - }, - { - "Name": "configure", - "Type": "System.Action<Microsoft.AspNetCore.Connections.IConnectionBuilder>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MapConnectionHandler<T0>", - "Parameters": [ - { - "Name": "path", - "Type": "Microsoft.AspNetCore.Http.PathString" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TConnectionHandler", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Connections.ConnectionHandler" - ] - } - ] - }, - { - "Kind": "Method", - "Name": "MapConnectionHandler<T0>", - "Parameters": [ - { - "Name": "path", - "Type": "Microsoft.AspNetCore.Http.PathString" - }, - { - "Name": "configureOptions", - "Type": "System.Action<Microsoft.AspNetCore.Http.Connections.HttpConnectionDispatcherOptions>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TConnectionHandler", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.Connections.ConnectionHandler" - ] - } - ] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Connections.HttpConnectionContextExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetHttpContext", - "Parameters": [ - { - "Name": "connection", - "Type": "Microsoft.AspNetCore.Connections.ConnectionContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Http.HttpContext", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Connections.HttpConnectionDispatcherOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_AuthorizationData", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList<Microsoft.AspNetCore.Authorization.IAuthorizeData>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Transports", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.Connections.HttpTransportType", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Transports", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.Connections.HttpTransportType" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_WebSockets", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.Connections.WebSocketOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_LongPolling", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.Connections.LongPollingOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TransportMaxBufferSize", - "Parameters": [], - "ReturnType": "System.Int64", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_TransportMaxBufferSize", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int64" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ApplicationMaxBufferSize", - "Parameters": [], - "ReturnType": "System.Int64", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ApplicationMaxBufferSize", - "Parameters": [ - { - "Name": "value", - "Type": "System.Int64" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Connections.LongPollingOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_PollTimeout", - "Parameters": [], - "ReturnType": "System.TimeSpan", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_PollTimeout", - "Parameters": [ - { - "Name": "value", - "Type": "System.TimeSpan" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Connections.WebSocketOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_CloseTimeout", - "Parameters": [], - "ReturnType": "System.TimeSpan", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_CloseTimeout", - "Parameters": [ - { - "Name": "value", - "Type": "System.TimeSpan" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SubProtocolSelector", - "Parameters": [], - "ReturnType": "System.Func<System.Collections.Generic.IList<System.String>, System.String>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SubProtocolSelector", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func<System.Collections.Generic.IList<System.String>, System.String>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Connections.Features.IHttpContextFeature", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_HttpContext", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.HttpContext", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_HttpContext", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.Http.HttpContext" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.Connections.Features.IHttpTransportFeature", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_TransportType", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.Connections.HttpTransportType", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.ConnectionsAppBuilderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseConnections", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "configure", - "Type": "System.Action<Microsoft.AspNetCore.Http.Connections.ConnectionsRouteBuilder>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.Extensions.DependencyInjection.ConnectionsDependencyInjectionExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddConnections", - "Parameters": [ - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - } - ], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IServiceCollection", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "System.IO.Pipelines.DuplexPipe+DuplexPipePair", - "Visibility": "Public", - "Kind": "Struct", - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Transport", - "Parameters": [], - "ReturnType": "System.IO.Pipelines.IDuplexPipe", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Application", - "Parameters": [], - "ReturnType": "System.IO.Pipelines.IDuplexPipe", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "transport", - "Type": "System.IO.Pipelines.IDuplexPipe" - }, - { - "Name": "application", - "Type": "System.IO.Pipelines.IDuplexPipe" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/SignalR/common/Http.Connections/test/HttpConnectionDispatcherTests.cs b/src/SignalR/common/Http.Connections/test/HttpConnectionDispatcherTests.cs index 1df4120862..f25d0bdf2d 100644 --- a/src/SignalR/common/Http.Connections/test/HttpConnectionDispatcherTests.cs +++ b/src/SignalR/common/Http.Connections/test/HttpConnectionDispatcherTests.cs @@ -2077,7 +2077,7 @@ namespace Microsoft.AspNetCore.Http.Connections.Tests } [Fact] - [Flaky("https://github.com/aspnet/AspNetCore/issues/8138", FlakyOn.All)] + [Flaky("https://github.com/aspnet/AspNetCore-Internal/issues/1975", FlakyOn.All)] public async Task ErrorDuringPollWillCloseConnection() { bool ExpectedErrors(WriteContext writeContext) diff --git a/src/SignalR/common/Protocols.Json/ref/Microsoft.AspNetCore.SignalR.Protocols.Json.csproj b/src/SignalR/common/Protocols.Json/ref/Microsoft.AspNetCore.SignalR.Protocols.Json.csproj index 28a3dc0426..7e0ddcd3da 100644 --- a/src/SignalR/common/Protocols.Json/ref/Microsoft.AspNetCore.SignalR.Protocols.Json.csproj +++ b/src/SignalR/common/Protocols.Json/ref/Microsoft.AspNetCore.SignalR.Protocols.Json.csproj @@ -6,9 +6,6 @@ <ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'"> <Compile Include="Microsoft.AspNetCore.SignalR.Protocols.Json.netstandard2.0.cs" /> <Reference Include="Microsoft.AspNetCore.SignalR.Common" /> - <Reference Include="Microsoft.Bcl.Json.Sources" /> - <Reference Include="System.Buffers" /> - <Reference Include="System.Runtime.CompilerServices.Unsafe" /> </ItemGroup> <ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.0'"> <Compile Include="Microsoft.AspNetCore.SignalR.Protocols.Json.netcoreapp3.0.cs" /> diff --git a/src/SignalR/common/Protocols.Json/ref/Microsoft.AspNetCore.SignalR.Protocols.Json.netcoreapp3.0.cs b/src/SignalR/common/Protocols.Json/ref/Microsoft.AspNetCore.SignalR.Protocols.Json.netcoreapp3.0.cs index aa468508cd..1b48b3c31e 100644 --- a/src/SignalR/common/Protocols.Json/ref/Microsoft.AspNetCore.SignalR.Protocols.Json.netcoreapp3.0.cs +++ b/src/SignalR/common/Protocols.Json/ref/Microsoft.AspNetCore.SignalR.Protocols.Json.netcoreapp3.0.cs @@ -6,10 +6,7 @@ namespace Microsoft.AspNetCore.SignalR public partial class JsonHubProtocolOptions { public JsonHubProtocolOptions() { } - public bool AllowTrailingCommas { get { throw null; } set { } } - public bool IgnoreNullValues { get { throw null; } set { } } - public bool UseCamelCase { get { throw null; } set { } } - public bool WriteIndented { get { throw null; } set { } } + public System.Text.Json.Serialization.JsonSerializerOptions PayloadSerializerOptions { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } } } namespace Microsoft.AspNetCore.SignalR.Protocol @@ -18,7 +15,6 @@ namespace Microsoft.AspNetCore.SignalR.Protocol { public JsonHubProtocol() { } public JsonHubProtocol(Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.SignalR.JsonHubProtocolOptions> options) { } - public int MinorVersion { get { throw null; } } public string Name { get { throw null; } } public Microsoft.AspNetCore.Connections.TransferFormat TransferFormat { get { throw null; } } public int Version { get { throw null; } } diff --git a/src/SignalR/common/Protocols.Json/ref/Microsoft.AspNetCore.SignalR.Protocols.Json.netstandard2.0.cs b/src/SignalR/common/Protocols.Json/ref/Microsoft.AspNetCore.SignalR.Protocols.Json.netstandard2.0.cs index aa468508cd..1b48b3c31e 100644 --- a/src/SignalR/common/Protocols.Json/ref/Microsoft.AspNetCore.SignalR.Protocols.Json.netstandard2.0.cs +++ b/src/SignalR/common/Protocols.Json/ref/Microsoft.AspNetCore.SignalR.Protocols.Json.netstandard2.0.cs @@ -6,10 +6,7 @@ namespace Microsoft.AspNetCore.SignalR public partial class JsonHubProtocolOptions { public JsonHubProtocolOptions() { } - public bool AllowTrailingCommas { get { throw null; } set { } } - public bool IgnoreNullValues { get { throw null; } set { } } - public bool UseCamelCase { get { throw null; } set { } } - public bool WriteIndented { get { throw null; } set { } } + public System.Text.Json.Serialization.JsonSerializerOptions PayloadSerializerOptions { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } } } namespace Microsoft.AspNetCore.SignalR.Protocol @@ -18,7 +15,6 @@ namespace Microsoft.AspNetCore.SignalR.Protocol { public JsonHubProtocol() { } public JsonHubProtocol(Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.SignalR.JsonHubProtocolOptions> options) { } - public int MinorVersion { get { throw null; } } public string Name { get { throw null; } } public Microsoft.AspNetCore.Connections.TransferFormat TransferFormat { get { throw null; } } public int Version { get { throw null; } } diff --git a/src/SignalR/common/Protocols.Json/src/JsonHubProtocolOptions.cs b/src/SignalR/common/Protocols.Json/src/JsonHubProtocolOptions.cs index ca42ae3312..037f47f08c 100644 --- a/src/SignalR/common/Protocols.Json/src/JsonHubProtocolOptions.cs +++ b/src/SignalR/common/Protocols.Json/src/JsonHubProtocolOptions.cs @@ -11,30 +11,9 @@ namespace Microsoft.AspNetCore.SignalR /// </summary> public class JsonHubProtocolOptions { - internal readonly JsonSerializerOptions _serializerOptions; - - public JsonHubProtocolOptions() - { - _serializerOptions = JsonHubProtocol.CreateDefaultSerializerSettings(); - } - - public bool IgnoreNullValues { get => _serializerOptions.IgnoreNullValues; set => _serializerOptions.IgnoreNullValues = value; } - public bool WriteIndented { get => _serializerOptions.WriteIndented; set => _serializerOptions.WriteIndented = value; } - public bool AllowTrailingCommas { get => _serializerOptions.AllowTrailingCommas; set => _serializerOptions.AllowTrailingCommas = value; } - public bool UseCamelCase - { - get => _serializerOptions.PropertyNamingPolicy == JsonNamingPolicy.CamelCase; - set - { - if (value) - { - _serializerOptions.PropertyNamingPolicy = JsonNamingPolicy.CamelCase; - } - else - { - _serializerOptions.PropertyNamingPolicy = null; - } - } - } + /// <summary> + /// Gets or sets the settings used to serialize invocation arguments and return values. + /// </summary> + public JsonSerializerOptions PayloadSerializerOptions { get; set; } = JsonHubProtocol.CreateDefaultSerializerSettings(); } } diff --git a/src/SignalR/common/Protocols.Json/src/Microsoft.AspNetCore.SignalR.Protocols.Json.csproj b/src/SignalR/common/Protocols.Json/src/Microsoft.AspNetCore.SignalR.Protocols.Json.csproj index 763b8853d6..a252ecf33e 100644 --- a/src/SignalR/common/Protocols.Json/src/Microsoft.AspNetCore.SignalR.Protocols.Json.csproj +++ b/src/SignalR/common/Protocols.Json/src/Microsoft.AspNetCore.SignalR.Protocols.Json.csproj @@ -22,12 +22,6 @@ <Reference Include="Microsoft.AspNetCore.SignalR.Common" /> </ItemGroup> - <ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'"> - <Reference Include="Microsoft.Bcl.Json.Sources" /> - <Reference Include="System.Buffers" /> - <Reference Include="System.Runtime.CompilerServices.Unsafe" /> - </ItemGroup> - <ItemGroup Condition="'$(AspNetCoreMajorMinorVersion)' == '3.0'"> <!-- This dependency was replaced by System.Text.Json between 3.0 and 2.2. This suppression can be removed after 3.0 is complete. --> <SuppressBaselineReference Include="Newtonsoft.Json" /> diff --git a/src/SignalR/common/Protocols.Json/src/Protocol/JsonHubProtocol.cs b/src/SignalR/common/Protocols.Json/src/Protocol/JsonHubProtocol.cs index abed0026c1..e244479ecf 100644 --- a/src/SignalR/common/Protocols.Json/src/Protocol/JsonHubProtocol.cs +++ b/src/SignalR/common/Protocols.Json/src/Protocol/JsonHubProtocol.cs @@ -42,7 +42,6 @@ namespace Microsoft.AspNetCore.SignalR.Protocol private static readonly string ProtocolName = "json"; private static readonly int ProtocolVersion = 1; - private static readonly int ProtocolMinorVersion = 0; /// <summary> /// Gets the serializer used to serialize invocation arguments and return values. @@ -62,7 +61,7 @@ namespace Microsoft.AspNetCore.SignalR.Protocol /// <param name="options">The options used to initialize the protocol.</param> public JsonHubProtocol(IOptions<JsonHubProtocolOptions> options) { - _payloadSerializerOptions = options.Value._serializerOptions; + _payloadSerializerOptions = options.Value.PayloadSerializerOptions; } /// <inheritdoc /> @@ -71,9 +70,6 @@ namespace Microsoft.AspNetCore.SignalR.Protocol /// <inheritdoc /> public int Version => ProtocolVersion; - /// <inheritdoc /> - public int MinorVersion => ProtocolMinorVersion; - /// <inheritdoc /> public TransferFormat TransferFormat => TransferFormat.Text; diff --git a/src/SignalR/common/Protocols.MessagePack/ref/Microsoft.AspNetCore.SignalR.Protocols.MessagePack.netstandard2.0.cs b/src/SignalR/common/Protocols.MessagePack/ref/Microsoft.AspNetCore.SignalR.Protocols.MessagePack.netstandard2.0.cs index 6854f01d1c..ec222f2318 100644 --- a/src/SignalR/common/Protocols.MessagePack/ref/Microsoft.AspNetCore.SignalR.Protocols.MessagePack.netstandard2.0.cs +++ b/src/SignalR/common/Protocols.MessagePack/ref/Microsoft.AspNetCore.SignalR.Protocols.MessagePack.netstandard2.0.cs @@ -15,7 +15,6 @@ namespace Microsoft.AspNetCore.SignalR.Protocol { public MessagePackHubProtocol() { } public MessagePackHubProtocol(Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.SignalR.MessagePackHubProtocolOptions> options) { } - public int MinorVersion { get { throw null; } } public string Name { get { throw null; } } public Microsoft.AspNetCore.Connections.TransferFormat TransferFormat { get { throw null; } } public int Version { get { throw null; } } diff --git a/src/SignalR/common/Protocols.MessagePack/src/Protocol/MessagePackHubProtocol.cs b/src/SignalR/common/Protocols.MessagePack/src/Protocol/MessagePackHubProtocol.cs index 0fcbc54bea..44fe3eeaa0 100644 --- a/src/SignalR/common/Protocols.MessagePack/src/Protocol/MessagePackHubProtocol.cs +++ b/src/SignalR/common/Protocols.MessagePack/src/Protocol/MessagePackHubProtocol.cs @@ -29,7 +29,6 @@ namespace Microsoft.AspNetCore.SignalR.Protocol private static readonly string ProtocolName = "messagepack"; private static readonly int ProtocolVersion = 1; - private static readonly int ProtocolMinorVersion = 0; /// <inheritdoc /> public string Name => ProtocolName; @@ -37,9 +36,6 @@ namespace Microsoft.AspNetCore.SignalR.Protocol /// <inheritdoc /> public int Version => ProtocolVersion; - /// <inheritdoc /> - public int MinorVersion => ProtocolMinorVersion; - /// <inheritdoc /> public TransferFormat TransferFormat => TransferFormat.Binary; diff --git a/src/SignalR/common/Protocols.MessagePack/src/baseline.netcore.json b/src/SignalR/common/Protocols.MessagePack/src/baseline.netcore.json deleted file mode 100644 index 1aa4b1b686..0000000000 --- a/src/SignalR/common/Protocols.MessagePack/src/baseline.netcore.json +++ /dev/null @@ -1,245 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.SignalR.Protocols.MessagePack, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.Extensions.DependencyInjection.MessagePackProtocolDependencyInjectionExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddMessagePackProtocol<T0>", - "Parameters": [ - { - "Name": "builder", - "Type": "T0" - } - ], - "ReturnType": "T0", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TBuilder", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.SignalR.ISignalRBuilder" - ] - } - ] - }, - { - "Kind": "Method", - "Name": "AddMessagePackProtocol<T0>", - "Parameters": [ - { - "Name": "builder", - "Type": "T0" - }, - { - "Name": "configure", - "Type": "System.Action<Microsoft.AspNetCore.SignalR.MessagePackHubProtocolOptions>" - } - ], - "ReturnType": "T0", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TBuilder", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.SignalR.ISignalRBuilder" - ] - } - ] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.MessagePackHubProtocolOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_FormatterResolvers", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList<MessagePack.IFormatterResolver>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_FormatterResolvers", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IList<MessagePack.IFormatterResolver>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.Protocol.MessagePackHubProtocol", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Name", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Version", - "Parameters": [], - "ReturnType": "System.Int32", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TransferFormat", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Connections.TransferFormat", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsVersionSupported", - "Parameters": [ - { - "Name": "version", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TryParseMessage", - "Parameters": [ - { - "Name": "input", - "Type": "System.Buffers.ReadOnlySequence<System.Byte>", - "Direction": "Ref" - }, - { - "Name": "binder", - "Type": "Microsoft.AspNetCore.SignalR.IInvocationBinder" - }, - { - "Name": "message", - "Type": "Microsoft.AspNetCore.SignalR.Protocol.HubMessage", - "Direction": "Out" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteMessage", - "Parameters": [ - { - "Name": "message", - "Type": "Microsoft.AspNetCore.SignalR.Protocol.HubMessage" - }, - { - "Name": "output", - "Type": "System.Buffers.IBufferWriter<System.Byte>" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetMessageBytes", - "Parameters": [ - { - "Name": "message", - "Type": "Microsoft.AspNetCore.SignalR.Protocol.HubMessage" - } - ], - "ReturnType": "System.ReadOnlyMemory<System.Byte>", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.SignalR.MessagePackHubProtocolOptions>" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/SignalR/common/Protocols.NewtonsoftJson/ref/Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson.netstandard2.0.cs b/src/SignalR/common/Protocols.NewtonsoftJson/ref/Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson.netstandard2.0.cs index ad4c03b106..e04928abf7 100644 --- a/src/SignalR/common/Protocols.NewtonsoftJson/ref/Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson.netstandard2.0.cs +++ b/src/SignalR/common/Protocols.NewtonsoftJson/ref/Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson.netstandard2.0.cs @@ -15,7 +15,6 @@ namespace Microsoft.AspNetCore.SignalR.Protocol { public NewtonsoftJsonHubProtocol() { } public NewtonsoftJsonHubProtocol(Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.SignalR.NewtonsoftJsonHubProtocolOptions> options) { } - public int MinorVersion { get { throw null; } } public string Name { get { throw null; } } public Newtonsoft.Json.JsonSerializer PayloadSerializer { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } public Microsoft.AspNetCore.Connections.TransferFormat TransferFormat { get { throw null; } } diff --git a/src/SignalR/common/Protocols.NewtonsoftJson/src/Protocol/NewtonsoftJsonHubProtocol.cs b/src/SignalR/common/Protocols.NewtonsoftJson/src/Protocol/NewtonsoftJsonHubProtocol.cs index 69d71900b4..420d32d9b5 100644 --- a/src/SignalR/common/Protocols.NewtonsoftJson/src/Protocol/NewtonsoftJsonHubProtocol.cs +++ b/src/SignalR/common/Protocols.NewtonsoftJson/src/Protocol/NewtonsoftJsonHubProtocol.cs @@ -33,7 +33,6 @@ namespace Microsoft.AspNetCore.SignalR.Protocol private static readonly string ProtocolName = "json"; private static readonly int ProtocolVersion = 1; - private static readonly int ProtocolMinorVersion = 0; /// <summary> /// Gets the serializer used to serialize invocation arguments and return values. @@ -62,9 +61,6 @@ namespace Microsoft.AspNetCore.SignalR.Protocol /// <inheritdoc /> public int Version => ProtocolVersion; - /// <inheritdoc /> - public int MinorVersion => ProtocolMinorVersion; - /// <inheritdoc /> public TransferFormat TransferFormat => TransferFormat.Text; diff --git a/src/SignalR/common/Protocols.NewtonsoftJson/src/baseline.netcore.json b/src/SignalR/common/Protocols.NewtonsoftJson/src/baseline.netcore.json deleted file mode 100644 index 8f3594eef6..0000000000 --- a/src/SignalR/common/Protocols.NewtonsoftJson/src/baseline.netcore.json +++ /dev/null @@ -1,253 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson, Version=3.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.Extensions.DependencyInjection.NewtonsoftJsonProtocolDependencyInjectionExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddNewtonsoftJsonProtocol<T0>", - "Parameters": [ - { - "Name": "builder", - "Type": "T0" - } - ], - "ReturnType": "T0", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TBuilder", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.SignalR.ISignalRBuilder" - ] - } - ] - }, - { - "Kind": "Method", - "Name": "AddNewtonsoftJsonProtocol<T0>", - "Parameters": [ - { - "Name": "builder", - "Type": "T0" - }, - { - "Name": "configure", - "Type": "System.Action<Microsoft.AspNetCore.SignalR.NewtonsoftJsonHubProtocolOptions>" - } - ], - "ReturnType": "T0", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "TBuilder", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.SignalR.ISignalRBuilder" - ] - } - ] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.NewtonsoftJsonHubProtocolOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_PayloadSerializerSettings", - "Parameters": [], - "ReturnType": "Newtonsoft.Json.JsonSerializerSettings", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_PayloadSerializerSettings", - "Parameters": [ - { - "Name": "value", - "Type": "Newtonsoft.Json.JsonSerializerSettings" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.Protocol.NewtonsoftJsonHubProtocol", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_PayloadSerializer", - "Parameters": [], - "ReturnType": "Newtonsoft.Json.JsonSerializer", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Name", - "Parameters": [], - "ReturnType": "System.String", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Version", - "Parameters": [], - "ReturnType": "System.Int32", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TransferFormat", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Connections.TransferFormat", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsVersionSupported", - "Parameters": [ - { - "Name": "version", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TryParseMessage", - "Parameters": [ - { - "Name": "input", - "Type": "System.Buffers.ReadOnlySequence<System.Byte>", - "Direction": "Ref" - }, - { - "Name": "binder", - "Type": "Microsoft.AspNetCore.SignalR.IInvocationBinder" - }, - { - "Name": "message", - "Type": "Microsoft.AspNetCore.SignalR.Protocol.HubMessage", - "Direction": "Out" - } - ], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteMessage", - "Parameters": [ - { - "Name": "message", - "Type": "Microsoft.AspNetCore.SignalR.Protocol.HubMessage" - }, - { - "Name": "output", - "Type": "System.Buffers.IBufferWriter<System.Byte>" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetMessageBytes", - "Parameters": [ - { - "Name": "message", - "Type": "Microsoft.AspNetCore.SignalR.Protocol.HubMessage" - } - ], - "ReturnType": "System.ReadOnlyMemory<System.Byte>", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.SignalR.NewtonsoftJsonHubProtocolOptions>" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/SignalR/common/Shared/ReflectionHelper.cs b/src/SignalR/common/Shared/ReflectionHelper.cs index 890b9e9adc..9a7b3371a6 100644 --- a/src/SignalR/common/Shared/ReflectionHelper.cs +++ b/src/SignalR/common/Shared/ReflectionHelper.cs @@ -38,6 +38,11 @@ namespace Microsoft.AspNetCore.SignalR #if NETCOREAPP3_0 public static bool IsIAsyncEnumerable(Type type) { + if (type.IsGenericType) + { + return type.GetGenericTypeDefinition() == typeof(IAsyncEnumerable<>); + } + return type.GetInterfaces().Any(t => { if (t.IsGenericType) diff --git a/src/SignalR/common/SignalR.Common/ref/Microsoft.AspNetCore.SignalR.Common.csproj b/src/SignalR/common/SignalR.Common/ref/Microsoft.AspNetCore.SignalR.Common.csproj index aa6ace09f8..e1fb26d63e 100644 --- a/src/SignalR/common/SignalR.Common/ref/Microsoft.AspNetCore.SignalR.Common.csproj +++ b/src/SignalR/common/SignalR.Common/ref/Microsoft.AspNetCore.SignalR.Common.csproj @@ -7,9 +7,7 @@ <Compile Include="Microsoft.AspNetCore.SignalR.Common.netstandard2.0.cs" /> <Reference Include="Microsoft.AspNetCore.Connections.Abstractions" /> <Reference Include="Microsoft.Extensions.Options" /> - <Reference Include="Microsoft.Bcl.Json.Sources" /> - <Reference Include="System.Buffers" /> - <Reference Include="System.Runtime.CompilerServices.Unsafe" /> + <Reference Include="System.Text.Json" /> </ItemGroup> <ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.0'"> <Compile Include="Microsoft.AspNetCore.SignalR.Common.netcoreapp3.0.cs" /> diff --git a/src/SignalR/common/SignalR.Common/ref/Microsoft.AspNetCore.SignalR.Common.netcoreapp3.0.cs b/src/SignalR/common/SignalR.Common/ref/Microsoft.AspNetCore.SignalR.Common.netcoreapp3.0.cs index b2537951c2..9e20659d98 100644 --- a/src/SignalR/common/SignalR.Common/ref/Microsoft.AspNetCore.SignalR.Common.netcoreapp3.0.cs +++ b/src/SignalR/common/SignalR.Common/ref/Microsoft.AspNetCore.SignalR.Common.netcoreapp3.0.cs @@ -61,11 +61,8 @@ namespace Microsoft.AspNetCore.SignalR.Protocol public partial class HandshakeResponseMessage : Microsoft.AspNetCore.SignalR.Protocol.HubMessage { public static readonly Microsoft.AspNetCore.SignalR.Protocol.HandshakeResponseMessage Empty; - public HandshakeResponseMessage(int minorVersion) { } - public HandshakeResponseMessage(int? minorVersion, string error) { } public HandshakeResponseMessage(string error) { } public string Error { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } - public int MinorVersion { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } } public abstract partial class HubInvocationMessage : Microsoft.AspNetCore.SignalR.Protocol.HubMessage { @@ -101,7 +98,6 @@ namespace Microsoft.AspNetCore.SignalR.Protocol } public partial interface IHubProtocol { - int MinorVersion { get; } string Name { get; } Microsoft.AspNetCore.Connections.TransferFormat TransferFormat { get; } int Version { get; } diff --git a/src/SignalR/common/SignalR.Common/ref/Microsoft.AspNetCore.SignalR.Common.netstandard2.0.cs b/src/SignalR/common/SignalR.Common/ref/Microsoft.AspNetCore.SignalR.Common.netstandard2.0.cs index b2537951c2..9e20659d98 100644 --- a/src/SignalR/common/SignalR.Common/ref/Microsoft.AspNetCore.SignalR.Common.netstandard2.0.cs +++ b/src/SignalR/common/SignalR.Common/ref/Microsoft.AspNetCore.SignalR.Common.netstandard2.0.cs @@ -61,11 +61,8 @@ namespace Microsoft.AspNetCore.SignalR.Protocol public partial class HandshakeResponseMessage : Microsoft.AspNetCore.SignalR.Protocol.HubMessage { public static readonly Microsoft.AspNetCore.SignalR.Protocol.HandshakeResponseMessage Empty; - public HandshakeResponseMessage(int minorVersion) { } - public HandshakeResponseMessage(int? minorVersion, string error) { } public HandshakeResponseMessage(string error) { } public string Error { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } - public int MinorVersion { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } } public abstract partial class HubInvocationMessage : Microsoft.AspNetCore.SignalR.Protocol.HubMessage { @@ -101,7 +98,6 @@ namespace Microsoft.AspNetCore.SignalR.Protocol } public partial interface IHubProtocol { - int MinorVersion { get; } string Name { get; } Microsoft.AspNetCore.Connections.TransferFormat TransferFormat { get; } int Version { get; } diff --git a/src/SignalR/common/SignalR.Common/src/Microsoft.AspNetCore.SignalR.Common.csproj b/src/SignalR/common/SignalR.Common/src/Microsoft.AspNetCore.SignalR.Common.csproj index 4370a504b1..d1ba59a3eb 100644 --- a/src/SignalR/common/SignalR.Common/src/Microsoft.AspNetCore.SignalR.Common.csproj +++ b/src/SignalR/common/SignalR.Common/src/Microsoft.AspNetCore.SignalR.Common.csproj @@ -25,14 +25,15 @@ </ItemGroup> <ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'"> - <Reference Include="Microsoft.Bcl.Json.Sources" /> - <Reference Include="System.Buffers" /> - <Reference Include="System.Runtime.CompilerServices.Unsafe" /> + <Reference Include="System.Text.Json" /> </ItemGroup> <ItemGroup Condition="'$(AspNetCoreMajorMinorVersion)' == '3.0'"> <!-- This dependency was replaced by System.Text.Json between 3.0 and 2.2. This suppression can be removed after 3.0 is complete. --> <SuppressBaselineReference Include="Newtonsoft.Json" /> + + <!-- System.Text.Json (for .NET Standard 2.0) and ShardFx bring System.Buffers in (transitively). No need for both here. --> + <SuppressBaselineReference Include="System.Buffers" /> </ItemGroup> </Project> diff --git a/src/SignalR/common/SignalR.Common/src/Protocol/HandshakeProtocol.cs b/src/SignalR/common/SignalR.Common/src/Protocol/HandshakeProtocol.cs index 283bafcb29..7aa032d9e2 100644 --- a/src/SignalR/common/SignalR.Common/src/Protocol/HandshakeProtocol.cs +++ b/src/SignalR/common/SignalR.Common/src/Protocol/HandshakeProtocol.cs @@ -23,8 +23,6 @@ namespace Microsoft.AspNetCore.SignalR.Protocol private static ReadOnlySpan<byte> ProtocolPropertyNameBytes => new byte[] { (byte)'p', (byte)'r', (byte)'o', (byte)'t', (byte)'o', (byte)'c', (byte)'o', (byte)'l' }; private const string ProtocolVersionPropertyName = "version"; private static ReadOnlySpan<byte> ProtocolVersionPropertyNameBytes => new byte[] { (byte)'v', (byte)'e', (byte)'r', (byte)'s', (byte)'i', (byte)'o', (byte)'n' }; - private const string MinorVersionPropertyName = "minorVersion"; - private static ReadOnlySpan<byte> MinorVersionPropertyNameBytes => new byte[] { (byte)'m', (byte)'i', (byte)'n', (byte)'o', (byte)'r', (byte)'V', (byte)'e', (byte)'r', (byte)'s', (byte)'i', (byte)'o', (byte)'n' }; private const string ErrorPropertyName = "error"; private static ReadOnlySpan<byte> ErrorPropertyNameBytes => new byte[] { (byte)'e', (byte)'r', (byte)'r', (byte)'o', (byte)'r' }; private const string TypePropertyName = "type"; @@ -40,7 +38,7 @@ namespace Microsoft.AspNetCore.SignalR.Protocol var memoryBufferWriter = MemoryBufferWriter.Get(); try { - WriteResponseMessage(new HandshakeResponseMessage(protocol.MinorVersion), memoryBufferWriter); + WriteResponseMessage(HandshakeResponseMessage.Empty, memoryBufferWriter); result = memoryBufferWriter.ToArray(); _messageCache.TryAdd(protocol, result); } @@ -100,8 +98,6 @@ namespace Microsoft.AspNetCore.SignalR.Protocol writer.WriteString(ErrorPropertyNameBytes, responseMessage.Error); } - writer.WriteNumber(MinorVersionPropertyNameBytes, responseMessage.MinorVersion); - writer.WriteEndObject(); writer.Flush(); Debug.Assert(writer.CurrentDepth == 0); @@ -133,7 +129,6 @@ namespace Microsoft.AspNetCore.SignalR.Protocol reader.CheckRead(); reader.EnsureObjectStart(); - int? minorVersion = null; string error = null; while (reader.CheckRead()) @@ -150,10 +145,6 @@ namespace Microsoft.AspNetCore.SignalR.Protocol { error = reader.ReadAsString(ErrorPropertyName); } - else if (reader.TextEquals(MinorVersionPropertyNameBytes)) - { - minorVersion = reader.ReadAsInt32(MinorVersionPropertyName); - } else { reader.Skip(); @@ -169,7 +160,7 @@ namespace Microsoft.AspNetCore.SignalR.Protocol } }; - responseMessage = new HandshakeResponseMessage(minorVersion, error); + responseMessage = new HandshakeResponseMessage(error); return true; } diff --git a/src/SignalR/common/SignalR.Common/src/Protocol/HandshakeResponseMessage.cs b/src/SignalR/common/SignalR.Common/src/Protocol/HandshakeResponseMessage.cs index 9e2454bbe9..836da79bb4 100644 --- a/src/SignalR/common/SignalR.Common/src/Protocol/HandshakeResponseMessage.cs +++ b/src/SignalR/common/SignalR.Common/src/Protocol/HandshakeResponseMessage.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. namespace Microsoft.AspNetCore.SignalR.Protocol @@ -18,34 +18,13 @@ namespace Microsoft.AspNetCore.SignalR.Protocol /// </summary> public string Error { get; } - /// <summary> - /// Highest minor protocol version that the server supports. - /// </summary> - public int MinorVersion { get; } - /// <summary> /// Initializes a new instance of the <see cref="HandshakeResponseMessage"/> class. /// An error response does need a minor version. Since the handshake has failed, any extra data will be ignored. /// </summary> /// <param name="error">Error encountered by the server, indicating why the handshake has failed.</param> - public HandshakeResponseMessage(string error) : this(null, error) { } - - /// <summary> - /// Initializes a new instance of the <see cref="HandshakeResponseMessage"/> class. - /// A reponse with a minor version indicates success, and doesn't require an error field. - /// </summary> - /// <param name="minorVersion">The highest protocol minor version that the server supports.</param> - public HandshakeResponseMessage(int minorVersion) : this(minorVersion, null) { } - - /// <summary> - /// Initializes a new instance of the <see cref="HandshakeResponseMessage"/> class. - /// </summary> - /// <param name="error">Error encountered by the server, indicating why the handshake has failed.</param> - /// <param name="minorVersion">The highest protocol minor version that the server supports.</param> - public HandshakeResponseMessage(int? minorVersion, string error) + public HandshakeResponseMessage(string error) { - // MinorVersion defaults to 0, because old servers don't send a minor version - MinorVersion = minorVersion ?? 0; Error = error; } } diff --git a/src/SignalR/common/SignalR.Common/src/Protocol/IHubProtocol.cs b/src/SignalR/common/SignalR.Common/src/Protocol/IHubProtocol.cs index 99b7fe5d36..b235e14e54 100644 --- a/src/SignalR/common/SignalR.Common/src/Protocol/IHubProtocol.cs +++ b/src/SignalR/common/SignalR.Common/src/Protocol/IHubProtocol.cs @@ -22,11 +22,6 @@ namespace Microsoft.AspNetCore.SignalR.Protocol /// </summary> int Version { get; } - /// <summary> - /// Gets the minor version of the protocol. - /// </summary> - int MinorVersion { get; } - /// <summary> /// Gets the transfer format of the protocol. /// </summary> diff --git a/src/SignalR/common/SignalR.Common/src/baseline.netcore.json b/src/SignalR/common/SignalR.Common/src/baseline.netcore.json deleted file mode 100644 index 6bb855519a..0000000000 --- a/src/SignalR/common/SignalR.Common/src/baseline.netcore.json +++ /dev/null @@ -1,1011 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.SignalR.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.SignalR.HubException", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Exception", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "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": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "info", - "Type": "System.Runtime.Serialization.SerializationInfo" - }, - { - "Name": "context", - "Type": "System.Runtime.Serialization.StreamingContext" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.IInvocationBinder", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetReturnType", - "Parameters": [ - { - "Name": "invocationId", - "Type": "System.String" - } - ], - "ReturnType": "System.Type", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetParameterTypes", - "Parameters": [ - { - "Name": "methodName", - "Type": "System.String" - } - ], - "ReturnType": "System.Collections.Generic.IReadOnlyList<System.Type>", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.ISignalRBuilder", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Services", - "Parameters": [], - "ReturnType": "Microsoft.Extensions.DependencyInjection.IServiceCollection", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.Protocol.CancelInvocationMessage", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.SignalR.Protocol.HubInvocationMessage", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "invocationId", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.Protocol.CloseMessage", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.SignalR.Protocol.HubMessage", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Error", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "error", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "Empty", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.SignalR.Protocol.CloseMessage", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.Protocol.CompletionMessage", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.SignalR.Protocol.HubInvocationMessage", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Error", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Result", - "Parameters": [], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_HasResult", - "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": "WithError", - "Parameters": [ - { - "Name": "invocationId", - "Type": "System.String" - }, - { - "Name": "error", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.SignalR.Protocol.CompletionMessage", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WithResult", - "Parameters": [ - { - "Name": "invocationId", - "Type": "System.String" - }, - { - "Name": "payload", - "Type": "System.Object" - } - ], - "ReturnType": "Microsoft.AspNetCore.SignalR.Protocol.CompletionMessage", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Empty", - "Parameters": [ - { - "Name": "invocationId", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.SignalR.Protocol.CompletionMessage", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "invocationId", - "Type": "System.String" - }, - { - "Name": "error", - "Type": "System.String" - }, - { - "Name": "result", - "Type": "System.Object" - }, - { - "Name": "hasResult", - "Type": "System.Boolean" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.Protocol.HandshakeProtocol", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "WriteRequestMessage", - "Parameters": [ - { - "Name": "requestMessage", - "Type": "Microsoft.AspNetCore.SignalR.Protocol.HandshakeRequestMessage" - }, - { - "Name": "output", - "Type": "System.Buffers.IBufferWriter<System.Byte>" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteResponseMessage", - "Parameters": [ - { - "Name": "responseMessage", - "Type": "Microsoft.AspNetCore.SignalR.Protocol.HandshakeResponseMessage" - }, - { - "Name": "output", - "Type": "System.Buffers.IBufferWriter<System.Byte>" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TryParseResponseMessage", - "Parameters": [ - { - "Name": "buffer", - "Type": "System.Buffers.ReadOnlySequence<System.Byte>", - "Direction": "Ref" - }, - { - "Name": "responseMessage", - "Type": "Microsoft.AspNetCore.SignalR.Protocol.HandshakeResponseMessage", - "Direction": "Out" - } - ], - "ReturnType": "System.Boolean", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TryParseRequestMessage", - "Parameters": [ - { - "Name": "buffer", - "Type": "System.Buffers.ReadOnlySequence<System.Byte>", - "Direction": "Ref" - }, - { - "Name": "requestMessage", - "Type": "Microsoft.AspNetCore.SignalR.Protocol.HandshakeRequestMessage", - "Direction": "Out" - } - ], - "ReturnType": "System.Boolean", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "SuccessHandshakeData", - "Parameters": [], - "ReturnType": "System.ReadOnlyMemory<System.Byte>", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.Protocol.HandshakeRequestMessage", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.SignalR.Protocol.HubMessage", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Protocol", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Version", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "protocol", - "Type": "System.String" - }, - { - "Name": "version", - "Type": "System.Int32" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.Protocol.HandshakeResponseMessage", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.SignalR.Protocol.HubMessage", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Error", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "error", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "Empty", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.SignalR.Protocol.HandshakeResponseMessage", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.Protocol.HubInvocationMessage", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "BaseType": "Microsoft.AspNetCore.SignalR.Protocol.HubMessage", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Headers", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary<System.String, System.String>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Headers", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IDictionary<System.String, System.String>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_InvocationId", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "invocationId", - "Type": "System.String" - } - ], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.Protocol.HubMessage", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.Protocol.HubMethodInvocationMessage", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "BaseType": "Microsoft.AspNetCore.SignalR.Protocol.HubInvocationMessage", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Target", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Arguments", - "Parameters": [], - "ReturnType": "System.Object[]", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "invocationId", - "Type": "System.String" - }, - { - "Name": "target", - "Type": "System.String" - }, - { - "Name": "arguments", - "Type": "System.Object[]" - } - ], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.Protocol.InvocationMessage", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.SignalR.Protocol.HubMethodInvocationMessage", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ToString", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "target", - "Type": "System.String" - }, - { - "Name": "arguments", - "Type": "System.Object[]" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "invocationId", - "Type": "System.String" - }, - { - "Name": "target", - "Type": "System.String" - }, - { - "Name": "arguments", - "Type": "System.Object[]" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.Protocol.StreamInvocationMessage", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.SignalR.Protocol.HubMethodInvocationMessage", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "ToString", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "invocationId", - "Type": "System.String" - }, - { - "Name": "target", - "Type": "System.String" - }, - { - "Name": "arguments", - "Type": "System.Object[]" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.Protocol.HubProtocolConstants", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "InvocationMessageType", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "1" - }, - { - "Kind": "Field", - "Name": "StreamItemMessageType", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "2" - }, - { - "Kind": "Field", - "Name": "CompletionMessageType", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "3" - }, - { - "Kind": "Field", - "Name": "StreamInvocationMessageType", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "4" - }, - { - "Kind": "Field", - "Name": "CancelInvocationMessageType", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "5" - }, - { - "Kind": "Field", - "Name": "PingMessageType", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "6" - }, - { - "Kind": "Field", - "Name": "CloseMessageType", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "7" - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.Protocol.HubProtocolExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetMessageBytes", - "Parameters": [ - { - "Name": "hubProtocol", - "Type": "Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol" - }, - { - "Name": "message", - "Type": "Microsoft.AspNetCore.SignalR.Protocol.HubMessage" - } - ], - "ReturnType": "System.Byte[]", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Name", - "Parameters": [], - "ReturnType": "System.String", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Version", - "Parameters": [], - "ReturnType": "System.Int32", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TransferFormat", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Connections.TransferFormat", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "TryParseMessage", - "Parameters": [ - { - "Name": "input", - "Type": "System.Buffers.ReadOnlySequence<System.Byte>", - "Direction": "Ref" - }, - { - "Name": "binder", - "Type": "Microsoft.AspNetCore.SignalR.IInvocationBinder" - }, - { - "Name": "message", - "Type": "Microsoft.AspNetCore.SignalR.Protocol.HubMessage", - "Direction": "Out" - } - ], - "ReturnType": "System.Boolean", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteMessage", - "Parameters": [ - { - "Name": "message", - "Type": "Microsoft.AspNetCore.SignalR.Protocol.HubMessage" - }, - { - "Name": "output", - "Type": "System.Buffers.IBufferWriter<System.Byte>" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetMessageBytes", - "Parameters": [ - { - "Name": "message", - "Type": "Microsoft.AspNetCore.SignalR.Protocol.HubMessage" - } - ], - "ReturnType": "System.ReadOnlyMemory<System.Byte>", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "IsVersionSupported", - "Parameters": [ - { - "Name": "version", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Boolean", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.Protocol.InvocationBindingFailureMessage", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.SignalR.Protocol.HubInvocationMessage", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_BindingFailure", - "Parameters": [], - "ReturnType": "System.Runtime.ExceptionServices.ExceptionDispatchInfo", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Target", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "invocationId", - "Type": "System.String" - }, - { - "Name": "target", - "Type": "System.String" - }, - { - "Name": "bindingFailure", - "Type": "System.Runtime.ExceptionServices.ExceptionDispatchInfo" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.Protocol.PingMessage", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.SignalR.Protocol.HubMessage", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "Instance", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.SignalR.Protocol.PingMessage", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.Protocol.StreamItemMessage", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.SignalR.Protocol.HubInvocationMessage", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Item", - "Parameters": [], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ToString", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "invocationId", - "Type": "System.String" - }, - { - "Name": "item", - "Type": "System.Object" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/SignalR/common/SignalR.Common/src/breakingchanges.netcore.json b/src/SignalR/common/SignalR.Common/src/breakingchanges.netcore.json deleted file mode 100644 index ac9bc43e9f..0000000000 --- a/src/SignalR/common/SignalR.Common/src/breakingchanges.netcore.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "TypeId": "public static class Microsoft.AspNetCore.SignalR.Protocol.HandshakeProtocol", - "MemberId": "public static System.ReadOnlyMemory<System.Byte> SuccessHandshakeData", - "Kind": "Removal" - }, - { - "TypeId": "public interface Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol", - "MemberId": "System.Int32 get_MinorVersion()", - "Kind": "Addition" - }, - { - "TypeId": "public interface Microsoft.AspNetCore.SignalR.IInvocationBinder", - "MemberId": "System.Type GetStreamItemType(System.String streamId)", - "Kind": "Addition" - } -] \ No newline at end of file diff --git a/src/SignalR/common/SignalR.Common/test/Internal/Protocol/HandshakeProtocolTests.cs b/src/SignalR/common/SignalR.Common/test/Internal/Protocol/HandshakeProtocolTests.cs index 58bc7b2b70..27560c502a 100644 --- a/src/SignalR/common/SignalR.Common/test/Internal/Protocol/HandshakeProtocolTests.cs +++ b/src/SignalR/common/SignalR.Common/test/Internal/Protocol/HandshakeProtocolTests.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.Buffers; @@ -59,17 +59,6 @@ namespace Microsoft.AspNetCore.SignalR.Common.Tests.Internal.Protocol Assert.Equal("dummy", response.Error); } - [Theory] - [InlineData("{\"error\":\"\",\"minorVersion\":34}\u001e", 34)] - [InlineData("{\"error\":\"flump flump flump\",\"minorVersion\":112}\u001e", 112)] - public void ParsingResponseMessageGivesMinorVersion(string json, int version) - { - var message = new ReadOnlySequence<byte>(Encoding.UTF8.GetBytes(json)); - - Assert.True(HandshakeProtocol.TryParseResponseMessage(ref message, out var response)); - Assert.Equal(version, response.MinorVersion); - } - [Fact] public void ParsingHandshakeRequestNotCompleteReturnsFalse() { diff --git a/src/SignalR/common/SignalR.Common/test/Internal/Protocol/JsonHubProtocolTests.cs b/src/SignalR/common/SignalR.Common/test/Internal/Protocol/JsonHubProtocolTests.cs index f6de0069aa..5ef05d6e4e 100644 --- a/src/SignalR/common/SignalR.Common/test/Internal/Protocol/JsonHubProtocolTests.cs +++ b/src/SignalR/common/SignalR.Common/test/Internal/Protocol/JsonHubProtocolTests.cs @@ -7,6 +7,7 @@ using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; +using System.Text.Json.Serialization; using Microsoft.AspNetCore.Internal; using Microsoft.AspNetCore.SignalR.Protocol; using Microsoft.Extensions.Options; @@ -14,6 +15,8 @@ using Xunit; namespace Microsoft.AspNetCore.SignalR.Common.Tests.Internal.Protocol { + using static HubMessageHelpers; + public class JsonHubProtocolTests : JsonHubProtocolTestsBase { protected override IHubProtocol JsonHubProtocol => new JsonHubProtocol(); @@ -22,8 +25,11 @@ namespace Microsoft.AspNetCore.SignalR.Common.Tests.Internal.Protocol { var protocolOptions = new JsonHubProtocolOptions() { - IgnoreNullValues = ignoreNullValues, - UseCamelCase = useCamelCase, + PayloadSerializerOptions = new JsonSerializerOptions() + { + IgnoreNullValues = ignoreNullValues, + PropertyNamingPolicy = useCamelCase ? JsonNamingPolicy.CamelCase : null + } }; return new JsonHubProtocol(Options.Create(protocolOptions)); @@ -98,27 +104,33 @@ namespace Microsoft.AspNetCore.SignalR.Common.Tests.Internal.Protocol public static IDictionary<string, JsonProtocolTestData> CustomProtocolTestData => new[] { new JsonProtocolTestData("InvocationMessage_HasFloatArgument", new InvocationMessage(null, "Target", new object[] { 1, "Foo", 2.0f }), true, true, "{\"type\":1,\"target\":\"Target\",\"arguments\":[1,\"Foo\",2]}"), - new JsonProtocolTestData("StreamItemMessage_HasFloatItem", new StreamItemMessage("123", 2.0f), true, true, "{\"type\":2,\"invocationId\":\"123\",\"item\":2}"), - new JsonProtocolTestData("CompletionMessage_HasFloatResult", CompletionMessage.WithResult("123", 2.0f), true, true, "{\"type\":3,\"invocationId\":\"123\",\"result\":2}"), - new JsonProtocolTestData("StreamInvocationMessage_HasFloatArgument", new StreamInvocationMessage("123", "Target", new object[] { 1, "Foo", 2.0f }), true, true, "{\"type\":4,\"invocationId\":\"123\",\"target\":\"Target\",\"arguments\":[1,\"Foo\",2]}"), new JsonProtocolTestData("InvocationMessage_StringIsoDateArgument", new InvocationMessage("Method", new object[] { "2016-05-10T13:51:20+12:34" }), true, true, "{\"type\":1,\"target\":\"Method\",\"arguments\":[\"2016-05-10T13:51:20\\u002b12:34\"]}"), new JsonProtocolTestData("InvocationMessage_HasCustomArgumentWithNoCamelCase", new InvocationMessage(null, "Target", new object[] { new TemporaryCustomObject() { ByteArrProp = new byte[] { 1, 2, 3 } } }), false, true, "{\"type\":1,\"target\":\"Target\",\"arguments\":[{\"StringProp\":\"SignalR!\",\"DoubleProp\":6.2831853071,\"IntProp\":42,\"DateTimeProp\":\"2017-04-11T00:00:00Z\",\"ByteArrProp\":[1,2,3]}]}"), new JsonProtocolTestData("InvocationMessage_HasCustomArgumentWithNullValueIgnore", new InvocationMessage(null, "Target", new object[] { new TemporaryCustomObject() { ByteArrProp = new byte[] { 1, 2, 3 } } }), true, true, "{\"type\":1,\"target\":\"Target\",\"arguments\":[{\"stringProp\":\"SignalR!\",\"doubleProp\":6.2831853071,\"intProp\":42,\"dateTimeProp\":\"2017-04-11T00:00:00Z\",\"byteArrProp\":[1,2,3]}]}"), new JsonProtocolTestData("InvocationMessage_HasCustomArgumentWithNullValueIgnoreAndNoCamelCase", new InvocationMessage(null, "Target", new object[] { new TemporaryCustomObject() { ByteArrProp = new byte[] { 1, 2, 3 } } }), false, false, "{\"type\":1,\"target\":\"Target\",\"arguments\":[{\"StringProp\":\"SignalR!\",\"DoubleProp\":6.2831853071,\"IntProp\":42,\"DateTimeProp\":\"2017-04-11T00:00:00Z\",\"NullProp\":null,\"ByteArrProp\":[1,2,3]}]}"), new JsonProtocolTestData("InvocationMessage_HasCustomArgumentWithNullValueInclude", new InvocationMessage(null, "Target", new object[] { new TemporaryCustomObject() { ByteArrProp = new byte[] { 1, 2, 3 } } }), true, false, "{\"type\":1,\"target\":\"Target\",\"arguments\":[{\"stringProp\":\"SignalR!\",\"doubleProp\":6.2831853071,\"intProp\":42,\"dateTimeProp\":\"2017-04-11T00:00:00Z\",\"nullProp\":null,\"byteArrProp\":[1,2,3]}]}"), + new JsonProtocolTestData("InvocationMessage_HasHeaders", AddHeaders(TestHeaders, new InvocationMessage("123", "Target", new object[] { 1, "Foo", 2.0f })), true, true, "{\"type\":1," + SerializedHeaders + ",\"invocationId\":\"123\",\"target\":\"Target\",\"arguments\":[1,\"Foo\",2]}"), + new JsonProtocolTestData("StreamItemMessage_HasCustomItemWithNoCamelCase", new StreamItemMessage("123", new TemporaryCustomObject() { ByteArrProp = new byte[] { 1, 2, 3 } }), false, true, "{\"type\":2,\"invocationId\":\"123\",\"item\":{\"StringProp\":\"SignalR!\",\"DoubleProp\":6.2831853071,\"IntProp\":42,\"DateTimeProp\":\"2017-04-11T00:00:00Z\",\"ByteArrProp\":[1,2,3]}}"), new JsonProtocolTestData("StreamItemMessage_HasCustomItemWithNullValueIgnore", new StreamItemMessage("123", new TemporaryCustomObject() { ByteArrProp = new byte[] { 1, 2, 3 } }), true, true, "{\"type\":2,\"invocationId\":\"123\",\"item\":{\"stringProp\":\"SignalR!\",\"doubleProp\":6.2831853071,\"intProp\":42,\"dateTimeProp\":\"2017-04-11T00:00:00Z\",\"byteArrProp\":[1,2,3]}}"), new JsonProtocolTestData("StreamItemMessage_HasCustomItemWithNullValueIgnoreAndNoCamelCase", new StreamItemMessage("123", new TemporaryCustomObject() { ByteArrProp = new byte[] { 1, 2, 3 } }), false, false, "{\"type\":2,\"invocationId\":\"123\",\"item\":{\"StringProp\":\"SignalR!\",\"DoubleProp\":6.2831853071,\"IntProp\":42,\"DateTimeProp\":\"2017-04-11T00:00:00Z\",\"NullProp\":null,\"ByteArrProp\":[1,2,3]}}"), new JsonProtocolTestData("StreamItemMessage_HasCustomItemWithNullValueInclude", new StreamItemMessage("123", new TemporaryCustomObject() { ByteArrProp = new byte[] { 1, 2, 3 } }), true, false, "{\"type\":2,\"invocationId\":\"123\",\"item\":{\"stringProp\":\"SignalR!\",\"doubleProp\":6.2831853071,\"intProp\":42,\"dateTimeProp\":\"2017-04-11T00:00:00Z\",\"nullProp\":null,\"byteArrProp\":[1,2,3]}}"), + new JsonProtocolTestData("StreamItemMessage_HasFloatItem", new StreamItemMessage("123", 2.0f), true, true, "{\"type\":2,\"invocationId\":\"123\",\"item\":2}"), + new JsonProtocolTestData("StreamItemMessage_HasHeaders", AddHeaders(TestHeaders, new StreamItemMessage("123", new TemporaryCustomObject() { ByteArrProp = new byte[] { 1, 2, 3 } })), true, false, "{\"type\":2," + SerializedHeaders + ",\"invocationId\":\"123\",\"item\":{\"stringProp\":\"SignalR!\",\"doubleProp\":6.2831853071,\"intProp\":42,\"dateTimeProp\":\"2017-04-11T00:00:00Z\",\"nullProp\":null,\"byteArrProp\":[1,2,3]}}"), + + new JsonProtocolTestData("CompletionMessage_HasFloatResult", CompletionMessage.WithResult("123", 2.0f), true, true, "{\"type\":3,\"invocationId\":\"123\",\"result\":2}"), new JsonProtocolTestData("CompletionMessage_HasCustomResultWithNoCamelCase", CompletionMessage.WithResult("123", new TemporaryCustomObject() { ByteArrProp = new byte[] { 1, 2, 3 } }), false, true, "{\"type\":3,\"invocationId\":\"123\",\"result\":{\"StringProp\":\"SignalR!\",\"DoubleProp\":6.2831853071,\"IntProp\":42,\"DateTimeProp\":\"2017-04-11T00:00:00Z\",\"ByteArrProp\":[1,2,3]}}"), new JsonProtocolTestData("CompletionMessage_HasCustomResultWithNullValueIgnore", CompletionMessage.WithResult("123", new TemporaryCustomObject() { ByteArrProp = new byte[] { 1, 2, 3 } }), true, true, "{\"type\":3,\"invocationId\":\"123\",\"result\":{\"stringProp\":\"SignalR!\",\"doubleProp\":6.2831853071,\"intProp\":42,\"dateTimeProp\":\"2017-04-11T00:00:00Z\",\"byteArrProp\":[1,2,3]}}"), new JsonProtocolTestData("CompletionMessage_HasCustomResultWithNullValueIncludeAndNoCamelCase", CompletionMessage.WithResult("123", new TemporaryCustomObject() { ByteArrProp = new byte[] { 1, 2, 3 } }), false, false, "{\"type\":3,\"invocationId\":\"123\",\"result\":{\"StringProp\":\"SignalR!\",\"DoubleProp\":6.2831853071,\"IntProp\":42,\"DateTimeProp\":\"2017-04-11T00:00:00Z\",\"NullProp\":null,\"ByteArrProp\":[1,2,3]}}"), new JsonProtocolTestData("CompletionMessage_HasCustomResultWithNullValueInclude", CompletionMessage.WithResult("123", new TemporaryCustomObject() { ByteArrProp = new byte[] { 1, 2, 3 } }), true, false, "{\"type\":3,\"invocationId\":\"123\",\"result\":{\"stringProp\":\"SignalR!\",\"doubleProp\":6.2831853071,\"intProp\":42,\"dateTimeProp\":\"2017-04-11T00:00:00Z\",\"nullProp\":null,\"byteArrProp\":[1,2,3]}}"), new JsonProtocolTestData("CompletionMessage_HasErrorAndCamelCase", CompletionMessage.Empty("123"), true, true, "{\"type\":3,\"invocationId\":\"123\"}"), + new JsonProtocolTestData("StreamInvocationMessage_HasCustomArgumentWithNoCamelCase", new StreamInvocationMessage("123", "Target", new object[] { new TemporaryCustomObject() { ByteArrProp = new byte[] { 1, 2, 3 } } }), false, true, "{\"type\":4,\"invocationId\":\"123\",\"target\":\"Target\",\"arguments\":[{\"StringProp\":\"SignalR!\",\"DoubleProp\":6.2831853071,\"IntProp\":42,\"DateTimeProp\":\"2017-04-11T00:00:00Z\",\"ByteArrProp\":[1,2,3]}]}"), new JsonProtocolTestData("StreamInvocationMessage_HasCustomArgumentWithNullValueIgnore", new StreamInvocationMessage("123", "Target", new object[] { new TemporaryCustomObject() { ByteArrProp = new byte[] { 1, 2, 3 } } }), true, true, "{\"type\":4,\"invocationId\":\"123\",\"target\":\"Target\",\"arguments\":[{\"stringProp\":\"SignalR!\",\"doubleProp\":6.2831853071,\"intProp\":42,\"dateTimeProp\":\"2017-04-11T00:00:00Z\",\"byteArrProp\":[1,2,3]}]}"), new JsonProtocolTestData("StreamInvocationMessage_HasCustomArgumentWithNullValueIgnoreAndNoCamelCase", new StreamInvocationMessage("123", "Target", new object[] { new TemporaryCustomObject() { ByteArrProp = new byte[] { 1, 2, 3 } } }), false, false, "{\"type\":4,\"invocationId\":\"123\",\"target\":\"Target\",\"arguments\":[{\"StringProp\":\"SignalR!\",\"DoubleProp\":6.2831853071,\"IntProp\":42,\"DateTimeProp\":\"2017-04-11T00:00:00Z\",\"NullProp\":null,\"ByteArrProp\":[1,2,3]}]}"), new JsonProtocolTestData("StreamInvocationMessage_HasCustomArgumentWithNullValueInclude", new StreamInvocationMessage("123", "Target", new object[] { new TemporaryCustomObject() { ByteArrProp = new byte[] { 1, 2, 3 } } }), true, false, "{\"type\":4,\"invocationId\":\"123\",\"target\":\"Target\",\"arguments\":[{\"stringProp\":\"SignalR!\",\"doubleProp\":6.2831853071,\"intProp\":42,\"dateTimeProp\":\"2017-04-11T00:00:00Z\",\"nullProp\":null,\"byteArrProp\":[1,2,3]}]}"), + new JsonProtocolTestData("StreamInvocationMessage_HasFloatArgument", new StreamInvocationMessage("123", "Target", new object[] { 1, "Foo", 2.0f }), true, true, "{\"type\":4,\"invocationId\":\"123\",\"target\":\"Target\",\"arguments\":[1,\"Foo\",2]}"), + new JsonProtocolTestData("StreamInvocationMessage_HasHeaders", AddHeaders(TestHeaders, new StreamInvocationMessage("123", "Target", new object[] { new TemporaryCustomObject() { ByteArrProp = new byte[] { 1, 2, 3 } } })), true, false, "{\"type\":4," + SerializedHeaders + ",\"invocationId\":\"123\",\"target\":\"Target\",\"arguments\":[{\"stringProp\":\"SignalR!\",\"doubleProp\":6.2831853071,\"intProp\":42,\"dateTimeProp\":\"2017-04-11T00:00:00Z\",\"nullProp\":null,\"byteArrProp\":[1,2,3]}]}"), }.ToDictionary(t => t.Name); public static IEnumerable<object[]> CustomProtocolTestDataNames => CustomProtocolTestData.Keys.Select(name => new object[] { name }); diff --git a/src/SignalR/common/SignalR.Common/test/Internal/Protocol/JsonHubProtocolTestsBase.cs b/src/SignalR/common/SignalR.Common/test/Internal/Protocol/JsonHubProtocolTestsBase.cs index 1441325414..40d5cf94b4 100644 --- a/src/SignalR/common/SignalR.Common/test/Internal/Protocol/JsonHubProtocolTestsBase.cs +++ b/src/SignalR/common/SignalR.Common/test/Internal/Protocol/JsonHubProtocolTestsBase.cs @@ -46,12 +46,6 @@ namespace Microsoft.AspNetCore.SignalR.Common.Tests.Internal.Protocol new JsonProtocolTestData("StreamItemMessage_HasBoolItem", new StreamItemMessage("123", true), true, true, "{\"type\":2,\"invocationId\":\"123\",\"item\":true}"), new JsonProtocolTestData("StreamItemMessage_HasNullItem", new StreamItemMessage("123", null), true, true, "{\"type\":2,\"invocationId\":\"123\",\"item\":null}"), - // Dictionary not supported yet - //new JsonProtocolTestData("StreamItemMessage_HasHeaders", AddHeaders(TestHeaders, new StreamItemMessage("123", new CustomObject())), "{\"type\":2," + SerializedHeaders + ",\"invocationId\":\"123\",\"item\":{\"StringProp\":\"SignalR!\",\"DoubleProp\":6.2831853071,\"IntProp\":42,\"DateTimeProp\":\"2017-04-11T00:00:00Z\",\"NullProp\":null,\"ByteArrProp\":[1,2,3]}}"), - //new JsonProtocolTestData("InvocationMessage_HasHeaders", AddHeaders(TestHeaders, new InvocationMessage("123", "Target", new object[] { 1, "Foo", 2.0f })), "{\"type\":1," + SerializedHeaders + ",\"invocationId\":\"123\",\"target\":\"Target\",\"arguments\":[1,\"Foo\",2.0]}"), - //new JsonProtocolTestData("StreamInvocationMessage_HasHeaders", AddHeaders(TestHeaders, new StreamInvocationMessage("123", "Target", new object[] { new CustomObject() })), "{\"type\":4," + SerializedHeaders + ",\"invocationId\":\"123\",\"target\":\"Target\",\"arguments\":[{\"StringProp\":\"SignalR!\",\"DoubleProp\":6.2831853071,\"IntProp\":42,\"DateTimeProp\":\"2017-04-11T00:00:00Z\",\"NullProp\":null,\"ByteArrProp\":[1,2,3]}]}"), - //new JsonProtocolTestData("CancelInvocationMessage_HasHeaders", AddHeaders(TestHeaders, new CancelInvocationMessage("123")), "{\"type\":5," + SerializedHeaders + ",\"invocationId\":\"123\"}"), - new JsonProtocolTestData("CompletionMessage_HasIntegerResult", CompletionMessage.WithResult("123", 1), true, true, "{\"type\":3,\"invocationId\":\"123\",\"result\":1}"), new JsonProtocolTestData("CompletionMessage_HasStringResult", CompletionMessage.WithResult("123", "Foo"), true, true, "{\"type\":3,\"invocationId\":\"123\",\"result\":\"Foo\"}"), new JsonProtocolTestData("CompletionMessage_HasBoolResult", CompletionMessage.WithResult("123", true), true, true, "{\"type\":3,\"invocationId\":\"123\",\"result\":true}"), @@ -65,6 +59,7 @@ namespace Microsoft.AspNetCore.SignalR.Common.Tests.Internal.Protocol new JsonProtocolTestData("StreamInvocationMessage_HasStreamArgument", new StreamInvocationMessage("123", "Target", Array.Empty<object>(), new string[] { "__test_id__" }), true, true, "{\"type\":4,\"invocationId\":\"123\",\"target\":\"Target\",\"arguments\":[],\"streamIds\":[\"__test_id__\"]}"), new JsonProtocolTestData("CancelInvocationMessage_HasInvocationId", new CancelInvocationMessage("123"), true, true, "{\"type\":5,\"invocationId\":\"123\"}"), + new JsonProtocolTestData("CancelInvocationMessage_HasHeaders", AddHeaders(TestHeaders, new CancelInvocationMessage("123")), true, true, "{\"type\":5," + SerializedHeaders + ",\"invocationId\":\"123\"}"), new JsonProtocolTestData("PingMessage", PingMessage.Instance, true, true, "{\"type\":6}"), diff --git a/src/SignalR/common/SignalR.Common/test/Internal/Protocol/NewtonsoftJsonHubProtocolTests.cs b/src/SignalR/common/SignalR.Common/test/Internal/Protocol/NewtonsoftJsonHubProtocolTests.cs index c4f4984c16..255cdead83 100644 --- a/src/SignalR/common/SignalR.Common/test/Internal/Protocol/NewtonsoftJsonHubProtocolTests.cs +++ b/src/SignalR/common/SignalR.Common/test/Internal/Protocol/NewtonsoftJsonHubProtocolTests.cs @@ -74,22 +74,39 @@ namespace Microsoft.AspNetCore.SignalR.Common.Tests.Internal.Protocol } } + [Theory] + [MemberData(nameof(CustomProtocolTestDataNames))] + public void CustomParseMessage(string protocolTestDataName) + { + var testData = CustomProtocolTestData[protocolTestDataName]; + + var input = Frame(testData.Json); + + var binder = new TestBinder(testData.Message); + var data = new ReadOnlySequence<byte>(Encoding.UTF8.GetBytes(input)); + var protocol = GetProtocolWithOptions(testData.UseCamelCase, testData.IgnoreNullValues); + protocol.TryParseMessage(ref data, binder, out var message); + + Assert.Equal(testData.Message, message, TestHubMessageEqualityComparer.Instance); + } + public static IDictionary<string, JsonProtocolTestData> CustomProtocolTestData => new[] { new JsonProtocolTestData("InvocationMessage_HasFloatArgument", new InvocationMessage(null, "Target", new object[] { 1, "Foo", 2.0f }), true, true, "{\"type\":1,\"target\":\"Target\",\"arguments\":[1,\"Foo\",2.0]}"), - new JsonProtocolTestData("StreamItemMessage_HasFloatItem", new StreamItemMessage("123", 2.0f), true, true, "{\"type\":2,\"invocationId\":\"123\",\"item\":2.0}"), - new JsonProtocolTestData("CompletionMessage_HasFloatResult", CompletionMessage.WithResult("123", 2.0f), true, true, "{\"type\":3,\"invocationId\":\"123\",\"result\":2.0}"), - new JsonProtocolTestData("StreamInvocationMessage_HasFloatArgument", new StreamInvocationMessage("123", "Target", new object[] { 1, "Foo", 2.0f }), true, true, "{\"type\":4,\"invocationId\":\"123\",\"target\":\"Target\",\"arguments\":[1,\"Foo\",2.0]}"), new JsonProtocolTestData("InvocationMessage_StringIsoDateArgument", new InvocationMessage("Method", new object[] { "2016-05-10T13:51:20+12:34" }), false, true, "{\"type\":1,\"target\":\"Method\",\"arguments\":[\"2016-05-10T13:51:20+12:34\"]}"), new JsonProtocolTestData("InvocationMessage_HasCustomArgumentWithNoCamelCase", new InvocationMessage(null, "Target", new object[] { new CustomObject() }), false, true, "{\"type\":1,\"target\":\"Target\",\"arguments\":[{\"StringProp\":\"SignalR!\",\"DoubleProp\":6.2831853071,\"IntProp\":42,\"DateTimeProp\":\"2017-04-11T00:00:00Z\",\"ByteArrProp\":\"AQID\"}]}"), new JsonProtocolTestData("InvocationMessage_HasCustomArgumentWithNullValueIgnore", new InvocationMessage(null, "Target", new object[] { new CustomObject() }), true, true, "{\"type\":1,\"target\":\"Target\",\"arguments\":[{\"stringProp\":\"SignalR!\",\"doubleProp\":6.2831853071,\"intProp\":42,\"dateTimeProp\":\"2017-04-11T00:00:00Z\",\"byteArrProp\":\"AQID\"}]}"), new JsonProtocolTestData("InvocationMessage_HasCustomArgumentWithNullValueIgnoreAndNoCamelCase", new InvocationMessage(null, "Target", new object[] { new CustomObject() }), false, false, "{\"type\":1,\"target\":\"Target\",\"arguments\":[{\"StringProp\":\"SignalR!\",\"DoubleProp\":6.2831853071,\"IntProp\":42,\"DateTimeProp\":\"2017-04-11T00:00:00Z\",\"NullProp\":null,\"ByteArrProp\":\"AQID\"}]}"), new JsonProtocolTestData("InvocationMessage_HasCustomArgumentWithNullValueInclude", new InvocationMessage(null, "Target", new object[] { new CustomObject() }), true, false, "{\"type\":1,\"target\":\"Target\",\"arguments\":[{\"stringProp\":\"SignalR!\",\"doubleProp\":6.2831853071,\"intProp\":42,\"dateTimeProp\":\"2017-04-11T00:00:00Z\",\"nullProp\":null,\"byteArrProp\":\"AQID\"}]}"), + new JsonProtocolTestData("InvocationMessage_HasHeaders", AddHeaders(TestHeaders, new InvocationMessage("123", "Target", new object[] { 1, "Foo", 2.0f })), true, true, "{\"type\":1," + SerializedHeaders + ",\"invocationId\":\"123\",\"target\":\"Target\",\"arguments\":[1,\"Foo\",2.0]}"), + + new JsonProtocolTestData("StreamItemMessage_HasFloatItem", new StreamItemMessage("123", 2.0f), true, true, "{\"type\":2,\"invocationId\":\"123\",\"item\":2.0}"), new JsonProtocolTestData("StreamItemMessage_HasCustomItemWithNoCamelCase", new StreamItemMessage("123", new CustomObject()), false, true, "{\"type\":2,\"invocationId\":\"123\",\"item\":{\"StringProp\":\"SignalR!\",\"DoubleProp\":6.2831853071,\"IntProp\":42,\"DateTimeProp\":\"2017-04-11T00:00:00Z\",\"ByteArrProp\":\"AQID\"}}"), new JsonProtocolTestData("StreamItemMessage_HasCustomItemWithNullValueIgnore", new StreamItemMessage("123", new CustomObject()), true, true, "{\"type\":2,\"invocationId\":\"123\",\"item\":{\"stringProp\":\"SignalR!\",\"doubleProp\":6.2831853071,\"intProp\":42,\"dateTimeProp\":\"2017-04-11T00:00:00Z\",\"byteArrProp\":\"AQID\"}}"), new JsonProtocolTestData("StreamItemMessage_HasCustomItemWithNullValueIgnoreAndNoCamelCase", new StreamItemMessage("123", new CustomObject()), false, false, "{\"type\":2,\"invocationId\":\"123\",\"item\":{\"StringProp\":\"SignalR!\",\"DoubleProp\":6.2831853071,\"IntProp\":42,\"DateTimeProp\":\"2017-04-11T00:00:00Z\",\"NullProp\":null,\"ByteArrProp\":\"AQID\"}}"), new JsonProtocolTestData("StreamItemMessage_HasCustomItemWithNullValueInclude", new StreamItemMessage("123", new CustomObject()), true, false, "{\"type\":2,\"invocationId\":\"123\",\"item\":{\"stringProp\":\"SignalR!\",\"doubleProp\":6.2831853071,\"intProp\":42,\"dateTimeProp\":\"2017-04-11T00:00:00Z\",\"nullProp\":null,\"byteArrProp\":\"AQID\"}}"), new JsonProtocolTestData("StreamItemMessage_HasHeaders", AddHeaders(TestHeaders, new StreamItemMessage("123", new CustomObject())), true, false, "{\"type\":2," + SerializedHeaders + ",\"invocationId\":\"123\",\"item\":{\"stringProp\":\"SignalR!\",\"doubleProp\":6.2831853071,\"intProp\":42,\"dateTimeProp\":\"2017-04-11T00:00:00Z\",\"nullProp\":null,\"byteArrProp\":\"AQID\"}}"), + new JsonProtocolTestData("CompletionMessage_HasCustomResultWithNoCamelCase", CompletionMessage.WithResult("123", new CustomObject()), false, true, "{\"type\":3,\"invocationId\":\"123\",\"result\":{\"StringProp\":\"SignalR!\",\"DoubleProp\":6.2831853071,\"IntProp\":42,\"DateTimeProp\":\"2017-04-11T00:00:00Z\",\"ByteArrProp\":\"AQID\"}}"), new JsonProtocolTestData("CompletionMessage_HasCustomResultWithNullValueIgnore", CompletionMessage.WithResult("123", new CustomObject()), true, true, "{\"type\":3,\"invocationId\":\"123\",\"result\":{\"stringProp\":\"SignalR!\",\"doubleProp\":6.2831853071,\"intProp\":42,\"dateTimeProp\":\"2017-04-11T00:00:00Z\",\"byteArrProp\":\"AQID\"}}"), new JsonProtocolTestData("CompletionMessage_HasCustomResultWithNullValueIncludeAndNoCamelCase", CompletionMessage.WithResult("123", new CustomObject()), false, false, "{\"type\":3,\"invocationId\":\"123\",\"result\":{\"StringProp\":\"SignalR!\",\"DoubleProp\":6.2831853071,\"IntProp\":42,\"DateTimeProp\":\"2017-04-11T00:00:00Z\",\"NullProp\":null,\"ByteArrProp\":\"AQID\"}}"), @@ -97,6 +114,9 @@ namespace Microsoft.AspNetCore.SignalR.Common.Tests.Internal.Protocol new JsonProtocolTestData("CompletionMessage_HasTestHeadersAndCustomItemResult", AddHeaders(TestHeaders, CompletionMessage.WithResult("123", new CustomObject())), true, false, "{\"type\":3," + SerializedHeaders + ",\"invocationId\":\"123\",\"result\":{\"stringProp\":\"SignalR!\",\"doubleProp\":6.2831853071,\"intProp\":42,\"dateTimeProp\":\"2017-04-11T00:00:00Z\",\"nullProp\":null,\"byteArrProp\":\"AQID\"}}"), new JsonProtocolTestData("CompletionMessage_HasErrorAndCamelCase", CompletionMessage.Empty("123"), true, true, "{\"type\":3,\"invocationId\":\"123\"}"), new JsonProtocolTestData("CompletionMessage_HasErrorAndHeadersAndCamelCase", AddHeaders(TestHeaders, CompletionMessage.Empty("123")), true, true, "{\"type\":3," + SerializedHeaders + ",\"invocationId\":\"123\"}"), + new JsonProtocolTestData("CompletionMessage_HasFloatResult", CompletionMessage.WithResult("123", 2.0f), true, true, "{\"type\":3,\"invocationId\":\"123\",\"result\":2.0}"), + + new JsonProtocolTestData("StreamInvocationMessage_HasFloatArgument", new StreamInvocationMessage("123", "Target", new object[] { 1, "Foo", 2.0f }), true, true, "{\"type\":4,\"invocationId\":\"123\",\"target\":\"Target\",\"arguments\":[1,\"Foo\",2.0]}"), new JsonProtocolTestData("StreamInvocationMessage_HasCustomArgumentWithNoCamelCase", new StreamInvocationMessage("123", "Target", new object[] { new CustomObject() }), false, true, "{\"type\":4,\"invocationId\":\"123\",\"target\":\"Target\",\"arguments\":[{\"StringProp\":\"SignalR!\",\"DoubleProp\":6.2831853071,\"IntProp\":42,\"DateTimeProp\":\"2017-04-11T00:00:00Z\",\"ByteArrProp\":\"AQID\"}]}"), new JsonProtocolTestData("StreamInvocationMessage_HasCustomArgumentWithNullValueIgnore", new StreamInvocationMessage("123", "Target", new object[] { new CustomObject() }), true, true, "{\"type\":4,\"invocationId\":\"123\",\"target\":\"Target\",\"arguments\":[{\"stringProp\":\"SignalR!\",\"doubleProp\":6.2831853071,\"intProp\":42,\"dateTimeProp\":\"2017-04-11T00:00:00Z\",\"byteArrProp\":\"AQID\"}]}"), new JsonProtocolTestData("StreamInvocationMessage_HasCustomArgumentWithNullValueIgnoreAndNoCamelCase", new StreamInvocationMessage("123", "Target", new object[] { new CustomObject() }), false, false, "{\"type\":4,\"invocationId\":\"123\",\"target\":\"Target\",\"arguments\":[{\"StringProp\":\"SignalR!\",\"DoubleProp\":6.2831853071,\"IntProp\":42,\"DateTimeProp\":\"2017-04-11T00:00:00Z\",\"NullProp\":null,\"ByteArrProp\":\"AQID\"}]}"), diff --git a/src/SignalR/perf/Microbenchmarks/HandshakeProtocolBenchmark.cs b/src/SignalR/perf/Microbenchmarks/HandshakeProtocolBenchmark.cs index c14b6125d0..07df0b633f 100644 --- a/src/SignalR/perf/Microbenchmarks/HandshakeProtocolBenchmark.cs +++ b/src/SignalR/perf/Microbenchmarks/HandshakeProtocolBenchmark.cs @@ -63,7 +63,7 @@ namespace Microsoft.AspNetCore.SignalR.Microbenchmarks var memoryBufferWriter = MemoryBufferWriter.Get(); try { - HandshakeProtocol.WriteResponseMessage(new HandshakeResponseMessage(1), memoryBufferWriter); + HandshakeProtocol.WriteResponseMessage(HandshakeResponseMessage.Empty, memoryBufferWriter); result = memoryBufferWriter.ToArray(); } finally @@ -195,4 +195,4 @@ namespace Microsoft.AspNetCore.SignalR.Microbenchmarks } } } -} \ No newline at end of file +} diff --git a/src/SignalR/perf/Microbenchmarks/RedisHubLifetimeManagerBenchmark.cs b/src/SignalR/perf/Microbenchmarks/RedisHubLifetimeManagerBenchmark.cs index 486ef8fa49..36afc0cac1 100644 --- a/src/SignalR/perf/Microbenchmarks/RedisHubLifetimeManagerBenchmark.cs +++ b/src/SignalR/perf/Microbenchmarks/RedisHubLifetimeManagerBenchmark.cs @@ -178,7 +178,6 @@ namespace Microsoft.AspNetCore.SignalR.Microbenchmarks public string Name => _name; public int Version => _innerProtocol.Version; - public int MinorVersion => _innerProtocol.MinorVersion; public TransferFormat TransferFormat => _innerProtocol.TransferFormat; diff --git a/src/SignalR/perf/benchmarkapps/Directory.Build.props b/src/SignalR/perf/benchmarkapps/Directory.Build.props index 25cdcade1c..8c119d5413 100644 --- a/src/SignalR/perf/benchmarkapps/Directory.Build.props +++ b/src/SignalR/perf/benchmarkapps/Directory.Build.props @@ -1,5 +1,2 @@ <Project> - - <Import Project="$(MSBuildThisFileDirectory)..\..\..\..\build\sources.props" /> - -</Project> \ No newline at end of file +</Project> diff --git a/src/SignalR/perf/benchmarkapps/NuGet.Config b/src/SignalR/perf/benchmarkapps/NuGet.Config new file mode 100644 index 0000000000..298193b812 --- /dev/null +++ b/src/SignalR/perf/benchmarkapps/NuGet.Config @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8"?> +<configuration> + <packageSources> + <clear /> + <add key="dotnet-core" value="https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json" /> + <add key="extensions" value="https://dotnetfeed.blob.core.windows.net/aspnet-extensions/index.json" /> + <add key="entityframeworkcore" value="https://dotnetfeed.blob.core.windows.net/aspnet-entityframeworkcore/index.json" /> + <add key="aspnetcore-tooling" value="https://dotnetfeed.blob.core.windows.net/aspnet-aspnetcore-tooling/index.json" /> + <add key="aspnetcore" value="https://dotnetfeed.blob.core.windows.net/aspnet-aspnetcore/index.json" /> + <add key="NuGet.org" value="https://api.nuget.org/v3/index.json" /> + </packageSources> +</configuration> diff --git a/src/SignalR/server/Core/src/HubConnectionContext.cs b/src/SignalR/server/Core/src/HubConnectionContext.cs index 86b735cd35..9e649f1b4e 100644 --- a/src/SignalR/server/Core/src/HubConnectionContext.cs +++ b/src/SignalR/server/Core/src/HubConnectionContext.cs @@ -441,7 +441,7 @@ namespace Microsoft.AspNetCore.SignalR Log.HandshakeComplete(_logger, Protocol.Name); - await WriteHandshakeResponseAsync(new HandshakeResponseMessage(Protocol.MinorVersion)); + await WriteHandshakeResponseAsync(HandshakeResponseMessage.Empty); return true; } } diff --git a/src/SignalR/server/Core/src/Internal/DefaultHubDispatcher.cs b/src/SignalR/server/Core/src/Internal/DefaultHubDispatcher.cs index c08faa6456..ee39dcad9d 100644 --- a/src/SignalR/server/Core/src/Internal/DefaultHubDispatcher.cs +++ b/src/SignalR/server/Core/src/Internal/DefaultHubDispatcher.cs @@ -277,7 +277,9 @@ namespace Microsoft.AspNetCore.SignalR.Internal { Log.StartingParameterStream(_logger, hubMethodInvocationMessage.StreamIds[streamPointer]); var itemType = descriptor.StreamingParameters[streamPointer]; - arguments[parameterPointer] = connection.StreamTracker.AddStream(hubMethodInvocationMessage.StreamIds[streamPointer], itemType); + arguments[parameterPointer] = connection.StreamTracker.AddStream(hubMethodInvocationMessage.StreamIds[streamPointer], + itemType, descriptor.OriginalParameterTypes[parameterPointer]); + streamPointer++; } else diff --git a/src/SignalR/server/Core/src/Properties/AssemblyInfo.cs b/src/SignalR/server/Core/src/Properties/AssemblyInfo.cs index ce43e9c728..4d870535a2 100644 --- a/src/SignalR/server/Core/src/Properties/AssemblyInfo.cs +++ b/src/SignalR/server/Core/src/Properties/AssemblyInfo.cs @@ -5,4 +5,4 @@ using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("Microsoft.AspNetCore.SignalR.Tests.Utils, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] [assembly: InternalsVisibleTo("Microsoft.AspNetCore.SignalR.Microbenchmarks, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] -[assembly: InternalsVisibleTo("Microsoft.AspNetCore.SignalR.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] \ No newline at end of file +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.SignalR.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] diff --git a/src/SignalR/server/Core/src/StreamTracker.cs b/src/SignalR/server/Core/src/StreamTracker.cs index 1445771046..1c5efc2871 100644 --- a/src/SignalR/server/Core/src/StreamTracker.cs +++ b/src/SignalR/server/Core/src/StreamTracker.cs @@ -21,11 +21,11 @@ namespace Microsoft.AspNetCore.SignalR /// <summary> /// Creates a new stream and returns the ChannelReader for it as an object. /// </summary> - public object AddStream(string streamId, Type itemType) + public object AddStream(string streamId, Type itemType, Type targetType) { var newConverter = (IStreamConverter)_buildConverterMethod.MakeGenericMethod(itemType).Invoke(null, Array.Empty<object>()); _lookup[streamId] = newConverter; - return newConverter.GetReaderAsObject(); + return newConverter.GetReaderAsObject(targetType); } private bool TryGetConverter(string streamId, out IStreamConverter converter) @@ -79,7 +79,7 @@ namespace Microsoft.AspNetCore.SignalR private interface IStreamConverter { Type GetItemType(); - object GetReaderAsObject(); + object GetReaderAsObject(Type type); Task WriteToStream(object item); void TryComplete(Exception ex); } @@ -100,9 +100,16 @@ namespace Microsoft.AspNetCore.SignalR return typeof(T); } - public object GetReaderAsObject() + public object GetReaderAsObject(Type type) { - return _channel.Reader; + if (ReflectionHelper.IsIAsyncEnumerable(type)) + { + return _channel.Reader.ReadAllAsync(); + } + else + { + return _channel.Reader; + } } public Task WriteToStream(object o) diff --git a/src/SignalR/server/Core/src/baseline.netcore.json b/src/SignalR/server/Core/src/baseline.netcore.json deleted file mode 100644 index ad6e7d2eee..0000000000 --- a/src/SignalR/server/Core/src/baseline.netcore.json +++ /dev/null @@ -1,4438 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.SignalR.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.AspNetCore.SignalR.ClientProxyExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "SendAsync", - "Parameters": [ - { - "Name": "clientProxy", - "Type": "Microsoft.AspNetCore.SignalR.IClientProxy" - }, - { - "Name": "method", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SendAsync", - "Parameters": [ - { - "Name": "clientProxy", - "Type": "Microsoft.AspNetCore.SignalR.IClientProxy" - }, - { - "Name": "method", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SendAsync", - "Parameters": [ - { - "Name": "clientProxy", - "Type": "Microsoft.AspNetCore.SignalR.IClientProxy" - }, - { - "Name": "method", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "arg2", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SendAsync", - "Parameters": [ - { - "Name": "clientProxy", - "Type": "Microsoft.AspNetCore.SignalR.IClientProxy" - }, - { - "Name": "method", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "arg2", - "Type": "System.Object" - }, - { - "Name": "arg3", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SendAsync", - "Parameters": [ - { - "Name": "clientProxy", - "Type": "Microsoft.AspNetCore.SignalR.IClientProxy" - }, - { - "Name": "method", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "arg2", - "Type": "System.Object" - }, - { - "Name": "arg3", - "Type": "System.Object" - }, - { - "Name": "arg4", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SendAsync", - "Parameters": [ - { - "Name": "clientProxy", - "Type": "Microsoft.AspNetCore.SignalR.IClientProxy" - }, - { - "Name": "method", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "arg2", - "Type": "System.Object" - }, - { - "Name": "arg3", - "Type": "System.Object" - }, - { - "Name": "arg4", - "Type": "System.Object" - }, - { - "Name": "arg5", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SendAsync", - "Parameters": [ - { - "Name": "clientProxy", - "Type": "Microsoft.AspNetCore.SignalR.IClientProxy" - }, - { - "Name": "method", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "arg2", - "Type": "System.Object" - }, - { - "Name": "arg3", - "Type": "System.Object" - }, - { - "Name": "arg4", - "Type": "System.Object" - }, - { - "Name": "arg5", - "Type": "System.Object" - }, - { - "Name": "arg6", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SendAsync", - "Parameters": [ - { - "Name": "clientProxy", - "Type": "Microsoft.AspNetCore.SignalR.IClientProxy" - }, - { - "Name": "method", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "arg2", - "Type": "System.Object" - }, - { - "Name": "arg3", - "Type": "System.Object" - }, - { - "Name": "arg4", - "Type": "System.Object" - }, - { - "Name": "arg5", - "Type": "System.Object" - }, - { - "Name": "arg6", - "Type": "System.Object" - }, - { - "Name": "arg7", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SendAsync", - "Parameters": [ - { - "Name": "clientProxy", - "Type": "Microsoft.AspNetCore.SignalR.IClientProxy" - }, - { - "Name": "method", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "arg2", - "Type": "System.Object" - }, - { - "Name": "arg3", - "Type": "System.Object" - }, - { - "Name": "arg4", - "Type": "System.Object" - }, - { - "Name": "arg5", - "Type": "System.Object" - }, - { - "Name": "arg6", - "Type": "System.Object" - }, - { - "Name": "arg7", - "Type": "System.Object" - }, - { - "Name": "arg8", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SendAsync", - "Parameters": [ - { - "Name": "clientProxy", - "Type": "Microsoft.AspNetCore.SignalR.IClientProxy" - }, - { - "Name": "method", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "arg2", - "Type": "System.Object" - }, - { - "Name": "arg3", - "Type": "System.Object" - }, - { - "Name": "arg4", - "Type": "System.Object" - }, - { - "Name": "arg5", - "Type": "System.Object" - }, - { - "Name": "arg6", - "Type": "System.Object" - }, - { - "Name": "arg7", - "Type": "System.Object" - }, - { - "Name": "arg8", - "Type": "System.Object" - }, - { - "Name": "arg9", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SendAsync", - "Parameters": [ - { - "Name": "clientProxy", - "Type": "Microsoft.AspNetCore.SignalR.IClientProxy" - }, - { - "Name": "method", - "Type": "System.String" - }, - { - "Name": "arg1", - "Type": "System.Object" - }, - { - "Name": "arg2", - "Type": "System.Object" - }, - { - "Name": "arg3", - "Type": "System.Object" - }, - { - "Name": "arg4", - "Type": "System.Object" - }, - { - "Name": "arg5", - "Type": "System.Object" - }, - { - "Name": "arg6", - "Type": "System.Object" - }, - { - "Name": "arg7", - "Type": "System.Object" - }, - { - "Name": "arg8", - "Type": "System.Object" - }, - { - "Name": "arg9", - "Type": "System.Object" - }, - { - "Name": "arg10", - "Type": "System.Object" - }, - { - "Name": "cancellationToken", - "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.SignalR.DefaultHubLifetimeManager<T0>", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.SignalR.HubLifetimeManager<T0>", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddToGroupAsync", - "Parameters": [ - { - "Name": "connectionId", - "Type": "System.String" - }, - { - "Name": "groupName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveFromGroupAsync", - "Parameters": [ - { - "Name": "connectionId", - "Type": "System.String" - }, - { - "Name": "groupName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SendAllAsync", - "Parameters": [ - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "args", - "Type": "System.Object[]" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SendConnectionAsync", - "Parameters": [ - { - "Name": "connectionId", - "Type": "System.String" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "args", - "Type": "System.Object[]" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SendGroupAsync", - "Parameters": [ - { - "Name": "groupName", - "Type": "System.String" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "args", - "Type": "System.Object[]" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SendGroupsAsync", - "Parameters": [ - { - "Name": "groupNames", - "Type": "System.Collections.Generic.IReadOnlyList<System.String>" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "args", - "Type": "System.Object[]" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SendGroupExceptAsync", - "Parameters": [ - { - "Name": "groupName", - "Type": "System.String" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "args", - "Type": "System.Object[]" - }, - { - "Name": "excludedConnectionIds", - "Type": "System.Collections.Generic.IReadOnlyList<System.String>" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SendUserAsync", - "Parameters": [ - { - "Name": "userId", - "Type": "System.String" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "args", - "Type": "System.Object[]" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnConnectedAsync", - "Parameters": [ - { - "Name": "connection", - "Type": "Microsoft.AspNetCore.SignalR.HubConnectionContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnDisconnectedAsync", - "Parameters": [ - { - "Name": "connection", - "Type": "Microsoft.AspNetCore.SignalR.HubConnectionContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SendAllExceptAsync", - "Parameters": [ - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "args", - "Type": "System.Object[]" - }, - { - "Name": "excludedConnectionIds", - "Type": "System.Collections.Generic.IReadOnlyList<System.String>" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SendConnectionsAsync", - "Parameters": [ - { - "Name": "connectionIds", - "Type": "System.Collections.Generic.IReadOnlyList<System.String>" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "args", - "Type": "System.Object[]" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SendUsersAsync", - "Parameters": [ - { - "Name": "userIds", - "Type": "System.Collections.Generic.IReadOnlyList<System.String>" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "args", - "Type": "System.Object[]" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "logger", - "Type": "Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.SignalR.DefaultHubLifetimeManager<T0>>" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "THub", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.SignalR.Hub" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.DefaultUserIdProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.SignalR.IUserIdProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetUserId", - "Parameters": [ - { - "Name": "connection", - "Type": "Microsoft.AspNetCore.SignalR.HubConnectionContext" - } - ], - "ReturnType": "System.String", - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.SignalR.IUserIdProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.DynamicHub", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "BaseType": "Microsoft.AspNetCore.SignalR.Hub", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Clients", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.SignalR.DynamicHubClients", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Clients", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.SignalR.DynamicHubClients" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.DynamicHubClients", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_All", - "Parameters": [], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AllExcept", - "Parameters": [ - { - "Name": "excludedConnectionIds", - "Type": "System.Collections.Generic.IReadOnlyList<System.String>" - } - ], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Caller", - "Parameters": [], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Client", - "Parameters": [ - { - "Name": "connectionId", - "Type": "System.String" - } - ], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Clients", - "Parameters": [ - { - "Name": "connectionIds", - "Type": "System.Collections.Generic.IReadOnlyList<System.String>" - } - ], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Group", - "Parameters": [ - { - "Name": "groupName", - "Type": "System.String" - } - ], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Groups", - "Parameters": [ - { - "Name": "groupNames", - "Type": "System.Collections.Generic.IReadOnlyList<System.String>" - } - ], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GroupExcept", - "Parameters": [ - { - "Name": "groupName", - "Type": "System.String" - }, - { - "Name": "excludedConnectionIds", - "Type": "System.Collections.Generic.IReadOnlyList<System.String>" - } - ], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OthersInGroup", - "Parameters": [ - { - "Name": "groupName", - "Type": "System.String" - } - ], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Others", - "Parameters": [], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "User", - "Parameters": [ - { - "Name": "userId", - "Type": "System.String" - } - ], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Users", - "Parameters": [ - { - "Name": "userIds", - "Type": "System.Collections.Generic.IReadOnlyList<System.String>" - } - ], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "clients", - "Type": "Microsoft.AspNetCore.SignalR.IHubCallerClients" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.Hub", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [ - "System.IDisposable" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Clients", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.SignalR.IHubCallerClients", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Clients", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.SignalR.IHubCallerClients" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Context", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.SignalR.HubCallerContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Context", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.SignalR.HubCallerContext" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Groups", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.SignalR.IGroupManager", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Groups", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.SignalR.IGroupManager" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnConnectedAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnDisconnectedAsync", - "Parameters": [ - { - "Name": "exception", - "Type": "System.Exception" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Dispose", - "Parameters": [ - { - "Name": "disposing", - "Type": "System.Boolean" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Dispose", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.IDisposable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.HubCallerContext", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ConnectionId", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UserIdentifier", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_User", - "Parameters": [], - "ReturnType": "System.Security.Claims.ClaimsPrincipal", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Items", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary<System.Object, System.Object>", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Features", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.Features.IFeatureCollection", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ConnectionAborted", - "Parameters": [], - "ReturnType": "System.Threading.CancellationToken", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Abort", - "Parameters": [], - "ReturnType": "System.Void", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.HubClientsExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AllExcept<T0>", - "Parameters": [ - { - "Name": "hubClients", - "Type": "Microsoft.AspNetCore.SignalR.IHubClients<T0>" - }, - { - "Name": "excludedConnectionId1", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "AllExcept<T0>", - "Parameters": [ - { - "Name": "hubClients", - "Type": "Microsoft.AspNetCore.SignalR.IHubClients<T0>" - }, - { - "Name": "excludedConnectionId1", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId2", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "AllExcept<T0>", - "Parameters": [ - { - "Name": "hubClients", - "Type": "Microsoft.AspNetCore.SignalR.IHubClients<T0>" - }, - { - "Name": "excludedConnectionId1", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId2", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId3", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "AllExcept<T0>", - "Parameters": [ - { - "Name": "hubClients", - "Type": "Microsoft.AspNetCore.SignalR.IHubClients<T0>" - }, - { - "Name": "excludedConnectionId1", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId2", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId3", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId4", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "AllExcept<T0>", - "Parameters": [ - { - "Name": "hubClients", - "Type": "Microsoft.AspNetCore.SignalR.IHubClients<T0>" - }, - { - "Name": "excludedConnectionId1", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId2", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId3", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId4", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId5", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "AllExcept<T0>", - "Parameters": [ - { - "Name": "hubClients", - "Type": "Microsoft.AspNetCore.SignalR.IHubClients<T0>" - }, - { - "Name": "excludedConnectionId1", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId2", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId3", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId4", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId5", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId6", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "AllExcept<T0>", - "Parameters": [ - { - "Name": "hubClients", - "Type": "Microsoft.AspNetCore.SignalR.IHubClients<T0>" - }, - { - "Name": "excludedConnectionId1", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId2", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId3", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId4", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId5", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId6", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId7", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "AllExcept<T0>", - "Parameters": [ - { - "Name": "hubClients", - "Type": "Microsoft.AspNetCore.SignalR.IHubClients<T0>" - }, - { - "Name": "excludedConnectionId1", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId2", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId3", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId4", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId5", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId6", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId7", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId8", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "Clients<T0>", - "Parameters": [ - { - "Name": "hubClients", - "Type": "Microsoft.AspNetCore.SignalR.IHubClients<T0>" - }, - { - "Name": "connection1", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "Clients<T0>", - "Parameters": [ - { - "Name": "hubClients", - "Type": "Microsoft.AspNetCore.SignalR.IHubClients<T0>" - }, - { - "Name": "connection1", - "Type": "System.String" - }, - { - "Name": "connection2", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "Clients<T0>", - "Parameters": [ - { - "Name": "hubClients", - "Type": "Microsoft.AspNetCore.SignalR.IHubClients<T0>" - }, - { - "Name": "connection1", - "Type": "System.String" - }, - { - "Name": "connection2", - "Type": "System.String" - }, - { - "Name": "connection3", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "Clients<T0>", - "Parameters": [ - { - "Name": "hubClients", - "Type": "Microsoft.AspNetCore.SignalR.IHubClients<T0>" - }, - { - "Name": "connection1", - "Type": "System.String" - }, - { - "Name": "connection2", - "Type": "System.String" - }, - { - "Name": "connection3", - "Type": "System.String" - }, - { - "Name": "connection4", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "Clients<T0>", - "Parameters": [ - { - "Name": "hubClients", - "Type": "Microsoft.AspNetCore.SignalR.IHubClients<T0>" - }, - { - "Name": "connection1", - "Type": "System.String" - }, - { - "Name": "connection2", - "Type": "System.String" - }, - { - "Name": "connection3", - "Type": "System.String" - }, - { - "Name": "connection4", - "Type": "System.String" - }, - { - "Name": "connection5", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "Clients<T0>", - "Parameters": [ - { - "Name": "hubClients", - "Type": "Microsoft.AspNetCore.SignalR.IHubClients<T0>" - }, - { - "Name": "connection1", - "Type": "System.String" - }, - { - "Name": "connection2", - "Type": "System.String" - }, - { - "Name": "connection3", - "Type": "System.String" - }, - { - "Name": "connection4", - "Type": "System.String" - }, - { - "Name": "connection5", - "Type": "System.String" - }, - { - "Name": "connection6", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "Clients<T0>", - "Parameters": [ - { - "Name": "hubClients", - "Type": "Microsoft.AspNetCore.SignalR.IHubClients<T0>" - }, - { - "Name": "connection1", - "Type": "System.String" - }, - { - "Name": "connection2", - "Type": "System.String" - }, - { - "Name": "connection3", - "Type": "System.String" - }, - { - "Name": "connection4", - "Type": "System.String" - }, - { - "Name": "connection5", - "Type": "System.String" - }, - { - "Name": "connection6", - "Type": "System.String" - }, - { - "Name": "connection7", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "Clients<T0>", - "Parameters": [ - { - "Name": "hubClients", - "Type": "Microsoft.AspNetCore.SignalR.IHubClients<T0>" - }, - { - "Name": "connection1", - "Type": "System.String" - }, - { - "Name": "connection2", - "Type": "System.String" - }, - { - "Name": "connection3", - "Type": "System.String" - }, - { - "Name": "connection4", - "Type": "System.String" - }, - { - "Name": "connection5", - "Type": "System.String" - }, - { - "Name": "connection6", - "Type": "System.String" - }, - { - "Name": "connection7", - "Type": "System.String" - }, - { - "Name": "connection8", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "Groups<T0>", - "Parameters": [ - { - "Name": "hubClients", - "Type": "Microsoft.AspNetCore.SignalR.IHubClients<T0>" - }, - { - "Name": "group1", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "Groups<T0>", - "Parameters": [ - { - "Name": "hubClients", - "Type": "Microsoft.AspNetCore.SignalR.IHubClients<T0>" - }, - { - "Name": "group1", - "Type": "System.String" - }, - { - "Name": "group2", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "Groups<T0>", - "Parameters": [ - { - "Name": "hubClients", - "Type": "Microsoft.AspNetCore.SignalR.IHubClients<T0>" - }, - { - "Name": "group1", - "Type": "System.String" - }, - { - "Name": "group2", - "Type": "System.String" - }, - { - "Name": "group3", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "Groups<T0>", - "Parameters": [ - { - "Name": "hubClients", - "Type": "Microsoft.AspNetCore.SignalR.IHubClients<T0>" - }, - { - "Name": "group1", - "Type": "System.String" - }, - { - "Name": "group2", - "Type": "System.String" - }, - { - "Name": "group3", - "Type": "System.String" - }, - { - "Name": "group4", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "Groups<T0>", - "Parameters": [ - { - "Name": "hubClients", - "Type": "Microsoft.AspNetCore.SignalR.IHubClients<T0>" - }, - { - "Name": "group1", - "Type": "System.String" - }, - { - "Name": "group2", - "Type": "System.String" - }, - { - "Name": "group3", - "Type": "System.String" - }, - { - "Name": "group4", - "Type": "System.String" - }, - { - "Name": "group5", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "Groups<T0>", - "Parameters": [ - { - "Name": "hubClients", - "Type": "Microsoft.AspNetCore.SignalR.IHubClients<T0>" - }, - { - "Name": "group1", - "Type": "System.String" - }, - { - "Name": "group2", - "Type": "System.String" - }, - { - "Name": "group3", - "Type": "System.String" - }, - { - "Name": "group4", - "Type": "System.String" - }, - { - "Name": "group5", - "Type": "System.String" - }, - { - "Name": "group6", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "Groups<T0>", - "Parameters": [ - { - "Name": "hubClients", - "Type": "Microsoft.AspNetCore.SignalR.IHubClients<T0>" - }, - { - "Name": "group1", - "Type": "System.String" - }, - { - "Name": "group2", - "Type": "System.String" - }, - { - "Name": "group3", - "Type": "System.String" - }, - { - "Name": "group4", - "Type": "System.String" - }, - { - "Name": "group5", - "Type": "System.String" - }, - { - "Name": "group6", - "Type": "System.String" - }, - { - "Name": "group7", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "Groups<T0>", - "Parameters": [ - { - "Name": "hubClients", - "Type": "Microsoft.AspNetCore.SignalR.IHubClients<T0>" - }, - { - "Name": "group1", - "Type": "System.String" - }, - { - "Name": "group2", - "Type": "System.String" - }, - { - "Name": "group3", - "Type": "System.String" - }, - { - "Name": "group4", - "Type": "System.String" - }, - { - "Name": "group5", - "Type": "System.String" - }, - { - "Name": "group6", - "Type": "System.String" - }, - { - "Name": "group7", - "Type": "System.String" - }, - { - "Name": "group8", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "GroupExcept<T0>", - "Parameters": [ - { - "Name": "hubClients", - "Type": "Microsoft.AspNetCore.SignalR.IHubClients<T0>" - }, - { - "Name": "groupName", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId1", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "GroupExcept<T0>", - "Parameters": [ - { - "Name": "hubClients", - "Type": "Microsoft.AspNetCore.SignalR.IHubClients<T0>" - }, - { - "Name": "groupName", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId1", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId2", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "GroupExcept<T0>", - "Parameters": [ - { - "Name": "hubClients", - "Type": "Microsoft.AspNetCore.SignalR.IHubClients<T0>" - }, - { - "Name": "groupName", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId1", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId2", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId3", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "GroupExcept<T0>", - "Parameters": [ - { - "Name": "hubClients", - "Type": "Microsoft.AspNetCore.SignalR.IHubClients<T0>" - }, - { - "Name": "groupName", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId1", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId2", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId3", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId4", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "GroupExcept<T0>", - "Parameters": [ - { - "Name": "hubClients", - "Type": "Microsoft.AspNetCore.SignalR.IHubClients<T0>" - }, - { - "Name": "groupName", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId1", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId2", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId3", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId4", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId5", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "GroupExcept<T0>", - "Parameters": [ - { - "Name": "hubClients", - "Type": "Microsoft.AspNetCore.SignalR.IHubClients<T0>" - }, - { - "Name": "groupName", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId1", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId2", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId3", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId4", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId5", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId6", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "GroupExcept<T0>", - "Parameters": [ - { - "Name": "hubClients", - "Type": "Microsoft.AspNetCore.SignalR.IHubClients<T0>" - }, - { - "Name": "groupName", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId1", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId2", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId3", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId4", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId5", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId6", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId7", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "GroupExcept<T0>", - "Parameters": [ - { - "Name": "hubClients", - "Type": "Microsoft.AspNetCore.SignalR.IHubClients<T0>" - }, - { - "Name": "groupName", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId1", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId2", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId3", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId4", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId5", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId6", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId7", - "Type": "System.String" - }, - { - "Name": "excludedConnectionId8", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "Users<T0>", - "Parameters": [ - { - "Name": "hubClients", - "Type": "Microsoft.AspNetCore.SignalR.IHubClients<T0>" - }, - { - "Name": "user1", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "Users<T0>", - "Parameters": [ - { - "Name": "hubClients", - "Type": "Microsoft.AspNetCore.SignalR.IHubClients<T0>" - }, - { - "Name": "user1", - "Type": "System.String" - }, - { - "Name": "user2", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "Users<T0>", - "Parameters": [ - { - "Name": "hubClients", - "Type": "Microsoft.AspNetCore.SignalR.IHubClients<T0>" - }, - { - "Name": "user1", - "Type": "System.String" - }, - { - "Name": "user2", - "Type": "System.String" - }, - { - "Name": "user3", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "Users<T0>", - "Parameters": [ - { - "Name": "hubClients", - "Type": "Microsoft.AspNetCore.SignalR.IHubClients<T0>" - }, - { - "Name": "user1", - "Type": "System.String" - }, - { - "Name": "user2", - "Type": "System.String" - }, - { - "Name": "user3", - "Type": "System.String" - }, - { - "Name": "user4", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "Users<T0>", - "Parameters": [ - { - "Name": "hubClients", - "Type": "Microsoft.AspNetCore.SignalR.IHubClients<T0>" - }, - { - "Name": "user1", - "Type": "System.String" - }, - { - "Name": "user2", - "Type": "System.String" - }, - { - "Name": "user3", - "Type": "System.String" - }, - { - "Name": "user4", - "Type": "System.String" - }, - { - "Name": "user5", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "Users<T0>", - "Parameters": [ - { - "Name": "hubClients", - "Type": "Microsoft.AspNetCore.SignalR.IHubClients<T0>" - }, - { - "Name": "user1", - "Type": "System.String" - }, - { - "Name": "user2", - "Type": "System.String" - }, - { - "Name": "user3", - "Type": "System.String" - }, - { - "Name": "user4", - "Type": "System.String" - }, - { - "Name": "user5", - "Type": "System.String" - }, - { - "Name": "user6", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "Users<T0>", - "Parameters": [ - { - "Name": "hubClients", - "Type": "Microsoft.AspNetCore.SignalR.IHubClients<T0>" - }, - { - "Name": "user1", - "Type": "System.String" - }, - { - "Name": "user2", - "Type": "System.String" - }, - { - "Name": "user3", - "Type": "System.String" - }, - { - "Name": "user4", - "Type": "System.String" - }, - { - "Name": "user5", - "Type": "System.String" - }, - { - "Name": "user6", - "Type": "System.String" - }, - { - "Name": "user7", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Kind": "Method", - "Name": "Users<T0>", - "Parameters": [ - { - "Name": "hubClients", - "Type": "Microsoft.AspNetCore.SignalR.IHubClients<T0>" - }, - { - "Name": "user1", - "Type": "System.String" - }, - { - "Name": "user2", - "Type": "System.String" - }, - { - "Name": "user3", - "Type": "System.String" - }, - { - "Name": "user4", - "Type": "System.String" - }, - { - "Name": "user5", - "Type": "System.String" - }, - { - "Name": "user6", - "Type": "System.String" - }, - { - "Name": "user7", - "Type": "System.String" - }, - { - "Name": "user8", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.HubConnectionContext", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ConnectionAborted", - "Parameters": [], - "ReturnType": "System.Threading.CancellationToken", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ConnectionId", - "Parameters": [], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_User", - "Parameters": [], - "ReturnType": "System.Security.Claims.ClaimsPrincipal", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Features", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.Features.IFeatureCollection", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Items", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary<System.Object, System.Object>", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UserIdentifier", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_UserIdentifier", - "Parameters": [ - { - "Name": "value", - "Type": "System.String" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Protocol", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteAsync", - "Parameters": [ - { - "Name": "message", - "Type": "Microsoft.AspNetCore.SignalR.Protocol.HubMessage" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.ValueTask", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteAsync", - "Parameters": [ - { - "Name": "message", - "Type": "Microsoft.AspNetCore.SignalR.SerializedHubMessage" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.ValueTask", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Abort", - "Parameters": [], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "connectionContext", - "Type": "Microsoft.AspNetCore.Connections.ConnectionContext" - }, - { - "Name": "keepAliveInterval", - "Type": "System.TimeSpan" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.HubConnectionHandler<T0>", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Connections.ConnectionHandler", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "OnConnectedAsync", - "Parameters": [ - { - "Name": "connection", - "Type": "Microsoft.AspNetCore.Connections.ConnectionContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Override": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "lifetimeManager", - "Type": "Microsoft.AspNetCore.SignalR.HubLifetimeManager<T0>" - }, - { - "Name": "protocolResolver", - "Type": "Microsoft.AspNetCore.SignalR.IHubProtocolResolver" - }, - { - "Name": "globalHubOptions", - "Type": "Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.SignalR.HubOptions>" - }, - { - "Name": "hubOptions", - "Type": "Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.SignalR.HubOptions<T0>>" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - }, - { - "Name": "userIdProvider", - "Type": "Microsoft.AspNetCore.SignalR.IUserIdProvider" - }, - { - "Name": "dispatcher", - "Type": "Microsoft.AspNetCore.SignalR.Internal.HubDispatcher<T0>" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "THub", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.SignalR.Hub" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.HubConnectionStore", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Item", - "Parameters": [ - { - "Name": "connectionId", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.SignalR.HubConnectionContext", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Count", - "Parameters": [], - "ReturnType": "System.Int32", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Add", - "Parameters": [ - { - "Name": "connection", - "Type": "Microsoft.AspNetCore.SignalR.HubConnectionContext" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Remove", - "Parameters": [ - { - "Name": "connection", - "Type": "Microsoft.AspNetCore.SignalR.HubConnectionContext" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetEnumerator", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.SignalR.HubConnectionStore+Enumerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.HubLifetimeManager<T0>", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "OnConnectedAsync", - "Parameters": [ - { - "Name": "connection", - "Type": "Microsoft.AspNetCore.SignalR.HubConnectionContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OnDisconnectedAsync", - "Parameters": [ - { - "Name": "connection", - "Type": "Microsoft.AspNetCore.SignalR.HubConnectionContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SendAllAsync", - "Parameters": [ - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "args", - "Type": "System.Object[]" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SendAllExceptAsync", - "Parameters": [ - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "args", - "Type": "System.Object[]" - }, - { - "Name": "excludedConnectionIds", - "Type": "System.Collections.Generic.IReadOnlyList<System.String>" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SendConnectionAsync", - "Parameters": [ - { - "Name": "connectionId", - "Type": "System.String" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "args", - "Type": "System.Object[]" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SendConnectionsAsync", - "Parameters": [ - { - "Name": "connectionIds", - "Type": "System.Collections.Generic.IReadOnlyList<System.String>" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "args", - "Type": "System.Object[]" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SendGroupAsync", - "Parameters": [ - { - "Name": "groupName", - "Type": "System.String" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "args", - "Type": "System.Object[]" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SendGroupsAsync", - "Parameters": [ - { - "Name": "groupNames", - "Type": "System.Collections.Generic.IReadOnlyList<System.String>" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "args", - "Type": "System.Object[]" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SendGroupExceptAsync", - "Parameters": [ - { - "Name": "groupName", - "Type": "System.String" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "args", - "Type": "System.Object[]" - }, - { - "Name": "excludedConnectionIds", - "Type": "System.Collections.Generic.IReadOnlyList<System.String>" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SendUserAsync", - "Parameters": [ - { - "Name": "userId", - "Type": "System.String" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "args", - "Type": "System.Object[]" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SendUsersAsync", - "Parameters": [ - { - "Name": "userIds", - "Type": "System.Collections.Generic.IReadOnlyList<System.String>" - }, - { - "Name": "methodName", - "Type": "System.String" - }, - { - "Name": "args", - "Type": "System.Object[]" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddToGroupAsync", - "Parameters": [ - { - "Name": "connectionId", - "Type": "System.String" - }, - { - "Name": "groupName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveFromGroupAsync", - "Parameters": [ - { - "Name": "connectionId", - "Type": "System.String" - }, - { - "Name": "groupName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Virtual": true, - "Abstract": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "THub", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.SignalR.Hub" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.HubMethodNameAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "System.Attribute", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Name", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.HubOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_HandshakeTimeout", - "Parameters": [], - "ReturnType": "System.Nullable<System.TimeSpan>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_HandshakeTimeout", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable<System.TimeSpan>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_KeepAliveInterval", - "Parameters": [], - "ReturnType": "System.Nullable<System.TimeSpan>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_KeepAliveInterval", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable<System.TimeSpan>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_SupportedProtocols", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList<System.String>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_SupportedProtocols", - "Parameters": [ - { - "Name": "value", - "Type": "System.Collections.Generic.IList<System.String>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_EnableDetailedErrors", - "Parameters": [], - "ReturnType": "System.Nullable<System.Boolean>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_EnableDetailedErrors", - "Parameters": [ - { - "Name": "value", - "Type": "System.Nullable<System.Boolean>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.HubOptions<T0>", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.SignalR.HubOptions", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "THub", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.SignalR.Hub" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.Hub<T0>", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "BaseType": "Microsoft.AspNetCore.SignalR.Hub", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Clients", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.SignalR.IHubCallerClients<T0>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Clients", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.AspNetCore.SignalR.IHubCallerClients<T0>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.IClientProxy", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "SendCoreAsync", - "Parameters": [ - { - "Name": "method", - "Type": "System.String" - }, - { - "Name": "args", - "Type": "System.Object[]" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.IGroupManager", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddToGroupAsync", - "Parameters": [ - { - "Name": "connectionId", - "Type": "System.String" - }, - { - "Name": "groupName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "RemoveFromGroupAsync", - "Parameters": [ - { - "Name": "connectionId", - "Type": "System.String" - }, - { - "Name": "groupName", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.IHubActivator<T0>", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Create", - "Parameters": [], - "ReturnType": "T0", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Release", - "Parameters": [ - { - "Name": "hub", - "Type": "T0" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "THub", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.SignalR.Hub" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.IHubCallerClients", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.SignalR.IHubCallerClients<Microsoft.AspNetCore.SignalR.IClientProxy>" - ], - "Members": [], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.IHubCallerClients<T0>", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.SignalR.IHubClients<T0>" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Caller", - "Parameters": [], - "ReturnType": "T0", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Others", - "Parameters": [], - "ReturnType": "T0", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "OthersInGroup", - "Parameters": [ - { - "Name": "groupName", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.IHubClients", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.SignalR.IHubClients<Microsoft.AspNetCore.SignalR.IClientProxy>" - ], - "Members": [], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.IHubClients<T0>", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_All", - "Parameters": [], - "ReturnType": "T0", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AllExcept", - "Parameters": [ - { - "Name": "excludedConnectionIds", - "Type": "System.Collections.Generic.IReadOnlyList<System.String>" - } - ], - "ReturnType": "T0", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Client", - "Parameters": [ - { - "Name": "connectionId", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Clients", - "Parameters": [ - { - "Name": "connectionIds", - "Type": "System.Collections.Generic.IReadOnlyList<System.String>" - } - ], - "ReturnType": "T0", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Group", - "Parameters": [ - { - "Name": "groupName", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Groups", - "Parameters": [ - { - "Name": "groupNames", - "Type": "System.Collections.Generic.IReadOnlyList<System.String>" - } - ], - "ReturnType": "T0", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GroupExcept", - "Parameters": [ - { - "Name": "groupName", - "Type": "System.String" - }, - { - "Name": "excludedConnectionIds", - "Type": "System.Collections.Generic.IReadOnlyList<System.String>" - } - ], - "ReturnType": "T0", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "User", - "Parameters": [ - { - "Name": "userId", - "Type": "System.String" - } - ], - "ReturnType": "T0", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Users", - "Parameters": [ - { - "Name": "userIds", - "Type": "System.Collections.Generic.IReadOnlyList<System.String>" - } - ], - "ReturnType": "T0", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.IHubContext<T0>", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Clients", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.SignalR.IHubClients", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Groups", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.SignalR.IGroupManager", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "THub", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.SignalR.Hub" - ] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.IHubContext<T0, T1>", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Clients", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.SignalR.IHubClients<T1>", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Groups", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.SignalR.IGroupManager", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "THub", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.SignalR.Hub<T1>" - ] - }, - { - "ParameterName": "T", - "ParameterPosition": 1, - "Class": true, - "BaseTypeOrInterfaces": [] - } - ] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.IHubProtocolResolver", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_AllProtocols", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol>", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetProtocol", - "Parameters": [ - { - "Name": "protocolName", - "Type": "System.String" - }, - { - "Name": "supportedProtocols", - "Type": "System.Collections.Generic.IReadOnlyList<System.String>" - } - ], - "ReturnType": "Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.ISignalRServerBuilder", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.SignalR.ISignalRBuilder" - ], - "Members": [], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.IUserIdProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetUserId", - "Parameters": [ - { - "Name": "connection", - "Type": "Microsoft.AspNetCore.SignalR.HubConnectionContext" - } - ], - "ReturnType": "System.String", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.SerializedHubMessage", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Message", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.SignalR.Protocol.HubMessage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetSerializedMessage", - "Parameters": [ - { - "Name": "protocol", - "Type": "Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol" - } - ], - "ReturnType": "System.ReadOnlyMemory<System.Byte>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "messages", - "Type": "System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.SignalR.SerializedMessage>" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "message", - "Type": "Microsoft.AspNetCore.SignalR.Protocol.HubMessage" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.SerializedMessage", - "Visibility": "Public", - "Kind": "Struct", - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ProtocolName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Serialized", - "Parameters": [], - "ReturnType": "System.ReadOnlyMemory<System.Byte>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "protocolName", - "Type": "System.String" - }, - { - "Name": "serialized", - "Type": "System.ReadOnlyMemory<System.Byte>" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.SignalRConnectionBuilderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseHub<T0>", - "Parameters": [ - { - "Name": "connectionBuilder", - "Type": "Microsoft.AspNetCore.Connections.IConnectionBuilder" - } - ], - "ReturnType": "Microsoft.AspNetCore.Connections.IConnectionBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "THub", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.SignalR.Hub" - ] - } - ] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.Extensions.DependencyInjection.SignalRDependencyInjectionExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddSignalRCore", - "Parameters": [ - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - } - ], - "ReturnType": "Microsoft.AspNetCore.SignalR.ISignalRServerBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.HubConnectionStore+Enumerator", - "Visibility": "Public", - "Kind": "Struct", - "Sealed": true, - "ImplementedInterfaces": [ - "System.Collections.Generic.IEnumerator<Microsoft.AspNetCore.SignalR.HubConnectionContext>" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Dispose", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.IDisposable", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "MoveNext", - "Parameters": [], - "ReturnType": "System.Boolean", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.IEnumerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Reset", - "Parameters": [], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.IEnumerator", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Current", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.SignalR.HubConnectionContext", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "System.Collections.Generic.IEnumerator<Microsoft.AspNetCore.SignalR.HubConnectionContext>", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "hubConnectionList", - "Type": "Microsoft.AspNetCore.SignalR.HubConnectionStore" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/SignalR/server/SignalR/ref/Microsoft.AspNetCore.SignalR.netcoreapp3.0.cs b/src/SignalR/server/SignalR/ref/Microsoft.AspNetCore.SignalR.netcoreapp3.0.cs index f2504a0e22..27663babcc 100644 --- a/src/SignalR/server/SignalR/ref/Microsoft.AspNetCore.SignalR.netcoreapp3.0.cs +++ b/src/SignalR/server/SignalR/ref/Microsoft.AspNetCore.SignalR.netcoreapp3.0.cs @@ -5,8 +5,8 @@ namespace Microsoft.AspNetCore.Builder { public static partial class HubEndpointRouteBuilderExtensions { - public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder MapHub<THub>(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern) where THub : Microsoft.AspNetCore.SignalR.Hub { throw null; } - public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder MapHub<THub>(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern, System.Action<Microsoft.AspNetCore.Http.Connections.HttpConnectionDispatcherOptions> configureOptions) where THub : Microsoft.AspNetCore.SignalR.Hub { throw null; } + public static Microsoft.AspNetCore.SignalR.HubEndpointConventionBuilder MapHub<THub>(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern) where THub : Microsoft.AspNetCore.SignalR.Hub { throw null; } + public static Microsoft.AspNetCore.SignalR.HubEndpointConventionBuilder MapHub<THub>(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern, System.Action<Microsoft.AspNetCore.Http.Connections.HttpConnectionDispatcherOptions> configureOptions) where THub : Microsoft.AspNetCore.SignalR.Hub { throw null; } } public static partial class SignalRAppBuilderExtensions { @@ -20,12 +20,20 @@ namespace Microsoft.AspNetCore.SignalR public static Microsoft.AspNetCore.Http.HttpContext GetHttpContext(this Microsoft.AspNetCore.SignalR.HubCallerContext connection) { throw null; } public static Microsoft.AspNetCore.Http.HttpContext GetHttpContext(this Microsoft.AspNetCore.SignalR.HubConnectionContext connection) { throw null; } } + public sealed partial class HubEndpointConventionBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder, Microsoft.AspNetCore.SignalR.IHubEndpointConventionBuilder + { + internal HubEndpointConventionBuilder() { } + public void Add(System.Action<Microsoft.AspNetCore.Builder.EndpointBuilder> convention) { } + } public partial class HubRouteBuilder { public HubRouteBuilder(Microsoft.AspNetCore.Http.Connections.ConnectionsRouteBuilder routes) { } public void MapHub<THub>(Microsoft.AspNetCore.Http.PathString path) where THub : Microsoft.AspNetCore.SignalR.Hub { } public void MapHub<THub>(Microsoft.AspNetCore.Http.PathString path, System.Action<Microsoft.AspNetCore.Http.Connections.HttpConnectionDispatcherOptions> configureOptions) where THub : Microsoft.AspNetCore.SignalR.Hub { } } + public partial interface IHubEndpointConventionBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder + { + } } namespace Microsoft.Extensions.DependencyInjection { diff --git a/src/SignalR/server/SignalR/src/HubEndpointConventionBuilder.cs b/src/SignalR/server/SignalR/src/HubEndpointConventionBuilder.cs new file mode 100644 index 0000000000..fc2cd2cca0 --- /dev/null +++ b/src/SignalR/server/SignalR/src/HubEndpointConventionBuilder.cs @@ -0,0 +1,30 @@ +// 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; + +namespace Microsoft.AspNetCore.SignalR +{ + /// <summary> + /// Builds conventions that will be used for customization of Hub <see cref="EndpointBuilder"/> instances. + /// </summary> + public sealed class HubEndpointConventionBuilder : IHubEndpointConventionBuilder + { + private readonly IEndpointConventionBuilder _endpointConventionBuilder; + + internal HubEndpointConventionBuilder(IEndpointConventionBuilder endpointConventionBuilder) + { + _endpointConventionBuilder = endpointConventionBuilder; + } + + /// <summary> + /// Adds the specified convention to the builder. Conventions are used to customize <see cref="EndpointBuilder"/> instances. + /// </summary> + /// <param name="convention">The convention to add to the builder.</param> + public void Add(Action<EndpointBuilder> convention) + { + _endpointConventionBuilder.Add(convention); + } + } +} diff --git a/src/SignalR/server/SignalR/src/HubEndpointRouteBuilderExtensions.cs b/src/SignalR/server/SignalR/src/HubEndpointRouteBuilderExtensions.cs index 42414b791a..f53632d00f 100644 --- a/src/SignalR/server/SignalR/src/HubEndpointRouteBuilderExtensions.cs +++ b/src/SignalR/server/SignalR/src/HubEndpointRouteBuilderExtensions.cs @@ -19,8 +19,8 @@ namespace Microsoft.AspNetCore.Builder /// <typeparam name="THub">The <see cref="Hub"/> type to map requests to.</typeparam> /// <param name="endpoints">The <see cref="IEndpointRouteBuilder"/> to add the route to.</param> /// <param name="pattern">The route pattern.</param> - /// <returns>An <see cref="IEndpointConventionBuilder"/> for endpoints associated with the connections.</returns> - public static IEndpointConventionBuilder MapHub<THub>(this IEndpointRouteBuilder endpoints, string pattern) where THub : Hub + /// <returns>An <see cref="HubEndpointConventionBuilder"/> for endpoints associated with the connections.</returns> + public static HubEndpointConventionBuilder MapHub<THub>(this IEndpointRouteBuilder endpoints, string pattern) where THub : Hub { return endpoints.MapHub<THub>(pattern, configureOptions: null); } @@ -32,8 +32,8 @@ namespace Microsoft.AspNetCore.Builder /// <param name="endpoints">The <see cref="IEndpointRouteBuilder"/> to add the route to.</param> /// <param name="pattern">The route pattern.</param> /// <param name="configureOptions">A callback to configure dispatcher options.</param> - /// <returns>An <see cref="IEndpointConventionBuilder"/> for endpoints associated with the connections.</returns> - public static IEndpointConventionBuilder MapHub<THub>(this IEndpointRouteBuilder endpoints, string pattern, Action<HttpConnectionDispatcherOptions> configureOptions) where THub : Hub + /// <returns>An <see cref="HubEndpointConventionBuilder"/> for endpoints associated with the connections.</returns> + public static HubEndpointConventionBuilder MapHub<THub>(this IEndpointRouteBuilder endpoints, string pattern, Action<HttpConnectionDispatcherOptions> configureOptions) where THub : Hub { var marker = endpoints.ServiceProvider.GetService<SignalRMarkerService>(); @@ -72,7 +72,7 @@ namespace Microsoft.AspNetCore.Builder e.Metadata.Add(new HubMetadata(typeof(THub))); }); - return conventionBuilder; + return new HubEndpointConventionBuilder(conventionBuilder); } } } diff --git a/src/SignalR/server/SignalR/src/IHubEndpointConventionBuilder.cs b/src/SignalR/server/SignalR/src/IHubEndpointConventionBuilder.cs new file mode 100644 index 0000000000..141311ccd2 --- /dev/null +++ b/src/SignalR/server/SignalR/src/IHubEndpointConventionBuilder.cs @@ -0,0 +1,15 @@ +// 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.Builder; + +namespace Microsoft.AspNetCore.SignalR +{ + /// <summary> + /// Abstraction that builds conventions that will be used for customization of Hub <see cref="EndpointBuilder"/> instances. + /// </summary> + public interface IHubEndpointConventionBuilder : IEndpointConventionBuilder + { + + } +} diff --git a/src/SignalR/server/SignalR/src/Microsoft.AspNetCore.SignalR.csproj b/src/SignalR/server/SignalR/src/Microsoft.AspNetCore.SignalR.csproj index cb71376f89..7614e387f4 100644 --- a/src/SignalR/server/SignalR/src/Microsoft.AspNetCore.SignalR.csproj +++ b/src/SignalR/server/SignalR/src/Microsoft.AspNetCore.SignalR.csproj @@ -1,4 +1,4 @@ -<Project Sdk="Microsoft.NET.Sdk"> +<Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <Description>Components for providing real-time bi-directional communication across the Web.</Description> <TargetFramework>netcoreapp3.0</TargetFramework> diff --git a/src/SignalR/server/SignalR/src/baseline.netcore.json b/src/SignalR/server/SignalR/src/baseline.netcore.json deleted file mode 100644 index ff857c17bc..0000000000 --- a/src/SignalR/server/SignalR/src/baseline.netcore.json +++ /dev/null @@ -1,218 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.AspNetCore.SignalR, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.Extensions.DependencyInjection.SignalRDependencyInjectionExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "AddHubOptions<T0>", - "Parameters": [ - { - "Name": "signalrBuilder", - "Type": "Microsoft.AspNetCore.SignalR.ISignalRServerBuilder" - }, - { - "Name": "configure", - "Type": "System.Action<Microsoft.AspNetCore.SignalR.HubOptions<T0>>" - } - ], - "ReturnType": "Microsoft.AspNetCore.SignalR.ISignalRServerBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "THub", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.SignalR.Hub" - ] - } - ] - }, - { - "Kind": "Method", - "Name": "AddSignalR", - "Parameters": [ - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - } - ], - "ReturnType": "Microsoft.AspNetCore.SignalR.ISignalRServerBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "AddSignalR", - "Parameters": [ - { - "Name": "services", - "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" - }, - { - "Name": "configure", - "Type": "System.Action<Microsoft.AspNetCore.SignalR.HubOptions>" - } - ], - "ReturnType": "Microsoft.AspNetCore.SignalR.ISignalRServerBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Builder.SignalRAppBuilderExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "UseSignalR", - "Parameters": [ - { - "Name": "app", - "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" - }, - { - "Name": "configure", - "Type": "System.Action<Microsoft.AspNetCore.SignalR.HubRouteBuilder>" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.GetHttpContextExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "GetHttpContext", - "Parameters": [ - { - "Name": "connection", - "Type": "Microsoft.AspNetCore.SignalR.HubCallerContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Http.HttpContext", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetHttpContext", - "Parameters": [ - { - "Name": "connection", - "Type": "Microsoft.AspNetCore.SignalR.HubConnectionContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Http.HttpContext", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.SignalR.HubRouteBuilder", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "MapHub<T0>", - "Parameters": [ - { - "Name": "path", - "Type": "Microsoft.AspNetCore.Http.PathString" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "THub", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.SignalR.Hub" - ] - } - ] - }, - { - "Kind": "Method", - "Name": "MapHub<T0>", - "Parameters": [ - { - "Name": "path", - "Type": "Microsoft.AspNetCore.Http.PathString" - }, - { - "Name": "configureOptions", - "Type": "System.Action<Microsoft.AspNetCore.Http.Connections.HttpConnectionDispatcherOptions>" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "THub", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [ - "Microsoft.AspNetCore.SignalR.Hub" - ] - } - ] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "routes", - "Type": "Microsoft.AspNetCore.Http.Connections.ConnectionsRouteBuilder" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/SignalR/server/SignalR/test/HubConnectionHandlerTests.cs b/src/SignalR/server/SignalR/test/HubConnectionHandlerTests.cs index 3faf40896b..f74aee9a56 100644 --- a/src/SignalR/server/SignalR/test/HubConnectionHandlerTests.cs +++ b/src/SignalR/server/SignalR/test/HubConnectionHandlerTests.cs @@ -2231,7 +2231,7 @@ namespace Microsoft.AspNetCore.SignalR.Tests } } - [Fact(Skip = "Camel case is not the default yet")] + [Fact] public async Task JsonHubProtocolUsesCamelCasingByDefault() { using (StartVerifiableLog()) @@ -3063,7 +3063,6 @@ namespace Microsoft.AspNetCore.SignalR.Tests { var testProtocol = new Mock<IHubProtocol>(); testProtocol.Setup(m => m.Name).Returns("CustomProtocol"); - testProtocol.Setup(m => m.MinorVersion).Returns(112); testProtocol.Setup(m => m.IsVersionSupported(It.IsAny<int>())).Returns(true); testProtocol.Setup(m => m.TransferFormat).Returns(TransferFormat.Binary); @@ -3075,7 +3074,6 @@ namespace Microsoft.AspNetCore.SignalR.Tests var connectionHandlerTask = await client.ConnectAsync(connectionHandler).OrTimeout(); Assert.NotNull(client.HandshakeResponseMessage); - Assert.Equal(112, client.HandshakeResponseMessage.MinorVersion); client.Dispose(); await connectionHandlerTask.OrTimeout(); diff --git a/src/SignalR/server/SignalR/test/Internal/ReflectionHelperTests.cs b/src/SignalR/server/SignalR/test/Internal/ReflectionHelperTests.cs new file mode 100644 index 0000000000..3602555539 --- /dev/null +++ b/src/SignalR/server/SignalR/test/Internal/ReflectionHelperTests.cs @@ -0,0 +1,70 @@ +// 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 System.Threading; +using System.Threading.Channels; +using System.Threading.Tasks; +using Xunit; + +namespace Microsoft.AspNetCore.SignalR.Tests.Internal +{ + public class ReflectionHelperTests + { + [Theory] + [MemberData(nameof(TypesToCheck))] + public void IsIAsyncEnumerableTests(Type type, bool expectedOutcome) + { + Assert.Equal(expectedOutcome, ReflectionHelper.IsIAsyncEnumerable(type)); + } + + public static IEnumerable<object[]> TypesToCheck() + { + yield return new object[] + { + typeof(IAsyncEnumerable<object>), + true + }; + + yield return new object[] + { + typeof(ChannelReader<object>), + false + }; + + async IAsyncEnumerable<int> Stream() + { + await Task.Delay(10); + yield return 1; + } + + object streamAsObject = Stream(); + yield return new object[] + { + streamAsObject.GetType(), + true + }; + + yield return new object[] + { + typeof(string), + false + }; + + yield return new object[] + { + typeof(CustomAsyncEnumerable), + true + }; + } + + private class CustomAsyncEnumerable : IAsyncEnumerable<object> + { + public IAsyncEnumerator<object> GetAsyncEnumerator(CancellationToken cancellationToken = default) + { + throw new NotImplementedException(); + } + } + } +} diff --git a/src/SiteExtensions/LoggingBranch/Directory.Build.targets b/src/SiteExtensions/LoggingBranch/Directory.Build.targets index a7f5c19852..ea37d8fa42 100644 --- a/src/SiteExtensions/LoggingBranch/Directory.Build.targets +++ b/src/SiteExtensions/LoggingBranch/Directory.Build.targets @@ -9,8 +9,6 @@ <IncludeBuildOutput>false</IncludeBuildOutput> <!-- There are no symbols. --> <IncludeSymbols>false</IncludeSymbols> - <!-- There is no API to check --> - <EnableApiCheck>false</EnableApiCheck> <!-- Manually control dependencies --> <DisableImplicitFrameworkReferences>true</DisableImplicitFrameworkReferences> <!-- There is no documentation --> diff --git a/src/SiteExtensions/Microsoft.Web.Xdt.Extensions/src/baseline.netframework.json b/src/SiteExtensions/Microsoft.Web.Xdt.Extensions/src/baseline.netframework.json deleted file mode 100644 index 202b401f50..0000000000 --- a/src/SiteExtensions/Microsoft.Web.Xdt.Extensions/src/baseline.netframework.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "AssemblyIdentity": "Microsoft.Web.Xdt.Extensions, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", - "Types": [ - { - "Name": "Microsoft.Web.Xdt.Extensions.InsertOrAppendAttribute", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.Web.XmlTransform.Transform", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_AttributeName", - "Parameters": [], - "ReturnType": "System.String", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetArgumentValue", - "Parameters": [ - { - "Name": "name", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Apply", - "Parameters": [], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - } - ] -} \ No newline at end of file diff --git a/src/SiteExtensions/Runtime/Directory.Build.targets b/src/SiteExtensions/Runtime/Directory.Build.targets index 75048f1a9c..0aab235874 100644 --- a/src/SiteExtensions/Runtime/Directory.Build.targets +++ b/src/SiteExtensions/Runtime/Directory.Build.targets @@ -7,8 +7,6 @@ <IncludeBuildOutput>false</IncludeBuildOutput> <!-- There are no symbols. --> <IncludeSymbols>false</IncludeSymbols> - <!-- There is no API to check --> - <EnableApiCheck>false</EnableApiCheck> <!-- Manually control dependencies --> <DisableImplicitFrameworkReferences>true</DisableImplicitFrameworkReferences> <!-- The only build output of a pkgproj is the project --> diff --git a/src/Tools/dotnet-watch/src/DotNetWatcher.cs b/src/Tools/dotnet-watch/src/DotNetWatcher.cs index 8431615c1e..38b457298b 100644 --- a/src/Tools/dotnet-watch/src/DotNetWatcher.cs +++ b/src/Tools/dotnet-watch/src/DotNetWatcher.cs @@ -93,10 +93,8 @@ namespace Microsoft.DotNet.Watcher if (finishedTask == processTask) { - _reporter.Warn("Waiting for a file to change before restarting dotnet..."); - // Now wait for a file to change before restarting process - await fileSetWatcher.GetChangedFileAsync(cancellationToken); + await fileSetWatcher.GetChangedFileAsync(cancellationToken, () => _reporter.Warn("Waiting for a file to change before restarting dotnet...")); } if (!string.IsNullOrEmpty(fileSetTask.Result)) diff --git a/src/Tools/dotnet-watch/src/Internal/FileSetWatcher.cs b/src/Tools/dotnet-watch/src/Internal/FileSetWatcher.cs index 3dc56cc452..55ad0e4b10 100644 --- a/src/Tools/dotnet-watch/src/Internal/FileSetWatcher.cs +++ b/src/Tools/dotnet-watch/src/Internal/FileSetWatcher.cs @@ -22,7 +22,7 @@ namespace Microsoft.DotNet.Watcher.Internal _fileWatcher = new FileWatcher(reporter); } - public async Task<string> GetChangedFileAsync(CancellationToken cancellationToken) + public async Task<string> GetChangedFileAsync(CancellationToken cancellationToken, Action startedWatching) { foreach (var file in _fileSet) { @@ -41,12 +41,19 @@ namespace Microsoft.DotNet.Watcher.Internal }; _fileWatcher.OnFileChange += callback; + startedWatching(); var changedFile = await tcs.Task; _fileWatcher.OnFileChange -= callback; return changedFile; } + + public Task<string> GetChangedFileAsync(CancellationToken cancellationToken) + { + return GetChangedFileAsync(cancellationToken, () => {}); + } + public void Dispose() { _fileWatcher.Dispose(); diff --git a/src/submodules/MessagePack-CSharp b/src/submodules/MessagePack-CSharp index 1917b8018f..8861abdde9 160000 --- a/src/submodules/MessagePack-CSharp +++ b/src/submodules/MessagePack-CSharp @@ -1 +1 @@ -Subproject commit 1917b8018fca93805573663d5baf067e6ac2b137 +Subproject commit 8861abdde93a3b97180ac3b2eafa33459ad52392 diff --git a/version.props b/version.props index 228a6c4b43..d48d4c2aa5 100644 --- a/version.props +++ b/version.props @@ -3,7 +3,7 @@ <AspNetCoreMajorVersion>3</AspNetCoreMajorVersion> <AspNetCoreMinorVersion>0</AspNetCoreMinorVersion> <AspNetCorePatchVersion>0</AspNetCorePatchVersion> - <PreReleasePreviewNumber>5</PreReleasePreviewNumber> + <PreReleasePreviewNumber>6</PreReleasePreviewNumber> <PreReleaseLabel>preview$(PreReleasePreviewNumber)</PreReleaseLabel> <PreReleaseBrandingLabel>Preview $(PreReleasePreviewNumber)</PreReleaseBrandingLabel> <ExperimentalVersionPrefix>0.3.$(AspNetCorePatchVersion)</ExperimentalVersionPrefix>