From c13cef6a7417cd30732881196773aff220ae16b8 Mon Sep 17 00:00:00 2001 From: Pranav K Date: Thu, 31 Aug 2017 11:24:58 -0700 Subject: [PATCH 01/22] Injecting IViewLocalizer into Razor Page causing IndexOutOfRangeException Fixes #6694 --- .../Internal/PageActionInvoker.cs | 2 ++ .../RazorPagesTest.cs | 24 +++++++++++++++++ .../Internal/PageActionInvokerTest.cs | 26 +++++++++++++++++++ .../Pages/Localized/Page.cshtml | 3 +++ .../Pages/Localized/Page.fr-FR.resx | 18 +++++++++++++ .../Pages/Localized/PageWithModel.cs | 13 ++++++++++ .../Pages/Localized/PageWithModel.cshtml | 4 +++ .../Pages/Localized/PageWithModel.fr-FR.resx | 18 +++++++++++++ test/WebSites/RazorPagesWebSite/Startup.cs | 15 ++++++++++- 9 files changed, 122 insertions(+), 1 deletion(-) create mode 100644 test/WebSites/RazorPagesWebSite/Pages/Localized/Page.cshtml create mode 100644 test/WebSites/RazorPagesWebSite/Pages/Localized/Page.fr-FR.resx create mode 100644 test/WebSites/RazorPagesWebSite/Pages/Localized/PageWithModel.cs create mode 100644 test/WebSites/RazorPagesWebSite/Pages/Localized/PageWithModel.cshtml create mode 100644 test/WebSites/RazorPagesWebSite/Pages/Localized/PageWithModel.fr-FR.resx diff --git a/src/Microsoft.AspNetCore.Mvc.RazorPages/Internal/PageActionInvoker.cs b/src/Microsoft.AspNetCore.Mvc.RazorPages/Internal/PageActionInvoker.cs index 53fc6b1fe0..8f282e7f37 100644 --- a/src/Microsoft.AspNetCore.Mvc.RazorPages/Internal/PageActionInvoker.cs +++ b/src/Microsoft.AspNetCore.Mvc.RazorPages/Internal/PageActionInvoker.cs @@ -122,6 +122,7 @@ namespace Microsoft.AspNetCore.Mvc.RazorPages.Internal _tempDataFactory.GetTempData(_pageContext.HttpContext), TextWriter.Null, _htmlHelperOptions); + _viewContext.ExecutingFilePath = _pageContext.ActionDescriptor.RelativePath; _page = (Page)CacheEntry.PageFactory(_pageContext, _viewContext); @@ -265,6 +266,7 @@ namespace Microsoft.AspNetCore.Mvc.RazorPages.Internal _tempDataFactory.GetTempData(_pageContext.HttpContext), TextWriter.Null, _htmlHelperOptions); + _viewContext.ExecutingFilePath = _pageContext.ActionDescriptor.RelativePath; } if (_page == null) diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/RazorPagesTest.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/RazorPagesTest.cs index 6b0bbd55dd..669c2a881a 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/RazorPagesTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/RazorPagesTest.cs @@ -1098,6 +1098,30 @@ Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary`1[AspNetCore._InjectedP Assert.Equal(expected, response.Trim()); } + [Fact] + public async Task ViewLocalizer_WorksForPagesWithoutModel() + { + // Arrange + var expected = "Bon Jour from Page"; + + // Act + var response = await Client.GetStringAsync("/Pages/Localized/Page?culture=fr-FR"); + + Assert.Equal(expected, response.Trim()); + } + + [Fact] + public async Task ViewLocalizer_WorksForPagesWithModel() + { + // Arrange + var expected = "Bon Jour from PageWithModel"; + + // Act + var response = await Client.GetStringAsync("/Pages/Localized/PageWithModel?culture=fr-FR"); + + Assert.Equal(expected, response.Trim()); + } + private async Task AddAntiforgeryHeaders(HttpRequestMessage request) { var getResponse = await Client.GetAsync(request.RequestUri); diff --git a/test/Microsoft.AspNetCore.Mvc.RazorPages.Test/Internal/PageActionInvokerTest.cs b/test/Microsoft.AspNetCore.Mvc.RazorPages.Test/Internal/PageActionInvokerTest.cs index 7ca7972864..677d3c8416 100644 --- a/test/Microsoft.AspNetCore.Mvc.RazorPages.Test/Internal/PageActionInvokerTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.RazorPages.Test/Internal/PageActionInvokerTest.cs @@ -356,6 +356,32 @@ namespace Microsoft.AspNetCore.Mvc.RazorPages.Internal Assert.Same(pageModel.PageContext.ViewData, pageResult.ViewData); } + [Fact] + public async Task InvokeAction_WithPage_SetsExecutingFilePath() + { + // Arrange + var relativePath = "/Pages/Users/Show.cshtml"; + var descriptor = CreateDescriptorForSimplePage(); + descriptor.RelativePath = relativePath; + + object instance = null; + var pageFilter = new Mock(); + AllowSelector(pageFilter); + pageFilter + .Setup(f => f.OnPageHandlerExecuting(It.IsAny())) + .Callback(c => + { + instance = c.HandlerInstance; + }); + var invoker = CreateInvoker(new[] { pageFilter.Object }, descriptor); + + // Act + await invoker.InvokeAsync(); + + // Assert + var page = Assert.IsType(instance); + Assert.Equal(relativePath, page.ViewContext.ExecutingFilePath); + } #endregion #region Handler Selection diff --git a/test/WebSites/RazorPagesWebSite/Pages/Localized/Page.cshtml b/test/WebSites/RazorPagesWebSite/Pages/Localized/Page.cshtml new file mode 100644 index 0000000000..91c87f0d1a --- /dev/null +++ b/test/WebSites/RazorPagesWebSite/Pages/Localized/Page.cshtml @@ -0,0 +1,3 @@ +@page +@inject Microsoft.AspNetCore.Mvc.Localization.IViewLocalizer Localizer +@Localizer["Hello"] diff --git a/test/WebSites/RazorPagesWebSite/Pages/Localized/Page.fr-FR.resx b/test/WebSites/RazorPagesWebSite/Pages/Localized/Page.fr-FR.resx new file mode 100644 index 0000000000..5fa59b72a7 --- /dev/null +++ b/test/WebSites/RazorPagesWebSite/Pages/Localized/Page.fr-FR.resx @@ -0,0 +1,18 @@ + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Bon Jour from Page + + diff --git a/test/WebSites/RazorPagesWebSite/Pages/Localized/PageWithModel.cs b/test/WebSites/RazorPagesWebSite/Pages/Localized/PageWithModel.cs new file mode 100644 index 0000000000..c06f62ae13 --- /dev/null +++ b/test/WebSites/RazorPagesWebSite/Pages/Localized/PageWithModel.cs @@ -0,0 +1,13 @@ +// Copyright (c) Microsoft Open Technologies, Inc. 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.Mvc.RazorPages; + +namespace RazorPagesWebSite.Pages.Localized +{ + public class PageWithModel : PageModel + { + public IActionResult OnGet() => Page(); + } +} diff --git a/test/WebSites/RazorPagesWebSite/Pages/Localized/PageWithModel.cshtml b/test/WebSites/RazorPagesWebSite/Pages/Localized/PageWithModel.cshtml new file mode 100644 index 0000000000..fe46ea0520 --- /dev/null +++ b/test/WebSites/RazorPagesWebSite/Pages/Localized/PageWithModel.cshtml @@ -0,0 +1,4 @@ +@page +@model PageWithModel +@inject Microsoft.AspNetCore.Mvc.Localization.IViewLocalizer Localizer +@Localizer["Hello"] diff --git a/test/WebSites/RazorPagesWebSite/Pages/Localized/PageWithModel.fr-FR.resx b/test/WebSites/RazorPagesWebSite/Pages/Localized/PageWithModel.fr-FR.resx new file mode 100644 index 0000000000..1204c9ae7e --- /dev/null +++ b/test/WebSites/RazorPagesWebSite/Pages/Localized/PageWithModel.fr-FR.resx @@ -0,0 +1,18 @@ + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Bon Jour from PageWithModel + + diff --git a/test/WebSites/RazorPagesWebSite/Startup.cs b/test/WebSites/RazorPagesWebSite/Startup.cs index adcb48b6d0..9ea2793f1c 100644 --- a/test/WebSites/RazorPagesWebSite/Startup.cs +++ b/test/WebSites/RazorPagesWebSite/Startup.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.Globalization; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.Extensions.DependencyInjection; @@ -13,7 +14,7 @@ namespace RazorPagesWebSite { services.AddAuthentication(CookieAuthenticationDefaults.AuthenticationScheme).AddCookie(options => options.LoginPath = "/Login"); services.AddMvc() - .AddCookieTempDataProvider() + .AddViewLocalization() .AddRazorPagesOptions(options => { options.Conventions.AuthorizePage("/HelloWorldWithAuth"); @@ -31,6 +32,18 @@ namespace RazorPagesWebSite app.UseStaticFiles(); + var supportedCultures = new[] + { + new CultureInfo("en-US"), + new CultureInfo("fr-FR"), + }; + + app.UseRequestLocalization(new RequestLocalizationOptions + { + SupportedCultures = supportedCultures, + SupportedUICultures = supportedCultures + }); + app.UseMvc(); } } From 13e29e2d1ed56e26dd289432269d2f3704204f75 Mon Sep 17 00:00:00 2001 From: Nate McMaster Date: Fri, 15 Sep 2017 17:56:37 -0700 Subject: [PATCH 02/22] Bump version to 2.0.1 --- build/common.props | 1 - version.props | 13 ++++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/build/common.props b/build/common.props index f037c47f00..9b59b886de 100644 --- a/build/common.props +++ b/build/common.props @@ -9,7 +9,6 @@ $(MSBuildThisFileDirectory)Key.snk true true - $(VersionSuffix)-$(BuildNumber) true diff --git a/version.props b/version.props index acd6cf768c..b68865a1af 100644 --- a/version.props +++ b/version.props @@ -1,6 +1,9 @@ - - - 2.0.0 - - \ No newline at end of file + + 2.0.1 + rtm + $(VersionPrefix) + $(VersionPrefix)-$(VersionSuffix)-final + $(VersionSuffix)-$(BuildNumber) + + From b3aa691549c680efb195202295a384a0afcded19 Mon Sep 17 00:00:00 2001 From: Jass Bagga Date: Mon, 18 Sep 2017 10:57:49 -0700 Subject: [PATCH 03/22] =?UTF-8?q?Add=20EnableRangeProcessingSwitch=20for?= =?UTF-8?q?=20FileContentResult=20and=20Fil=E2=80=A6=20(#6839)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Addresses #6792 --- .../Internal/FileContentResultExecutor.cs | 4 +- .../Internal/FileResultExecutorBase.cs | 21 ++-- .../Internal/FileStreamResultExecutor.cs | 4 +- .../Properties/AssemblyInfo.cs | 1 + .../FileContentResultTest.cs | 78 +++++++++----- .../FileStreamResultTest.cs | 89 ++++++++++----- .../FileResultTests.cs | 102 ++++++++++++++---- 7 files changed, 219 insertions(+), 80 deletions(-) diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/FileContentResultExecutor.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/FileContentResultExecutor.cs index f6763ac01f..445622fd85 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/FileContentResultExecutor.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/FileContentResultExecutor.cs @@ -28,12 +28,14 @@ namespace Microsoft.AspNetCore.Mvc.Internal throw new ArgumentNullException(nameof(result)); } + AppContext.TryGetSwitch(EnableRangeProcessingSwitch, out var enableRangeProcessingSwitch); var (range, rangeLength, serveBody) = SetHeadersAndLog( context, result, result.FileContents.Length, result.LastModified, - result.EntityTag); + result.EntityTag, + enableRangeProcessingSwitch); if (!serveBody) { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/FileResultExecutorBase.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/FileResultExecutorBase.cs index 8b3b429ac7..d010fb8d17 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/FileResultExecutorBase.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/FileResultExecutorBase.cs @@ -17,6 +17,8 @@ namespace Microsoft.AspNetCore.Mvc.Internal { public class FileResultExecutorBase { + internal const string EnableRangeProcessingSwitch = "Switch.Microsoft.AspNetCore.Mvc.EnableRangeProcessing"; + private const string AcceptRangeHeaderValue = "bytes"; protected const int BufferSize = 64 * 1024; @@ -41,7 +43,8 @@ namespace Microsoft.AspNetCore.Mvc.Internal FileResult result, long? fileLength, DateTimeOffset? lastModified = null, - EntityTagHeaderValue etag = null) + EntityTagHeaderValue etag = null, + bool enableRangeProcessing = true) { if (context == null) { @@ -84,19 +87,23 @@ namespace Microsoft.AspNetCore.Mvc.Internal if (fileLength.HasValue) { - SetAcceptRangeHeader(context); // Assuming the request is not a range request, the Content-Length header is set to the length of the entire file. // If the request is a valid range request, this header is overwritten with the length of the range as part of the // range processing (see method SetContentLength). response.ContentLength = fileLength.Value; - if (HttpMethods.IsHead(request.Method) || HttpMethods.IsGet(request.Method)) + + if (enableRangeProcessing) { - if ((preconditionState == PreconditionState.Unspecified || - preconditionState == PreconditionState.ShouldProcess)) + SetAcceptRangeHeader(context); + if (HttpMethods.IsHead(request.Method) || HttpMethods.IsGet(request.Method)) { - if (IfRangeValid(context, httpRequestHeaders, lastModified, etag)) + if ((preconditionState == PreconditionState.Unspecified || + preconditionState == PreconditionState.ShouldProcess)) { - return SetRangeHeaders(context, httpRequestHeaders, fileLength.Value); + if (IfRangeValid(context, httpRequestHeaders, lastModified, etag)) + { + return SetRangeHeaders(context, httpRequestHeaders, fileLength.Value); + } } } } diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/FileStreamResultExecutor.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/FileStreamResultExecutor.cs index 2182e4b617..ffd56aca01 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/FileStreamResultExecutor.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/FileStreamResultExecutor.cs @@ -33,12 +33,14 @@ namespace Microsoft.AspNetCore.Mvc.Internal fileLength = result.FileStream.Length; } + AppContext.TryGetSwitch(EnableRangeProcessingSwitch, out var enableRangeProcessingSwitch); var (range, rangeLength, serveBody) = SetHeadersAndLog( context, result, fileLength, result.LastModified, - result.EntityTag); + result.EntityTag, + enableRangeProcessingSwitch); if (!serveBody) { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Properties/AssemblyInfo.cs b/src/Microsoft.AspNetCore.Mvc.Core/Properties/AssemblyInfo.cs index 18b9d45ba6..723a414854 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Properties/AssemblyInfo.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Properties/AssemblyInfo.cs @@ -4,4 +4,5 @@ using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("Microsoft.AspNetCore.Mvc.Core.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Mvc.FunctionalTests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] [assembly: InternalsVisibleTo("DynamicProxyGenAssembly2, PublicKey=0024000004800000940000000602000000240000525341310004000001000100c547cac37abd99c8db225ef2f6c8a3602f3b3606cc9891605d02baa56104f4cfc0734aa39b93bf7852f7d9266654753cc297e7d2edfe0bac1cdcf9f717241550e0a7b191195b7667bb4f64bcb8e2121380fd1d9d46ad2d92d2d15605093924cceaf74c4861eff62abf69b9291ed0a340e113be11e6a7d3113e92484cf7045cc7")] diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/FileContentResultTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/FileContentResultTest.cs index 64977aaee5..4127d3b875 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/FileContentResultTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/FileContentResultTest.cs @@ -99,7 +99,7 @@ namespace Microsoft.AspNetCore.Mvc [InlineData(6, 10, "World", 5)] [InlineData(null, 5, "World", 5)] [InlineData(6, null, "World", 5)] - public async Task WriteFileAsync_PreconditionStateShouldProcess_WritesRangeRequested(long? start, long? end, string expectedString, long contentLength) + public async Task WriteFileAsync_PreconditionStateShouldProcess_RangeRequestIgnored_WritesRangeRequested_IfRangeProcessingOn(long? start, long? end, string expectedString, long contentLength) { // Arrange var contentType = "text/plain"; @@ -134,18 +134,29 @@ namespace Microsoft.AspNetCore.Mvc httpResponse.Body.Seek(0, SeekOrigin.Begin); var streamReader = new StreamReader(httpResponse.Body); var body = streamReader.ReadToEndAsync().Result; - Assert.Equal(StatusCodes.Status206PartialContent, httpResponse.StatusCode); - Assert.Equal("bytes", httpResponse.Headers[HeaderNames.AcceptRanges]); - var contentRange = new ContentRangeHeaderValue(start.Value, end.Value, byteArray.Length); - Assert.Equal(contentRange.ToString(), httpResponse.Headers[HeaderNames.ContentRange]); Assert.Equal(lastModified.ToString("R"), httpResponse.Headers[HeaderNames.LastModified]); Assert.Equal(entityTag.ToString(), httpResponse.Headers[HeaderNames.ETag]); - Assert.Equal(contentLength, httpResponse.ContentLength); - Assert.Equal(expectedString, body); + + if (AppContext.TryGetSwitch(FileResultExecutorBase.EnableRangeProcessingSwitch, out var enableRangeProcessingSwitch) + && enableRangeProcessingSwitch) + { + Assert.Equal(StatusCodes.Status206PartialContent, httpResponse.StatusCode); + Assert.Equal("bytes", httpResponse.Headers[HeaderNames.AcceptRanges]); + var contentRange = new ContentRangeHeaderValue(start.Value, end.Value, byteArray.Length); + Assert.Equal(contentRange.ToString(), httpResponse.Headers[HeaderNames.ContentRange]); + Assert.Equal(contentLength, httpResponse.ContentLength); + Assert.Equal(expectedString, body); + } + else + { + Assert.Equal(StatusCodes.Status200OK, httpResponse.StatusCode); + Assert.Equal(11, httpResponse.ContentLength); + Assert.Equal("Hello World", body); + } } [Fact] - public async Task WriteFileAsync_IfRangeHeaderValid_WritesRequestedRange() + public async Task WriteFileAsync_IfRangeHeaderValid_WritesRangeRequest_IfRangeProcessingOn() { // Arrange var contentType = "text/plain"; @@ -179,18 +190,29 @@ namespace Microsoft.AspNetCore.Mvc httpResponse.Body.Seek(0, SeekOrigin.Begin); var streamReader = new StreamReader(httpResponse.Body); var body = streamReader.ReadToEndAsync().Result; - Assert.Equal(StatusCodes.Status206PartialContent, httpResponse.StatusCode); - Assert.Equal("bytes", httpResponse.Headers[HeaderNames.AcceptRanges]); - var contentRange = new ContentRangeHeaderValue(0, 4, byteArray.Length); - Assert.Equal(contentRange.ToString(), httpResponse.Headers[HeaderNames.ContentRange]); Assert.Equal(lastModified.ToString("R"), httpResponse.Headers[HeaderNames.LastModified]); Assert.Equal(entityTag.ToString(), httpResponse.Headers[HeaderNames.ETag]); - Assert.Equal(5, httpResponse.ContentLength); - Assert.Equal("Hello", body); + + if (AppContext.TryGetSwitch(FileResultExecutorBase.EnableRangeProcessingSwitch, out var enableRangeProcessingSwitch) + && enableRangeProcessingSwitch) + { + Assert.Equal(StatusCodes.Status206PartialContent, httpResponse.StatusCode); + Assert.Equal("bytes", httpResponse.Headers[HeaderNames.AcceptRanges]); + var contentRange = new ContentRangeHeaderValue(0, 4, byteArray.Length); + Assert.Equal(contentRange.ToString(), httpResponse.Headers[HeaderNames.ContentRange]); + Assert.Equal(5, httpResponse.ContentLength); + Assert.Equal("Hello", body); + } + else + { + Assert.Equal(StatusCodes.Status200OK, httpResponse.StatusCode); + Assert.Equal(11, httpResponse.ContentLength); + Assert.Equal("Hello World", body); + } } [Fact] - public async Task WriteFileAsync_IfRangeHeaderInvalid_RangeRequestedIgnored() + public async Task WriteFileAsync_IfRangeHeaderInvalid_RangeRequestIgnored() { // Arrange var contentType = "text/plain"; @@ -225,7 +247,6 @@ namespace Microsoft.AspNetCore.Mvc var streamReader = new StreamReader(httpResponse.Body); var body = streamReader.ReadToEndAsync().Result; Assert.Equal(StatusCodes.Status200OK, httpResponse.StatusCode); - Assert.Equal("bytes", httpResponse.Headers[HeaderNames.AcceptRanges]); Assert.Equal(lastModified.ToString("R"), httpResponse.Headers[HeaderNames.LastModified]); Assert.Equal(entityTag.ToString(), httpResponse.Headers[HeaderNames.ETag]); Assert.Equal("Hello World", body); @@ -265,7 +286,6 @@ namespace Microsoft.AspNetCore.Mvc var body = streamReader.ReadToEndAsync().Result; Assert.Empty(httpResponse.Headers[HeaderNames.ContentRange]); Assert.Equal(StatusCodes.Status200OK, httpResponse.StatusCode); - Assert.Equal("bytes", httpResponse.Headers[HeaderNames.AcceptRanges]); Assert.Equal(lastModified.ToString("R"), httpResponse.Headers[HeaderNames.LastModified]); Assert.Equal(entityTag.ToString(), httpResponse.Headers[HeaderNames.ETag]); Assert.Equal("Hello World", body); @@ -303,16 +323,26 @@ namespace Microsoft.AspNetCore.Mvc var streamReader = new StreamReader(httpResponse.Body); var body = streamReader.ReadToEndAsync().Result; var contentRange = new ContentRangeHeaderValue(byteArray.Length); - Assert.Equal(StatusCodes.Status416RangeNotSatisfiable, httpResponse.StatusCode); - Assert.Equal("bytes", httpResponse.Headers[HeaderNames.AcceptRanges]); - Assert.Equal(contentRange.ToString(), httpResponse.Headers[HeaderNames.ContentRange]); Assert.Equal(lastModified.ToString("R"), httpResponse.Headers[HeaderNames.LastModified]); Assert.Equal(entityTag.ToString(), httpResponse.Headers[HeaderNames.ETag]); - Assert.Empty(body); + + if (AppContext.TryGetSwitch(FileResultExecutorBase.EnableRangeProcessingSwitch, out var enableRangeProcessingSwitch) + && enableRangeProcessingSwitch) + { + Assert.Equal(StatusCodes.Status416RangeNotSatisfiable, httpResponse.StatusCode); + Assert.Equal("bytes", httpResponse.Headers[HeaderNames.AcceptRanges]); + Assert.Equal(contentRange.ToString(), httpResponse.Headers[HeaderNames.ContentRange]); + Assert.Empty(body); + } + else + { + Assert.Equal(StatusCodes.Status200OK, httpResponse.StatusCode); + Assert.Equal("Hello World", body); + } } [Fact] - public async Task WriteFileAsync_RangeRequested_PreconditionFailed() + public async Task WriteFileAsync_PreconditionFailed() { // Arrange var contentType = "text/plain"; @@ -346,7 +376,6 @@ namespace Microsoft.AspNetCore.Mvc var streamReader = new StreamReader(httpResponse.Body); var body = streamReader.ReadToEndAsync().Result; Assert.Equal(StatusCodes.Status412PreconditionFailed, httpResponse.StatusCode); - Assert.Equal("bytes", httpResponse.Headers[HeaderNames.AcceptRanges]); Assert.Equal(11, httpResponse.ContentLength); Assert.Empty(httpResponse.Headers[HeaderNames.ContentRange]); Assert.NotEmpty(httpResponse.Headers[HeaderNames.LastModified]); @@ -354,7 +383,7 @@ namespace Microsoft.AspNetCore.Mvc } [Fact] - public async Task WriteFileAsync_RangeRequested_NotModified() + public async Task WriteFileAsync_NotModified() { // Arrange var contentType = "text/plain"; @@ -388,7 +417,6 @@ namespace Microsoft.AspNetCore.Mvc var streamReader = new StreamReader(httpResponse.Body); var body = streamReader.ReadToEndAsync().Result; Assert.Equal(StatusCodes.Status304NotModified, httpResponse.StatusCode); - Assert.Equal("bytes", httpResponse.Headers[HeaderNames.AcceptRanges]); Assert.Equal(11, httpResponse.ContentLength); Assert.Empty(httpResponse.Headers[HeaderNames.ContentRange]); Assert.NotEmpty(httpResponse.Headers[HeaderNames.LastModified]); diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/FileStreamResultTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/FileStreamResultTest.cs index e4b342b782..7677676cef 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/FileStreamResultTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/FileStreamResultTest.cs @@ -80,7 +80,7 @@ namespace Microsoft.AspNetCore.Mvc [InlineData(6, 10, "World", 5)] [InlineData(null, 5, "World", 5)] [InlineData(6, null, "World", 5)] - public async Task WriteFileAsync_PreconditionStateShouldProcess_WritesRangeRequested(long? start, long? end, string expectedString, long contentLength) + public async Task WriteFileAsync_PreconditionStateShouldProcess_WritesRangeRequested_IfRangeProcessingOn(long? start, long? end, string expectedString, long contentLength) { // Arrange var contentType = "text/plain"; @@ -118,17 +118,27 @@ namespace Microsoft.AspNetCore.Mvc var streamReader = new StreamReader(httpResponse.Body); var body = streamReader.ReadToEndAsync().Result; var contentRange = new ContentRangeHeaderValue(start.Value, end.Value, byteArray.Length); - Assert.Equal(StatusCodes.Status206PartialContent, httpResponse.StatusCode); - Assert.Equal("bytes", httpResponse.Headers[HeaderNames.AcceptRanges]); - Assert.Equal(contentRange.ToString(), httpResponse.Headers[HeaderNames.ContentRange]); Assert.Equal(lastModified.ToString("R"), httpResponse.Headers[HeaderNames.LastModified]); Assert.Equal(entityTag.ToString(), httpResponse.Headers[HeaderNames.ETag]); - Assert.Equal(contentLength, httpResponse.ContentLength); - Assert.Equal(expectedString, body); + + if (AppContext.TryGetSwitch(FileResultExecutorBase.EnableRangeProcessingSwitch, out var enableRangeProcessingSwitch) + && enableRangeProcessingSwitch) + { + Assert.Equal(StatusCodes.Status206PartialContent, httpResponse.StatusCode); + Assert.Equal("bytes", httpResponse.Headers[HeaderNames.AcceptRanges]); + Assert.Equal(contentRange.ToString(), httpResponse.Headers[HeaderNames.ContentRange]); + Assert.Equal(contentLength, httpResponse.ContentLength); + Assert.Equal(expectedString, body); + } + else + { + Assert.Equal(StatusCodes.Status200OK, httpResponse.StatusCode); + Assert.Equal("Hello World", body); + } } [Fact] - public async Task WriteFileAsync_IfRangeHeaderValid_WritesRequestedRange() + public async Task WriteFileAsync_IfRangeHeaderValid_WritesRequestedRange_IfRangeProcessingOn() { // Arrange var contentType = "text/plain"; @@ -164,14 +174,24 @@ namespace Microsoft.AspNetCore.Mvc httpResponse.Body.Seek(0, SeekOrigin.Begin); var streamReader = new StreamReader(httpResponse.Body); var body = streamReader.ReadToEndAsync().Result; - Assert.Equal(StatusCodes.Status206PartialContent, httpResponse.StatusCode); - Assert.Equal("bytes", httpResponse.Headers[HeaderNames.AcceptRanges]); - var contentRange = new ContentRangeHeaderValue(0, 4, byteArray.Length); - Assert.Equal(contentRange.ToString(), httpResponse.Headers[HeaderNames.ContentRange]); Assert.Equal(lastModified.ToString("R"), httpResponse.Headers[HeaderNames.LastModified]); Assert.Equal(entityTag.ToString(), httpResponse.Headers[HeaderNames.ETag]); - Assert.Equal(5, httpResponse.ContentLength); - Assert.Equal("Hello", body); + + if (AppContext.TryGetSwitch(FileResultExecutorBase.EnableRangeProcessingSwitch, out var enableRangeProcessingSwitch) + && enableRangeProcessingSwitch) + { + var contentRange = new ContentRangeHeaderValue(0, 4, byteArray.Length); + Assert.Equal(StatusCodes.Status206PartialContent, httpResponse.StatusCode); + Assert.Equal("bytes", httpResponse.Headers[HeaderNames.AcceptRanges]); + Assert.Equal(contentRange.ToString(), httpResponse.Headers[HeaderNames.ContentRange]); + Assert.Equal(5, httpResponse.ContentLength); + Assert.Equal("Hello", body); + } + else + { + Assert.Equal(StatusCodes.Status200OK, httpResponse.StatusCode); + Assert.Equal("Hello World", body); + } } [Fact] @@ -253,7 +273,6 @@ namespace Microsoft.AspNetCore.Mvc var body = streamReader.ReadToEndAsync().Result; Assert.Empty(httpResponse.Headers[HeaderNames.ContentRange]); Assert.Equal(StatusCodes.Status200OK, httpResponse.StatusCode); - Assert.Equal("bytes", httpResponse.Headers[HeaderNames.AcceptRanges]); Assert.Equal(lastModified.ToString("R"), httpResponse.Headers[HeaderNames.LastModified]); Assert.Equal(entityTag.ToString(), httpResponse.Headers[HeaderNames.ETag]); Assert.Equal("Hello World", body); @@ -292,12 +311,23 @@ namespace Microsoft.AspNetCore.Mvc var streamReader = new StreamReader(httpResponse.Body); var body = streamReader.ReadToEndAsync().Result; var contentRange = new ContentRangeHeaderValue(byteArray.Length); - Assert.Equal(StatusCodes.Status416RangeNotSatisfiable, httpResponse.StatusCode); - Assert.Equal("bytes", httpResponse.Headers[HeaderNames.AcceptRanges]); - Assert.Equal(contentRange.ToString(), httpResponse.Headers[HeaderNames.ContentRange]); Assert.Equal(lastModified.ToString("R"), httpResponse.Headers[HeaderNames.LastModified]); Assert.Equal(entityTag.ToString(), httpResponse.Headers[HeaderNames.ETag]); - Assert.Empty(body); + + if (AppContext.TryGetSwitch(FileResultExecutorBase.EnableRangeProcessingSwitch, out var enableRangeProcessingSwitch) + && enableRangeProcessingSwitch) + { + Assert.Equal(StatusCodes.Status416RangeNotSatisfiable, httpResponse.StatusCode); + Assert.Equal("bytes", httpResponse.Headers[HeaderNames.AcceptRanges]); + Assert.Equal(contentRange.ToString(), httpResponse.Headers[HeaderNames.ContentRange]); + Assert.Equal(11, httpResponse.ContentLength); + Assert.Empty(body); + } + else + { + Assert.Equal(StatusCodes.Status200OK, httpResponse.StatusCode); + Assert.Equal("Hello World", body); + } } [Fact] @@ -336,7 +366,6 @@ namespace Microsoft.AspNetCore.Mvc var streamReader = new StreamReader(httpResponse.Body); var body = streamReader.ReadToEndAsync().Result; Assert.Equal(StatusCodes.Status412PreconditionFailed, httpResponse.StatusCode); - Assert.Equal("bytes", httpResponse.Headers[HeaderNames.AcceptRanges]); Assert.Equal(11, httpResponse.ContentLength); Assert.Empty(httpResponse.Headers[HeaderNames.ContentRange]); Assert.NotEmpty(httpResponse.Headers[HeaderNames.LastModified]); @@ -379,7 +408,6 @@ namespace Microsoft.AspNetCore.Mvc var streamReader = new StreamReader(httpResponse.Body); var body = streamReader.ReadToEndAsync().Result; Assert.Equal(StatusCodes.Status304NotModified, httpResponse.StatusCode); - Assert.Equal("bytes", httpResponse.Headers[HeaderNames.AcceptRanges]); Assert.Equal(11, httpResponse.ContentLength); Assert.Empty(httpResponse.Headers[HeaderNames.ContentRange]); Assert.NotEmpty(httpResponse.Headers[HeaderNames.LastModified]); @@ -424,14 +452,23 @@ namespace Microsoft.AspNetCore.Mvc httpResponse.Body.Seek(0, SeekOrigin.Begin); var streamReader = new StreamReader(httpResponse.Body); var body = streamReader.ReadToEndAsync().Result; - - var contentRange = new ContentRangeHeaderValue(byteArray.Length); - Assert.Equal(StatusCodes.Status416RangeNotSatisfiable, httpResponse.StatusCode); - Assert.Equal("bytes", httpResponse.Headers[HeaderNames.AcceptRanges]); - Assert.Equal(contentRange.ToString(), httpResponse.Headers[HeaderNames.ContentRange]); Assert.Equal(lastModified.ToString("R"), httpResponse.Headers[HeaderNames.LastModified]); Assert.Equal(entityTag.ToString(), httpResponse.Headers[HeaderNames.ETag]); - Assert.Empty(body); + + if (AppContext.TryGetSwitch(FileResultExecutorBase.EnableRangeProcessingSwitch, out var enableRangeProcessingSwitch) + && enableRangeProcessingSwitch) + { + var contentRange = new ContentRangeHeaderValue(byteArray.Length); + Assert.Equal(StatusCodes.Status416RangeNotSatisfiable, httpResponse.StatusCode); + Assert.Equal("bytes", httpResponse.Headers[HeaderNames.AcceptRanges]); + Assert.Equal(contentRange.ToString(), httpResponse.Headers[HeaderNames.ContentRange]); + Assert.Empty(body); + } + else + { + Assert.Equal(StatusCodes.Status200OK, httpResponse.StatusCode); + Assert.Empty(body); + } } [Fact] diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/FileResultTests.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/FileResultTests.cs index b631f22490..383e081609 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/FileResultTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/FileResultTests.cs @@ -2,11 +2,11 @@ // 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.Net; using System.Net.Http; using System.Net.Http.Headers; using System.Threading.Tasks; +using Microsoft.AspNetCore.Mvc.Internal; using Microsoft.AspNetCore.Testing.xunit; using Xunit; @@ -259,12 +259,22 @@ namespace Microsoft.AspNetCore.Mvc.FunctionalTests var response = await Client.SendAsync(httpRequestMessage); // Assert - Assert.Equal(HttpStatusCode.PartialContent, response.StatusCode); Assert.NotNull(response.Content.Headers.ContentType); Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString()); var body = await response.Content.ReadAsStringAsync(); Assert.NotNull(body); - Assert.Equal(expectedBody, body); + + if (AppContext.TryGetSwitch(FileResultExecutorBase.EnableRangeProcessingSwitch, out var enableRangeProcessingSwitch) + && enableRangeProcessingSwitch) + { + Assert.Equal(HttpStatusCode.PartialContent, response.StatusCode); + Assert.Equal(expectedBody, body); + } + else + { + Assert.Equal(HttpStatusCode.OK, response.StatusCode); + Assert.Equal("This is sample text from a stream", body); + } } [Theory] @@ -301,11 +311,21 @@ namespace Microsoft.AspNetCore.Mvc.FunctionalTests var response = await Client.SendAsync(httpRequestMessage); // Assert - Assert.Equal(HttpStatusCode.RequestedRangeNotSatisfiable, response.StatusCode); - Assert.NotNull(response.Content.Headers.ContentType); - Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString()); var body = await response.Content.ReadAsStringAsync(); - Assert.Empty(body); + + if (AppContext.TryGetSwitch(FileResultExecutorBase.EnableRangeProcessingSwitch, out var enableRangeProcessingSwitch) + && enableRangeProcessingSwitch) + { + Assert.Equal(HttpStatusCode.RequestedRangeNotSatisfiable, response.StatusCode); + Assert.NotNull(response.Content.Headers.ContentType); + Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString()); + Assert.Empty(body); + } + else + { + Assert.Equal(HttpStatusCode.OK, response.StatusCode); + Assert.Equal("This is sample text from a stream", body); + } } [Fact] @@ -341,12 +361,23 @@ namespace Microsoft.AspNetCore.Mvc.FunctionalTests var response = await Client.SendAsync(httpRequestMessage); // Assert - Assert.Equal(HttpStatusCode.PartialContent, response.StatusCode); Assert.NotNull(response.Content.Headers.ContentType); Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString()); var body = await response.Content.ReadAsStringAsync(); Assert.NotNull(body); - Assert.Equal("This is", body); + + if (AppContext.TryGetSwitch(FileResultExecutorBase.EnableRangeProcessingSwitch, out var enableRangeProcessingSwitch) + && enableRangeProcessingSwitch) + { + Assert.Equal(HttpStatusCode.PartialContent, response.StatusCode); + Assert.Equal("This is", body); + } + + else + { + Assert.Equal(HttpStatusCode.OK, response.StatusCode); + Assert.Equal("This is sample text from a stream", body); + } } [Fact] @@ -361,10 +392,8 @@ namespace Microsoft.AspNetCore.Mvc.FunctionalTests var response = await Client.SendAsync(httpRequestMessage); // Assert - Assert.Equal(HttpStatusCode.OK, response.StatusCode); - Assert.NotNull(response.Content.Headers.ContentType); - Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString()); var body = await response.Content.ReadAsStringAsync(); + Assert.Equal(HttpStatusCode.OK, response.StatusCode); Assert.Equal("This is sample text from a stream", body); } @@ -399,12 +428,22 @@ namespace Microsoft.AspNetCore.Mvc.FunctionalTests var response = await Client.SendAsync(httpRequestMessage); // Assert - Assert.Equal(HttpStatusCode.PartialContent, response.StatusCode); Assert.NotNull(response.Content.Headers.ContentType); Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString()); var body = await response.Content.ReadAsStringAsync(); Assert.NotNull(body); - Assert.Equal(expectedBody, body); + + if (AppContext.TryGetSwitch(FileResultExecutorBase.EnableRangeProcessingSwitch, out var enableRangeProcessingSwitch) + && enableRangeProcessingSwitch) + { + Assert.Equal(HttpStatusCode.PartialContent, response.StatusCode); + Assert.Equal(expectedBody, body); + } + else + { + Assert.Equal(HttpStatusCode.OK, response.StatusCode); + Assert.Equal("This is a sample text from a binary array", body); + } } [Theory] @@ -441,11 +480,24 @@ namespace Microsoft.AspNetCore.Mvc.FunctionalTests var response = await Client.SendAsync(httpRequestMessage); // Assert - Assert.Equal(HttpStatusCode.RequestedRangeNotSatisfiable, response.StatusCode); Assert.NotNull(response.Content.Headers.ContentType); Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString()); var body = await response.Content.ReadAsStringAsync(); - Assert.Empty(body); + Assert.NotNull(body); + + if (AppContext.TryGetSwitch(FileResultExecutorBase.EnableRangeProcessingSwitch, out var enableRangeProcessingSwitch) + && enableRangeProcessingSwitch) + { + Assert.Equal(HttpStatusCode.RequestedRangeNotSatisfiable, response.StatusCode); + Assert.NotNull(response.Content.Headers.ContentType); + Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString()); + Assert.Empty(body); + } + else + { + Assert.Equal(HttpStatusCode.OK, response.StatusCode); + Assert.Equal("This is a sample text from a binary array", body); + } } [Fact] @@ -470,7 +522,7 @@ namespace Microsoft.AspNetCore.Mvc.FunctionalTests } [Fact] - public async Task FileFromBinaryData_ReturnsFileWithFileName_IfRangeHeaderValid_RangeRequest() + public async Task FileFromBinaryData_ReturnsFileWithFileName_IfRangeHeaderValid() { // Arrange var httpRequestMessage = new HttpRequestMessage(HttpMethod.Get, "http://localhost/DownloadFiles/DownloadFromBinaryDataWithFileName_WithEtag"); @@ -480,13 +532,23 @@ namespace Microsoft.AspNetCore.Mvc.FunctionalTests // Act var response = await Client.SendAsync(httpRequestMessage); - // Assert - Assert.Equal(HttpStatusCode.PartialContent, response.StatusCode); + // Assert Assert.NotNull(response.Content.Headers.ContentType); Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString()); var body = await response.Content.ReadAsStringAsync(); Assert.NotNull(body); - Assert.Equal("This is", body); + + if (AppContext.TryGetSwitch(FileResultExecutorBase.EnableRangeProcessingSwitch, out var enableRangeProcessingSwitch) + && enableRangeProcessingSwitch) + { + Assert.Equal(HttpStatusCode.PartialContent, response.StatusCode); + Assert.Equal("This is", body); + } + else + { + Assert.Equal(HttpStatusCode.OK, response.StatusCode); + Assert.Equal("This is a sample text from a binary array", body); + } } [Fact] From 8697f2b2712f860fa0e802c9db26a58923b34222 Mon Sep 17 00:00:00 2001 From: Nate McMaster Date: Mon, 18 Sep 2017 12:43:00 -0700 Subject: [PATCH 04/22] Update package feeds and dependencies for 2.0.1 (#6843) --- .gitignore | 4 ++- Directory.Build.targets | 4 +++ NuGet.config | 1 + build/dependencies.targets | 51 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 59 insertions(+), 1 deletion(-) create mode 100644 Directory.Build.targets create mode 100644 build/dependencies.targets diff --git a/.gitignore b/.gitignore index eb53e0d55e..277a801f99 100644 --- a/.gitignore +++ b/.gitignore @@ -38,4 +38,6 @@ node_modules *.orig .vscode/ global.json -BenchmarkDotNet.Artifacts/ \ No newline at end of file +BenchmarkDotNet.Artifacts/ +*.g.targets +korebuild-lock.txt diff --git a/Directory.Build.targets b/Directory.Build.targets new file mode 100644 index 0000000000..d8f1db62cd --- /dev/null +++ b/Directory.Build.targets @@ -0,0 +1,4 @@ + + + + diff --git a/NuGet.config b/NuGet.config index 6a62aeda63..21510b3a41 100644 --- a/NuGet.config +++ b/NuGet.config @@ -2,6 +2,7 @@ + diff --git a/build/dependencies.targets b/build/dependencies.targets new file mode 100644 index 0000000000..5edbbadab2 --- /dev/null +++ b/build/dependencies.targets @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file From 9f5e4eb483e19be069defa6b091aebef166d50be Mon Sep 17 00:00:00 2001 From: Pranav K Date: Thu, 24 Aug 2017 09:54:41 -0700 Subject: [PATCH 05/22] Allow "page" route parameter to be used in Mvc controllers Fixes #6660 --- .../RazorViewEngine.cs | 11 ++- .../PageViewLocationExpander.cs | 8 +- .../BasicTests.cs | 26 +++++++ .../RazorViewEngineTest.cs | 77 ++++++++++++++++++- .../PageViewLocationExpanderTest.cs | 35 +++++++-- .../Controllers/PageRouteController.cs | 25 ++++++ test/WebSites/BasicWebSite/Startup.cs | 1 + .../Views/PageRoute/AttributeRoute.cshtml | 1 + .../Views/PageRoute/ConventionalRoute.cshtml | 1 + 9 files changed, 171 insertions(+), 14 deletions(-) create mode 100644 test/WebSites/BasicWebSite/Controllers/PageRouteController.cs create mode 100644 test/WebSites/BasicWebSite/Views/PageRoute/AttributeRoute.cshtml create mode 100644 test/WebSites/BasicWebSite/Views/PageRoute/ConventionalRoute.cshtml diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/RazorViewEngine.cs b/src/Microsoft.AspNetCore.Mvc.Razor/RazorViewEngine.cs index be5c345966..ad0ec5e1cf 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/RazorViewEngine.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/RazorViewEngine.cs @@ -240,7 +240,13 @@ namespace Microsoft.AspNetCore.Mvc.Razor { var controllerName = GetNormalizedRouteValue(actionContext, ControllerKey); var areaName = GetNormalizedRouteValue(actionContext, AreaKey); - var razorPageName = GetNormalizedRouteValue(actionContext, PageKey); + string razorPageName = null; + if (actionContext.ActionDescriptor.RouteValues.ContainsKey(PageKey)) + { + // Only calculate the Razor Page name if "page" is registered in RouteValues. + razorPageName = GetNormalizedRouteValue(actionContext, PageKey); + } + var expanderContext = new ViewLocationExpanderContext( actionContext, pageName, @@ -270,8 +276,7 @@ namespace Microsoft.AspNetCore.Mvc.Razor expanderContext.IsMainPage, expanderValues); - ViewLocationCacheResult cacheResult; - if (!ViewLookupCache.TryGetValue(cacheKey, out cacheResult)) + if (!ViewLookupCache.TryGetValue(cacheKey, out ViewLocationCacheResult cacheResult)) { _logger.ViewLookupCacheMiss(cacheKey.ViewName, cacheKey.ControllerName); cacheResult = OnCacheMiss(expanderContext, cacheKey); diff --git a/src/Microsoft.AspNetCore.Mvc.RazorPages/Infrastructure/PageViewLocationExpander.cs b/src/Microsoft.AspNetCore.Mvc.RazorPages/Infrastructure/PageViewLocationExpander.cs index a1af5eea2a..974bb5f99a 100644 --- a/src/Microsoft.AspNetCore.Mvc.RazorPages/Infrastructure/PageViewLocationExpander.cs +++ b/src/Microsoft.AspNetCore.Mvc.RazorPages/Infrastructure/PageViewLocationExpander.cs @@ -10,13 +10,13 @@ namespace Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure { public IEnumerable ExpandViewLocations(ViewLocationExpanderContext context, IEnumerable viewLocations) { - if (string.IsNullOrEmpty(context.PageName)) + if ((context.ActionContext.ActionDescriptor is PageActionDescriptor) && !string.IsNullOrEmpty(context.PageName)) { - // Not a page - just act natural. - return viewLocations; + return ExpandPageHierarchy(); } - return ExpandPageHierarchy(); + // Not a page - just act natural. + return viewLocations; IEnumerable ExpandPageHierarchy() { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/BasicTests.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/BasicTests.cs index b6bd2c39a7..60697caf63 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/BasicTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/BasicTests.cs @@ -376,5 +376,31 @@ namespace Microsoft.AspNetCore.Mvc.FunctionalTests // Assert Assert.Equal(HttpStatusCode.NotFound, response.StatusCode); } + + [Fact] + public async Task UsingPageRouteParameterInConventionalRouteWorks() + { + // Arrange + var expected = "ConventionalRoute - Hello from mypage"; + + // Act + var response = await Client.GetStringAsync("/PageRoute/ConventionalRoute/mypage"); + + // Assert + Assert.Equal(expected, response.Trim()); + } + + [Fact] + public async Task UsingPageRouteParameterInAttributeRouteWorks() + { + // Arrange + var expected = "AttributeRoute - Hello from test-page"; + + // Act + var response = await Client.GetStringAsync("/PageRoute/Attribute/test-page"); + + // Assert + Assert.Equal(expected, response.Trim()); + } } } \ No newline at end of file diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Test/RazorViewEngineTest.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Test/RazorViewEngineTest.cs index b19fb8002c..f0eee6001b 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Test/RazorViewEngineTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Test/RazorViewEngineTest.cs @@ -1791,6 +1791,79 @@ namespace Microsoft.AspNetCore.Mvc.Razor.Test Assert.Equal(expected, actual); } + [Fact] + public void ViewEngine_DoesNotSetPageValue_IfItIsNotSpecifiedInRouteValues() + { + // Arrange + var routeValues = new Dictionary + { + { "controller", "MyController" }, + { "action", "MyAction" } + }; + + var expected = new[] { "some-seed" }; + var expander = new Mock(); + expander + .Setup(e => e.PopulateValues(It.IsAny())) + .Callback((ViewLocationExpanderContext c) => + { + Assert.Equal("MyController", c.ControllerName); + Assert.Null(c.PageName); + }) + .Verifiable(); + + expander + .Setup(e => e.ExpandViewLocations( + It.IsAny(), + It.IsAny>())) + .Returns(expected); + + var viewEngine = CreateViewEngine(expanders: new[] { expander.Object }); + var context = GetActionContext(routeValues); + + // Act + viewEngine.FindView(context, viewName: "Test-view", isMainPage: true); + + // Assert + expander.Verify(); + } + + [Fact] + public void ViewEngine_SetsPageValue_IfItIsSpecifiedInRouteValues() + { + // Arrange + var routeValues = new Dictionary + { + { "page", "MyPage" }, + }; + + var expected = new[] { "some-seed" }; + var expander = new Mock(); + expander + .Setup(e => e.PopulateValues(It.IsAny())) + .Callback((ViewLocationExpanderContext c) => + { + Assert.Equal("MyPage", c.PageName); + }) + .Verifiable(); + + expander + .Setup(e => e.ExpandViewLocations( + It.IsAny(), + It.IsAny>())) + .Returns(expected); + + var viewEngine = CreateViewEngine(expanders: new[] { expander.Object }); + var context = GetActionContext(routeValues); + context.ActionDescriptor.RouteValues["page"] = "MyPage"; + + // Act + viewEngine.FindView(context, viewName: "MyView", isMainPage: true); + + // Assert + expander.Verify(); + } + // Return RazorViewEngine with a page factory provider that is always successful. private RazorViewEngine CreateSuccessfulViewEngine() { @@ -1931,8 +2004,8 @@ namespace Microsoft.AspNetCore.Mvc.Razor.Test optionsAccessor, new FileProviderRazorProject( Mock.Of(a => a.FileProvider == new TestFileProvider()))) - { - } + { + } public TestableRazorViewEngine( IRazorPageFactoryProvider pageFactory, diff --git a/test/Microsoft.AspNetCore.Mvc.RazorPages.Test/Infrastructure/PageViewLocationExpanderTest.cs b/test/Microsoft.AspNetCore.Mvc.RazorPages.Test/Infrastructure/PageViewLocationExpanderTest.cs index 0a02633d65..a0ad23fdbc 100644 --- a/test/Microsoft.AspNetCore.Mvc.RazorPages.Test/Infrastructure/PageViewLocationExpanderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.RazorPages.Test/Infrastructure/PageViewLocationExpanderTest.cs @@ -1,13 +1,10 @@ // 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.IO; using System.Linq; -using System.Text; +using Microsoft.AspNetCore.Mvc.Controllers; using Microsoft.AspNetCore.Mvc.Razor; -using Microsoft.AspNetCore.Razor.Language; using Xunit; namespace Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure @@ -48,6 +45,28 @@ namespace Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure Assert.Equal(locations, actual); } + [Fact] + public void ExpandLocations_NoOp_ForNonPageWithPageName() + { + // Verifies the fix for https://github.com/aspnet/Mvc/issues/6660. This ensures that when PageViewLocationExpander is called + // from a non-Razor Page with a route value for " + // Arrange + var context = CreateContext(pageName: "test"); + context.ActionContext.ActionDescriptor = new ControllerActionDescriptor(); + var locations = new string[] + { + "/ignore-me", + }; + + var expander = new PageViewLocationExpander(); + + // Act + var actual = expander.ExpandViewLocations(context, locations); + + // Assert + Assert.Equal(locations, actual); + } + [Fact] public void ExpandLocations_NoOp_WhenLocationDoesNotContainPageToken() { @@ -125,8 +144,13 @@ namespace Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure private ViewLocationExpanderContext CreateContext(string viewName = "_LoginPartial.cshtml", string pageName = null) { + var actionContext = new ActionContext + { + ActionDescriptor = new PageActionDescriptor(), + }; + return new ViewLocationExpanderContext( - new ActionContext(), + actionContext, viewName, controllerName: null, areaName: null, @@ -134,6 +158,7 @@ namespace Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure isMainPage: true) { Values = new Dictionary(), + }; } } diff --git a/test/WebSites/BasicWebSite/Controllers/PageRouteController.cs b/test/WebSites/BasicWebSite/Controllers/PageRouteController.cs new file mode 100644 index 0000000000..2022d5e221 --- /dev/null +++ b/test/WebSites/BasicWebSite/Controllers/PageRouteController.cs @@ -0,0 +1,25 @@ +// 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; + +namespace BasicWebSite.Controllers +{ + // Verifies that we can use the "page" token in routing in a controller only (no Razor Pages) application + // without affecting view lookups. + public class PageRouteController : Controller + { + public IActionResult ConventionalRoute(string page) + { + ViewData["page"] = page; + return View(); + } + + [HttpGet("/PageRoute/Attribute/{page}")] + public IActionResult AttributeRoute(string page) + { + ViewData["page"] = page; + return View(); + } + } +} diff --git a/test/WebSites/BasicWebSite/Startup.cs b/test/WebSites/BasicWebSite/Startup.cs index 2ee9f6f816..9cc9d295eb 100644 --- a/test/WebSites/BasicWebSite/Startup.cs +++ b/test/WebSites/BasicWebSite/Startup.cs @@ -44,6 +44,7 @@ namespace BasicWebSite routes.MapRoute("ActionAsMethod", "{controller}/{action}", defaults: new { controller = "Home", action = "Index" }); + routes.MapRoute("PageRoute", "{controller}/{action}/{page}"); }); } } diff --git a/test/WebSites/BasicWebSite/Views/PageRoute/AttributeRoute.cshtml b/test/WebSites/BasicWebSite/Views/PageRoute/AttributeRoute.cshtml new file mode 100644 index 0000000000..54be40b404 --- /dev/null +++ b/test/WebSites/BasicWebSite/Views/PageRoute/AttributeRoute.cshtml @@ -0,0 +1 @@ +AttributeRoute - Hello from @ViewBag.Page diff --git a/test/WebSites/BasicWebSite/Views/PageRoute/ConventionalRoute.cshtml b/test/WebSites/BasicWebSite/Views/PageRoute/ConventionalRoute.cshtml new file mode 100644 index 0000000000..8a22a765db --- /dev/null +++ b/test/WebSites/BasicWebSite/Views/PageRoute/ConventionalRoute.cshtml @@ -0,0 +1 @@ +ConventionalRoute - Hello from @ViewBag.Page From 6041c6b96684e3a9e859be1a5f6f3120088d7453 Mon Sep 17 00:00:00 2001 From: Doug Bunting Date: Sat, 2 Sep 2017 16:57:28 -0700 Subject: [PATCH 06/22] Auto-select `type="text"` for `DateTimeOffset` values - cherry-picked from 7e4a8fe in dev - #6648 - a different take on #4871 - `DateTime` can also round-trip `DateTimeKind.UTC` with `[DataType("datetimeoffset")]` or `[UIHint("datetimeoffset")]` - since they're now handled differently by default, add more `DateTime` tests - expand tests involving `Html5DateRenderingMode.CurrentCulture` nits: make VS-suggested changes to files updated in this PR --- .../InputTagHelper.cs | 41 ++- .../Internal/DefaultEditorTemplates.cs | 7 +- .../ViewFeatures/TemplateRenderer.cs | 9 +- .../HtmlHelperOptionsTest.cs | 8 +- .../InputTagHelperTest.cs | 80 +++++- .../Internal/DefaultEditorTemplatesTest.cs | 271 +++++++++++++----- 6 files changed, 320 insertions(+), 96 deletions(-) diff --git a/src/Microsoft.AspNetCore.Mvc.TagHelpers/InputTagHelper.cs b/src/Microsoft.AspNetCore.Mvc.TagHelpers/InputTagHelper.cs index 0b618900a8..18407ace88 100644 --- a/src/Microsoft.AspNetCore.Mvc.TagHelpers/InputTagHelper.cs +++ b/src/Microsoft.AspNetCore.Mvc.TagHelpers/InputTagHelper.cs @@ -34,6 +34,7 @@ namespace Microsoft.AspNetCore.Mvc.TagHelpers { "Date", "date" }, { "DateTime", "datetime-local" }, { "DateTime-local", "datetime-local" }, + { nameof(DateTimeOffset), "text" }, { "Time", "time" }, { nameof(Byte), "number" }, { nameof(SByte), "number" }, @@ -234,8 +235,7 @@ namespace Microsoft.AspNetCore.Mvc.TagHelpers { foreach (var hint in GetInputTypeHints(modelExplorer)) { - string inputType; - if (_defaultInputTypes.TryGetValue(hint, out inputType)) + if (_defaultInputTypes.TryGetValue(hint, out var inputType)) { inputTypeHint = hint; return inputType; @@ -252,8 +252,7 @@ namespace Microsoft.AspNetCore.Mvc.TagHelpers { if (modelExplorer.Model != null) { - bool potentialBool; - if (!bool.TryParse(modelExplorer.Model.ToString(), out potentialBool)) + if (!bool.TryParse(modelExplorer.Model.ToString(), out var potentialBool)) { throw new InvalidOperationException(Resources.FormatInputTagHelper_InvalidStringResult( ForAttributeName, @@ -353,8 +352,7 @@ namespace Microsoft.AspNetCore.Mvc.TagHelpers private TagBuilder GenerateHidden(ModelExplorer modelExplorer) { var value = For.Model; - var byteArrayValue = value as byte[]; - if (byteArrayValue != null) + if (value is byte[] byteArrayValue) { value = Convert.ToBase64String(byteArrayValue); } @@ -380,7 +378,6 @@ namespace Microsoft.AspNetCore.Mvc.TagHelpers private string GetFormat(ModelExplorer modelExplorer, string inputTypeHint, string inputType) { string format; - string rfc3339Format; if (string.Equals("decimal", inputTypeHint, StringComparison.OrdinalIgnoreCase) && string.Equals("text", inputType, StringComparison.Ordinal) && string.IsNullOrEmpty(modelExplorer.Metadata.EditFormatString)) @@ -389,14 +386,30 @@ namespace Microsoft.AspNetCore.Mvc.TagHelpers // EditFormatString has precedence over this fall-back format. format = "{0:0.00}"; } - else if (_rfc3339Formats.TryGetValue(inputType, out rfc3339Format) && - ViewContext.Html5DateRenderingMode == Html5DateRenderingMode.Rfc3339 && + else if (ViewContext.Html5DateRenderingMode == Html5DateRenderingMode.Rfc3339 && !modelExplorer.Metadata.HasNonDefaultEditFormat && - (typeof(DateTime) == modelExplorer.Metadata.UnderlyingOrModelType || typeof(DateTimeOffset) == modelExplorer.Metadata.UnderlyingOrModelType)) + (typeof(DateTime) == modelExplorer.Metadata.UnderlyingOrModelType || + typeof(DateTimeOffset) == modelExplorer.Metadata.UnderlyingOrModelType)) { - // Rfc3339 mode _may_ override EditFormatString in a limited number of cases e.g. EditFormatString - // must be a default format (i.e. came from a built-in [DataType] attribute). - format = rfc3339Format; + // Rfc3339 mode _may_ override EditFormatString in a limited number of cases. Happens only when + // EditFormatString has a default format i.e. came from a [DataType] attribute. + if (string.Equals("text", inputType) && + string.Equals(nameof(DateTimeOffset), inputTypeHint, StringComparison.OrdinalIgnoreCase)) + { + // Auto-select a format that round-trips Offset and sub-Second values in a DateTimeOffset. Not + // done if user chose the "text" type in .cshtml file or with data annotations i.e. when + // inputTypeHint==null or "text". + format = _rfc3339Formats["datetime"]; + } + else if (_rfc3339Formats.TryGetValue(inputType, out var rfc3339Format)) + { + format = rfc3339Format; + } + else + { + // Otherwise use default EditFormatString. + format = modelExplorer.Metadata.EditFormatString; + } } else { @@ -428,7 +441,7 @@ namespace Microsoft.AspNetCore.Mvc.TagHelpers fieldType = modelExplorer.Metadata.UnderlyingOrModelType; } - foreach (string typeName in TemplateRenderer.GetTypeNames(modelExplorer.Metadata, fieldType)) + foreach (var typeName in TemplateRenderer.GetTypeNames(modelExplorer.Metadata, fieldType)) { yield return typeName; } diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Internal/DefaultEditorTemplates.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Internal/DefaultEditorTemplates.cs index 4ef3de57a3..4db4c74011 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Internal/DefaultEditorTemplates.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Internal/DefaultEditorTemplates.cs @@ -197,8 +197,7 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Internal { var htmlAttributes = HtmlHelper.AnonymousObjectToHtmlAttributes(htmlAttributesObject); - object htmlClassObject; - if (htmlAttributes.TryGetValue("class", out htmlClassObject)) + if (htmlAttributes.TryGetValue("class", out var htmlClassObject)) { var htmlClassName = htmlClassObject + " " + className; htmlAttributes["class"] = htmlClassName; @@ -347,10 +346,10 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Internal return GenerateTextBox(htmlHelper, inputType: "email"); } - public static IHtmlContent DateTimeInputTemplate(IHtmlHelper htmlHelper) + public static IHtmlContent DateTimeOffsetTemplate(IHtmlHelper htmlHelper) { ApplyRfc3339DateFormattingIfNeeded(htmlHelper, "{0:yyyy-MM-ddTHH:mm:ss.fffK}"); - return GenerateTextBox(htmlHelper, inputType: "datetime"); + return GenerateTextBox(htmlHelper, inputType: "text"); } public static IHtmlContent DateTimeLocalInputTemplate(IHtmlHelper htmlHelper) diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/TemplateRenderer.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/TemplateRenderer.cs index 0652fdd7c1..9ccc1cd361 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/TemplateRenderer.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/TemplateRenderer.cs @@ -50,6 +50,7 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Internal { "Date", DefaultEditorTemplates.DateInputTemplate }, { "DateTime", DefaultEditorTemplates.DateTimeLocalInputTemplate }, { "DateTime-local", DefaultEditorTemplates.DateTimeLocalInputTemplate }, + { nameof(DateTimeOffset), DefaultEditorTemplates.DateTimeOffsetTemplate }, { "Time", DefaultEditorTemplates.TimeInputTemplate }, { typeof(byte).Name, DefaultEditorTemplates.NumberInputTemplate }, { typeof(sbyte).Name, DefaultEditorTemplates.NumberInputTemplate }, @@ -115,7 +116,7 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Internal var defaultActions = GetDefaultActions(); var modeViewPath = _readOnly ? DisplayTemplateViewPath : EditorTemplateViewPath; - foreach (string viewName in GetViewNames()) + foreach (var viewName in GetViewNames()) { var viewEngineResult = _viewEngine.GetView(_viewContext.ExecutingFilePath, viewName, isMainPage: false); if (!viewEngineResult.Success) @@ -141,8 +142,7 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Internal } } - Func defaultAction; - if (defaultActions.TryGetValue(viewName, out defaultAction)) + if (defaultActions.TryGetValue(viewName, out var defaultAction)) { return defaultAction(MakeHtmlHelper(_viewContext, _viewData)); } @@ -255,8 +255,7 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Internal { var newHelper = viewContext.HttpContext.RequestServices.GetRequiredService(); - var contextable = newHelper as IViewContextAware; - if (contextable != null) + if (newHelper is IViewContextAware contextable) { var newViewContext = new ViewContext(viewContext, viewContext.View, viewData, viewContext.Writer); contextable.Contextualize(newViewContext); diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/HtmlHelperOptionsTest.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/HtmlHelperOptionsTest.cs index 0f8cc97ea1..76faef248d 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/HtmlHelperOptionsTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/HtmlHelperOptionsTest.cs @@ -28,7 +28,7 @@ namespace Microsoft.AspNetCore.Mvc.FunctionalTests An error occurred.
-
+
MySummary
  • A model error occurred.
  • @@ -36,7 +36,7 @@ namespace Microsoft.AspNetCore.Mvc.FunctionalTests An error occurred.
    -
    +
    False"; @@ -59,7 +59,7 @@ False"; An error occurred.
    -
    +
    True
    MySummary @@ -68,7 +68,7 @@ True An error occurred.
    -
    +
    True"; diff --git a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/InputTagHelperTest.cs b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/InputTagHelperTest.cs index e9799a4cbb..987623ac57 100644 --- a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/InputTagHelperTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/InputTagHelperTest.cs @@ -388,7 +388,7 @@ namespace Microsoft.AspNetCore.Mvc.TagHelpers [Theory] [InlineData("datetime", "datetime")] - [InlineData(null, "datetime-local")] + [InlineData(null, "text")] [InlineData("hidden", "hidden")] public void Process_GeneratesFormattedOutput(string specifiedType, string expectedType) { @@ -457,6 +457,77 @@ namespace Microsoft.AspNetCore.Mvc.TagHelpers Assert.Equal(expectedTagName, output.TagName); } + [Theory] + [InlineData("datetime", "datetime")] + [InlineData(null, "datetime-local")] + [InlineData("hidden", "hidden")] + public void Process_GeneratesFormattedOutput_ForDateTime(string specifiedType, string expectedType) + { + // Arrange + var expectedAttributes = new TagHelperAttributeList + { + { "type", expectedType }, + { "id", nameof(Model.DateTime) }, + { "name", nameof(Model.DateTime) }, + { "valid", "from validation attributes" }, + { "value", "datetime: 2011-08-31T05:30:45.0000000Z" }, + }; + var expectedTagName = "not-input"; + var container = new Model + { + DateTime = new DateTime(2011, 8, 31, hour: 5, minute: 30, second: 45, kind: DateTimeKind.Utc), + }; + + var allAttributes = new TagHelperAttributeList + { + { "type", specifiedType }, + }; + var context = new TagHelperContext( + tagName: "input", + allAttributes: allAttributes, + items: new Dictionary(), + uniqueId: "test"); + var output = new TagHelperOutput( + expectedTagName, + new TagHelperAttributeList(), + getChildContentAsync: (useCachedResult, encoder) => + { + throw new Exception("getChildContentAsync should not be called."); + }) + { + TagMode = TagMode.StartTagOnly, + }; + + var htmlGenerator = new TestableHtmlGenerator(new EmptyModelMetadataProvider()) + { + ValidationAttributes = + { + { "valid", "from validation attributes" }, + } + }; + + var tagHelper = GetTagHelper( + htmlGenerator, + container, + typeof(Model), + model: container.DateTime, + propertyName: nameof(Model.DateTime), + expressionName: nameof(Model.DateTime)); + tagHelper.Format = "datetime: {0:o}"; + tagHelper.InputTypeName = specifiedType; + + // Act + tagHelper.Process(context, output); + + // Assert + Assert.Equal(expectedAttributes, output.Attributes); + Assert.Empty(output.PreContent.GetContent()); + Assert.Empty(output.Content.GetContent()); + Assert.Empty(output.PostContent.GetContent()); + Assert.Equal(TagMode.StartTagOnly, output.TagMode); + Assert.Equal(expectedTagName, output.TagName); + } + [Fact] public async Task ProcessAsync_CallsGenerateCheckBox_WithExpectedParameters() { @@ -966,6 +1037,7 @@ namespace Microsoft.AspNetCore.Mvc.TagHelpers { "datetime", null, "datetime-local" }, { "datetime-local", null, "datetime-local" }, { "DATETIME-local", null, "datetime-local" }, + { "datetimeOffset", null, "text" }, { "Decimal", "{0:0.00}", "text" }, { "Double", null, "text" }, { "Int16", null, "number" }, @@ -1139,15 +1211,15 @@ namespace Microsoft.AspNetCore.Mvc.TagHelpers [InlineData("Date", Html5DateRenderingMode.Rfc3339, "{0:yyyy-MM-dd}", "date")] [InlineData("DateTime", Html5DateRenderingMode.CurrentCulture, null, "datetime-local")] [InlineData("DateTime", Html5DateRenderingMode.Rfc3339, "{0:yyyy-MM-ddTHH:mm:ss.fff}", "datetime-local")] - [InlineData("DateTimeOffset", Html5DateRenderingMode.CurrentCulture, null, "datetime-local")] - [InlineData("DateTimeOffset", Html5DateRenderingMode.Rfc3339, "{0:yyyy-MM-ddTHH:mm:ss.fff}", "datetime-local")] + [InlineData("DateTimeOffset", Html5DateRenderingMode.CurrentCulture, null, "text")] + [InlineData("DateTimeOffset", Html5DateRenderingMode.Rfc3339, "{0:yyyy-MM-ddTHH:mm:ss.fffK}", "text")] [InlineData("DateTimeLocal", Html5DateRenderingMode.CurrentCulture, null, "datetime-local")] [InlineData("DateTimeLocal", Html5DateRenderingMode.Rfc3339, "{0:yyyy-MM-ddTHH:mm:ss.fff}", "datetime-local")] [InlineData("Time", Html5DateRenderingMode.CurrentCulture, "{0:t}", "time")] // Format from [DataType]. [InlineData("Time", Html5DateRenderingMode.Rfc3339, "{0:HH:mm:ss.fff}", "time")] [InlineData("NullableDate", Html5DateRenderingMode.Rfc3339, "{0:yyyy-MM-dd}", "date")] [InlineData("NullableDateTime", Html5DateRenderingMode.Rfc3339, "{0:yyyy-MM-ddTHH:mm:ss.fff}", "datetime-local")] - [InlineData("NullableDateTimeOffset", Html5DateRenderingMode.Rfc3339, "{0:yyyy-MM-ddTHH:mm:ss.fff}", "datetime-local")] + [InlineData("NullableDateTimeOffset", Html5DateRenderingMode.Rfc3339, "{0:yyyy-MM-ddTHH:mm:ss.fffK}", "text")] public async Task ProcessAsync_CallsGenerateTextBox_AddsExpectedAttributesForRfc3339( string propertyName, Html5DateRenderingMode dateRenderingMode, diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Internal/DefaultEditorTemplatesTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Internal/DefaultEditorTemplatesTest.cs index 1da3562433..aaff2c2877 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Internal/DefaultEditorTemplatesTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Internal/DefaultEditorTemplatesTest.cs @@ -16,6 +16,7 @@ using Microsoft.AspNetCore.Mvc.ModelBinding; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.AspNetCore.Mvc.TestCommon; using Microsoft.AspNetCore.Mvc.ViewEngines; +using Microsoft.AspNetCore.Testing; using Moq; using Xunit; @@ -52,6 +53,8 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Internal { "datetime", "__TextBox__ class='text-box single-line' type='datetime-local'" }, { "DateTime-local", "__TextBox__ class='text-box single-line' type='datetime-local'" }, { "DATETIME-LOCAL", "__TextBox__ class='text-box single-line' type='datetime-local'" }, + { "datetimeoffset", "__TextBox__ class='text-box single-line' type='text'" }, + { "DateTimeOffset", "__TextBox__ class='text-box single-line' type='text'" }, { "Time", "__TextBox__ class='text-box single-line' type='time'" }, { "time", "__TextBox__ class='text-box single-line' type='time'" }, { "Byte", "__TextBox__ class='text-box single-line' type='number'" }, @@ -773,7 +776,7 @@ Environment.NewLine; var requiredMessage = ValidationAttributeUtil.GetRequiredErrorMessage("DateTimeOffset"); var expectedInput = ""; + "name=\"HtmlEncode[[FieldPrefix]]\" type=\"HtmlEncode[[datetime]]\" value=\"HtmlEncode[[2000-01-02T03:04:05.060+00:00]]\" />"; var offset = TimeSpan.FromHours(0); var model = new DateTimeOffset( @@ -783,7 +786,7 @@ Environment.NewLine; hour: 3, minute: 4, second: 5, - millisecond: 6, + millisecond: 60, offset: offset); var viewEngine = new Mock(MockBehavior.Strict); viewEngine @@ -811,13 +814,19 @@ Environment.NewLine; Assert.Equal(expectedInput, HtmlContentUtilities.HtmlContentToString(result)); } - // DateTime-local is not special-cased unless using Html5DateRenderingMode.Rfc3339. + // Html5DateRenderingMode.Rfc3339 is enabled by default. [Theory] + [InlineData(null, null, "2000-01-02T03:04:05.060-05:00", "text")] [InlineData("date", "{0:d}", "2000-01-02", "date")] - [InlineData("datetime", null, "2000-01-02T03:04:05.006", "datetime-local")] - [InlineData("datetime-local", null, "2000-01-02T03:04:05.006", "datetime-local")] - [InlineData("time", "{0:t}", "03:04:05.006", "time")] - public void Editor_FindsCorrectDateOrTimeTemplate(string dataTypeName, string editFormatString, string expectedFormat, string expectedType) + [InlineData("datetime", null, "2000-01-02T03:04:05.060", "datetime-local")] + [InlineData("datetime-local", null, "2000-01-02T03:04:05.060", "datetime-local")] + [InlineData("DateTimeOffset", "{0:o}", "2000-01-02T03:04:05.060-05:00", "text")] + [InlineData("time", "{0:t}", "03:04:05.060", "time")] + public void Editor_FindsCorrectDateOrTimeTemplate( + string dataTypeName, + string editFormatString, + string expectedFormat, + string expectedType) { // Arrange var requiredMessage = ValidationAttributeUtil.GetRequiredErrorMessage("DateTimeOffset"); @@ -827,63 +836,7 @@ Environment.NewLine; expectedType + "]]\" value=\"HtmlEncode[[" + expectedFormat + "]]\" />"; - var offset = TimeSpan.FromHours(0); - var model = new DateTimeOffset( - year: 2000, - month: 1, - day: 2, - hour: 3, - minute: 4, - second: 5, - millisecond: 6, - offset: offset); - var viewEngine = new Mock(MockBehavior.Strict); - viewEngine - .Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny(), /*isMainPage*/ false)) - .Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty())); - viewEngine - .Setup(v => v.FindView(It.IsAny(), It.IsAny(), /*isMainPage*/ false)) - .Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty())); - - var provider = new TestModelMetadataProvider(); - provider.ForType().DisplayDetails(dd => - { - dd.DataTypeName = dataTypeName; - dd.EditFormatString = editFormatString; // What [DataType] does for given type. - }); - - var helper = DefaultTemplatesUtilities.GetHtmlHelper( - model, - Mock.Of(), - viewEngine.Object, - provider); - helper.ViewData.TemplateInfo.HtmlFieldPrefix = "FieldPrefix"; - - // Act - var result = helper.Editor(string.Empty); - - // Assert - Assert.Equal(expectedInput, HtmlContentUtilities.HtmlContentToString(result)); - } - - [Theory] - [InlineData("date", "{0:d}", "2000-01-02", "date")] - [InlineData("datetime", null, "2000-01-02T03:04:05.060", "datetime-local")] - [InlineData("datetime-local", null, "2000-01-02T03:04:05.060", "datetime-local")] - [InlineData("time", "{0:t}", "03:04:05.060", "time")] - public void Editor_AppliesRfc3339(string dataTypeName, string editFormatString, string expectedFormat, string expectedType) - { - // Arrange - var requiredMessage = ValidationAttributeUtil.GetRequiredErrorMessage("DateTimeOffset"); - var expectedInput = - ""; - - // Place DateTime-local value in current timezone. - var offset = string.Equals(string.Empty, dataTypeName) ? DateTimeOffset.Now.Offset : TimeSpan.FromHours(0); + var offset = TimeSpan.FromHours(-5); var model = new DateTimeOffset( year: 2000, month: 1, @@ -913,7 +866,193 @@ Environment.NewLine; Mock.Of(), viewEngine.Object, provider); - helper.Html5DateRenderingMode = Html5DateRenderingMode.Rfc3339; + helper.ViewData.TemplateInfo.HtmlFieldPrefix = "FieldPrefix"; + + // Act + var result = helper.Editor(string.Empty); + + // Assert + Assert.Equal(expectedInput, HtmlContentUtilities.HtmlContentToString(result)); + } + + // Html5DateRenderingMode.Rfc3339 can be disabled. + [Theory] + [InlineData(null, null, "02/01/2000 03:04:05 -05:00", "text")] + [InlineData("date", "{0:d}", "02/01/2000", "date")] + [InlineData("datetime", null, "02/01/2000 03:04:05 -05:00", "datetime-local")] + [InlineData("datetime-local", null, "02/01/2000 03:04:05 -05:00", "datetime-local")] + [InlineData("DateTimeOffset", "{0:o}", "2000-01-02T03:04:05.0600000-05:00", "text")] + [InlineData("time", "{0:t}", "03:04", "time")] + [ReplaceCulture] + public void Editor_FindsCorrectDateOrTimeTemplate_NotRfc3339( + string dataTypeName, + string editFormatString, + string expectedFormat, + string expectedType) + { + // Arrange + var requiredMessage = ValidationAttributeUtil.GetRequiredErrorMessage("DateTimeOffset"); + var expectedInput = + ""; + + var offset = TimeSpan.FromHours(-5); + var model = new DateTimeOffset( + year: 2000, + month: 1, + day: 2, + hour: 3, + minute: 4, + second: 5, + millisecond: 60, + offset: offset); + var viewEngine = new Mock(MockBehavior.Strict); + viewEngine + .Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny(), /*isMainPage*/ false)) + .Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty())); + viewEngine + .Setup(v => v.FindView(It.IsAny(), It.IsAny(), /*isMainPage*/ false)) + .Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty())); + + var provider = new TestModelMetadataProvider(); + provider.ForType().DisplayDetails(dd => + { + dd.DataTypeName = dataTypeName; + dd.EditFormatString = editFormatString; // What [DataType] does for given type. + }); + + var helper = DefaultTemplatesUtilities.GetHtmlHelper( + model, + Mock.Of(), + viewEngine.Object, + provider); + helper.Html5DateRenderingMode = Html5DateRenderingMode.CurrentCulture; + helper.ViewData.TemplateInfo.HtmlFieldPrefix = "FieldPrefix"; + + // Act + var result = helper.Editor(string.Empty); + + // Assert + Assert.Equal(expectedInput, HtmlContentUtilities.HtmlContentToString(result)); + } + + // Html5DateRenderingMode.Rfc3339 is enabled by default. + [Theory] + [InlineData(null, null, "2000-01-02T03:04:05.060", "datetime-local")] + [InlineData("date", "{0:d}", "2000-01-02", "date")] + [InlineData("datetime", null, "2000-01-02T03:04:05.060", "datetime-local")] + [InlineData("datetime-local", null, "2000-01-02T03:04:05.060", "datetime-local")] + [InlineData("DateTimeOffset", "{0:o}", "2000-01-02T03:04:05.060Z", "text")] + [InlineData("time", "{0:t}", "03:04:05.060", "time")] + public void Editor_FindsCorrectDateOrTimeTemplate_ForDateTime( + string dataTypeName, + string editFormatString, + string expectedFormat, + string expectedType) + { + // Arrange + var requiredMessage = ValidationAttributeUtil.GetRequiredErrorMessage("DateTime"); + var expectedInput = ""; + + var model = new DateTime( + year: 2000, + month: 1, + day: 2, + hour: 3, + minute: 4, + second: 5, + millisecond: 60, + kind: DateTimeKind.Utc); + var viewEngine = new Mock(MockBehavior.Strict); + viewEngine + .Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny(), /*isMainPage*/ false)) + .Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty())); + viewEngine + .Setup(v => v.FindView(It.IsAny(), It.IsAny(), /*isMainPage*/ false)) + .Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty())); + + var provider = new TestModelMetadataProvider(); + provider.ForType().DisplayDetails(dd => + { + dd.DataTypeName = dataTypeName; + dd.EditFormatString = editFormatString; // What [DataType] does for given type. + }); + + var helper = DefaultTemplatesUtilities.GetHtmlHelper( + model, + Mock.Of(), + viewEngine.Object, + provider); + helper.ViewData.TemplateInfo.HtmlFieldPrefix = "FieldPrefix"; + + // Act + var result = helper.Editor(string.Empty); + + // Assert + Assert.Equal(expectedInput, HtmlContentUtilities.HtmlContentToString(result)); + } + + // Html5DateRenderingMode.Rfc3339 can be disabled. + [Theory] + [InlineData(null, null, "02/01/2000 03:04:05", "datetime-local")] + [InlineData("date", "{0:d}", "02/01/2000", "date")] + [InlineData("datetime", null, "02/01/2000 03:04:05", "datetime-local")] + [InlineData("datetime-local", null, "02/01/2000 03:04:05", "datetime-local")] + [InlineData("DateTimeOffset", "{0:o}", "2000-01-02T03:04:05.0600000Z", "text")] + [InlineData("time", "{0:t}", "03:04", "time")] + [ReplaceCulture] + public void Editor_FindsCorrectDateOrTimeTemplate_ForDateTimeNotRfc3339( + string dataTypeName, + string editFormatString, + string expectedFormat, + string expectedType) + { + // Arrange + var requiredMessage = ValidationAttributeUtil.GetRequiredErrorMessage("DateTime"); + var expectedInput = + ""; + + var model = new DateTime( + year: 2000, + month: 1, + day: 2, + hour: 3, + minute: 4, + second: 5, + millisecond: 60, + kind: DateTimeKind.Utc); + var viewEngine = new Mock(MockBehavior.Strict); + viewEngine + .Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny(), /*isMainPage*/ false)) + .Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty())); + viewEngine + .Setup(v => v.FindView(It.IsAny(), It.IsAny(), /*isMainPage*/ false)) + .Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty())); + + var provider = new TestModelMetadataProvider(); + provider.ForType().DisplayDetails(dd => + { + dd.DataTypeName = dataTypeName; + dd.EditFormatString = editFormatString; // What [DataType] does for given type. + }); + + var helper = DefaultTemplatesUtilities.GetHtmlHelper( + model, + Mock.Of(), + viewEngine.Object, + provider); + helper.Html5DateRenderingMode = Html5DateRenderingMode.CurrentCulture; helper.ViewData.TemplateInfo.HtmlFieldPrefix = "FieldPrefix"; // Act @@ -924,6 +1063,8 @@ Environment.NewLine; } [Theory] + [InlineData(null, Html5DateRenderingMode.CurrentCulture, "text")] + [InlineData(null, Html5DateRenderingMode.Rfc3339, "text")] [InlineData("date", Html5DateRenderingMode.CurrentCulture, "date")] [InlineData("date", Html5DateRenderingMode.Rfc3339, "date")] [InlineData("datetime", Html5DateRenderingMode.CurrentCulture, "datetime-local")] From fd9cb08790bcbbb2d7017dbaef31d5b2f80c6bb6 Mon Sep 17 00:00:00 2001 From: Doug Bunting Date: Fri, 15 Sep 2017 13:54:26 -0700 Subject: [PATCH 07/22] Add Switch.Microsoft.AspNetCore.Mvc.UseDateTimeTypeForDateTimeOffset quirks mode - patch recipients can use switch to undo the #6648 fix --- .../InputTagHelper.cs | 17 +- .../ViewFeatures/TemplateRenderer.cs | 11 +- .../HtmlHelperOptionsTest.cs | 20 ++- .../InputTagHelperTest.cs | 69 ++++++-- .../Internal/DefaultEditorTemplatesTest.cs | 153 +++++++++++++----- 5 files changed, 208 insertions(+), 62 deletions(-) diff --git a/src/Microsoft.AspNetCore.Mvc.TagHelpers/InputTagHelper.cs b/src/Microsoft.AspNetCore.Mvc.TagHelpers/InputTagHelper.cs index 18407ace88..6177a42729 100644 --- a/src/Microsoft.AspNetCore.Mvc.TagHelpers/InputTagHelper.cs +++ b/src/Microsoft.AspNetCore.Mvc.TagHelpers/InputTagHelper.cs @@ -18,6 +18,7 @@ namespace Microsoft.AspNetCore.Mvc.TagHelpers [HtmlTargetElement("input", Attributes = ForAttributeName, TagStructure = TagStructure.WithoutEndTag)] public class InputTagHelper : TagHelper { + internal const string UseDateTimeLocalTypeForDateTimeOffsetSwitch = "Switch.Microsoft.AspNetCore.Mvc.UseDateTimeLocalTypeForDateTimeOffset"; private const string ForAttributeName = "asp-for"; private const string FormatAttributeName = "asp-format"; @@ -63,6 +64,14 @@ namespace Microsoft.AspNetCore.Mvc.TagHelpers { "time", "{0:HH:mm:ss.fff}" }, }; + static InputTagHelper() + { + if (AppContext.TryGetSwitch(UseDateTimeLocalTypeForDateTimeOffsetSwitch, out var enabled) && enabled) + { + _defaultInputTypes.Remove(nameof(DateTimeOffset)); + } + } + /// /// Creates a new . /// @@ -393,8 +402,14 @@ namespace Microsoft.AspNetCore.Mvc.TagHelpers { // Rfc3339 mode _may_ override EditFormatString in a limited number of cases. Happens only when // EditFormatString has a default format i.e. came from a [DataType] attribute. + // + // First condition may occur when Switch.Microsoft.AspNetCore.Mvc.UseDateTimeLocalTypeForDateTimeOffset + // is true in extremely rare cases: The element for a DateTimeOffset expression must have + // type ="text". Checking the switch again to remove that case. if (string.Equals("text", inputType) && - string.Equals(nameof(DateTimeOffset), inputTypeHint, StringComparison.OrdinalIgnoreCase)) + string.Equals(nameof(DateTimeOffset), inputTypeHint, StringComparison.OrdinalIgnoreCase) && + !(AppContext.TryGetSwitch(UseDateTimeLocalTypeForDateTimeOffsetSwitch, out var enabled) && + enabled)) { // Auto-select a format that round-trips Offset and sub-Second values in a DateTimeOffset. Not // done if user chose the "text" type in .cshtml file or with data annotations i.e. when diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/TemplateRenderer.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/TemplateRenderer.cs index 9ccc1cd361..a7a3073e1e 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/TemplateRenderer.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/TemplateRenderer.cs @@ -17,9 +17,10 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Internal { public class TemplateRenderer { + public const string IEnumerableOfIFormFileName = "IEnumerable`" + nameof(IFormFile); + internal const string UseDateTimeLocalTypeForDateTimeOffsetSwitch = "Switch.Microsoft.AspNetCore.Mvc.UseDateTimeLocalTypeForDateTimeOffset"; private const string DisplayTemplateViewPath = "DisplayTemplates"; private const string EditorTemplateViewPath = "EditorTemplates"; - public const string IEnumerableOfIFormFileName = "IEnumerable`" + nameof(IFormFile); private static readonly Dictionary> _defaultDisplayActions = new Dictionary>(StringComparer.OrdinalIgnoreCase) @@ -75,6 +76,14 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Internal private readonly string _templateName; private readonly bool _readOnly; + static TemplateRenderer() + { + if (AppContext.TryGetSwitch(UseDateTimeLocalTypeForDateTimeOffsetSwitch, out var enabled) && enabled) + { + _defaultEditorActions.Remove(nameof(DateTimeOffset)); + } + } + public TemplateRenderer( IViewEngine viewEngine, IViewBufferScope bufferScope, diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/HtmlHelperOptionsTest.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/HtmlHelperOptionsTest.cs index 76faef248d..855a4ae8ed 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/HtmlHelperOptionsTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/HtmlHelperOptionsTest.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.Net.Http; using System.Threading.Tasks; using Microsoft.AspNetCore.Testing; @@ -10,6 +11,8 @@ namespace Microsoft.AspNetCore.Mvc.FunctionalTests { public class HtmlHelperOptionsTest : IClassFixture> { + private const string UseDateTimeLocalTypeForDateTimeOffsetSwitch = "Switch.Microsoft.AspNetCore.Mvc.UseDateTimeLocalTypeForDateTimeOffset"; + public HtmlHelperOptionsTest(MvcTestFixture fixture) { Client = fixture.Client; @@ -21,14 +24,17 @@ namespace Microsoft.AspNetCore.Mvc.FunctionalTests public async Task AppWideDefaultsInViewAndPartialView() { // Arrange + AppContext.TryGetSwitch(UseDateTimeLocalTypeForDateTimeOffsetSwitch, out var enabled); + var expectedType = enabled ? "datetime-local" : "text"; + var expectedOffset = enabled ? string.Empty : "+00:00"; var expected = -@"
    MySummary +$@"
    MySummary
    • A model error occurred.
    An error occurred.
    -
    +
    MySummary
    • A model error occurred.
    • @@ -36,7 +42,7 @@ namespace Microsoft.AspNetCore.Mvc.FunctionalTests An error occurred.
      -
      +
      False"; @@ -52,14 +58,16 @@ False"; public async Task OverrideAppWideDefaultsInViewAndPartialView() { // Arrange + AppContext.TryGetSwitch(UseDateTimeLocalTypeForDateTimeOffsetSwitch, out var enabled); + var expectedType = enabled ? "datetime-local" : "text"; var expected = -@"
      MySummary +$@"
      MySummary
      • A model error occurred.
      An error occurred.
      -
      +
      True
      MySummary @@ -68,7 +76,7 @@ True An error occurred.
      -
      +
      True"; diff --git a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/InputTagHelperTest.cs b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/InputTagHelperTest.cs index 987623ac57..c6ccda9244 100644 --- a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/InputTagHelperTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/InputTagHelperTest.cs @@ -21,7 +21,7 @@ namespace Microsoft.AspNetCore.Mvc.TagHelpers { public class InputTagHelperTest { - public static TheoryData MultiAttributeCheckBoxData + public static TheoryData MultiAttributeCheckBoxData { get { @@ -386,10 +386,22 @@ namespace Microsoft.AspNetCore.Mvc.TagHelpers Assert.Equal(expectedTagName, output.TagName); } + public static TheoryData Process_GeneratesFormattedOutputData + { + get + { + AppContext.TryGetSwitch(InputTagHelper.UseDateTimeLocalTypeForDateTimeOffsetSwitch, out var enabled); + return new TheoryData + { + { "datetime", "datetime" }, + { null, enabled ? "datetime-local" : "text" }, + { "hidden", "hidden" }, + }; + } + } + [Theory] - [InlineData("datetime", "datetime")] - [InlineData(null, "text")] - [InlineData("hidden", "hidden")] + [MemberData(nameof(Process_GeneratesFormattedOutputData))] public void Process_GeneratesFormattedOutput(string specifiedType, string expectedType) { // Arrange @@ -1206,20 +1218,43 @@ namespace Microsoft.AspNetCore.Mvc.TagHelpers Assert.Equal(expectedTagName, output.TagName); } + public static TheoryData ProcessAsync_CallsGenerateTextBox_AddsExpectedAttributesForRfc3339Data + { + get + { + AppContext.TryGetSwitch(InputTagHelper.UseDateTimeLocalTypeForDateTimeOffsetSwitch, out var enabled); + var expectedK = enabled ? string.Empty : "K"; + return new TheoryData + { + { "Date", Html5DateRenderingMode.CurrentCulture, "{0:d}", "date" }, // Format from [DataType]. + { "Date", Html5DateRenderingMode.Rfc3339, "{0:yyyy-MM-dd}", "date" }, + { "DateTime", Html5DateRenderingMode.CurrentCulture, null, "datetime-local" }, + { "DateTime", Html5DateRenderingMode.Rfc3339, "{0:yyyy-MM-ddTHH:mm:ss.fff}", "datetime-local" }, + { "DateTimeOffset", Html5DateRenderingMode.CurrentCulture, null, enabled ? "datetime-local" : "text" }, + { + "DateTimeOffset", + Html5DateRenderingMode.Rfc3339, + $"{{0:yyyy-MM-ddTHH:mm:ss.fff{expectedK}}}", + enabled ? "datetime-local" : "text" + }, + { "DateTimeLocal", Html5DateRenderingMode.CurrentCulture, null, "datetime-local" }, + { "DateTimeLocal", Html5DateRenderingMode.Rfc3339, "{0:yyyy-MM-ddTHH:mm:ss.fff}", "datetime-local" }, + { "Time", Html5DateRenderingMode.CurrentCulture, "{0:t}", "time" }, // Format from [DataType]. + { "Time", Html5DateRenderingMode.Rfc3339, "{0:HH:mm:ss.fff}", "time" }, + { "NullableDate", Html5DateRenderingMode.Rfc3339, "{0:yyyy-MM-dd}", "date" }, + { "NullableDateTime", Html5DateRenderingMode.Rfc3339, "{0:yyyy-MM-ddTHH:mm:ss.fff}", "datetime-local" }, + { + "NullableDateTimeOffset", + Html5DateRenderingMode.Rfc3339, + $"{{0:yyyy-MM-ddTHH:mm:ss.fff{expectedK}}}", + enabled ? "datetime-local" : "text" + }, + }; + } + } + [Theory] - [InlineData("Date", Html5DateRenderingMode.CurrentCulture, "{0:d}", "date")] // Format from [DataType]. - [InlineData("Date", Html5DateRenderingMode.Rfc3339, "{0:yyyy-MM-dd}", "date")] - [InlineData("DateTime", Html5DateRenderingMode.CurrentCulture, null, "datetime-local")] - [InlineData("DateTime", Html5DateRenderingMode.Rfc3339, "{0:yyyy-MM-ddTHH:mm:ss.fff}", "datetime-local")] - [InlineData("DateTimeOffset", Html5DateRenderingMode.CurrentCulture, null, "text")] - [InlineData("DateTimeOffset", Html5DateRenderingMode.Rfc3339, "{0:yyyy-MM-ddTHH:mm:ss.fffK}", "text")] - [InlineData("DateTimeLocal", Html5DateRenderingMode.CurrentCulture, null, "datetime-local")] - [InlineData("DateTimeLocal", Html5DateRenderingMode.Rfc3339, "{0:yyyy-MM-ddTHH:mm:ss.fff}", "datetime-local")] - [InlineData("Time", Html5DateRenderingMode.CurrentCulture, "{0:t}", "time")] // Format from [DataType]. - [InlineData("Time", Html5DateRenderingMode.Rfc3339, "{0:HH:mm:ss.fff}", "time")] - [InlineData("NullableDate", Html5DateRenderingMode.Rfc3339, "{0:yyyy-MM-dd}", "date")] - [InlineData("NullableDateTime", Html5DateRenderingMode.Rfc3339, "{0:yyyy-MM-ddTHH:mm:ss.fff}", "datetime-local")] - [InlineData("NullableDateTimeOffset", Html5DateRenderingMode.Rfc3339, "{0:yyyy-MM-ddTHH:mm:ss.fffK}", "text")] + [MemberData(nameof(ProcessAsync_CallsGenerateTextBox_AddsExpectedAttributesForRfc3339Data))] public async Task ProcessAsync_CallsGenerateTextBox_AddsExpectedAttributesForRfc3339( string propertyName, Html5DateRenderingMode dateRenderingMode, diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Internal/DefaultEditorTemplatesTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Internal/DefaultEditorTemplatesTest.cs index aaff2c2877..aed6e75320 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Internal/DefaultEditorTemplatesTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Internal/DefaultEditorTemplatesTest.cs @@ -29,6 +29,10 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Internal { get { + AppContext.TryGetSwitch(TemplateRenderer.UseDateTimeLocalTypeForDateTimeOffsetSwitch, out var enabled); + + // Tests use string properties and fall back to text template (no type attribute) when quirk is enabled. + var dateTimeOffsetType = enabled ? string.Empty : " type='text'"; return new TheoryData { { null, "__TextBox__ class='text-box single-line'" }, @@ -53,8 +57,8 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Internal { "datetime", "__TextBox__ class='text-box single-line' type='datetime-local'" }, { "DateTime-local", "__TextBox__ class='text-box single-line' type='datetime-local'" }, { "DATETIME-LOCAL", "__TextBox__ class='text-box single-line' type='datetime-local'" }, - { "datetimeoffset", "__TextBox__ class='text-box single-line' type='text'" }, - { "DateTimeOffset", "__TextBox__ class='text-box single-line' type='text'" }, + { "datetimeoffset", $"__TextBox__ class='text-box single-line'{dateTimeOffsetType}" }, + { "DateTimeOffset", $"__TextBox__ class='text-box single-line'{dateTimeOffsetType}" }, { "Time", "__TextBox__ class='text-box single-line' type='time'" }, { "time", "__TextBox__ class='text-box single-line' type='time'" }, { "Byte", "__TextBox__ class='text-box single-line' type='number'" }, @@ -774,9 +778,12 @@ Environment.NewLine; { // Arrange var requiredMessage = ValidationAttributeUtil.GetRequiredErrorMessage("DateTimeOffset"); + AppContext.TryGetSwitch(TemplateRenderer.UseDateTimeLocalTypeForDateTimeOffsetSwitch, out var enabled); + var expectedOffset = enabled ? string.Empty : "+00:00"; var expectedInput = ""; + "name=\"HtmlEncode[[FieldPrefix]]\" type=\"HtmlEncode[[datetime]]\" " + + $"value=\"HtmlEncode[[2000-01-02T03:04:05.060{expectedOffset}]]\" />"; var offset = TimeSpan.FromHours(0); var model = new DateTimeOffset( @@ -814,14 +821,32 @@ Environment.NewLine; Assert.Equal(expectedInput, HtmlContentUtilities.HtmlContentToString(result)); } + public static TheoryData Editor_FindsCorrectDateOrTimeTemplateData + { + get + { + AppContext.TryGetSwitch(TemplateRenderer.UseDateTimeLocalTypeForDateTimeOffsetSwitch, out var enabled); + var expectedOffset = enabled ? string.Empty : "-05:00"; + return new TheoryData + { + { null, null, $"2000-01-02T03:04:05.060{expectedOffset}", enabled ? "datetime-local" : "text" }, + { "date", "{0:d}", "2000-01-02", "date" }, + { "datetime", null, "2000-01-02T03:04:05.060", "datetime-local" }, + { "datetime-local", null, "2000-01-02T03:04:05.060", "datetime-local" }, + { + "DateTimeOffset", + "{0:o}", + $"2000-01-02T03:04:05.060{expectedOffset}", + enabled ? "datetime-local" : "text" + }, + { "time", "{0:t}", "03:04:05.060", "time" }, + }; + } + } + // Html5DateRenderingMode.Rfc3339 is enabled by default. [Theory] - [InlineData(null, null, "2000-01-02T03:04:05.060-05:00", "text")] - [InlineData("date", "{0:d}", "2000-01-02", "date")] - [InlineData("datetime", null, "2000-01-02T03:04:05.060", "datetime-local")] - [InlineData("datetime-local", null, "2000-01-02T03:04:05.060", "datetime-local")] - [InlineData("DateTimeOffset", "{0:o}", "2000-01-02T03:04:05.060-05:00", "text")] - [InlineData("time", "{0:t}", "03:04:05.060", "time")] + [MemberData(nameof(Editor_FindsCorrectDateOrTimeTemplateData))] public void Editor_FindsCorrectDateOrTimeTemplate( string dataTypeName, string editFormatString, @@ -875,14 +900,26 @@ Environment.NewLine; Assert.Equal(expectedInput, HtmlContentUtilities.HtmlContentToString(result)); } + public static TheoryData Editor_FindsCorrectDateOrTimeTemplate_NotRfc3339Data + { + get + { + AppContext.TryGetSwitch(TemplateRenderer.UseDateTimeLocalTypeForDateTimeOffsetSwitch, out var enabled); + return new TheoryData + { + { null, null, "02/01/2000 03:04:05 -05:00", enabled ? "datetime-local" : "text" }, + { "date", "{0:d}", "02/01/2000", "date" }, + { "datetime", null, "02/01/2000 03:04:05 -05:00", "datetime-local" }, + { "datetime-local", null, "02/01/2000 03:04:05 -05:00", "datetime-local" }, + { "DateTimeOffset", "{0:o}", "2000-01-02T03:04:05.0600000-05:00", enabled ? "datetime-local" : "text" }, + { "time", "{0:t}", "03:04", "time" }, + }; + } + } + // Html5DateRenderingMode.Rfc3339 can be disabled. [Theory] - [InlineData(null, null, "02/01/2000 03:04:05 -05:00", "text")] - [InlineData("date", "{0:d}", "02/01/2000", "date")] - [InlineData("datetime", null, "02/01/2000 03:04:05 -05:00", "datetime-local")] - [InlineData("datetime-local", null, "02/01/2000 03:04:05 -05:00", "datetime-local")] - [InlineData("DateTimeOffset", "{0:o}", "2000-01-02T03:04:05.0600000-05:00", "text")] - [InlineData("time", "{0:t}", "03:04", "time")] + [MemberData(nameof(Editor_FindsCorrectDateOrTimeTemplate_NotRfc3339Data))] [ReplaceCulture] public void Editor_FindsCorrectDateOrTimeTemplate_NotRfc3339( string dataTypeName, @@ -939,14 +976,32 @@ Environment.NewLine; Assert.Equal(expectedInput, HtmlContentUtilities.HtmlContentToString(result)); } + public static TheoryData Editor_FindsCorrectDateOrTimeTemplate_ForDateTimeData + { + get + { + AppContext.TryGetSwitch(TemplateRenderer.UseDateTimeLocalTypeForDateTimeOffsetSwitch, out var enabled); + var expectedZ = enabled ? string.Empty : "Z"; + return new TheoryData + { + { null, null, "2000-01-02T03:04:05.060", "datetime-local" }, + { "date", "{0:d}", "2000-01-02", "date" }, + { "datetime", null, "2000-01-02T03:04:05.060", "datetime-local" }, + { "datetime-local", null, "2000-01-02T03:04:05.060", "datetime-local" }, + { + "DateTimeOffset", + "{0:o}", + $"2000-01-02T03:04:05.060{expectedZ}", + enabled ? "datetime-local" : "text" + }, + { "time", "{0:t}", "03:04:05.060", "time" }, + }; + } + } + // Html5DateRenderingMode.Rfc3339 is enabled by default. [Theory] - [InlineData(null, null, "2000-01-02T03:04:05.060", "datetime-local")] - [InlineData("date", "{0:d}", "2000-01-02", "date")] - [InlineData("datetime", null, "2000-01-02T03:04:05.060", "datetime-local")] - [InlineData("datetime-local", null, "2000-01-02T03:04:05.060", "datetime-local")] - [InlineData("DateTimeOffset", "{0:o}", "2000-01-02T03:04:05.060Z", "text")] - [InlineData("time", "{0:t}", "03:04:05.060", "time")] + [MemberData(nameof(Editor_FindsCorrectDateOrTimeTemplate_ForDateTimeData))] public void Editor_FindsCorrectDateOrTimeTemplate_ForDateTime( string dataTypeName, string editFormatString, @@ -999,14 +1054,26 @@ Environment.NewLine; Assert.Equal(expectedInput, HtmlContentUtilities.HtmlContentToString(result)); } + public static TheoryData Editor_FindsCorrectDateOrTimeTemplate_ForDateTimeNotRfc3339Data + { + get + { + AppContext.TryGetSwitch(TemplateRenderer.UseDateTimeLocalTypeForDateTimeOffsetSwitch, out var enabled); + return new TheoryData + { + { null, null, "02/01/2000 03:04:05", "datetime-local" }, + { "date", "{0:d}", "02/01/2000", "date" }, + { "datetime", null, "02/01/2000 03:04:05", "datetime-local" }, + { "datetime-local", null, "02/01/2000 03:04:05", "datetime-local" }, + { "DateTimeOffset", "{0:o}", "2000-01-02T03:04:05.0600000Z", enabled ? "datetime-local" : "text" }, + { "time", "{0:t}", "03:04", "time" }, + }; + } + } + // Html5DateRenderingMode.Rfc3339 can be disabled. [Theory] - [InlineData(null, null, "02/01/2000 03:04:05", "datetime-local")] - [InlineData("date", "{0:d}", "02/01/2000", "date")] - [InlineData("datetime", null, "02/01/2000 03:04:05", "datetime-local")] - [InlineData("datetime-local", null, "02/01/2000 03:04:05", "datetime-local")] - [InlineData("DateTimeOffset", "{0:o}", "2000-01-02T03:04:05.0600000Z", "text")] - [InlineData("time", "{0:t}", "03:04", "time")] + [MemberData(nameof(Editor_FindsCorrectDateOrTimeTemplate_ForDateTimeNotRfc3339Data))] [ReplaceCulture] public void Editor_FindsCorrectDateOrTimeTemplate_ForDateTimeNotRfc3339( string dataTypeName, @@ -1062,17 +1129,29 @@ Environment.NewLine; Assert.Equal(expectedInput, HtmlContentUtilities.HtmlContentToString(result)); } + public static TheoryData Editor_AppliesNonDefaultEditFormatData + { + get + { + AppContext.TryGetSwitch(TemplateRenderer.UseDateTimeLocalTypeForDateTimeOffsetSwitch, out var enabled); + return new TheoryData + { + { null, Html5DateRenderingMode.CurrentCulture, enabled ? "datetime-local" : "text" }, + { null, Html5DateRenderingMode.Rfc3339, enabled ? "datetime-local" : "text" }, + { "date", Html5DateRenderingMode.CurrentCulture, "date" }, + { "date", Html5DateRenderingMode.Rfc3339, "date" }, + { "datetime", Html5DateRenderingMode.CurrentCulture, "datetime-local" }, + { "datetime", Html5DateRenderingMode.Rfc3339, "datetime-local" }, + { "datetime-local", Html5DateRenderingMode.CurrentCulture, "datetime-local" }, + { "datetime-local", Html5DateRenderingMode.Rfc3339, "datetime-local" }, + { "time", Html5DateRenderingMode.CurrentCulture, "time" }, + { "time", Html5DateRenderingMode.Rfc3339, "time" }, + }; + } + } + [Theory] - [InlineData(null, Html5DateRenderingMode.CurrentCulture, "text")] - [InlineData(null, Html5DateRenderingMode.Rfc3339, "text")] - [InlineData("date", Html5DateRenderingMode.CurrentCulture, "date")] - [InlineData("date", Html5DateRenderingMode.Rfc3339, "date")] - [InlineData("datetime", Html5DateRenderingMode.CurrentCulture, "datetime-local")] - [InlineData("datetime", Html5DateRenderingMode.Rfc3339, "datetime-local")] - [InlineData("datetime-local", Html5DateRenderingMode.CurrentCulture, "datetime-local")] - [InlineData("datetime-local", Html5DateRenderingMode.Rfc3339, "datetime-local")] - [InlineData("time", Html5DateRenderingMode.CurrentCulture, "time")] - [InlineData("time", Html5DateRenderingMode.Rfc3339, "time")] + [MemberData(nameof(Editor_AppliesNonDefaultEditFormatData))] public void Editor_AppliesNonDefaultEditFormat(string dataTypeName, Html5DateRenderingMode renderingMode, string expectedType) { // Arrange From 127d23a022286e9c819206da78e52b8ed5dc1498 Mon Sep 17 00:00:00 2001 From: Pranav K Date: Mon, 31 Jul 2017 17:13:08 -0700 Subject: [PATCH 08/22] Parse LanguageVersion correctly Fixes https://github.com/aspnet/Mvc/issues/6611 --- .../Internal/CSharpCompiler.cs | 14 ++++++++++---- .../Internal/CSharpCompilerTest.cs | 2 +- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/Internal/CSharpCompiler.cs b/src/Microsoft.AspNetCore.Mvc.Razor/Internal/CSharpCompiler.cs index 107040ef4e..d95de2584b 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/Internal/CSharpCompiler.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/Internal/CSharpCompiler.cs @@ -3,6 +3,7 @@ using System; using System.Collections.Generic; +using System.Diagnostics; using System.Linq; using System.Reflection; using Microsoft.AspNetCore.Hosting; @@ -154,11 +155,16 @@ namespace Microsoft.AspNetCore.Mvc.Razor.Internal var parseOptions = new CSharpParseOptions(preprocessorSymbols: defines); - LanguageVersion languageVersion; - if (!string.IsNullOrEmpty(dependencyContextOptions.LanguageVersion) && - Enum.TryParse(dependencyContextOptions.LanguageVersion, ignoreCase: true, result: out languageVersion)) + if (!string.IsNullOrEmpty(dependencyContextOptions.LanguageVersion)) { - parseOptions = parseOptions.WithLanguageVersion(languageVersion); + if (LanguageVersionFacts.TryParse(dependencyContextOptions.LanguageVersion, out var languageVersion)) + { + parseOptions = parseOptions.WithLanguageVersion(languageVersion); + } + else + { + Debug.Fail($"LanguageVersion {languageVersion} specified in the deps file could not be parsed."); + } } return parseOptions; diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Test/Internal/CSharpCompilerTest.cs b/test/Microsoft.AspNetCore.Mvc.Razor.Test/Internal/CSharpCompilerTest.cs index b25b4127b0..c6d9b94dd2 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Test/Internal/CSharpCompilerTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Test/Internal/CSharpCompilerTest.cs @@ -151,7 +151,7 @@ namespace Microsoft.AspNetCore.Mvc.Razor.Internal // Arrange var dependencyContextOptions = new DependencyContextCompilationOptions( new[] { "MyDefine" }, - languageVersion: "CSharp7_1", + languageVersion: "7.1", platform: null, allowUnsafe: true, warningsAsErrors: null, From f7e8efce370daf4c670d3338c6059573b0153385 Mon Sep 17 00:00:00 2001 From: Ryan Brandenburg Date: Tue, 19 Sep 2017 13:57:52 -0700 Subject: [PATCH 09/22] Update bootstrappers --- build.cmd | 2 +- build.ps1 | 223 +++++++++++++++++++++++++++++++++----------- build.sh | 244 +++++++++++++++++++++++++++++++++++++++++-------- korebuild.json | 4 + 4 files changed, 383 insertions(+), 90 deletions(-) create mode 100644 korebuild.json diff --git a/build.cmd b/build.cmd index 7d4894cb4a..b6c8d24864 100644 --- a/build.cmd +++ b/build.cmd @@ -1,2 +1,2 @@ @ECHO OFF -PowerShell -NoProfile -NoLogo -ExecutionPolicy unrestricted -Command "[System.Threading.Thread]::CurrentThread.CurrentCulture = ''; [System.Threading.Thread]::CurrentThread.CurrentUICulture = '';& '%~dp0build.ps1' %*; exit $LASTEXITCODE" \ No newline at end of file +PowerShell -NoProfile -NoLogo -ExecutionPolicy unrestricted -Command "[System.Threading.Thread]::CurrentThread.CurrentCulture = ''; [System.Threading.Thread]::CurrentThread.CurrentUICulture = '';& '%~dp0build.ps1' %*; exit $LASTEXITCODE" diff --git a/build.ps1 b/build.ps1 index 1785334385..b7081bc1c2 100644 --- a/build.ps1 +++ b/build.ps1 @@ -1,67 +1,186 @@ -$ErrorActionPreference = "Stop" +#!/usr/bin/env powershell +#requires -version 4 -function DownloadWithRetry([string] $url, [string] $downloadLocation, [int] $retries) +<# +.SYNOPSIS +Build this repository + +.DESCRIPTION +Downloads korebuild if required. Then builds the repository. + +.PARAMETER Path +The folder to build. Defaults to the folder containing this script. + +.PARAMETER Channel +The channel of KoreBuild to download. Overrides the value from the config file. + +.PARAMETER DotNetHome +The directory where .NET Core tools will be stored. + +.PARAMETER ToolsSource +The base url where build tools can be downloaded. Overrides the value from the config file. + +.PARAMETER Update +Updates KoreBuild to the latest version even if a lock file is present. + +.PARAMETER ConfigFile +The path to the configuration file that stores values. Defaults to version.props. + +.PARAMETER MSBuildArgs +Arguments to be passed to MSBuild + +.NOTES +This function will create a file $PSScriptRoot/korebuild-lock.txt. This lock file can be committed to source, but does not have to be. +When the lockfile is not present, KoreBuild will create one using latest available version from $Channel. + +The $ConfigFile is expected to be an JSON file. It is optional, and the configuration values in it are optional as well. Any options set +in the file are overridden by command line parameters. + +.EXAMPLE +Example config file: +```json { - while($true) - { - try - { - Invoke-WebRequest $url -OutFile $downloadLocation - break - } - catch - { - $exceptionMessage = $_.Exception.Message - Write-Host "Failed to download '$url': $exceptionMessage" - if ($retries -gt 0) { - $retries-- - Write-Host "Waiting 10 seconds before retrying. Retries left: $retries" - Start-Sleep -Seconds 10 + "$schema": "https://raw.githubusercontent.com/aspnet/BuildTools/dev/tools/korebuild.schema.json", + "channel": "dev", + "toolsSource": "https://aspnetcore.blob.core.windows.net/buildtools" +} +``` +#> +[CmdletBinding(PositionalBinding = $false)] +param( + [string]$Path = $PSScriptRoot, + [Alias('c')] + [string]$Channel, + [Alias('d')] + [string]$DotNetHome, + [Alias('s')] + [string]$ToolsSource, + [Alias('u')] + [switch]$Update, + [string]$ConfigFile = $null, + [Parameter(ValueFromRemainingArguments = $true)] + [string[]]$MSBuildArgs +) +Set-StrictMode -Version 2 +$ErrorActionPreference = 'Stop' + +# +# Functions +# + +function Get-KoreBuild { + + $lockFile = Join-Path $Path 'korebuild-lock.txt' + + if (!(Test-Path $lockFile) -or $Update) { + Get-RemoteFile "$ToolsSource/korebuild/channels/$Channel/latest.txt" $lockFile + } + + $version = Get-Content $lockFile | Where-Object { $_ -like 'version:*' } | Select-Object -first 1 + if (!$version) { + Write-Error "Failed to parse version from $lockFile. Expected a line that begins with 'version:'" + } + $version = $version.TrimStart('version:').Trim() + $korebuildPath = Join-Paths $DotNetHome ('buildtools', 'korebuild', $version) + + if (!(Test-Path $korebuildPath)) { + Write-Host -ForegroundColor Magenta "Downloading KoreBuild $version" + New-Item -ItemType Directory -Path $korebuildPath | Out-Null + $remotePath = "$ToolsSource/korebuild/artifacts/$version/korebuild.$version.zip" + + try { + $tmpfile = Join-Path ([IO.Path]::GetTempPath()) "KoreBuild-$([guid]::NewGuid()).zip" + Get-RemoteFile $remotePath $tmpfile + if (Get-Command -Name 'Expand-Archive' -ErrorAction Ignore) { + # Use built-in commands where possible as they are cross-plat compatible + Expand-Archive -Path $tmpfile -DestinationPath $korebuildPath } - else - { - $exception = $_.Exception - throw $exception + else { + # Fallback to old approach for old installations of PowerShell + Add-Type -AssemblyName System.IO.Compression.FileSystem + [System.IO.Compression.ZipFile]::ExtractToDirectory($tmpfile, $korebuildPath) } } + catch { + remove-item -Recurse -Force $korebuildPath -ErrorAction Ignore + throw + } + finally { + remove-item $tmpfile -ErrorAction Ignore + } + } + + return $korebuildPath +} + +function Join-Paths([string]$path, [string[]]$childPaths) { + $childPaths | ForEach-Object { $path = Join-Path $path $_ } + return $path +} + +function Get-RemoteFile([string]$RemotePath, [string]$LocalPath) { + if ($RemotePath -notlike 'http*') { + Copy-Item $RemotePath $LocalPath + return + } + + $retries = 10 + while ($retries -gt 0) { + $retries -= 1 + try { + Invoke-WebRequest -UseBasicParsing -Uri $RemotePath -OutFile $LocalPath + return + } + catch { + Write-Verbose "Request failed. $retries retries remaining" + } + } + + Write-Error "Download failed: '$RemotePath'." +} + +# +# Main +# + +# Load configuration or set defaults + +$Path = Resolve-Path $Path +if (!$ConfigFile) { $ConfigFile = Join-Path $Path 'korebuild.json' } + +if (Test-Path $ConfigFile) { + try { + $config = Get-Content -Raw -Encoding UTF8 -Path $ConfigFile | ConvertFrom-Json + if ($config) { + if (!($Channel) -and (Get-Member -Name 'channel' -InputObject $config)) { [string] $Channel = $config.channel } + if (!($ToolsSource) -and (Get-Member -Name 'toolsSource' -InputObject $config)) { [string] $ToolsSource = $config.toolsSource} + } + } catch { + Write-Warning "$ConfigFile could not be read. Its settings will be ignored." + Write-Warning $Error[0] } } -cd $PSScriptRoot - -$repoFolder = $PSScriptRoot -$env:REPO_FOLDER = $repoFolder - -$koreBuildZip="https://github.com/aspnet/KoreBuild/archive/rel/2.0.0.zip" -if ($env:KOREBUILD_ZIP) -{ - $koreBuildZip=$env:KOREBUILD_ZIP +if (!$DotNetHome) { + $DotNetHome = if ($env:DOTNET_HOME) { $env:DOTNET_HOME } ` + elseif ($env:USERPROFILE) { Join-Path $env:USERPROFILE '.dotnet'} ` + elseif ($env:HOME) {Join-Path $env:HOME '.dotnet'}` + else { Join-Path $PSScriptRoot '.dotnet'} } -$buildFolder = ".build" -$buildFile="$buildFolder\KoreBuild.ps1" +if (!$Channel) { $Channel = 'dev' } +if (!$ToolsSource) { $ToolsSource = 'https://aspnetcore.blob.core.windows.net/buildtools' } -if (!(Test-Path $buildFolder)) { - Write-Host "Downloading KoreBuild from $koreBuildZip" +# Execute - $tempFolder=$env:TEMP + "\KoreBuild-" + [guid]::NewGuid() - New-Item -Path "$tempFolder" -Type directory | Out-Null +$korebuildPath = Get-KoreBuild +Import-Module -Force -Scope Local (Join-Path $korebuildPath 'KoreBuild.psd1') - $localZipFile="$tempFolder\korebuild.zip" - - DownloadWithRetry -url $koreBuildZip -downloadLocation $localZipFile -retries 6 - - Add-Type -AssemblyName System.IO.Compression.FileSystem - [System.IO.Compression.ZipFile]::ExtractToDirectory($localZipFile, $tempFolder) - - New-Item -Path "$buildFolder" -Type directory | Out-Null - copy-item "$tempFolder\**\build\*" $buildFolder -Recurse - - # Cleanup - if (Test-Path $tempFolder) { - Remove-Item -Recurse -Force $tempFolder - } +try { + Install-Tools $ToolsSource $DotNetHome + Invoke-RepositoryBuild $Path @MSBuildArgs +} +finally { + Remove-Module 'KoreBuild' -ErrorAction Ignore } - -&"$buildFile" @args diff --git a/build.sh b/build.sh index 5e27ed8efb..9e32358cf3 100755 --- a/build.sh +++ b/build.sh @@ -1,46 +1,216 @@ #!/usr/bin/env bash -repoFolder="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -cd $repoFolder -koreBuildZip="https://github.com/aspnet/KoreBuild/archive/rel/2.0.0.zip" -if [ ! -z $KOREBUILD_ZIP ]; then - koreBuildZip=$KOREBUILD_ZIP -fi +set -euo pipefail -buildFolder=".build" -buildFile="$buildFolder/KoreBuild.sh" +# +# variables +# -if test ! -d $buildFolder; then - echo "Downloading KoreBuild from $koreBuildZip" +RESET="\033[0m" +RED="\033[0;31m" +YELLOW="\033[0;33m" +MAGENTA="\033[0;95m" +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +[ -z "${DOTNET_HOME:-}"] && DOTNET_HOME="$HOME/.dotnet" +config_file="$DIR/korebuild.json" +verbose=false +update=false +repo_path="$DIR" +channel='' +tools_source='' - tempFolder="/tmp/KoreBuild-$(uuidgen)" - mkdir $tempFolder +# +# Functions +# +__usage() { + echo "Usage: $(basename ${BASH_SOURCE[0]}) [options] [[--] ...]" + echo "" + echo "Arguments:" + echo " ... Arguments passed to MSBuild. Variable number of arguments allowed." + echo "" + echo "Options:" + echo " --verbose Show verbose output." + echo " -c|--channel The channel of KoreBuild to download. Overrides the value from the config file.." + echo " --config-file The path to the configuration file that stores values. Defaults to korebuild.json." + echo " -d|--dotnet-home The directory where .NET Core tools will be stored. Defaults to '\$DOTNET_HOME' or '\$HOME/.dotnet." + echo " --path The directory to build. Defaults to the directory containing the script." + echo " -s|--tools-source The base url where build tools can be downloaded. Overrides the value from the config file." + echo " -u|--update Update to the latest KoreBuild even if the lock file is present." + echo "" + echo "Description:" + echo " This function will create a file \$DIR/korebuild-lock.txt. This lock file can be committed to source, but does not have to be." + echo " When the lockfile is not present, KoreBuild will create one using latest available version from \$channel." - localZipFile="$tempFolder/korebuild.zip" - - retries=6 - until (wget -O $localZipFile $koreBuildZip 2>/dev/null || curl -o $localZipFile --location $koreBuildZip 2>/dev/null) - do - echo "Failed to download '$koreBuildZip'" - if [ "$retries" -le 0 ]; then - exit 1 - fi - retries=$((retries - 1)) - echo "Waiting 10 seconds before retrying. Retries left: $retries" - sleep 10s - done - - unzip -q -d $tempFolder $localZipFile - - mkdir $buildFolder - cp -r $tempFolder/**/build/** $buildFolder - - chmod +x $buildFile - - # Cleanup - if test -d $tempFolder; then - rm -rf $tempFolder + if [[ "${1:-}" != '--no-exit' ]]; then + exit 2 fi +} + +get_korebuild() { + local lock_file="$repo_path/korebuild-lock.txt" + if [ ! -f $lock_file ] || [ "$update" = true ]; then + __get_remote_file "$tools_source/korebuild/channels/$channel/latest.txt" $lock_file + fi + local version="$(grep 'version:*' -m 1 $lock_file)" + if [[ "$version" == '' ]]; then + __error "Failed to parse version from $lock_file. Expected a line that begins with 'version:'" + return 1 + fi + version="$(echo ${version#version:} | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//')" + local korebuild_path="$DOTNET_HOME/buildtools/korebuild/$version" + + { + if [ ! -d "$korebuild_path" ]; then + mkdir -p "$korebuild_path" + local remote_path="$tools_source/korebuild/artifacts/$version/korebuild.$version.zip" + tmpfile="$(mktemp)" + echo -e "${MAGENTA}Downloading KoreBuild ${version}${RESET}" + if __get_remote_file $remote_path $tmpfile; then + unzip -q -d "$korebuild_path" $tmpfile + fi + rm $tmpfile || true + fi + + source "$korebuild_path/KoreBuild.sh" + } || { + if [ -d "$korebuild_path" ]; then + echo "Cleaning up after failed installation" + rm -rf "$korebuild_path" || true + fi + return 1 + } +} + +__error() { + echo -e "${RED}error: $*${RESET}" 1>&2 +} + +__warn() { + echo -e "${YELLOW}warning: $*${RESET}" +} + +__machine_has() { + hash "$1" > /dev/null 2>&1 + return $? +} + +__get_remote_file() { + local remote_path=$1 + local local_path=$2 + + if [[ "$remote_path" != 'http'* ]]; then + cp $remote_path $local_path + return 0 + fi + + failed=false + if __machine_has curl ; then + curl --retry 10 -sSL -f --create-dirs -o $local_path $remote_path || failed=true + elif __machine_has wget; then + wget --tries 10 -O $local_path $remote_path || failed=true + else + failed=true + fi + + if [ "$failed" = true ]; then + __error "Download failed: $remote_path" 1>&2 + return 1 + fi +} + +# +# main +# + +while [[ $# > 0 ]]; do + case $1 in + -\?|-h|--help) + __usage --no-exit + exit 0 + ;; + -c|--channel|-Channel) + shift + channel=${1:-} + [ -z "$channel" ] && __usage + ;; + --config-file|-ConfigFile) + shift + config_file="${1:-}" + [ -z "$config_file" ] && __usage + if [ ! -f "$config_file" ]; then + __error "Invalid value for --config-file. $config_file does not exist." + exit 1 + fi + ;; + -d|--dotnet-home|-DotNetHome) + shift + DOTNET_HOME=${1:-} + [ -z "$DOTNET_HOME" ] && __usage + ;; + --path|-Path) + shift + repo_path="${1:-}" + [ -z "$repo_path" ] && __usage + ;; + -s|--tools-source|-ToolsSource) + shift + tools_source="${1:-}" + [ -z "$tools_source" ] && __usage + ;; + -u|--update|-Update) + update=true + ;; + --verbose|-Verbose) + verbose=true + ;; + --) + shift + break + ;; + *) + break + ;; + esac + shift +done + +if ! __machine_has unzip; then + __error 'Missing required command: unzip' + exit 1 fi -$buildFile -r $repoFolder "$@" +if ! __machine_has curl && ! __machine_has wget; then + __error 'Missing required command. Either wget or curl is required.' + exit 1 +fi + +[ -z "${config_file:-}" ] && config_file="$repo_path/korebuild.json" +if [ -f "$config_file" ]; then + if __machine_has jq ; then + if jq '.' "$config_file" >/dev/null ; then + config_channel="$(jq -r 'select(.channel!=null) | .channel' "$config_file")" + config_tools_source="$(jq -r 'select(.toolsSource!=null) | .toolsSource' "$config_file")" + else + __warn "$config_file is invalid JSON. Its settings will be ignored." + fi + elif __machine_has python ; then + if python -c "import json,codecs;obj=json.load(codecs.open('$config_file', 'r', 'utf-8-sig'))" >/dev/null ; then + config_channel="$(python -c "import json,codecs;obj=json.load(codecs.open('$config_file', 'r', 'utf-8-sig'));print(obj['channel'] if 'channel' in obj else '')")" + config_tools_source="$(python -c "import json,codecs;obj=json.load(codecs.open('$config_file', 'r', 'utf-8-sig'));print(obj['toolsSource'] if 'toolsSource' in obj else '')")" + else + __warn "$config_file is invalid JSON. Its settings will be ignored." + fi + else + __warn 'Missing required command: jq or pyton. Could not parse the JSON file. Its settings will be ignored.' + fi + + [ ! -z "${config_channel:-}" ] && channel="$config_channel" + [ ! -z "${config_tools_source:-}" ] && tools_source="$config_tools_source" +fi + +[ -z "$channel" ] && channel='dev' +[ -z "$tools_source" ] && tools_source='https://aspnetcore.blob.core.windows.net/buildtools' + +get_korebuild +install_tools "$tools_source" "$DOTNET_HOME" +invoke_repository_build "$repo_path" $@ diff --git a/korebuild.json b/korebuild.json new file mode 100644 index 0000000000..6bbc5eeb9c --- /dev/null +++ b/korebuild.json @@ -0,0 +1,4 @@ +{ + "$schema": "https://raw.githubusercontent.com/aspnet/BuildTools/rel/2.0.2/tools/korebuild.schema.json", + "channel": "rel/2.0.2" +} From a94e4df01a7571f6c52c0fd18a535c9e1f990e5d Mon Sep 17 00:00:00 2001 From: Nate McMaster Date: Wed, 20 Sep 2017 13:41:03 -0700 Subject: [PATCH 10/22] Update the list of packages patching in 2.0.x --- build/dependencies.targets | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/build/dependencies.targets b/build/dependencies.targets index 5edbbadab2..9b327818c0 100644 --- a/build/dependencies.targets +++ b/build/dependencies.targets @@ -1,8 +1,22 @@  + + + + + + + + + + + + + + @@ -38,6 +52,7 @@ + From 4678e7ca608581cd8ce30721cd3df07195505d73 Mon Sep 17 00:00:00 2001 From: Nate McMaster Date: Wed, 20 Sep 2017 17:23:23 -0700 Subject: [PATCH 11/22] Update build scripts, tools, and dependencies for 2.0.x --- build.sh | 40 ++++++++++++---------- build/dependencies.targets | 69 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 91 insertions(+), 18 deletions(-) diff --git a/build.sh b/build.sh index 9e32358cf3..5138fc4f22 100755 --- a/build.sh +++ b/build.sh @@ -23,7 +23,7 @@ tools_source='' # Functions # __usage() { - echo "Usage: $(basename ${BASH_SOURCE[0]}) [options] [[--] ...]" + echo "Usage: $(basename "${BASH_SOURCE[0]}") [options] [[--] ...]" echo "" echo "Arguments:" echo " ... Arguments passed to MSBuild. Variable number of arguments allowed." @@ -47,16 +47,17 @@ __usage() { } get_korebuild() { + local version local lock_file="$repo_path/korebuild-lock.txt" - if [ ! -f $lock_file ] || [ "$update" = true ]; then - __get_remote_file "$tools_source/korebuild/channels/$channel/latest.txt" $lock_file + if [ ! -f "$lock_file" ] || [ "$update" = true ]; then + __get_remote_file "$tools_source/korebuild/channels/$channel/latest.txt" "$lock_file" fi - local version="$(grep 'version:*' -m 1 $lock_file)" + version="$(grep 'version:*' -m 1 "$lock_file")" if [[ "$version" == '' ]]; then __error "Failed to parse version from $lock_file. Expected a line that begins with 'version:'" return 1 fi - version="$(echo ${version#version:} | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//')" + version="$(echo "${version#version:}" | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//')" local korebuild_path="$DOTNET_HOME/buildtools/korebuild/$version" { @@ -65,10 +66,10 @@ get_korebuild() { local remote_path="$tools_source/korebuild/artifacts/$version/korebuild.$version.zip" tmpfile="$(mktemp)" echo -e "${MAGENTA}Downloading KoreBuild ${version}${RESET}" - if __get_remote_file $remote_path $tmpfile; then - unzip -q -d "$korebuild_path" $tmpfile + if __get_remote_file "$remote_path" "$tmpfile"; then + unzip -q -d "$korebuild_path" "$tmpfile" fi - rm $tmpfile || true + rm "$tmpfile" || true fi source "$korebuild_path/KoreBuild.sh" @@ -99,19 +100,22 @@ __get_remote_file() { local local_path=$2 if [[ "$remote_path" != 'http'* ]]; then - cp $remote_path $local_path + cp "$remote_path" "$local_path" return 0 fi - failed=false - if __machine_has curl ; then - curl --retry 10 -sSL -f --create-dirs -o $local_path $remote_path || failed=true - elif __machine_has wget; then - wget --tries 10 -O $local_path $remote_path || failed=true + local failed=false + if __machine_has wget; then + wget --tries 10 --quiet -O "$local_path" "$remote_path" || failed=true else failed=true fi + if [ "$failed" = true ] && __machine_has curl; then + failed=false + curl --retry 10 -sSL -f --create-dirs -o "$local_path" "$remote_path" || failed=true + fi + if [ "$failed" = true ]; then __error "Download failed: $remote_path" 1>&2 return 1 @@ -122,7 +126,7 @@ __get_remote_file() { # main # -while [[ $# > 0 ]]; do +while [[ $# -gt 0 ]]; do case $1 in -\?|-h|--help) __usage --no-exit @@ -130,7 +134,7 @@ while [[ $# > 0 ]]; do ;; -c|--channel|-Channel) shift - channel=${1:-} + channel="${1:-}" [ -z "$channel" ] && __usage ;; --config-file|-ConfigFile) @@ -144,7 +148,7 @@ while [[ $# > 0 ]]; do ;; -d|--dotnet-home|-DotNetHome) shift - DOTNET_HOME=${1:-} + DOTNET_HOME="${1:-}" [ -z "$DOTNET_HOME" ] && __usage ;; --path|-Path) @@ -213,4 +217,4 @@ fi get_korebuild install_tools "$tools_source" "$DOTNET_HOME" -invoke_repository_build "$repo_path" $@ +invoke_repository_build "$repo_path" "$@" diff --git a/build/dependencies.targets b/build/dependencies.targets index 9b327818c0..607a712a31 100644 --- a/build/dependencies.targets +++ b/build/dependencies.targets @@ -4,8 +4,12 @@ + + + + @@ -15,13 +19,36 @@ + + + + + + + + + + + + + + + + + + + + + + + @@ -33,11 +60,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -50,9 +111,15 @@ + + + + + + @@ -62,5 +129,7 @@ + + \ No newline at end of file From 562e0234d6b55cdc8dd935b7e8b07c0f548dec1f Mon Sep 17 00:00:00 2001 From: Javier Calvarro Nelson Date: Fri, 22 Sep 2017 11:10:19 -0700 Subject: [PATCH 12/22] Add MVC 2.0 baselines --- .../baseline.netcore.json | 1085 +- .../breakingchanges.netcore.json | 16 - .../baseline.netcore.json | 628 +- .../breakingchanges.netcore.json | 34 - .../baseline.netcore.json | 8146 ++++++++++++--- .../breakingchanges.netcore.json | 149 - .../baseline.netcore.json | 40 +- .../baseline.netcore.json | 377 +- .../baseline.netcore.json | 171 +- .../baseline.netcore.json | 58 +- .../baseline.netcore.json | 2 +- .../baseline.netcore.json | 3169 +++--- .../breakingchanges.netcore.json | 141 - .../baseline.netcore.json | 9046 ++++++++++++++++- .../baseline.netcore.json | 603 +- .../breakingchanges.netcore.json | 7 - .../baseline.netcore.json | 446 +- .../baseline.netcore.json | 1992 +++- .../breakingchanges.netcore.json | 37 - .../breakingchanges.netframework.json | 37 - .../baseline.netcore.json | 622 +- .../baseline.netcore.json | 2 +- 22 files changed, 22589 insertions(+), 4219 deletions(-) delete mode 100644 src/Microsoft.AspNetCore.Mvc.Abstractions/breakingchanges.netcore.json delete mode 100644 src/Microsoft.AspNetCore.Mvc.ApiExplorer/breakingchanges.netcore.json delete mode 100644 src/Microsoft.AspNetCore.Mvc.Core/breakingchanges.netcore.json delete mode 100644 src/Microsoft.AspNetCore.Mvc.Razor/breakingchanges.netcore.json delete mode 100644 src/Microsoft.AspNetCore.Mvc.TagHelpers/breakingchanges.netcore.json delete mode 100644 src/Microsoft.AspNetCore.Mvc.ViewFeatures/breakingchanges.netcore.json delete mode 100644 src/Microsoft.AspNetCore.Mvc.ViewFeatures/breakingchanges.netframework.json diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/baseline.netcore.json b/src/Microsoft.AspNetCore.Mvc.Abstractions/baseline.netcore.json index 0739d499cb..8463c95ddf 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/baseline.netcore.json +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/baseline.netcore.json @@ -1,5 +1,5 @@ { - "AssemblyIdentity": "Microsoft.AspNetCore.Mvc.Abstractions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", + "AssemblyIdentity": "Microsoft.AspNetCore.Mvc.Abstractions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", "Types": [ { "Name": "Microsoft.AspNetCore.Mvc.ActionContext", @@ -316,6 +316,48 @@ "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", @@ -679,6 +721,27 @@ "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", @@ -949,6 +1012,26 @@ "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": [] @@ -1042,6 +1125,22 @@ ], "Visibility": "Public", "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "group", + "Type": "System.String" + }, + { + "Name": "name", + "Type": "System.Func" + } + ], + "Visibility": "Public", + "GenericParameter": [] } ], "GenericParameters": [] @@ -1194,6 +1293,23 @@ ], "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", @@ -1971,7 +2087,8 @@ "Kind": "Class", "Abstract": true, "ImplementedInterfaces": [ - "System.IEquatable" + "System.IEquatable", + "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider" ], "Members": [ { @@ -1982,6 +2099,15 @@ "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", @@ -2248,7 +2374,7 @@ "Kind": "Method", "Name": "get_ModelBindingMessageProvider", "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IModelBindingMessageProvider", + "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelBindingMessageProvider", "Virtual": true, "Abstract": true, "Visibility": "Public", @@ -2334,6 +2460,15 @@ "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", @@ -2479,6 +2614,36 @@ "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", @@ -3669,6 +3834,32 @@ ], "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", @@ -3959,6 +4150,26 @@ ], "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": [] @@ -4404,9 +4615,9 @@ "GenericParameters": [] }, { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IModelBindingMessageProvider", + "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelBindingMessageProvider", "Visibility": "Public", - "Kind": "Interface", + "Kind": "Class", "Abstract": true, "ImplementedInterfaces": [], "Members": [ @@ -4415,6 +4626,8 @@ "Name": "get_MissingBindRequiredValueAccessor", "Parameters": [], "ReturnType": "System.Func", + "Virtual": true, + "Visibility": "Public", "GenericParameter": [] }, { @@ -4422,6 +4635,17 @@ "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": [] }, { @@ -4429,6 +4653,8 @@ "Name": "get_ValueMustNotBeNullAccessor", "Parameters": [], "ReturnType": "System.Func", + "Virtual": true, + "Visibility": "Public", "GenericParameter": [] }, { @@ -4436,6 +4662,17 @@ "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": [] }, { @@ -4443,6 +4680,17 @@ "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": [] }, { @@ -4450,6 +4698,8 @@ "Name": "get_ValueIsInvalidAccessor", "Parameters": [], "ReturnType": "System.Func", + "Virtual": true, + "Visibility": "Public", "GenericParameter": [] }, { @@ -4457,6 +4707,24 @@ "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": [] } ], @@ -4628,6 +4896,19 @@ } ] }, + { + "Kind": "Method", + "Name": "RemoveType", + "Parameters": [ + { + "Name": "formatterType", + "Type": "System.Type" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, { "Kind": "Constructor", "Name": ".ctor", @@ -4696,6 +4977,14 @@ "Kind": "Class", "ImplementedInterfaces": [], "Members": [ + { + "Kind": "Method", + "Name": "get_TreatEmptyInputAsDefaultValue", + "Parameters": [], + "ReturnType": "System.Boolean", + "Visibility": "Public", + "GenericParameter": [] + }, { "Kind": "Method", "Name": "get_HttpContext", @@ -4771,6 +5060,38 @@ ], "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": [] @@ -4789,6 +5110,14 @@ "Visibility": "Public", "GenericParameter": [] }, + { + "Kind": "Method", + "Name": "get_IsModelSet", + "Parameters": [], + "ReturnType": "System.Boolean", + "Visibility": "Public", + "GenericParameter": [] + }, { "Kind": "Method", "Name": "get_Model", @@ -4842,6 +5171,24 @@ "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": [] @@ -4887,6 +5234,29 @@ "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", @@ -4910,6 +5280,29 @@ "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", @@ -4962,6 +5355,18 @@ "Parameters": [], "Visibility": "Protected", "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "httpContext", + "Type": "Microsoft.AspNetCore.Http.HttpContext" + } + ], + "Visibility": "Protected", + "GenericParameter": [] } ], "GenericParameters": [] @@ -4973,29 +5378,6 @@ "BaseType": "Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterCanWriteContext", "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_WriterFactory", @@ -6761,6 +7143,653 @@ "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": "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", diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/breakingchanges.netcore.json b/src/Microsoft.AspNetCore.Mvc.Abstractions/breakingchanges.netcore.json deleted file mode 100644 index d9e5d8d5e7..0000000000 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/breakingchanges.netcore.json +++ /dev/null @@ -1,16 +0,0 @@ -[ - { - "TypeId": "public interface Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IModelBindingMessageProvider", - "Kind": "Removal" - }, - { - "TypeId": "public abstract class Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata : System.IEquatable", - "MemberId": "public abstract Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IModelBindingMessageProvider get_ModelBindingMessageProvider()", - "Kind": "Removal" - }, - { - "TypeId": "public abstract class Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata : System.IEquatable, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider", - "MemberId": "public abstract Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelBindingMessageProvider get_ModelBindingMessageProvider()", - "Kind": "Addition" - } -] \ No newline at end of file diff --git a/src/Microsoft.AspNetCore.Mvc.ApiExplorer/baseline.netcore.json b/src/Microsoft.AspNetCore.Mvc.ApiExplorer/baseline.netcore.json index 4b05ac7a98..8b8fbb0648 100644 --- a/src/Microsoft.AspNetCore.Mvc.ApiExplorer/baseline.netcore.json +++ b/src/Microsoft.AspNetCore.Mvc.ApiExplorer/baseline.netcore.json @@ -1,138 +1,6 @@ { - "AssemblyIdentity": "Microsoft.AspNetCore.Mvc.ApiExplorer, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", + "AssemblyIdentity": "Microsoft.AspNetCore.Mvc.ApiExplorer, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", "Types": [ - { - "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.ApiDescriptionExtensions", "Visibility": "Public", @@ -311,459 +179,6 @@ ], "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": "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": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, { "Name": "Microsoft.AspNetCore.Mvc.ApiExplorer.DefaultApiDescriptionProvider", "Visibility": "Public", @@ -855,47 +270,6 @@ ], "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.Extensions.DependencyInjection.MvcApiExplorerMvcCoreBuilderExtensions", "Visibility": "Public", diff --git a/src/Microsoft.AspNetCore.Mvc.ApiExplorer/breakingchanges.netcore.json b/src/Microsoft.AspNetCore.Mvc.ApiExplorer/breakingchanges.netcore.json deleted file mode 100644 index b0cae3e292..0000000000 --- a/src/Microsoft.AspNetCore.Mvc.ApiExplorer/breakingchanges.netcore.json +++ /dev/null @@ -1,34 +0,0 @@ -[ - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescription", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescriptionProviderContext", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ApiExplorer.ApiParameterDescription", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ApiExplorer.ApiParameterRouteInfo", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ApiExplorer.ApiRequestFormat", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ApiExplorer.ApiResponseFormat", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ApiExplorer.ApiResponseType", - "Kind": "Removal" - }, - { - "TypeId": "public interface Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionProvider", - "Kind": "Removal" - } -] \ No newline at end of file diff --git a/src/Microsoft.AspNetCore.Mvc.Core/baseline.netcore.json b/src/Microsoft.AspNetCore.Mvc.Core/baseline.netcore.json index 2e551e5b36..d139d0ebb6 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/baseline.netcore.json +++ b/src/Microsoft.AspNetCore.Mvc.Core/baseline.netcore.json @@ -1,405 +1,6 @@ { - "AssemblyIdentity": "Microsoft.AspNetCore.Mvc.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", + "AssemblyIdentity": "Microsoft.AspNetCore.Mvc.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", "Types": [ - { - "Name": "Microsoft.Extensions.DependencyInjection.ApplicationModelConventionExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "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": [] - } - ], - "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": [] - } - ], - "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": [] - } - ], - "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.Builder.MvcApplicationBuilderExtensions", "Visibility": "Public", @@ -605,6 +206,348 @@ ], "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", @@ -1024,6 +967,120 @@ ], "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_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": "get_BindingSource", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource", + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata", + "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", @@ -1114,6 +1171,27 @@ "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", @@ -1156,7 +1234,7 @@ "Kind": "Method", "Name": "get_Properties", "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties", + "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationProperties", "Visibility": "Public", "GenericParameter": [] }, @@ -1166,7 +1244,7 @@ "Parameters": [ { "Name": "value", - "Type": "Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties" + "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" } ], "ReturnType": "System.Void", @@ -1226,7 +1304,7 @@ "Parameters": [ { "Name": "properties", - "Type": "Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties" + "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" } ], "Visibility": "Public", @@ -1242,7 +1320,7 @@ }, { "Name": "properties", - "Type": "Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties" + "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" } ], "Visibility": "Public", @@ -1258,7 +1336,7 @@ }, { "Name": "properties", - "Type": "Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties" + "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" } ], "Visibility": "Public", @@ -1830,6 +1908,34 @@ "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", @@ -1858,6 +1964,34 @@ "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", @@ -1930,6 +2064,84 @@ "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", @@ -1980,6 +2192,28 @@ "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", @@ -2002,6 +2236,62 @@ "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", @@ -2048,6 +2338,71 @@ "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", @@ -2094,6 +2449,347 @@ "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", @@ -2134,6 +2830,62 @@ "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": "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", @@ -2174,6 +2926,62 @@ "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": "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", @@ -2214,6 +3022,62 @@ "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": "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": "PhysicalFile", @@ -2254,6 +3118,62 @@ "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": "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": "Unauthorized", @@ -2483,6 +3403,299 @@ "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", @@ -2513,7 +3726,7 @@ "Parameters": [ { "Name": "properties", - "Type": "Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties" + "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" } ], "ReturnType": "Microsoft.AspNetCore.Mvc.ChallengeResult", @@ -2527,7 +3740,7 @@ "Parameters": [ { "Name": "properties", - "Type": "Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties" + "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" }, { "Name": "authenticationSchemes", @@ -2570,7 +3783,7 @@ "Parameters": [ { "Name": "properties", - "Type": "Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties" + "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" } ], "ReturnType": "Microsoft.AspNetCore.Mvc.ForbidResult", @@ -2584,7 +3797,7 @@ "Parameters": [ { "Name": "properties", - "Type": "Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties" + "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" }, { "Name": "authenticationSchemes", @@ -2625,7 +3838,7 @@ }, { "Name": "properties", - "Type": "Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties" + "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" }, { "Name": "authenticationScheme", @@ -2658,7 +3871,7 @@ "Parameters": [ { "Name": "properties", - "Type": "Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties" + "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" }, { "Name": "authenticationSchemes", @@ -3386,6 +4599,77 @@ ], "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", @@ -3534,6 +4818,48 @@ "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": "Constructor", "Name": ".ctor", @@ -3628,6 +4954,90 @@ ], "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", @@ -3660,7 +5070,7 @@ "Kind": "Method", "Name": "get_Properties", "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties", + "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationProperties", "Visibility": "Public", "GenericParameter": [] }, @@ -3670,7 +5080,7 @@ "Parameters": [ { "Name": "value", - "Type": "Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties" + "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" } ], "ReturnType": "System.Void", @@ -3730,7 +5140,7 @@ "Parameters": [ { "Name": "properties", - "Type": "Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties" + "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" } ], "Visibility": "Public", @@ -3746,7 +5156,7 @@ }, { "Name": "properties", - "Type": "Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties" + "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" } ], "Visibility": "Public", @@ -3762,7 +5172,7 @@ }, { "Name": "properties", - "Type": "Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties" + "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" } ], "Visibility": "Public", @@ -4300,6 +5710,39 @@ ], "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.IRequestSizePolicy", + "Visibility": "Public", + "Kind": "Interface", + "Abstract": true, + "ImplementedInterfaces": [ + "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata" + ], + "Members": [], + "GenericParameters": [] + }, { "Name": "Microsoft.AspNetCore.Mvc.LocalRedirectResult", "Visibility": "Public", @@ -4328,6 +5771,27 @@ "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", @@ -4412,6 +5876,26 @@ ], "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": [] @@ -4504,6 +5988,18 @@ "Parameters": [], "Visibility": "Public", "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "binderType", + "Type": "System.Type" + } + ], + "Visibility": "Public", + "GenericParameter": [] } ], "GenericParameters": [] @@ -4544,6 +6040,27 @@ "Kind": "Class", "ImplementedInterfaces": [], "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_CacheProfiles", @@ -4584,6 +6101,27 @@ "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", @@ -4617,7 +6155,7 @@ "Kind": "Method", "Name": "get_ModelBindingMessageProvider", "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelBindingMessageProvider", + "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelBindingMessageProvider", "Visibility": "Public", "GenericParameter": [] }, @@ -4716,6 +6254,27 @@ "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", @@ -4779,6 +6338,23 @@ ], "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", @@ -5097,8 +6673,10 @@ "Name": "Microsoft.AspNetCore.Mvc.ProducesAttribute", "Visibility": "Public", "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.Filters.ResultFilterAttribute", + "BaseType": "System.Attribute", "ImplementedInterfaces": [ + "Microsoft.AspNetCore.Mvc.Filters.IResultFilter", + "Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter", "Microsoft.AspNetCore.Mvc.ApiExplorer.IApiResponseMetadataProvider" ], "Members": [ @@ -5158,6 +6736,30 @@ "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", @@ -5169,7 +6771,21 @@ ], "ReturnType": "System.Void", "Virtual": true, - "Override": 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": [] @@ -5228,8 +6844,7 @@ "Kind": "Class", "BaseType": "System.Attribute", "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ApiExplorer.IApiResponseMetadataProvider", - "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata" + "Microsoft.AspNetCore.Mvc.ApiExplorer.IApiResponseMetadataProvider" ], "Members": [ { @@ -5280,6 +6895,18 @@ "Visibility": "Public", "GenericParameter": [] }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "statusCode", + "Type": "System.Int32" + } + ], + "Visibility": "Public", + "GenericParameter": [] + }, { "Kind": "Constructor", "Name": ".ctor", @@ -5329,6 +6956,27 @@ "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", @@ -5413,6 +7061,26 @@ ], "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": [] @@ -5531,6 +7199,48 @@ "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", @@ -5566,6 +7276,30 @@ "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", @@ -5589,6 +7323,510 @@ ], "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": "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": [] @@ -5686,6 +7924,48 @@ "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", @@ -5748,6 +8028,178 @@ ], "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.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": [] @@ -5940,6 +8392,27 @@ "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", @@ -6313,7 +8786,7 @@ "Kind": "Method", "Name": "get_Properties", "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties", + "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationProperties", "Visibility": "Public", "GenericParameter": [] }, @@ -6323,7 +8796,7 @@ "Parameters": [ { "Name": "value", - "Type": "Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties" + "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" } ], "ReturnType": "System.Void", @@ -6376,7 +8849,7 @@ }, { "Name": "properties", - "Type": "Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties" + "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" } ], "Visibility": "Public", @@ -6417,7 +8890,7 @@ "Kind": "Method", "Name": "get_Properties", "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties", + "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationProperties", "Visibility": "Public", "GenericParameter": [] }, @@ -6427,7 +8900,7 @@ "Parameters": [ { "Name": "value", - "Type": "Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties" + "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" } ], "ReturnType": "System.Void", @@ -6450,6 +8923,13 @@ "Visibility": "Public", "GenericParameter": [] }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [], + "Visibility": "Public", + "GenericParameter": [] + }, { "Kind": "Constructor", "Name": ".ctor", @@ -6484,7 +8964,7 @@ }, { "Name": "properties", - "Type": "Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties" + "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" } ], "Visibility": "Public", @@ -6500,7 +8980,7 @@ }, { "Name": "properties", - "Type": "Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties" + "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" } ], "Visibility": "Public", @@ -7080,6 +9560,203 @@ "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": [] @@ -8354,6 +11031,24 @@ "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": "ContainsPrefix", @@ -8890,6 +11585,99 @@ ], "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_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": "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", @@ -9012,6 +11800,60 @@ ], "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", @@ -9113,6 +11955,116 @@ ], "GenericParameters": [] }, + { + "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [], + "Members": [ + { + "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": [] + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.QueryStringValueProvider", "Visibility": "Public", @@ -9257,6 +12209,14 @@ "Visibility": "Protected", "GenericParameter": [] }, + { + "Kind": "Method", + "Name": "get_Culture", + "Parameters": [], + "ReturnType": "System.Globalization.CultureInfo", + "Visibility": "Protected", + "GenericParameter": [] + }, { "Kind": "Method", "Name": "ContainsPrefix", @@ -9304,6 +12264,26 @@ ], "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": [] @@ -9482,7 +12462,7 @@ "GenericParameters": [] }, { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderResultExtensions", + "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderFactoryExtensions", "Visibility": "Public", "Kind": "Class", "Abstract": true, @@ -9492,39 +12472,41 @@ "Members": [ { "Kind": "Method", - "Name": "ConvertTo", + "Name": "RemoveType", "Parameters": [ { - "Name": "result", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderResult" + "Name": "list", + "Type": "System.Collections.Generic.IList" } ], - "ReturnType": "T0", + "ReturnType": "System.Void", "Static": true, "Extension": true, "Visibility": "Public", "GenericParameter": [ { - "ParameterName": "T", + "ParameterName": "TValueProviderFactory", "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] + "BaseTypeOrInterfaces": [ + "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProviderFactory" + ] } ] }, { "Kind": "Method", - "Name": "ConvertTo", + "Name": "RemoveType", "Parameters": [ { - "Name": "result", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderResult" + "Name": "list", + "Type": "System.Collections.Generic.IList" }, { "Name": "type", "Type": "System.Type" } ], - "ReturnType": "System.Object", + "ReturnType": "System.Void", "Static": true, "Extension": true, "Visibility": "Public", @@ -9533,99 +12515,6 @@ ], "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_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": "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.Validation.CompositeClientModelValidatorProvider", "Visibility": "Public", @@ -9754,6 +12643,100 @@ ], "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", @@ -9957,7 +12940,7 @@ "Kind": "Method", "Name": "get_ModelBindingMessageProvider", "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelBindingMessageProvider", + "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelBindingMessageProvider", "Visibility": "Public", "GenericParameter": [] }, @@ -9967,7 +12950,7 @@ "Parameters": [ { "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelBindingMessageProvider" + "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelBindingMessageProvider" } ], "ReturnType": "System.Void", @@ -10070,6 +13053,65 @@ ], "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", @@ -10218,6 +13260,27 @@ "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", @@ -10237,6 +13300,288 @@ ], "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", @@ -10252,6 +13597,16 @@ "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", @@ -10500,7 +13855,7 @@ "Kind": "Method", "Name": "get_ModelBindingMessageProvider", "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IModelBindingMessageProvider", + "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelBindingMessageProvider", "Virtual": true, "Override": true, "Visibility": "Public", @@ -10596,6 +13951,16 @@ "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", @@ -10636,6 +14001,38 @@ "Visibility": "Public", "GenericParameter": [] }, + { + "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": "Constructor", "Name": ".ctor", @@ -10655,6 +14052,30 @@ ], "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": [] @@ -10675,6 +14096,14 @@ "Visibility": "Protected", "GenericParameter": [] }, + { + "Kind": "Method", + "Name": "get_ModelBindingMessageProvider", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelBindingMessageProvider", + "Visibility": "Protected", + "GenericParameter": [] + }, { "Kind": "Method", "Name": "GetMetadataForProperties", @@ -10758,6 +14187,22 @@ ], "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": [] @@ -11405,197 +14850,53 @@ "GenericParameters": [] }, { - "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelBindingMessageProvider", + "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.MetadataDetailsProviderExtensions", "Visibility": "Public", "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IModelBindingMessageProvider" - ], + "Abstract": true, + "Static": true, + "Sealed": true, + "ImplementedInterfaces": [], "Members": [ { "Kind": "Method", - "Name": "get_MissingBindRequiredValueAccessor", - "Parameters": [], - "ReturnType": "System.Func", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IModelBindingMessageProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MissingBindRequiredValueAccessor", + "Name": "RemoveType", "Parameters": [ { - "Name": "value", - "Type": "System.Func" + "Name": "list", + "Type": "System.Collections.Generic.IList" } ], "ReturnType": "System.Void", + "Static": true, + "Extension": true, "Visibility": "Public", - "GenericParameter": [] + "GenericParameter": [ + { + "ParameterName": "TMetadataDetailsProvider", + "ParameterPosition": 0, + "BaseTypeOrInterfaces": [ + "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IMetadataDetailsProvider" + ] + } + ] }, { "Kind": "Method", - "Name": "get_MissingKeyOrValueAccessor", - "Parameters": [], - "ReturnType": "System.Func", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IModelBindingMessageProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_MissingKeyOrValueAccessor", + "Name": "RemoveType", "Parameters": [ { - "Name": "value", - "Type": "System.Func" + "Name": "list", + "Type": "System.Collections.Generic.IList" + }, + { + "Name": "type", + "Type": "System.Type" } ], "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ValueMustNotBeNullAccessor", - "Parameters": [], - "ReturnType": "System.Func", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IModelBindingMessageProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ValueMustNotBeNullAccessor", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_AttemptedValueIsInvalidAccessor", - "Parameters": [], - "ReturnType": "System.Func", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IModelBindingMessageProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_AttemptedValueIsInvalidAccessor", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_UnknownValueIsInvalidAccessor", - "Parameters": [], - "ReturnType": "System.Func", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IModelBindingMessageProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_UnknownValueIsInvalidAccessor", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ValueIsInvalidAccessor", - "Parameters": [], - "ReturnType": "System.Func", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IModelBindingMessageProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ValueIsInvalidAccessor", - "Parameters": [ - { - "Name": "value", - "Type": "System.Func" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ValueMustBeANumberAccessor", - "Parameters": [], - "ReturnType": "System.Func", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IModelBindingMessageProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ValueMustBeANumberAccessor", - "Parameters": [ - { - "Name": "value", - "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.ModelBindingMessageProvider" - } - ], + "Static": true, + "Extension": true, "Visibility": "Public", "GenericParameter": [] } @@ -11629,6 +14930,27 @@ "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", @@ -12106,26 +15428,6 @@ } ] }, - { - "Kind": "Method", - "Name": "ConvertTo", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "T0", - "Static": true, - "Visibility": "Public", - "GenericParameter": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, { "Kind": "Method", "Name": "ConvertTo", @@ -12161,32 +15463,64 @@ { "Name": "type", "Type": "System.Type" + }, + { + "Name": "culture", + "Type": "System.Globalization.CultureInfo" } ], "ReturnType": "System.Object", "Static": true, "Visibility": "Public", "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Internal.ValidationStack", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "get_Count", + "Parameters": [], + "ReturnType": "System.Int32", + "Visibility": "Public", + "GenericParameter": [] }, { "Kind": "Method", - "Name": "ConvertTo", + "Name": "Push", "Parameters": [ { - "Name": "value", + "Name": "model", "Type": "System.Object" - }, - { - "Name": "type", - "Type": "System.Type" - }, - { - "Name": "culture", - "Type": "System.Globalization.CultureInfo" } ], - "ReturnType": "System.Object", - "Static": true, + "ReturnType": "System.Boolean", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "Pop", + "Parameters": [ + { + "Name": "model", + "Type": "System.Object" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [], "Visibility": "Public", "GenericParameter": [] } @@ -12436,6 +15770,50 @@ ], "Visibility": "Public", "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "formatters", + "Type": "System.Collections.Generic.IList" + }, + { + "Name": "readerFactory", + "Type": "Microsoft.AspNetCore.Mvc.Internal.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.Internal.IHttpRequestStreamReaderFactory" + }, + { + "Name": "loggerFactory", + "Type": "Microsoft.Extensions.Logging.ILoggerFactory" + }, + { + "Name": "options", + "Type": "Microsoft.AspNetCore.Mvc.MvcOptions" + } + ], + "Visibility": "Public", + "GenericParameter": [] } ], "GenericParameters": [] @@ -12479,6 +15857,50 @@ ], "Visibility": "Public", "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "formatters", + "Type": "System.Collections.Generic.IList" + }, + { + "Name": "readerFactory", + "Type": "Microsoft.AspNetCore.Mvc.Internal.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.Internal.IHttpRequestStreamReaderFactory" + }, + { + "Name": "loggerFactory", + "Type": "Microsoft.Extensions.Logging.ILoggerFactory" + }, + { + "Name": "options", + "Type": "Microsoft.AspNetCore.Mvc.MvcOptions" + } + ], + "Visibility": "Public", + "GenericParameter": [] } ], "GenericParameters": [] @@ -12928,6 +16350,45 @@ ], "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": [] + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinder", "Visibility": "Public", @@ -13065,6 +16526,118 @@ ], "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": [] + } + ], + "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": [] + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinder", "Visibility": "Public", @@ -13564,8 +17137,12 @@ "Name": ".ctor", "Parameters": [ { - "Name": "serviceProvider", - "Type": "System.IServiceProvider" + "Name": "actionDescriptorProviders", + "Type": "System.Collections.Generic.IEnumerable" + }, + { + "Name": "actionDescriptorChangeProviders", + "Type": "System.Collections.Generic.IEnumerable" } ], "Visibility": "Public", @@ -13579,7 +17156,7 @@ "Visibility": "Public", "Kind": "Class", "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Internal.IActionInvokerFactory" + "Microsoft.AspNetCore.Mvc.Infrastructure.IActionInvokerFactory" ], "Members": [ { @@ -13594,7 +17171,7 @@ "ReturnType": "Microsoft.AspNetCore.Mvc.Abstractions.IActionInvoker", "Sealed": true, "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Internal.IActionInvokerFactory", + "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Infrastructure.IActionInvokerFactory", "Visibility": "Public", "GenericParameter": [] }, @@ -13613,56 +17190,6 @@ ], "GenericParameters": [] }, - { - "Name": "Microsoft.AspNetCore.Mvc.Internal.ActionSelectionDecisionTree", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Internal.IActionSelectionDecisionTree" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Version", - "Parameters": [], - "ReturnType": "System.Int32", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Internal.IActionSelectionDecisionTree", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Select", - "Parameters": [ - { - "Name": "routeValues", - "Type": "System.Collections.Generic.IDictionary" - } - ], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Internal.IActionSelectionDecisionTree", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "actions", - "Type": "Microsoft.AspNetCore.Mvc.Infrastructure.ActionDescriptorCollection" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, { "Name": "Microsoft.AspNetCore.Mvc.Internal.ActionSelector", "Visibility": "Public", @@ -13726,8 +17253,8 @@ "Name": ".ctor", "Parameters": [ { - "Name": "decisionTreeProvider", - "Type": "Microsoft.AspNetCore.Mvc.Internal.IActionSelectorDecisionTreeProvider" + "Name": "actionDescriptorCollectionProvider", + "Type": "Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider" }, { "Name": "actionConstraintCache", @@ -13744,40 +17271,6 @@ ], "GenericParameters": [] }, - { - "Name": "Microsoft.AspNetCore.Mvc.Internal.ActionSelectorDecisionTreeProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Internal.IActionSelectorDecisionTreeProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_DecisionTree", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Internal.IActionSelectionDecisionTree", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Internal.IActionSelectorDecisionTreeProvider", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "actionDescriptorCollectionProvider", - "Type": "Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, { "Name": "Microsoft.AspNetCore.Mvc.Internal.AmbiguousActionException", "Visibility": "Public", @@ -13796,6 +17289,22 @@ ], "Visibility": "Public", "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "info", + "Type": "System.Runtime.Serialization.SerializationInfo" + }, + { + "Name": "context", + "Type": "System.Runtime.Serialization.StreamingContext" + } + ], + "Visibility": "Protected", + "GenericParameter": [] } ], "GenericParameters": [] @@ -13930,38 +17439,6 @@ ], "GenericParameters": [] }, - { - "Name": "Microsoft.AspNetCore.Mvc.Internal.AttributeRouteEntries", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_InboundEntries", - "Parameters": [], - "ReturnType": "System.Collections.Generic.List", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_OutboundEntries", - "Parameters": [], - "ReturnType": "System.Collections.Generic.List", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, { "Name": "Microsoft.AspNetCore.Mvc.Internal.AttributeRouting", "Visibility": "Public", @@ -14039,6 +17516,24 @@ "Visibility": "Public", "GenericParameter": [] }, + { + "Kind": "Method", + "Name": "GetFilter", + "Parameters": [ + { + "Name": "policyProvider", + "Type": "Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider" + }, + { + "Name": "authData", + "Type": "System.Collections.Generic.IEnumerable" + } + ], + "ReturnType": "Microsoft.AspNetCore.Mvc.Authorization.AuthorizeFilter", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + }, { "Kind": "Constructor", "Name": ".ctor", @@ -14087,6 +17582,49 @@ ], "GenericParameters": [] }, + { + "Name": "Microsoft.AspNetCore.Mvc.Internal.ContentResultExecutor", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [], + "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, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "logger", + "Type": "Microsoft.Extensions.Logging.ILogger" + }, + { + "Name": "httpResponseStreamWriterFactory", + "Type": "Microsoft.AspNetCore.Mvc.Internal.IHttpResponseStreamWriterFactory" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.AspNetCore.Mvc.Internal.ControllerActionDescriptorBuilder", "Visibility": "Public", @@ -14114,10 +17652,6 @@ "Kind": "Method", "Name": "AddRouteValues", "Parameters": [ - { - "Name": "keys", - "Type": "System.Collections.Generic.ISet" - }, { "Name": "actionDescriptor", "Type": "Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor" @@ -14229,36 +17763,6 @@ ], "GenericParameters": [] }, - { - "Name": "Microsoft.AspNetCore.Mvc.Internal.ControllerActionExecutor", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "PrepareArguments", - "Parameters": [ - { - "Name": "actionParameters", - "Type": "System.Collections.Generic.IDictionary" - }, - { - "Name": "actionMethodExecutor", - "Type": "Microsoft.AspNetCore.Mvc.Internal.ObjectMethodExecutor" - } - ], - "ReturnType": "System.Object[]", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, { "Name": "Microsoft.AspNetCore.Mvc.Internal.ControllerActionFilter", "Visibility": "Public", @@ -14326,58 +17830,29 @@ "Name": "Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker", "Visibility": "Public", "Kind": "Class", + "BaseType": "Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker", "ImplementedInterfaces": [ "Microsoft.AspNetCore.Mvc.Abstractions.IActionInvoker" ], "Members": [ { "Kind": "Method", - "Name": "InvokeAsync", + "Name": "ReleaseResources", "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", + "ReturnType": "System.Void", "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Abstractions.IActionInvoker", - "Visibility": "Public", + "Override": true, + "Visibility": "Protected", "GenericParameter": [] }, { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "cache", - "Type": "Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvokerCache" - }, - { - "Name": "controllerFactory", - "Type": "Microsoft.AspNetCore.Mvc.Controllers.IControllerFactory" - }, - { - "Name": "controllerArgumentBinder", - "Type": "Microsoft.AspNetCore.Mvc.Internal.IControllerArgumentBinder" - }, - { - "Name": "logger", - "Type": "Microsoft.Extensions.Logging.ILogger" - }, - { - "Name": "diagnosticSource", - "Type": "System.Diagnostics.DiagnosticSource" - }, - { - "Name": "actionContext", - "Type": "Microsoft.AspNetCore.Mvc.ActionContext" - }, - { - "Name": "valueProviderFactories", - "Type": "System.Collections.Generic.IReadOnlyList" - }, - { - "Name": "maxModelValidationErrors", - "Type": "System.Int32" - } - ], - "Visibility": "Public", + "Kind": "Method", + "Name": "InvokeInnerFilterAsync", + "Parameters": [], + "ReturnType": "System.Threading.Tasks.Task", + "Virtual": true, + "Override": true, + "Visibility": "Protected", "GenericParameter": [] } ], @@ -14391,14 +17866,14 @@ "Members": [ { "Kind": "Method", - "Name": "GetState", + "Name": "GetCachedResult", "Parameters": [ { "Name": "controllerContext", "Type": "Microsoft.AspNetCore.Mvc.ControllerContext" } ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvokerCache+ControllerActionInvokerState", + "ReturnType": "System.ValueTuple", "Visibility": "Public", "GenericParameter": [] }, @@ -14410,9 +17885,25 @@ "Name": "collectionProvider", "Type": "Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider" }, + { + "Name": "parameterBinder", + "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder" + }, + { + "Name": "modelBinderFactory", + "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderFactory" + }, + { + "Name": "modelMetadataProvider", + "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider" + }, { "Name": "filterProviders", "Type": "System.Collections.Generic.IEnumerable" + }, + { + "Name": "factoryProvider", + "Type": "Microsoft.AspNetCore.Mvc.Controllers.IControllerFactoryProvider" } ], "Visibility": "Public", @@ -14421,6 +17912,47 @@ ], "GenericParameters": [] }, + { + "Name": "Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvokerCacheEntry", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "get_CachedFilters", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Mvc.Filters.FilterItem[]", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_ControllerFactory", + "Parameters": [], + "ReturnType": "System.Func", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_ControllerReleaser", + "Parameters": [], + "ReturnType": "System.Action", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_ControllerBinderDelegate", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Mvc.Internal.ControllerBinderDelegate", + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvokerProvider", "Visibility": "Public", @@ -14476,18 +18008,10 @@ "Kind": "Constructor", "Name": ".ctor", "Parameters": [ - { - "Name": "controllerFactory", - "Type": "Microsoft.AspNetCore.Mvc.Controllers.IControllerFactory" - }, { "Name": "controllerActionInvokerCache", "Type": "Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvokerCache" }, - { - "Name": "argumentBinder", - "Type": "Microsoft.AspNetCore.Mvc.Internal.IControllerArgumentBinder" - }, { "Name": "optionsAccessor", "Type": "Microsoft.Extensions.Options.IOptions" @@ -14507,6 +18031,137 @@ ], "GenericParameters": [] }, + { + "Name": "Microsoft.AspNetCore.Mvc.Internal.ControllerBinderDelegate", + "Visibility": "Public", + "Kind": "Class", + "Sealed": true, + "BaseType": "System.MulticastDelegate", + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "Invoke", + "Parameters": [ + { + "Name": "controllerContext", + "Type": "Microsoft.AspNetCore.Mvc.ControllerContext" + }, + { + "Name": "controller", + "Type": "System.Object" + }, + { + "Name": "arguments", + "Type": "System.Collections.Generic.Dictionary" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "Virtual": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "BeginInvoke", + "Parameters": [ + { + "Name": "controllerContext", + "Type": "Microsoft.AspNetCore.Mvc.ControllerContext" + }, + { + "Name": "controller", + "Type": "System.Object" + }, + { + "Name": "arguments", + "Type": "System.Collections.Generic.Dictionary" + }, + { + "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.Internal.ControllerBinderDelegateProvider", + "Visibility": "Public", + "Kind": "Class", + "Abstract": true, + "Static": true, + "Sealed": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "CreateBinderDelegate", + "Parameters": [ + { + "Name": "parameterBinder", + "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder" + }, + { + "Name": "modelBinderFactory", + "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderFactory" + }, + { + "Name": "modelMetadataProvider", + "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider" + }, + { + "Name": "actionDescriptor", + "Type": "Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor" + } + ], + "ReturnType": "Microsoft.AspNetCore.Mvc.Internal.ControllerBinderDelegate", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.AspNetCore.Mvc.Internal.ControllerResultFilter", "Visibility": "Public", @@ -15071,12 +18726,7 @@ { "Kind": "Constructor", "Name": ".ctor", - "Parameters": [ - { - "Name": "messageProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelBindingMessageProvider" - } - ], + "Parameters": [], "Visibility": "Public", "GenericParameter": [] } @@ -15258,99 +18908,6 @@ ], "GenericParameters": [] }, - { - "Name": "Microsoft.AspNetCore.Mvc.Internal.DefaultControllerArgumentBinder", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Internal.IControllerArgumentBinder" - ], - "Members": [ - { - "Kind": "Method", - "Name": "BindArgumentsAsync", - "Parameters": [ - { - "Name": "controllerContext", - "Type": "Microsoft.AspNetCore.Mvc.ControllerContext" - }, - { - "Name": "controller", - "Type": "System.Object" - }, - { - "Name": "arguments", - "Type": "System.Collections.Generic.IDictionary" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Internal.IControllerArgumentBinder", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BindModelAsync", - "Parameters": [ - { - "Name": "parameter", - "Type": "Microsoft.AspNetCore.Mvc.Abstractions.ParameterDescriptor" - }, - { - "Name": "controllerContext", - "Type": "Microsoft.AspNetCore.Mvc.ControllerContext" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "BindModelAsync", - "Parameters": [ - { - "Name": "parameter", - "Type": "Microsoft.AspNetCore.Mvc.Abstractions.ParameterDescriptor" - }, - { - "Name": "controllerContext", - "Type": "Microsoft.AspNetCore.Mvc.ControllerContext" - }, - { - "Name": "valueProvider", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "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": [] - } - ], - "GenericParameters": [] - }, { "Name": "Microsoft.AspNetCore.Mvc.Internal.DefaultControllerPropertyActivator", "Visibility": "Public", @@ -15379,6 +18936,22 @@ "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", @@ -15591,6 +19164,83 @@ ], "GenericParameters": [] }, + { + "Name": "Microsoft.AspNetCore.Mvc.Internal.DisableRequestSizeLimitResourceFilter", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [ + "Microsoft.AspNetCore.Mvc.Filters.IResourceFilter", + "Microsoft.AspNetCore.Mvc.IRequestSizePolicy" + ], + "Members": [ + { + "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": "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": [ + { + "Name": "loggerFactory", + "Type": "Microsoft.Extensions.Logging.ILoggerFactory" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.AspNetCore.Mvc.Internal.ElementalValueProvider", "Visibility": "Public", @@ -15754,9 +19404,36 @@ } ], "ReturnType": "System.Threading.Tasks.Task", + "Virtual": true, "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", @@ -15797,9 +19474,24 @@ { "Name": "result", "Type": "Microsoft.AspNetCore.Mvc.FileResult" + }, + { + "Name": "fileLength", + "Type": "System.Nullable" + }, + { + "Name": "lastModified", + "Type": "System.Nullable", + "DefaultValue": "default(System.Nullable)" + }, + { + "Name": "etag", + "Type": "Microsoft.Net.Http.Headers.EntityTagHeaderValue", + "DefaultValue": "null" } ], - "ReturnType": "System.Void", + "ReturnType": "System.ValueTuple", + "Virtual": true, "Visibility": "Protected", "GenericParameter": [] }, @@ -15823,6 +19515,32 @@ } ] }, + { + "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", @@ -15834,6 +19552,17 @@ ], "Visibility": "Public", "GenericParameter": [] + }, + { + "Kind": "Field", + "Name": "BufferSize", + "Parameters": [], + "ReturnType": "System.Int32", + "Static": true, + "Visibility": "Protected", + "GenericParameter": [], + "Constant": true, + "Literal": "65536" } ], "GenericParameters": [] @@ -15859,9 +19588,36 @@ } ], "ReturnType": "System.Threading.Tasks.Task", + "Virtual": true, "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", @@ -15877,6 +19633,110 @@ ], "GenericParameters": [] }, + { + "Name": "Microsoft.AspNetCore.Mvc.Internal.FilterCursor", + "Visibility": "Public", + "Kind": "Struct", + "Sealed": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "Reset", + "Parameters": [], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "GetNextFilter", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Mvc.Internal.FilterCursorItem", + "Visibility": "Public", + "GenericParameter": [ + { + "ParameterName": "TFilter", + "ParameterPosition": 0, + "Class": true, + "BaseTypeOrInterfaces": [] + }, + { + "ParameterName": "TFilterAsync", + "ParameterPosition": 1, + "Class": true, + "BaseTypeOrInterfaces": [] + } + ] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "filters", + "Type": "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata[]" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Mvc.Internal.FilterCursorItem", + "Visibility": "Public", + "Kind": "Struct", + "Sealed": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "get_Filter", + "Parameters": [], + "ReturnType": "T0", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_FilterAsync", + "Parameters": [], + "ReturnType": "T1", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "filter", + "Type": "T0" + }, + { + "Name": "filterAsync", + "Type": "T1" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [ + { + "ParameterName": "TFilter", + "ParameterPosition": 0, + "BaseTypeOrInterfaces": [] + }, + { + "ParameterName": "TFilterAsync", + "ParameterPosition": 1, + "BaseTypeOrInterfaces": [] + } + ] + }, { "Name": "Microsoft.AspNetCore.Mvc.Internal.FilterDescriptorOrderComparer", "Visibility": "Public", @@ -15924,6 +19784,100 @@ ], "GenericParameters": [] }, + { + "Name": "Microsoft.AspNetCore.Mvc.Internal.FilterFactory", + "Visibility": "Public", + "Kind": "Class", + "Abstract": true, + "Static": true, + "Sealed": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "GetAllFilters", + "Parameters": [ + { + "Name": "filterProviders", + "Type": "Microsoft.AspNetCore.Mvc.Filters.IFilterProvider[]" + }, + { + "Name": "actionContext", + "Type": "Microsoft.AspNetCore.Mvc.ActionContext" + } + ], + "ReturnType": "Microsoft.AspNetCore.Mvc.Internal.FilterFactoryResult", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "CreateUncachedFilters", + "Parameters": [ + { + "Name": "filterProviders", + "Type": "Microsoft.AspNetCore.Mvc.Filters.IFilterProvider[]" + }, + { + "Name": "actionContext", + "Type": "Microsoft.AspNetCore.Mvc.ActionContext" + }, + { + "Name": "cachedFilterItems", + "Type": "Microsoft.AspNetCore.Mvc.Filters.FilterItem[]" + } + ], + "ReturnType": "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata[]", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Mvc.Internal.FilterFactoryResult", + "Visibility": "Public", + "Kind": "Struct", + "Sealed": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "get_CacheableFilters", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Mvc.Filters.FilterItem[]", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_Filters", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata[]", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "cacheableFilters", + "Type": "Microsoft.AspNetCore.Mvc.Filters.FilterItem[]" + }, + { + "Name": "filters", + "Type": "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata[]" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.AspNetCore.Mvc.Internal.HttpMethodActionConstraint", "Visibility": "Public", @@ -15961,7 +19915,6 @@ } ], "ReturnType": "System.Boolean", - "Sealed": true, "Virtual": true, "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraint", "Visibility": "Public", @@ -15992,45 +19945,6 @@ ], "GenericParameters": [] }, - { - "Name": "Microsoft.AspNetCore.Mvc.Internal.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.Internal.IActionSelectorDecisionTreeProvider", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_DecisionTree", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Internal.IActionSelectionDecisionTree", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, { "Name": "Microsoft.AspNetCore.Mvc.Internal.IConsumesActionConstraint", "Visibility": "Public", @@ -16042,36 +19956,6 @@ "Members": [], "GenericParameters": [] }, - { - "Name": "Microsoft.AspNetCore.Mvc.Internal.IControllerArgumentBinder", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "BindArgumentsAsync", - "Parameters": [ - { - "Name": "controllerContext", - "Type": "Microsoft.AspNetCore.Mvc.ControllerContext" - }, - { - "Name": "controller", - "Type": "System.Object" - }, - { - "Name": "arguments", - "Type": "System.Collections.Generic.IDictionary" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, { "Name": "Microsoft.AspNetCore.Mvc.Internal.IControllerPropertyActivator", "Visibility": "Public", @@ -16094,6 +19978,18 @@ ], "ReturnType": "System.Void", "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "GetActivatorDelegate", + "Parameters": [ + { + "Name": "actionDescriptor", + "Type": "Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor" + } + ], + "ReturnType": "System.Action", + "GenericParameter": [] } ], "GenericParameters": [] @@ -16150,6 +20046,30 @@ ], "GenericParameters": [] }, + { + "Name": "Microsoft.AspNetCore.Mvc.Internal.IMiddlewareFilterFeature", + "Visibility": "Public", + "Kind": "Interface", + "Abstract": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "get_ResourceExecutingContext", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Mvc.Filters.ResourceExecutingContext", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_ResourceExecutionDelegate", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Mvc.Filters.ResourceExecutionDelegate", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.AspNetCore.Mvc.Internal.IResponseCacheFilter", "Visibility": "Public", @@ -16213,6 +20133,7 @@ } ], "ReturnType": "System.Void", + "Virtual": true, "Visibility": "Public", "GenericParameter": [] }, @@ -16349,6 +20270,156 @@ ], "GenericParameters": [] }, + { + "Name": "Microsoft.AspNetCore.Mvc.Internal.MiddlewareFilterBuilder", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "get_ApplicationBuilder", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_ApplicationBuilder", + "Parameters": [ + { + "Name": "value", + "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "GetPipeline", + "Parameters": [ + { + "Name": "configurationType", + "Type": "System.Type" + } + ], + "ReturnType": "Microsoft.AspNetCore.Http.RequestDelegate", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "configurationProvider", + "Type": "Microsoft.AspNetCore.Mvc.Internal.MiddlewareFilterConfigurationProvider" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Mvc.Internal.MiddlewareFilterConfigurationProvider", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "CreateConfigureDelegate", + "Parameters": [ + { + "Name": "configurationType", + "Type": "System.Type" + } + ], + "ReturnType": "System.Action", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Mvc.Internal.MiddlewareFilterFeature", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [ + "Microsoft.AspNetCore.Mvc.Internal.IMiddlewareFilterFeature" + ], + "Members": [ + { + "Kind": "Method", + "Name": "get_ResourceExecutingContext", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Mvc.Filters.ResourceExecutingContext", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Internal.IMiddlewareFilterFeature", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_ResourceExecutingContext", + "Parameters": [ + { + "Name": "value", + "Type": "Microsoft.AspNetCore.Mvc.Filters.ResourceExecutingContext" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_ResourceExecutionDelegate", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Mvc.Filters.ResourceExecutionDelegate", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Internal.IMiddlewareFilterFeature", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_ResourceExecutionDelegate", + "Parameters": [ + { + "Name": "value", + "Type": "Microsoft.AspNetCore.Mvc.Filters.ResourceExecutionDelegate" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.AspNetCore.Mvc.Internal.MvcAttributeRouteHandler", "Visibility": "Public", @@ -16416,7 +20487,7 @@ "Parameters": [ { "Name": "actionInvokerFactory", - "Type": "Microsoft.AspNetCore.Mvc.Internal.IActionInvokerFactory" + "Type": "Microsoft.AspNetCore.Mvc.Infrastructure.IActionInvokerFactory" }, { "Name": "actionSelector", @@ -16440,7 +20511,7 @@ "Parameters": [ { "Name": "actionInvokerFactory", - "Type": "Microsoft.AspNetCore.Mvc.Internal.IActionInvokerFactory" + "Type": "Microsoft.AspNetCore.Mvc.Infrastructure.IActionInvokerFactory" }, { "Name": "actionSelector", @@ -17366,6 +21437,22 @@ ], "Visibility": "Public", "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "readerFactory", + "Type": "Microsoft.AspNetCore.Mvc.Internal.IHttpRequestStreamReaderFactory" + }, + { + "Name": "loggerFactory", + "Type": "Microsoft.Extensions.Logging.ILoggerFactory" + } + ], + "Visibility": "Public", + "GenericParameter": [] } ], "GenericParameters": [] @@ -17374,12 +21461,13 @@ "Name": "Microsoft.AspNetCore.Mvc.Internal.MvcCoreRouteOptionsSetup", "Visibility": "Public", "Kind": "Class", - "BaseType": "Microsoft.Extensions.Options.ConfigureOptions", - "ImplementedInterfaces": [], + "ImplementedInterfaces": [ + "Microsoft.Extensions.Options.IConfigureOptions" + ], "Members": [ { "Kind": "Method", - "Name": "ConfigureRouting", + "Name": "Configure", "Parameters": [ { "Name": "options", @@ -17387,7 +21475,9 @@ } ], "ReturnType": "System.Void", - "Static": true, + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.Extensions.Options.IConfigureOptions", "Visibility": "Public", "GenericParameter": [] }, @@ -17463,7 +21553,7 @@ "Parameters": [ { "Name": "actionInvokerFactory", - "Type": "Microsoft.AspNetCore.Mvc.Internal.IActionInvokerFactory" + "Type": "Microsoft.AspNetCore.Mvc.Infrastructure.IActionInvokerFactory" }, { "Name": "actionSelector", @@ -17487,7 +21577,7 @@ "Parameters": [ { "Name": "actionInvokerFactory", - "Type": "Microsoft.AspNetCore.Mvc.Internal.IActionInvokerFactory" + "Type": "Microsoft.AspNetCore.Mvc.Infrastructure.IActionInvokerFactory" }, { "Name": "actionSelector", @@ -17721,6 +21811,108 @@ "Visibility": "Public", "GenericParameter": [] }, + { + "Kind": "Method", + "Name": "BeginRead", + "Parameters": [ + { + "Name": "buffer", + "Type": "System.Byte[]" + }, + { + "Name": "offset", + "Type": "System.Int32" + }, + { + "Name": "count", + "Type": "System.Int32" + }, + { + "Name": "callback", + "Type": "System.AsyncCallback" + }, + { + "Name": "state", + "Type": "System.Object" + } + ], + "ReturnType": "System.IAsyncResult", + "Virtual": true, + "Override": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "EndRead", + "Parameters": [ + { + "Name": "asyncResult", + "Type": "System.IAsyncResult" + } + ], + "ReturnType": "System.Int32", + "Virtual": true, + "Override": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "BeginWrite", + "Parameters": [ + { + "Name": "buffer", + "Type": "System.Byte[]" + }, + { + "Name": "offset", + "Type": "System.Int32" + }, + { + "Name": "count", + "Type": "System.Int32" + }, + { + "Name": "callback", + "Type": "System.AsyncCallback" + }, + { + "Name": "state", + "Type": "System.Object" + } + ], + "ReturnType": "System.IAsyncResult", + "Virtual": true, + "Override": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "EndWrite", + "Parameters": [ + { + "Name": "asyncResult", + "Type": "System.IAsyncResult" + } + ], + "ReturnType": "System.Void", + "Virtual": true, + "Override": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "Close", + "Parameters": [], + "ReturnType": "System.Void", + "Virtual": true, + "Override": true, + "Visibility": "Public", + "GenericParameter": [] + }, { "Kind": "Method", "Name": "ReadByte", @@ -17934,131 +22126,31 @@ "GenericParameters": [] }, { - "Name": "Microsoft.AspNetCore.Mvc.Internal.ObjectMethodExecutor", + "Name": "Microsoft.AspNetCore.Mvc.Internal.NormalizedRouteValue", "Visibility": "Public", "Kind": "Class", + "Abstract": true, + "Static": true, + "Sealed": true, "ImplementedInterfaces": [], "Members": [ { "Kind": "Method", - "Name": "get_MethodInfo", - "Parameters": [], - "ReturnType": "System.Reflection.MethodInfo", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ActionParameters", - "Parameters": [], - "ReturnType": "System.Reflection.ParameterInfo[]", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TargetTypeInfo", - "Parameters": [], - "ReturnType": "System.Reflection.TypeInfo", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TaskGenericType", - "Parameters": [], - "ReturnType": "System.Type", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_MethodReturnType", - "Parameters": [], - "ReturnType": "System.Type", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsMethodAsync", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_IsTypeAssignableFromIActionResult", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Create", + "Name": "GetNormalizedRouteValue", "Parameters": [ { - "Name": "methodInfo", - "Type": "System.Reflection.MethodInfo" + "Name": "context", + "Type": "Microsoft.AspNetCore.Mvc.ActionContext" }, { - "Name": "targetTypeInfo", - "Type": "System.Reflection.TypeInfo" + "Name": "key", + "Type": "System.String" } ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Internal.ObjectMethodExecutor", + "ReturnType": "System.String", "Static": true, "Visibility": "Public", "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "ExecuteAsync", - "Parameters": [ - { - "Name": "target", - "Type": "System.Object" - }, - { - "Name": "parameters", - "Type": "System.Object[]" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Execute", - "Parameters": [ - { - "Name": "target", - "Type": "System.Object" - }, - { - "Name": "parameters", - "Type": "System.Object[]" - } - ], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetDefaultValueForParameter", - "Parameters": [ - { - "Name": "index", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] } ], "GenericParameters": [] @@ -18260,6 +22352,32 @@ ], "GenericParameters": [] }, + { + "Name": "Microsoft.AspNetCore.Mvc.Internal.ParameterDefaultValues", + "Visibility": "Public", + "Kind": "Class", + "Abstract": true, + "Static": true, + "Sealed": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "GetParameterDefaultValues", + "Parameters": [ + { + "Name": "methodInfo", + "Type": "System.Reflection.MethodInfo" + } + ], + "ReturnType": "System.Object[]", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.AspNetCore.Mvc.Internal.PhysicalFileResultExecutor", "Visibility": "Public", @@ -18281,9 +22399,36 @@ } ], "ReturnType": "System.Threading.Tasks.Task", + "Virtual": true, "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", @@ -18298,6 +22443,20 @@ "Visibility": "Protected", "GenericParameter": [] }, + { + "Kind": "Method", + "Name": "GetFileInfo", + "Parameters": [ + { + "Name": "path", + "Type": "System.String" + } + ], + "ReturnType": "Microsoft.AspNetCore.Mvc.Internal.PhysicalFileResultExecutor+FileMetadata", + "Virtual": true, + "Visibility": "Protected", + "GenericParameter": [] + }, { "Kind": "Constructor", "Name": ".ctor", @@ -18415,6 +22574,40 @@ ], "GenericParameters": [] }, + { + "Name": "Microsoft.AspNetCore.Mvc.Internal.PropertyValueSetter", + "Visibility": "Public", + "Kind": "Class", + "Abstract": true, + "Static": true, + "Sealed": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "SetValue", + "Parameters": [ + { + "Name": "metadata", + "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata" + }, + { + "Name": "instance", + "Type": "System.Object" + }, + { + "Name": "value", + "Type": "System.Object" + } + ], + "ReturnType": "System.Void", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.AspNetCore.Mvc.Internal.RedirectResultExecutor", "Visibility": "Public", @@ -18435,6 +22628,7 @@ } ], "ReturnType": "System.Void", + "Virtual": true, "Visibility": "Public", "GenericParameter": [] }, @@ -18477,6 +22671,50 @@ } ], "ReturnType": "System.Void", + "Virtual": true, + "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.Internal.RedirectToPageResultExecutor", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "Execute", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Mvc.ActionContext" + }, + { + "Name": "result", + "Type": "Microsoft.AspNetCore.Mvc.RedirectToPageResult" + } + ], + "ReturnType": "System.Void", + "Virtual": true, "Visibility": "Public", "GenericParameter": [] }, @@ -18541,6 +22779,232 @@ ], "GenericParameters": [] }, + { + "Name": "Microsoft.AspNetCore.Mvc.Internal.RequestSizeLimitResourceFilter", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [ + "Microsoft.AspNetCore.Mvc.Filters.IResourceFilter", + "Microsoft.AspNetCore.Mvc.IRequestSizePolicy" + ], + "Members": [ + { + "Kind": "Method", + "Name": "get_Bytes", + "Parameters": [], + "ReturnType": "System.Int64", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_Bytes", + "Parameters": [ + { + "Name": "value", + "Type": "System.Int64" + } + ], + "ReturnType": "System.Void", + "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": "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": [ + { + "Name": "loggerFactory", + "Type": "Microsoft.Extensions.Logging.ILoggerFactory" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker", + "Visibility": "Public", + "Kind": "Class", + "Abstract": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "InvokeAsync", + "Parameters": [], + "ReturnType": "System.Threading.Tasks.Task", + "Virtual": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "ReleaseResources", + "Parameters": [], + "ReturnType": "System.Void", + "Virtual": true, + "Abstract": true, + "Visibility": "Protected", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "InvokeInnerFilterAsync", + "Parameters": [], + "ReturnType": "System.Threading.Tasks.Task", + "Virtual": true, + "Abstract": true, + "Visibility": "Protected", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "InvokeResultAsync", + "Parameters": [ + { + "Name": "result", + "Type": "Microsoft.AspNetCore.Mvc.IActionResult" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "Visibility": "Protected", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "diagnosticSource", + "Type": "System.Diagnostics.DiagnosticSource" + }, + { + "Name": "logger", + "Type": "Microsoft.Extensions.Logging.ILogger" + }, + { + "Name": "actionContext", + "Type": "Microsoft.AspNetCore.Mvc.ActionContext" + }, + { + "Name": "filters", + "Type": "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata[]" + }, + { + "Name": "valueProviderFactories", + "Type": "System.Collections.Generic.IList" + } + ], + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Field", + "Name": "_diagnosticSource", + "Parameters": [], + "ReturnType": "System.Diagnostics.DiagnosticSource", + "ReadOnly": true, + "Visibility": "Protected", + "GenericParameter": [] + }, + { + "Kind": "Field", + "Name": "_logger", + "Parameters": [], + "ReturnType": "Microsoft.Extensions.Logging.ILogger", + "ReadOnly": true, + "Visibility": "Protected", + "GenericParameter": [] + }, + { + "Kind": "Field", + "Name": "_actionContext", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Mvc.ActionContext", + "ReadOnly": true, + "Visibility": "Protected", + "GenericParameter": [] + }, + { + "Kind": "Field", + "Name": "_filters", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata[]", + "ReadOnly": true, + "Visibility": "Protected", + "GenericParameter": [] + }, + { + "Kind": "Field", + "Name": "_valueProviderFactories", + "Parameters": [], + "ReturnType": "System.Collections.Generic.IList", + "ReadOnly": true, + "Visibility": "Protected", + "GenericParameter": [] + }, + { + "Kind": "Field", + "Name": "_cursor", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Mvc.Internal.FilterCursor", + "Visibility": "Protected", + "GenericParameter": [] + }, + { + "Kind": "Field", + "Name": "_result", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Mvc.IActionResult", + "Visibility": "Protected", + "GenericParameter": [] + }, + { + "Kind": "Field", + "Name": "_instance", + "Parameters": [], + "ReturnType": "System.Object", + "Visibility": "Protected", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.AspNetCore.Mvc.Internal.ResponseCacheFilter", "Visibility": "Public", @@ -18633,6 +23097,27 @@ "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": "OnActionExecuting", @@ -18794,55 +23279,6 @@ } ] }, - { - "Name": "Microsoft.AspNetCore.Mvc.Internal.TaskCache", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Field", - "Name": "CompletedTask", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Internal.TaskCache", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_DefaultCompletedTask", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [ - { - "ParameterName": "T", - "ParameterPosition": 0, - "BaseTypeOrInterfaces": [] - } - ] - }, { "Name": "Microsoft.AspNetCore.Mvc.Internal.TypeActivatorCache", "Visibility": "Public", @@ -18920,6 +23356,50 @@ ], "GenericParameters": [] }, + { + "Name": "Microsoft.AspNetCore.Mvc.Internal.ViewEnginePath", + "Visibility": "Public", + "Kind": "Class", + "Abstract": true, + "Static": true, + "Sealed": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "CombinePath", + "Parameters": [ + { + "Name": "first", + "Type": "System.String" + }, + { + "Name": "second", + "Type": "System.String" + } + ], + "ReturnType": "System.String", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "ResolvePath", + "Parameters": [ + { + "Name": "path", + "Type": "System.String" + } + ], + "ReturnType": "System.String", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.AspNetCore.Mvc.Internal.VirtualFileResultExecutor", "Visibility": "Public", @@ -18941,9 +23421,40 @@ } ], "ReturnType": "System.Threading.Tasks.Task", + "Virtual": true, "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", @@ -18977,35 +23488,6 @@ ], "GenericParameters": [] }, - { - "Name": "Microsoft.AspNetCore.Mvc.Internal.IActionSelectionDecisionTree", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Version", - "Parameters": [], - "ReturnType": "System.Int32", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Select", - "Parameters": [ - { - "Name": "routeValues", - "Type": "System.Collections.Generic.IDictionary" - } - ], - "ReturnType": "System.Collections.Generic.IReadOnlyList", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, { "Name": "Microsoft.AspNetCore.Mvc.Infrastructure.ActionContextAccessor", "Visibility": "Public", @@ -19121,6 +23603,23 @@ ], "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", @@ -19138,6 +23637,28 @@ ], "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.IActionSelector", "Visibility": "Public", @@ -19578,6 +24099,22 @@ "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", @@ -19586,6 +24123,14 @@ "Visibility": "Public", "GenericParameter": [] }, + { + "Kind": "Method", + "Name": "get_MatchesAllSubTypesWithoutSuffix", + "Parameters": [], + "ReturnType": "System.Boolean", + "Visibility": "Public", + "GenericParameter": [] + }, { "Kind": "Method", "Name": "get_Encoding", @@ -19602,6 +24147,14 @@ "Visibility": "Public", "GenericParameter": [] }, + { + "Kind": "Method", + "Name": "get_HasWildcard", + "Parameters": [], + "ReturnType": "System.Boolean", + "Visibility": "Public", + "GenericParameter": [] + }, { "Kind": "Method", "Name": "IsSubsetOf", @@ -20627,6 +25180,22 @@ "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", @@ -20640,6 +25209,27 @@ "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", @@ -20657,6 +25247,22 @@ "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", @@ -20670,6 +25276,27 @@ "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", @@ -20982,6 +25609,61 @@ ], "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", @@ -21020,6 +25702,69 @@ ], "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", @@ -21298,6 +26043,40 @@ ], "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", @@ -21336,6 +26115,40 @@ ], "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", @@ -21412,7 +26225,8 @@ "Visibility": "Public", "Kind": "Class", "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Filters.IAsyncAuthorizationFilter" + "Microsoft.AspNetCore.Mvc.Filters.IAsyncAuthorizationFilter", + "Microsoft.AspNetCore.Mvc.Filters.IFilterFactory" ], "Members": [ { @@ -21481,6 +26295,30 @@ ], "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": [] @@ -22141,6 +26979,48 @@ "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", @@ -22167,6 +27047,38 @@ "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", @@ -23056,7 +27968,9 @@ "Visibility": "Public", "Kind": "Interface", "Abstract": true, - "ImplementedInterfaces": [], + "ImplementedInterfaces": [ + "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata" + ], "Members": [ { "Kind": "Method", @@ -23078,7 +27992,9 @@ "Visibility": "Public", "Kind": "Interface", "Abstract": true, - "ImplementedInterfaces": [], + "ImplementedInterfaces": [ + "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata" + ], "Members": [ { "Kind": "Method", @@ -23215,35 +28131,528 @@ "GenericParameters": [] }, { - "Name": "Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvokerCache+ControllerActionInvokerState", + "Name": "Microsoft.Extensions.DependencyInjection.ApplicationModelConventionExtensions", "Visibility": "Public", - "Kind": "Struct", + "Kind": "Class", + "Abstract": true, + "Static": true, "Sealed": true, "ImplementedInterfaces": [], "Members": [ { "Kind": "Method", - "Name": "get_Filters", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata[]", + "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": "get_ActionMethodExecutor", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Internal.ObjectMethodExecutor", + "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": "set_ActionMethodExecutor", + "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": [] + } + ], + "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": [] + } + ], + "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": [] + } + ], + "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.Internal.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": "Microsoft.AspNetCore.Mvc.Internal.ObjectMethodExecutor" + "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", @@ -23253,14 +28662,93 @@ { "Kind": "Constructor", "Name": ".ctor", + "Parameters": [], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.Extensions.Internal.ObjectMethodExecutorAwaitable+Awaiter", + "Visibility": "Public", + "Kind": "Struct", + "Sealed": true, + "ImplementedInterfaces": [ + "System.Runtime.CompilerServices.ICriticalNotifyCompletion" + ], + "Members": [ + { + "Kind": "Method", + "Name": "get_IsCompleted", + "Parameters": [], + "ReturnType": "System.Boolean", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "GetResult", + "Parameters": [], + "ReturnType": "System.Object", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "OnCompleted", "Parameters": [ { - "Name": "filters", - "Type": "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata[]" + "Name": "continuation", + "Type": "System.Action" + } + ], + "ReturnType": "System.Void", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "System.Runtime.CompilerServices.INotifyCompletion", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "UnsafeOnCompleted", + "Parameters": [ + { + "Name": "continuation", + "Type": "System.Action" + } + ], + "ReturnType": "System.Void", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "System.Runtime.CompilerServices.ICriticalNotifyCompletion", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "customAwaiter", + "Type": "System.Object" }, { - "Name": "actionMethodExecutor", - "Type": "Microsoft.AspNetCore.Mvc.Internal.ObjectMethodExecutor" + "Name": "isCompletedMethod", + "Type": "System.Func" + }, + { + "Name": "getResultMethod", + "Type": "System.Func" + }, + { + "Name": "onCompletedMethod", + "Type": "System.Action" + }, + { + "Name": "unsafeOnCompletedMethod", + "Type": "System.Action" } ], "Visibility": "Public", diff --git a/src/Microsoft.AspNetCore.Mvc.Core/breakingchanges.netcore.json b/src/Microsoft.AspNetCore.Mvc.Core/breakingchanges.netcore.json deleted file mode 100644 index 0eab874ed3..0000000000 --- a/src/Microsoft.AspNetCore.Mvc.Core/breakingchanges.netcore.json +++ /dev/null @@ -1,149 +0,0 @@ -[ - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ProducesAttribute : Microsoft.AspNetCore.Mvc.Filters.ResultFilterAttribute, Microsoft.AspNetCore.Mvc.ApiExplorer.IApiResponseMetadataProvider", - "Kind": "Removal" - }, - { - "TypeId": "public static class Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderResultExtensions", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ChallengeResult : Microsoft.AspNetCore.Mvc.ActionResult", - "MemberId": "public .ctor(Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties properties)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ChallengeResult : Microsoft.AspNetCore.Mvc.ActionResult", - "MemberId": "public .ctor(System.Collections.Generic.IList authenticationSchemes, Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties properties)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ChallengeResult : Microsoft.AspNetCore.Mvc.ActionResult", - "MemberId": "public .ctor(System.String authenticationScheme, Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties properties)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ChallengeResult : Microsoft.AspNetCore.Mvc.ActionResult", - "MemberId": "public Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties get_Properties()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ChallengeResult : Microsoft.AspNetCore.Mvc.ActionResult", - "MemberId": "public System.Void set_Properties(Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties value)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ForbidResult : Microsoft.AspNetCore.Mvc.ActionResult", - "MemberId": "public .ctor(Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties properties)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ForbidResult : Microsoft.AspNetCore.Mvc.ActionResult", - "MemberId": "public .ctor(System.Collections.Generic.IList authenticationSchemes, Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties properties)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ForbidResult : Microsoft.AspNetCore.Mvc.ActionResult", - "MemberId": "public .ctor(System.String authenticationScheme, Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties properties)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ForbidResult : Microsoft.AspNetCore.Mvc.ActionResult", - "MemberId": "public Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties get_Properties()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ForbidResult : Microsoft.AspNetCore.Mvc.ActionResult", - "MemberId": "public System.Void set_Properties(Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties value)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.SignOutResult : Microsoft.AspNetCore.Mvc.ActionResult", - "MemberId": "public .ctor(System.Collections.Generic.IList authenticationSchemes, Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties properties)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.SignOutResult : Microsoft.AspNetCore.Mvc.ActionResult", - "MemberId": "public .ctor(System.String authenticationScheme, Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties properties)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.SignOutResult : Microsoft.AspNetCore.Mvc.ActionResult", - "MemberId": "public Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties get_Properties()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.SignOutResult : Microsoft.AspNetCore.Mvc.ActionResult", - "MemberId": "public System.Void set_Properties(Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties value)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.SignInResult : Microsoft.AspNetCore.Mvc.ActionResult", - "MemberId": "public .ctor(System.String authenticationScheme, System.Security.Claims.ClaimsPrincipal principal, Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties properties)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.SignInResult : Microsoft.AspNetCore.Mvc.ActionResult", - "MemberId": "public Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties get_Properties()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.SignInResult : Microsoft.AspNetCore.Mvc.ActionResult", - "MemberId": "public System.Void set_Properties(Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties value)", - "Kind": "Removal" - }, - { - "TypeId": "public abstract class Microsoft.AspNetCore.Mvc.ControllerBase", - "MemberId": "public virtual Microsoft.AspNetCore.Mvc.ChallengeResult Challenge(Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties properties)", - "Kind": "Removal" - }, - { - "TypeId": "public abstract class Microsoft.AspNetCore.Mvc.ControllerBase", - "MemberId": "public virtual Microsoft.AspNetCore.Mvc.ChallengeResult Challenge(Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties properties, params System.String[] authenticationSchemes)", - "Kind": "Removal" - }, - { - "TypeId": "public abstract class Microsoft.AspNetCore.Mvc.ControllerBase", - "MemberId": "public virtual Microsoft.AspNetCore.Mvc.ForbidResult Forbid(Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties properties)", - "Kind": "Removal" - }, - { - "TypeId": "public abstract class Microsoft.AspNetCore.Mvc.ControllerBase", - "MemberId": "public virtual Microsoft.AspNetCore.Mvc.ForbidResult Forbid(Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties properties, params System.String[] authenticationSchemes)", - "Kind": "Removal" - }, - { - "TypeId": "public abstract class Microsoft.AspNetCore.Mvc.ControllerBase", - "MemberId": "public virtual Microsoft.AspNetCore.Mvc.SignInResult SignIn(System.Security.Claims.ClaimsPrincipal principal, Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties properties, System.String authenticationScheme)", - "Kind": "Removal" - }, - { - "TypeId": "public abstract class Microsoft.AspNetCore.Mvc.ControllerBase", - "MemberId": "public virtual Microsoft.AspNetCore.Mvc.SignOutResult SignOut(Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties properties, params System.String[] authenticationSchemes)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelBindingMessageProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IModelBindingMessageProvider", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.MvcOptions", - "MemberId": "public Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelBindingMessageProvider get_ModelBindingMessageProvider()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.BindingMetadata", - "MemberId": "public Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelBindingMessageProvider get_ModelBindingMessageProvider()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.BindingMetadata", - "MemberId": "public System.Void set_ModelBindingMessageProvider(Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelBindingMessageProvider value)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelMetadata : Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata", - "MemberId": "public override Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IModelBindingMessageProvider get_ModelBindingMessageProvider()", - "Kind": "Removal" - } -] diff --git a/src/Microsoft.AspNetCore.Mvc.Cors/baseline.netcore.json b/src/Microsoft.AspNetCore.Mvc.Cors/baseline.netcore.json index 105a20e8bc..9cb6f11a5c 100644 --- a/src/Microsoft.AspNetCore.Mvc.Cors/baseline.netcore.json +++ b/src/Microsoft.AspNetCore.Mvc.Cors/baseline.netcore.json @@ -1,5 +1,5 @@ { - "AssemblyIdentity": "Microsoft.AspNetCore.Mvc.Cors, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", + "AssemblyIdentity": "Microsoft.AspNetCore.Mvc.Cors, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", "Types": [ { "Name": "Microsoft.Extensions.DependencyInjection.MvcCorsMvcCoreBuilderExtensions", @@ -264,6 +264,44 @@ ], "GenericParameters": [] }, + { + "Name": "Microsoft.AspNetCore.Mvc.Cors.Internal.CorsHttpMethodActionConstraint", + "Visibility": "Public", + "Kind": "Class", + "BaseType": "Microsoft.AspNetCore.Mvc.Internal.HttpMethodActionConstraint", + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "Accept", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintContext" + } + ], + "ReturnType": "System.Boolean", + "Virtual": true, + "Override": true, + "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraint", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "constraint", + "Type": "Microsoft.AspNetCore.Mvc.Internal.HttpMethodActionConstraint" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.AspNetCore.Mvc.Cors.Internal.DisableCorsAuthorizationFilter", "Visibility": "Public", diff --git a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/baseline.netcore.json b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/baseline.netcore.json index b0c4f976c2..b55e227cd8 100644 --- a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/baseline.netcore.json +++ b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/baseline.netcore.json @@ -1,5 +1,5 @@ { - "AssemblyIdentity": "Microsoft.AspNetCore.Mvc.DataAnnotations, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", + "AssemblyIdentity": "Microsoft.AspNetCore.Mvc.DataAnnotations, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", "Types": [ { "Name": "Microsoft.AspNetCore.Mvc.HiddenInputAttribute", @@ -40,6 +40,59 @@ ], "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", @@ -115,29 +168,77 @@ "GenericParameters": [] }, { - "Name": "Microsoft.AspNetCore.Mvc.DataAnnotations.Internal.AttributeAdapterBase", + "Name": "Microsoft.AspNetCore.Mvc.DataAnnotations.ValidationAttributeAdapter", "Visibility": "Public", "Kind": "Class", "Abstract": true, - "BaseType": "Microsoft.AspNetCore.Mvc.DataAnnotations.Internal.ValidationAttributeAdapter", "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.DataAnnotations.IAttributeAdapter" + "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": "validationContext", - "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidationContextBase" + "Name": "modelMetadata", + "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata" + }, + { + "Name": "arguments", + "Type": "System.Object[]", + "IsParams": true } ], "ReturnType": "System.String", "Virtual": true, - "Abstract": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.DataAnnotations.IAttributeAdapter", - "Visibility": "Public", + "Visibility": "Protected", "GenericParameter": [] }, { @@ -167,11 +268,49 @@ } ] }, + { + "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.AspNetCore.Mvc.DataAnnotations.Internal.CompareAttributeAdapter", "Visibility": "Public", "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.DataAnnotations.Internal.AttributeAdapterBase", + "BaseType": "Microsoft.AspNetCore.Mvc.DataAnnotations.AttributeAdapterBase", "ImplementedInterfaces": [], "Members": [ { @@ -363,7 +502,16 @@ { "Kind": "Constructor", "Name": ".ctor", - "Parameters": [], + "Parameters": [ + { + "Name": "options", + "Type": "Microsoft.Extensions.Options.IOptions" + }, + { + "Name": "stringLocalizerFactory", + "Type": "Microsoft.Extensions.Localization.IStringLocalizerFactory" + } + ], "Visibility": "Public", "GenericParameter": [] } @@ -476,7 +624,7 @@ "Name": "Microsoft.AspNetCore.Mvc.DataAnnotations.Internal.DataTypeAttributeAdapter", "Visibility": "Public", "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.DataAnnotations.Internal.AttributeAdapterBase", + "BaseType": "Microsoft.AspNetCore.Mvc.DataAnnotations.AttributeAdapterBase", "ImplementedInterfaces": [], "Members": [ { @@ -580,7 +728,7 @@ "Name": "Microsoft.AspNetCore.Mvc.DataAnnotations.Internal.MaxLengthAttributeAdapter", "Visibility": "Public", "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.DataAnnotations.Internal.AttributeAdapterBase", + "BaseType": "Microsoft.AspNetCore.Mvc.DataAnnotations.AttributeAdapterBase", "ImplementedInterfaces": [], "Members": [ { @@ -638,7 +786,7 @@ "Name": "Microsoft.AspNetCore.Mvc.DataAnnotations.Internal.MinLengthAttributeAdapter", "Visibility": "Public", "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.DataAnnotations.Internal.AttributeAdapterBase", + "BaseType": "Microsoft.AspNetCore.Mvc.DataAnnotations.AttributeAdapterBase", "ImplementedInterfaces": [], "Members": [ { @@ -696,12 +844,13 @@ "Name": "Microsoft.AspNetCore.Mvc.DataAnnotations.Internal.MvcDataAnnotationsLocalizationOptionsSetup", "Visibility": "Public", "Kind": "Class", - "BaseType": "Microsoft.Extensions.Options.ConfigureOptions", - "ImplementedInterfaces": [], + "ImplementedInterfaces": [ + "Microsoft.Extensions.Options.IConfigureOptions" + ], "Members": [ { "Kind": "Method", - "Name": "ConfigureMvc", + "Name": "Configure", "Parameters": [ { "Name": "options", @@ -709,7 +858,9 @@ } ], "ReturnType": "System.Void", - "Static": true, + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.Extensions.Options.IConfigureOptions", "Visibility": "Public", "GenericParameter": [] }, @@ -727,24 +878,23 @@ "Name": "Microsoft.AspNetCore.Mvc.DataAnnotations.Internal.MvcDataAnnotationsMvcOptionsSetup", "Visibility": "Public", "Kind": "Class", - "BaseType": "Microsoft.Extensions.Options.ConfigureOptions", - "ImplementedInterfaces": [], + "ImplementedInterfaces": [ + "Microsoft.Extensions.Options.IConfigureOptions" + ], "Members": [ { "Kind": "Method", - "Name": "ConfigureMvc", + "Name": "Configure", "Parameters": [ { "Name": "options", "Type": "Microsoft.AspNetCore.Mvc.MvcOptions" - }, - { - "Name": "serviceProvider", - "Type": "System.IServiceProvider" } ], "ReturnType": "System.Void", - "Static": true, + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.Extensions.Options.IConfigureOptions", "Visibility": "Public", "GenericParameter": [] }, @@ -753,8 +903,32 @@ "Name": ".ctor", "Parameters": [ { - "Name": "serviceProvider", - "Type": "System.IServiceProvider" + "Name": "validationAttributeAdapterProvider", + "Type": "Microsoft.AspNetCore.Mvc.DataAnnotations.IValidationAttributeAdapterProvider" + }, + { + "Name": "dataAnnotationLocalizationOptions", + "Type": "Microsoft.Extensions.Options.IOptions" + } + ], + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "validationAttributeAdapterProvider", + "Type": "Microsoft.AspNetCore.Mvc.DataAnnotations.IValidationAttributeAdapterProvider" + }, + { + "Name": "dataAnnotationLocalizationOptions", + "Type": "Microsoft.Extensions.Options.IOptions" + }, + { + "Name": "stringLocalizerFactory", + "Type": "Microsoft.Extensions.Localization.IStringLocalizerFactory" } ], "Visibility": "Public", @@ -835,7 +1009,7 @@ "Name": "Microsoft.AspNetCore.Mvc.DataAnnotations.Internal.RangeAttributeAdapter", "Visibility": "Public", "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.DataAnnotations.Internal.AttributeAdapterBase", + "BaseType": "Microsoft.AspNetCore.Mvc.DataAnnotations.AttributeAdapterBase", "ImplementedInterfaces": [], "Members": [ { @@ -893,7 +1067,7 @@ "Name": "Microsoft.AspNetCore.Mvc.DataAnnotations.Internal.RegularExpressionAttributeAdapter", "Visibility": "Public", "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.DataAnnotations.Internal.AttributeAdapterBase", + "BaseType": "Microsoft.AspNetCore.Mvc.DataAnnotations.AttributeAdapterBase", "ImplementedInterfaces": [], "Members": [ { @@ -951,7 +1125,7 @@ "Name": "Microsoft.AspNetCore.Mvc.DataAnnotations.Internal.RequiredAttributeAdapter", "Visibility": "Public", "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.DataAnnotations.Internal.AttributeAdapterBase", + "BaseType": "Microsoft.AspNetCore.Mvc.DataAnnotations.AttributeAdapterBase", "ImplementedInterfaces": [], "Members": [ { @@ -1009,7 +1183,7 @@ "Name": "Microsoft.AspNetCore.Mvc.DataAnnotations.Internal.StringLengthAttributeAdapter", "Visibility": "Public", "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.DataAnnotations.Internal.AttributeAdapterBase", + "BaseType": "Microsoft.AspNetCore.Mvc.DataAnnotations.AttributeAdapterBase", "ImplementedInterfaces": [], "Members": [ { @@ -1097,145 +1271,6 @@ ], "GenericParameters": [] }, - { - "Name": "Microsoft.AspNetCore.Mvc.DataAnnotations.Internal.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.Internal.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", diff --git a/src/Microsoft.AspNetCore.Mvc.Formatters.Json/baseline.netcore.json b/src/Microsoft.AspNetCore.Mvc.Formatters.Json/baseline.netcore.json index 54ce99c9ac..3f0d0b0f49 100644 --- a/src/Microsoft.AspNetCore.Mvc.Formatters.Json/baseline.netcore.json +++ b/src/Microsoft.AspNetCore.Mvc.Formatters.Json/baseline.netcore.json @@ -1,5 +1,5 @@ { - "AssemblyIdentity": "Microsoft.AspNetCore.Mvc.Formatters.Json, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", + "AssemblyIdentity": "Microsoft.AspNetCore.Mvc.Formatters.Json, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", "Types": [ { "Name": "Microsoft.AspNetCore.Mvc.JsonPatchExtensions", @@ -319,6 +319,34 @@ ], "Visibility": "Public", "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "logger", + "Type": "Microsoft.Extensions.Logging.ILogger" + }, + { + "Name": "serializerSettings", + "Type": "Newtonsoft.Json.JsonSerializerSettings" + }, + { + "Name": "charPool", + "Type": "System.Buffers.ArrayPool" + }, + { + "Name": "objectPoolProvider", + "Type": "Microsoft.Extensions.ObjectPool.ObjectPoolProvider" + }, + { + "Name": "suppressInputFormatterBuffering", + "Type": "System.Boolean" + } + ], + "Visibility": "Public", + "GenericParameter": [] } ], "GenericParameters": [] @@ -481,6 +509,34 @@ ], "Visibility": "Public", "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "logger", + "Type": "Microsoft.Extensions.Logging.ILogger" + }, + { + "Name": "serializerSettings", + "Type": "Newtonsoft.Json.JsonSerializerSettings" + }, + { + "Name": "charPool", + "Type": "System.Buffers.ArrayPool" + }, + { + "Name": "objectPoolProvider", + "Type": "Microsoft.Extensions.ObjectPool.ObjectPoolProvider" + }, + { + "Name": "suppressInputFormatterBuffering", + "Type": "System.Boolean" + } + ], + "Visibility": "Public", + "GenericParameter": [] } ], "GenericParameters": [] @@ -506,6 +562,72 @@ ], "GenericParameters": [] }, + { + "Name": "Microsoft.AspNetCore.Mvc.Formatters.Json.JsonPatchOperationsArrayProvider", + "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": "modelMetadataProvider", + "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.AspNetCore.Mvc.Formatters.Json.Internal.JsonArrayPool", "Visibility": "Public", @@ -611,6 +733,7 @@ } ], "ReturnType": "System.Threading.Tasks.Task", + "Virtual": true, "Visibility": "Public", "GenericParameter": [] }, @@ -695,36 +818,23 @@ "Name": "Microsoft.AspNetCore.Mvc.Formatters.Json.Internal.MvcJsonMvcOptionsSetup", "Visibility": "Public", "Kind": "Class", - "BaseType": "Microsoft.Extensions.Options.ConfigureOptions", - "ImplementedInterfaces": [], + "ImplementedInterfaces": [ + "Microsoft.Extensions.Options.IConfigureOptions" + ], "Members": [ { "Kind": "Method", - "Name": "ConfigureMvc", + "Name": "Configure", "Parameters": [ { "Name": "options", "Type": "Microsoft.AspNetCore.Mvc.MvcOptions" - }, - { - "Name": "serializerSettings", - "Type": "Newtonsoft.Json.JsonSerializerSettings" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - }, - { - "Name": "charPool", - "Type": "System.Buffers.ArrayPool" - }, - { - "Name": "objectPoolProvider", - "Type": "Microsoft.Extensions.ObjectPool.ObjectPoolProvider" } ], "ReturnType": "System.Void", - "Static": true, + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.Extensions.Options.IConfigureOptions", "Visibility": "Public", "GenericParameter": [] }, @@ -828,6 +938,25 @@ "Extension": true, "Visibility": "Public", "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "AddJsonOptions", + "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": [] diff --git a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/baseline.netcore.json b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/baseline.netcore.json index 46ba874f86..a6b0e5e2df 100644 --- a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/baseline.netcore.json +++ b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/baseline.netcore.json @@ -1,5 +1,5 @@ { - "AssemblyIdentity": "Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", + "AssemblyIdentity": "Microsoft.AspNetCore.Mvc.Formatters.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", "Types": [ { "Name": "Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DataMemberRequiredBindingMetadataProvider", @@ -200,6 +200,18 @@ "Parameters": [], "Visibility": "Public", "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "suppressInputFormatterBuffering", + "Type": "System.Boolean" + } + ], + "Visibility": "Public", + "GenericParameter": [] } ], "GenericParameters": [] @@ -508,6 +520,18 @@ "Parameters": [], "Visibility": "Public", "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "suppressInputFormatterBuffering", + "Type": "System.Boolean" + } + ], + "Visibility": "Public", + "GenericParameter": [] } ], "GenericParameters": [] @@ -1254,6 +1278,16 @@ "ReadOnly": true, "Visibility": "Public", "GenericParameter": [] + }, + { + "Kind": "Field", + "Name": "XsdDataContractExporter", + "Parameters": [], + "ReturnType": "System.Runtime.Serialization.XsdDataContractExporter", + "Static": true, + "ReadOnly": true, + "Visibility": "Public", + "GenericParameter": [] } ], "GenericParameters": [] @@ -1262,12 +1296,13 @@ "Name": "Microsoft.AspNetCore.Mvc.Formatters.Xml.Internal.MvcXmlDataContractSerializerMvcOptionsSetup", "Visibility": "Public", "Kind": "Class", - "BaseType": "Microsoft.Extensions.Options.ConfigureOptions", - "ImplementedInterfaces": [], + "ImplementedInterfaces": [ + "Microsoft.Extensions.Options.IConfigureOptions" + ], "Members": [ { "Kind": "Method", - "Name": "ConfigureMvc", + "Name": "Configure", "Parameters": [ { "Name": "options", @@ -1275,7 +1310,9 @@ } ], "ReturnType": "System.Void", - "Static": true, + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.Extensions.Options.IConfigureOptions", "Visibility": "Public", "GenericParameter": [] }, @@ -1293,12 +1330,13 @@ "Name": "Microsoft.AspNetCore.Mvc.Formatters.Xml.Internal.MvcXmlSerializerMvcOptionsSetup", "Visibility": "Public", "Kind": "Class", - "BaseType": "Microsoft.Extensions.Options.ConfigureOptions", - "ImplementedInterfaces": [], + "ImplementedInterfaces": [ + "Microsoft.Extensions.Options.IConfigureOptions" + ], "Members": [ { "Kind": "Method", - "Name": "ConfigureMvc", + "Name": "Configure", "Parameters": [ { "Name": "options", @@ -1306,7 +1344,9 @@ } ], "ReturnType": "System.Void", - "Static": true, + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.Extensions.Options.IConfigureOptions", "Visibility": "Public", "GenericParameter": [] }, diff --git a/src/Microsoft.AspNetCore.Mvc.Localization/baseline.netcore.json b/src/Microsoft.AspNetCore.Mvc.Localization/baseline.netcore.json index 25aa588c57..ad3f54cf30 100644 --- a/src/Microsoft.AspNetCore.Mvc.Localization/baseline.netcore.json +++ b/src/Microsoft.AspNetCore.Mvc.Localization/baseline.netcore.json @@ -1,5 +1,5 @@ { - "AssemblyIdentity": "Microsoft.AspNetCore.Mvc.Localization, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", + "AssemblyIdentity": "Microsoft.AspNetCore.Mvc.Localization, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", "Types": [ { "Name": "Microsoft.AspNetCore.Mvc.Localization.HtmlLocalizer", diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/baseline.netcore.json b/src/Microsoft.AspNetCore.Mvc.Razor/baseline.netcore.json index 317cbb0776..a6d672cd17 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/baseline.netcore.json +++ b/src/Microsoft.AspNetCore.Mvc.Razor/baseline.netcore.json @@ -1,28 +1,6 @@ { - "AssemblyIdentity": "Microsoft.AspNetCore.Mvc.Razor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", + "AssemblyIdentity": "Microsoft.AspNetCore.Mvc.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", "Types": [ - { - "Name": "Microsoft.AspNetCore.Mvc.RazorViewEngineOptionsSetup", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.Extensions.Options.ConfigureOptions", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "hostingEnvironment", - "Type": "Microsoft.AspNetCore.Hosting.IHostingEnvironment" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, { "Name": "Microsoft.AspNetCore.Mvc.Razor.HelperResult", "Visibility": "Public", @@ -552,9 +530,8 @@ "Visibility": "Public", "Kind": "Class", "Abstract": true, - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Razor.IRazorPage" - ], + "BaseType": "Microsoft.AspNetCore.Mvc.Razor.RazorPageBase", + "ImplementedInterfaces": [], "Members": [ { "Kind": "Method", @@ -564,713 +541,6 @@ "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_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_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_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_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_Output", - "Parameters": [], - "ReturnType": "System.IO.TextWriter", - "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_ViewBag", - "Parameters": [], - "ReturnType": "System.Object", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_TempData", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary", - "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_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": "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", - "Static": true, - "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": "Write", - "Parameters": [ - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteTo", - "Parameters": [ - { - "Name": "writer", - "Type": "System.IO.TextWriter" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteTo", - "Parameters": [ - { - "Name": "writer", - "Type": "System.IO.TextWriter" - }, - { - "Name": "encoder", - "Type": "System.Text.Encodings.Web.HtmlEncoder" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteTo", - "Parameters": [ - { - "Name": "writer", - "Type": "System.IO.TextWriter" - }, - { - "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": "WriteLiteralTo", - "Parameters": [ - { - "Name": "writer", - "Type": "System.IO.TextWriter" - }, - { - "Name": "value", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteLiteralTo", - "Parameters": [ - { - "Name": "writer", - "Type": "System.IO.TextWriter" - }, - { - "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": "BeginWriteAttributeTo", - "Parameters": [ - { - "Name": "writer", - "Type": "System.IO.TextWriter" - }, - { - "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": "WriteAttributeValueTo", - "Parameters": [ - { - "Name": "writer", - "Type": "System.IO.TextWriter" - }, - { - "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": "EndWriteAttributeTo", - "Parameters": [ - { - "Name": "writer", - "Type": "System.IO.TextWriter" - } - ], - "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": "Href", - "Parameters": [ - { - "Name": "contentPath", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Virtual": true, - "Visibility": "Public", - "GenericParameter": [] - }, { "Kind": "Method", "Name": "RenderBody", @@ -1302,6 +572,8 @@ } ], "ReturnType": "System.Void", + "Virtual": true, + "Override": true, "Visibility": "Public", "GenericParameter": [] }, @@ -1391,21 +663,13 @@ "Visibility": "Public", "GenericParameter": [] }, - { - "Kind": "Method", - "Name": "FlushAsync", - "Parameters": [], - "ReturnType": "System.Threading.Tasks.Task", - "Visibility": "Public", - "GenericParameter": [] - }, { "Kind": "Method", "Name": "EnsureRenderedBodyOrSections", "Parameters": [], "ReturnType": "System.Void", - "Sealed": true, "Virtual": true, + "Override": true, "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.IRazorPage", "Visibility": "Public", "GenericParameter": [] @@ -1428,6 +692,8 @@ } ], "ReturnType": "System.Void", + "Virtual": true, + "Override": true, "Visibility": "Public", "GenericParameter": [] }, @@ -1436,15 +702,8 @@ "Name": "EndContext", "Parameters": [], "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetAntiforgeryCookieAndHeader", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Html.HtmlString", "Virtual": true, + "Override": true, "Visibility": "Public", "GenericParameter": [] }, @@ -1452,7 +711,7 @@ "Kind": "Constructor", "Name": ".ctor", "Parameters": [], - "Visibility": "Public", + "Visibility": "Protected", "GenericParameter": [] } ], @@ -1521,6 +780,694 @@ ], "GenericParameters": [] }, + { + "Name": "Microsoft.AspNetCore.Mvc.Razor.RazorPageBase", + "Visibility": "Public", + "Kind": "Class", + "Abstract": true, + "ImplementedInterfaces": [ + "Microsoft.AspNetCore.Mvc.Razor.IRazorPage" + ], + "Members": [ + { + "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": "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": "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": "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": "EnsureRenderedBodyOrSections", + "Parameters": [], + "ReturnType": "System.Void", + "Virtual": true, + "Abstract": true, + "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.IRazorPage", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [], + "Visibility": "Protected", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.AspNetCore.Mvc.Razor.RazorPageFactoryResult", "Visibility": "Public", @@ -1538,9 +1485,9 @@ }, { "Kind": "Method", - "Name": "get_ExpirationTokens", + "Name": "get_ViewDescriptor", "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", + "ReturnType": "Microsoft.AspNetCore.Mvc.Razor.Compilation.CompiledViewDescriptor", "Visibility": "Public", "GenericParameter": [] }, @@ -1557,24 +1504,12 @@ "Name": ".ctor", "Parameters": [ { - "Name": "expirationTokens", - "Type": "System.Collections.Generic.IList" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ + "Name": "viewDescriptor", + "Type": "Microsoft.AspNetCore.Mvc.Razor.Compilation.CompiledViewDescriptor" + }, { "Name": "razorPageFactory", "Type": "System.Func" - }, - { - "Name": "expirationTokens", - "Type": "System.Collections.Generic.IList" } ], "Visibility": "Public", @@ -1775,6 +1710,10 @@ { "Name": "htmlEncoder", "Type": "System.Text.Encodings.Web.HtmlEncoder" + }, + { + "Name": "diagnosticSource", + "Type": "System.Diagnostics.DiagnosticSource" } ], "Visibility": "Public", @@ -1945,9 +1884,17 @@ "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", @@ -2004,6 +1951,14 @@ "Visibility": "Public", "GenericParameter": [] }, + { + "Kind": "Method", + "Name": "get_PageViewLocationFormats", + "Parameters": [], + "ReturnType": "System.Collections.Generic.IList", + "Visibility": "Public", + "GenericParameter": [] + }, { "Kind": "Method", "Name": "get_AdditionalCompilationReferences", @@ -2033,48 +1988,6 @@ "Visibility": "Public", "GenericParameter": [] }, - { - "Kind": "Method", - "Name": "get_ParseOptions", - "Parameters": [], - "ReturnType": "Microsoft.CodeAnalysis.CSharp.CSharpParseOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ParseOptions", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.CodeAnalysis.CSharp.CSharpParseOptions" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_CompilationOptions", - "Parameters": [], - "ReturnType": "Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_CompilationOptions", - "Parameters": [ - { - "Name": "value", - "Type": "Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, { "Kind": "Constructor", "Name": ".ctor", @@ -2096,12 +2009,7 @@ { "Kind": "Method", "Name": "Invoke", - "Parameters": [ - { - "Name": "writer", - "Type": "System.IO.TextWriter" - } - ], + "Parameters": [], "ReturnType": "System.Threading.Tasks.Task", "Virtual": true, "Visibility": "Public", @@ -2111,10 +2019,6 @@ "Kind": "Method", "Name": "BeginInvoke", "Parameters": [ - { - "Name": "writer", - "Type": "System.IO.TextWriter" - }, { "Name": "callback", "Type": "System.AsyncCallback" @@ -2243,6 +2147,14 @@ "Visibility": "Public", "GenericParameter": [] }, + { + "Kind": "Method", + "Name": "get_PageName", + "Parameters": [], + "ReturnType": "System.String", + "Visibility": "Public", + "GenericParameter": [] + }, { "Kind": "Method", "Name": "get_AreaName", @@ -2300,6 +2212,10 @@ "Name": "areaName", "Type": "System.String" }, + { + "Name": "pageName", + "Type": "System.String" + }, { "Name": "isMainPage", "Type": "System.Boolean" @@ -2312,41 +2228,116 @@ "GenericParameters": [] }, { - "Name": "Microsoft.AspNetCore.Mvc.Razor.TagHelpers.FeatureTagHelperTypeResolver", + "Name": "Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper", "Visibility": "Public", "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperTypeResolver", + "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": "GetExportedTypes", + "Name": "get_Components", + "Parameters": [], + "ReturnType": "System.Collections.Generic.ICollection", + "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": "assemblyName", - "Type": "System.Reflection.AssemblyName" + "Name": "context", + "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext" } ], - "ReturnType": "System.Collections.Generic.IEnumerable", + "ReturnType": "System.Void", "Virtual": true, "Override": true, - "Visibility": "Protected", + "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", + "Visibility": "Public", "GenericParameter": [] }, { "Kind": "Method", - "Name": "IsTagHelper", + "Name": "ProcessAsync", "Parameters": [ { - "Name": "typeInfo", - "Type": "System.Reflection.TypeInfo" + "Name": "context", + "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext" + }, + { + "Name": "output", + "Type": "Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput" } ], - "ReturnType": "System.Boolean", - "Sealed": true, + "ReturnType": "System.Threading.Tasks.Task", "Virtual": true, "Override": true, - "Visibility": "Protected", + "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", + "Visibility": "Public", "GenericParameter": [] }, { @@ -2355,7 +2346,11 @@ "Parameters": [ { "Name": "manager", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager" + "Type": "Microsoft.AspNetCore.Mvc.Razor.TagHelpers.ITagHelperComponentManager" + }, + { + "Name": "loggerFactory", + "Type": "Microsoft.Extensions.Logging.ILoggerFactory" } ], "Visibility": "Public", @@ -2416,6 +2411,34 @@ "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", @@ -2440,7 +2463,7 @@ "ReturnType": "System.Int32", "Virtual": true, "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper", + "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", "Visibility": "Public", "GenericParameter": [] }, @@ -2573,172 +2596,83 @@ "GenericParameters": [] }, { - "Name": "Microsoft.AspNetCore.Mvc.Razor.Internal.CompilerCache", + "Name": "Microsoft.AspNetCore.Mvc.Razor.Internal.CSharpCompiler", "Visibility": "Public", "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Razor.Internal.ICompilerCache" - ], - "Members": [ - { - "Kind": "Method", - "Name": "GetOrAdd", - "Parameters": [ - { - "Name": "relativePath", - "Type": "System.String" - }, - { - "Name": "compile", - "Type": "System.Func" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Razor.Internal.CompilerCacheResult", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.Internal.ICompilerCache", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "fileProvider", - "Type": "Microsoft.Extensions.FileProviders.IFileProvider" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "fileProvider", - "Type": "Microsoft.Extensions.FileProviders.IFileProvider" - }, - { - "Name": "precompiledViews", - "Type": "System.Collections.Generic.IDictionary" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Razor.Internal.CompilerCacheResult", - "Visibility": "Public", - "Kind": "Struct", - "Sealed": true, "ImplementedInterfaces": [], "Members": [ { "Kind": "Method", - "Name": "get_ExpirationTokens", + "Name": "get_ParseOptions", "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Success", - "Parameters": [], - "ReturnType": "System.Boolean", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_PageFactory", - "Parameters": [], - "ReturnType": "System.Func", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "relativePath", - "Type": "System.String" - }, - { - "Name": "compilationResult", - "Type": "Microsoft.AspNetCore.Mvc.Razor.Compilation.CompilationResult" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "relativePath", - "Type": "System.String" - }, - { - "Name": "compilationResult", - "Type": "Microsoft.AspNetCore.Mvc.Razor.Compilation.CompilationResult" - }, - { - "Name": "expirationTokens", - "Type": "System.Collections.Generic.IList" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "expirationTokens", - "Type": "System.Collections.Generic.IList" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.Razor.Internal.DefaultCompilerCacheProvider", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Razor.Internal.ICompilerCacheProvider" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_Cache", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Razor.Internal.ICompilerCache", - "Sealed": true, + "ReturnType": "Microsoft.CodeAnalysis.CSharp.CSharpParseOptions", "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.Internal.ICompilerCacheProvider", "Visibility": "Public", "GenericParameter": [] }, + { + "Kind": "Method", + "Name": "get_CSharpCompilationOptions", + "Parameters": [], + "ReturnType": "Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions", + "Virtual": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_EmitOptions", + "Parameters": [], + "ReturnType": "Microsoft.CodeAnalysis.Emit.EmitOptions", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "CreateSyntaxTree", + "Parameters": [ + { + "Name": "sourceText", + "Type": "Microsoft.CodeAnalysis.Text.SourceText" + } + ], + "ReturnType": "Microsoft.CodeAnalysis.SyntaxTree", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "CreateCompilation", + "Parameters": [ + { + "Name": "assemblyName", + "Type": "System.String" + } + ], + "ReturnType": "Microsoft.CodeAnalysis.CSharp.CSharpCompilation", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "GetDependencyContextCompilationOptions", + "Parameters": [], + "ReturnType": "Microsoft.Extensions.DependencyModel.CompilationOptions", + "Virtual": true, + "Visibility": "Protected", + "GenericParameter": [] + }, { "Kind": "Constructor", "Name": ".ctor", "Parameters": [ { - "Name": "fileProviderAccessor", - "Type": "Microsoft.AspNetCore.Mvc.Razor.Internal.IRazorViewEngineFileProviderAccessor" + "Name": "manager", + "Type": "Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorReferenceManager" + }, + { + "Name": "hostingEnvironment", + "Type": "Microsoft.AspNetCore.Hosting.IHostingEnvironment" } ], "Visibility": "Public", @@ -2776,12 +2710,44 @@ "Name": ".ctor", "Parameters": [ { - "Name": "razorCompilationService", - "Type": "Microsoft.AspNetCore.Mvc.Razor.Compilation.IRazorCompilationService" + "Name": "viewCompilerProvider", + "Type": "Microsoft.AspNetCore.Mvc.Razor.Compilation.IViewCompilerProvider" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Mvc.Razor.Internal.DefaultRazorReferenceManager", + "Visibility": "Public", + "Kind": "Class", + "BaseType": "Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorReferenceManager", + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "get_CompilationReferences", + "Parameters": [], + "ReturnType": "System.Collections.Generic.IReadOnlyList", + "Virtual": true, + "Override": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "partManager", + "Type": "Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager" }, { - "Name": "compilerCacheProvider", - "Type": "Microsoft.AspNetCore.Mvc.Razor.Internal.ICompilerCacheProvider" + "Name": "optionsAccessor", + "Type": "Microsoft.Extensions.Options.IOptions" } ], "Visibility": "Public", @@ -2824,70 +2790,6 @@ ], "GenericParameters": [] }, - { - "Name": "Microsoft.AspNetCore.Mvc.Razor.Internal.DefaultRoslynCompilationService", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Razor.Compilation.ICompilationService" - ], - "Members": [ - { - "Kind": "Method", - "Name": "Compile", - "Parameters": [ - { - "Name": "fileInfo", - "Type": "Microsoft.AspNetCore.Mvc.Razor.Compilation.RelativeFileInfo" - }, - { - "Name": "compilationContent", - "Type": "System.String" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Razor.Compilation.CompilationResult", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.Compilation.ICompilationService", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetCompilationReferences", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", - "Virtual": true, - "Visibility": "Protected", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "partManager", - "Type": "Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager" - }, - { - "Name": "optionsAccessor", - "Type": "Microsoft.Extensions.Options.IOptions" - }, - { - "Name": "fileProviderAccessor", - "Type": "Microsoft.AspNetCore.Mvc.Razor.Internal.IRazorViewEngineFileProviderAccessor" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, { "Name": "Microsoft.AspNetCore.Mvc.Razor.Internal.DefaultTagHelperActivator", "Visibility": "Public", @@ -2982,28 +2884,6 @@ ], "GenericParameters": [] }, - { - "Name": "Microsoft.AspNetCore.Mvc.Razor.Internal.DependencyContextRazorViewEngineOptionsSetup", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.Extensions.Options.ConfigureOptions", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "hostingEnvironment", - "Type": "Microsoft.AspNetCore.Hosting.IHostingEnvironment" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, { "Name": "Microsoft.AspNetCore.Mvc.Razor.Internal.ExpressionRewriter", "Visibility": "Public", @@ -3011,6 +2891,20 @@ "BaseType": "Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter", "ImplementedInterfaces": [], "Members": [ + { + "Kind": "Method", + "Name": "Rewrite", + "Parameters": [ + { + "Name": "compilation", + "Type": "Microsoft.CodeAnalysis.CSharp.CSharpCompilation" + } + ], + "ReturnType": "Microsoft.CodeAnalysis.CSharp.CSharpCompilation", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + }, { "Kind": "Method", "Name": "VisitClassDeclaration", @@ -3057,43 +2951,140 @@ "GenericParameters": [] }, { - "Name": "Microsoft.AspNetCore.Mvc.Razor.Internal.ICompilerCache", + "Name": "Microsoft.AspNetCore.Mvc.Razor.Internal.FileProviderRazorProject", "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, + "Kind": "Class", + "BaseType": "Microsoft.AspNetCore.Razor.Language.RazorProject", "ImplementedInterfaces": [], "Members": [ { "Kind": "Method", - "Name": "GetOrAdd", + "Name": "GetItem", "Parameters": [ { - "Name": "relativePath", + "Name": "path", "Type": "System.String" - }, - { - "Name": "compile", - "Type": "System.Func" } ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Razor.Internal.CompilerCacheResult", + "ReturnType": "Microsoft.AspNetCore.Razor.Language.RazorProjectItem", + "Virtual": true, + "Override": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "EnumerateItems", + "Parameters": [ + { + "Name": "path", + "Type": "System.String" + } + ], + "ReturnType": "System.Collections.Generic.IEnumerable", + "Virtual": true, + "Override": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "accessor", + "Type": "Microsoft.AspNetCore.Mvc.Razor.Internal.IRazorViewEngineFileProviderAccessor" + } + ], + "Visibility": "Public", "GenericParameter": [] } ], "GenericParameters": [] }, { - "Name": "Microsoft.AspNetCore.Mvc.Razor.Internal.ICompilerCacheProvider", + "Name": "Microsoft.AspNetCore.Mvc.Razor.Internal.FileProviderRazorProjectItem", "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, + "Kind": "Class", + "BaseType": "Microsoft.AspNetCore.Razor.Language.RazorProjectItem", "ImplementedInterfaces": [], "Members": [ { "Kind": "Method", - "Name": "get_Cache", + "Name": "get_FileInfo", "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.Razor.Internal.ICompilerCache", + "ReturnType": "Microsoft.Extensions.FileProviders.IFileInfo", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_BasePath", + "Parameters": [], + "ReturnType": "System.String", + "Virtual": true, + "Override": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_FilePath", + "Parameters": [], + "ReturnType": "System.String", + "Virtual": true, + "Override": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_Exists", + "Parameters": [], + "ReturnType": "System.Boolean", + "Virtual": true, + "Override": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_PhysicalPath", + "Parameters": [], + "ReturnType": "System.String", + "Virtual": true, + "Override": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "Read", + "Parameters": [], + "ReturnType": "System.IO.Stream", + "Virtual": true, + "Override": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "fileInfo", + "Type": "Microsoft.Extensions.FileProviders.IFileInfo" + }, + { + "Name": "basePath", + "Type": "System.String" + }, + { + "Name": "path", + "Type": "System.String" + } + ], + "Visibility": "Public", "GenericParameter": [] } ], @@ -3117,27 +3108,48 @@ "GenericParameters": [] }, { - "Name": "Microsoft.AspNetCore.Mvc.Razor.Internal.MvcRazorMvcViewOptionsSetup", + "Name": "Microsoft.AspNetCore.Mvc.Razor.Internal.LazyMetadataReferenceFeature", "Visibility": "Public", "Kind": "Class", - "BaseType": "Microsoft.Extensions.Options.ConfigureOptions", - "ImplementedInterfaces": [], + "ImplementedInterfaces": [ + "Microsoft.CodeAnalysis.Razor.IMetadataReferenceFeature" + ], "Members": [ { "Kind": "Method", - "Name": "ConfigureMvc", + "Name": "get_References", + "Parameters": [], + "ReturnType": "System.Collections.Generic.IReadOnlyList", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.CodeAnalysis.Razor.IMetadataReferenceFeature", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_Engine", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Razor.Language.RazorEngine", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Razor.Language.IRazorEngineFeature", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_Engine", "Parameters": [ { - "Name": "razorViewEngine", - "Type": "Microsoft.AspNetCore.Mvc.Razor.IRazorViewEngine" - }, - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Mvc.MvcViewOptions" + "Name": "value", + "Type": "Microsoft.AspNetCore.Razor.Language.RazorEngine" } ], "ReturnType": "System.Void", - "Static": true, + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Razor.Language.IRazorEngineFeature", "Visibility": "Public", "GenericParameter": [] }, @@ -3146,8 +3158,8 @@ "Name": ".ctor", "Parameters": [ { - "Name": "razorViewEngine", - "Type": "Microsoft.AspNetCore.Mvc.Razor.IRazorViewEngine" + "Name": "referenceManager", + "Type": "Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorReferenceManager" } ], "Visibility": "Public", @@ -3157,45 +3169,284 @@ "GenericParameters": [] }, { - "Name": "Microsoft.AspNetCore.Mvc.Razor.Internal.RazorCompilationService", + "Name": "Microsoft.AspNetCore.Mvc.Razor.Internal.MvcRazorDiagnosticSourceExtensions", "Visibility": "Public", "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.AspNetCore.Mvc.Razor.Compilation.IRazorCompilationService" - ], + "Abstract": true, + "Static": true, + "Sealed": true, + "ImplementedInterfaces": [], "Members": [ { "Kind": "Method", - "Name": "Compile", + "Name": "BeforeViewPage", "Parameters": [ { - "Name": "file", - "Type": "Microsoft.AspNetCore.Mvc.Razor.Compilation.RelativeFileInfo" + "Name": "diagnosticSource", + "Type": "System.Diagnostics.DiagnosticSource" + }, + { + "Name": "page", + "Type": "Microsoft.AspNetCore.Mvc.Razor.IRazorPage" + }, + { + "Name": "viewContext", + "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" } ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Razor.Compilation.CompilationResult", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.Compilation.IRazorCompilationService", + "ReturnType": "System.Void", + "Static": true, + "Extension": true, "Visibility": "Public", "GenericParameter": [] }, { "Kind": "Method", - "Name": "GenerateCode", + "Name": "AfterViewPage", "Parameters": [ { - "Name": "relativePath", + "Name": "diagnosticSource", + "Type": "System.Diagnostics.DiagnosticSource" + }, + { + "Name": "page", + "Type": "Microsoft.AspNetCore.Mvc.Razor.IRazorPage" + }, + { + "Name": "viewContext", + "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" + } + ], + "ReturnType": "System.Void", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Mvc.Razor.Internal.MvcRazorLoggerExtensions", + "Visibility": "Public", + "Kind": "Class", + "Abstract": true, + "Static": true, + "Sealed": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "RazorFileToCodeCompilationStart", + "Parameters": [ + { + "Name": "logger", + "Type": "Microsoft.Extensions.Logging.ILogger" + }, + { + "Name": "filePath", + "Type": "System.String" + } + ], + "ReturnType": "System.Void", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "RazorFileToCodeCompilationEnd", + "Parameters": [ + { + "Name": "logger", + "Type": "Microsoft.Extensions.Logging.ILogger" + }, + { + "Name": "filePath", "Type": "System.String" }, { - "Name": "inputStream", - "Type": "System.IO.Stream" + "Name": "startTimestamp", + "Type": "System.Int64" } ], - "ReturnType": "Microsoft.AspNetCore.Razor.CodeGenerators.GeneratorResults", + "ReturnType": "System.Void", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "ViewLookupCacheMiss", + "Parameters": [ + { + "Name": "logger", + "Type": "Microsoft.Extensions.Logging.ILogger" + }, + { + "Name": "viewName", + "Type": "System.String" + }, + { + "Name": "controllerName", + "Type": "System.String" + } + ], + "ReturnType": "System.Void", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "ViewLookupCacheHit", + "Parameters": [ + { + "Name": "logger", + "Type": "Microsoft.Extensions.Logging.ILogger" + }, + { + "Name": "viewName", + "Type": "System.String" + }, + { + "Name": "controllerName", + "Type": "System.String" + } + ], + "ReturnType": "System.Void", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "PrecompiledViewFound", + "Parameters": [ + { + "Name": "logger", + "Type": "Microsoft.Extensions.Logging.ILogger" + }, + { + "Name": "relativePath", + "Type": "System.String" + } + ], + "ReturnType": "System.Void", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "GeneratedCodeToAssemblyCompilationStart", + "Parameters": [ + { + "Name": "logger", + "Type": "Microsoft.Extensions.Logging.ILogger" + }, + { + "Name": "filePath", + "Type": "System.String" + } + ], + "ReturnType": "System.Void", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "TagHelperComponentInitialized", + "Parameters": [ + { + "Name": "logger", + "Type": "Microsoft.Extensions.Logging.ILogger" + }, + { + "Name": "componentName", + "Type": "System.String" + } + ], + "ReturnType": "System.Void", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "TagHelperComponentProcessed", + "Parameters": [ + { + "Name": "logger", + "Type": "Microsoft.Extensions.Logging.ILogger" + }, + { + "Name": "componentName", + "Type": "System.String" + } + ], + "ReturnType": "System.Void", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "GeneratedCodeToAssemblyCompilationEnd", + "Parameters": [ + { + "Name": "logger", + "Type": "Microsoft.Extensions.Logging.ILogger" + }, + { + "Name": "filePath", + "Type": "System.String" + }, + { + "Name": "startTimestamp", + "Type": "System.Int64" + } + ], + "ReturnType": "System.Void", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Mvc.Razor.Internal.MvcRazorMvcViewOptionsSetup", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [ + "Microsoft.Extensions.Options.IConfigureOptions" + ], + "Members": [ + { + "Kind": "Method", + "Name": "Configure", + "Parameters": [ + { + "Name": "options", + "Type": "Microsoft.AspNetCore.Mvc.MvcViewOptions" + } + ], + "ReturnType": "System.Void", + "Sealed": true, "Virtual": true, - "Visibility": "Protected", + "ImplementedInterface": "Microsoft.Extensions.Options.IConfigureOptions", + "Visibility": "Public", "GenericParameter": [] }, { @@ -3203,20 +3454,8 @@ "Name": ".ctor", "Parameters": [ { - "Name": "compilationService", - "Type": "Microsoft.AspNetCore.Mvc.Razor.Compilation.ICompilationService" - }, - { - "Name": "razorHost", - "Type": "Microsoft.AspNetCore.Mvc.Razor.IMvcRazorHost" - }, - { - "Name": "fileProviderAccessor", - "Type": "Microsoft.AspNetCore.Mvc.Razor.Internal.IRazorViewEngineFileProviderAccessor" - }, - { - "Name": "loggerFactory", - "Type": "Microsoft.Extensions.Logging.ILoggerFactory" + "Name": "razorViewEngine", + "Type": "Microsoft.AspNetCore.Mvc.Razor.IRazorViewEngine" } ], "Visibility": "Public", @@ -3242,6 +3481,222 @@ ], "GenericParameters": [] }, + { + "Name": "Microsoft.AspNetCore.Mvc.Razor.Internal.RazorPagePropertyActivator", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "Activate", + "Parameters": [ + { + "Name": "page", + "Type": "System.Object" + }, + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "pageType", + "Type": "System.Type" + }, + { + "Name": "modelType", + "Type": "System.Type" + }, + { + "Name": "metadataProvider", + "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider" + }, + { + "Name": "propertyValueAccessors", + "Type": "Microsoft.AspNetCore.Mvc.Razor.Internal.RazorPagePropertyActivator+PropertyValueAccessors" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Mvc.Razor.Internal.RazorViewCompiler", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [ + "Microsoft.AspNetCore.Mvc.Razor.Compilation.IViewCompiler" + ], + "Members": [ + { + "Kind": "Method", + "Name": "CompileAsync", + "Parameters": [ + { + "Name": "relativePath", + "Type": "System.String" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.Compilation.IViewCompiler", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "CompileAndEmit", + "Parameters": [ + { + "Name": "relativePath", + "Type": "System.String" + } + ], + "ReturnType": "Microsoft.AspNetCore.Mvc.Razor.Compilation.CompiledViewDescriptor", + "Virtual": true, + "Visibility": "Protected", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "fileProvider", + "Type": "Microsoft.Extensions.FileProviders.IFileProvider" + }, + { + "Name": "templateEngine", + "Type": "Microsoft.AspNetCore.Razor.Language.RazorTemplateEngine" + }, + { + "Name": "csharpCompiler", + "Type": "Microsoft.AspNetCore.Mvc.Razor.Internal.CSharpCompiler" + }, + { + "Name": "compilationCallback", + "Type": "System.Action" + }, + { + "Name": "precompiledViews", + "Type": "System.Collections.Generic.IList" + }, + { + "Name": "logger", + "Type": "Microsoft.Extensions.Logging.ILogger" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Mvc.Razor.Internal.RazorViewCompilerProvider", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [ + "Microsoft.AspNetCore.Mvc.Razor.Compilation.IViewCompilerProvider" + ], + "Members": [ + { + "Kind": "Method", + "Name": "GetCompiler", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Mvc.Razor.Compilation.IViewCompiler", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.Compilation.IViewCompilerProvider", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "applicationPartManager", + "Type": "Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager" + }, + { + "Name": "razorTemplateEngine", + "Type": "Microsoft.AspNetCore.Razor.Language.RazorTemplateEngine" + }, + { + "Name": "fileProviderAccessor", + "Type": "Microsoft.AspNetCore.Mvc.Razor.Internal.IRazorViewEngineFileProviderAccessor" + }, + { + "Name": "csharpCompiler", + "Type": "Microsoft.AspNetCore.Mvc.Razor.Internal.CSharpCompiler" + }, + { + "Name": "viewEngineOptionsAccessor", + "Type": "Microsoft.Extensions.Options.IOptions" + }, + { + "Name": "loggerFactory", + "Type": "Microsoft.Extensions.Logging.ILoggerFactory" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Mvc.Razor.Internal.RazorViewEngineOptionsSetup", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [ + "Microsoft.Extensions.Options.IConfigureOptions" + ], + "Members": [ + { + "Kind": "Method", + "Name": "Configure", + "Parameters": [ + { + "Name": "options", + "Type": "Microsoft.AspNetCore.Mvc.Razor.RazorViewEngineOptions" + } + ], + "ReturnType": "System.Void", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.Extensions.Options.IConfigureOptions", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "hostingEnvironment", + "Type": "Microsoft.AspNetCore.Hosting.IHostingEnvironment" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.AspNetCore.Mvc.Razor.Internal.ServiceBasedTagHelperActivator", "Visibility": "Public", @@ -3284,6 +3739,40 @@ ], "GenericParameters": [] }, + { + "Name": "Microsoft.AspNetCore.Mvc.Razor.Internal.TagHelperComponentManager", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [ + "Microsoft.AspNetCore.Mvc.Razor.TagHelpers.ITagHelperComponentManager" + ], + "Members": [ + { + "Kind": "Method", + "Name": "get_Components", + "Parameters": [], + "ReturnType": "System.Collections.Generic.ICollection", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.TagHelpers.ITagHelperComponentManager", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "tagHelperComponents", + "Type": "System.Collections.Generic.IEnumerable" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.AspNetCore.Mvc.Razor.Internal.TagHelpersAsServices", "Visibility": "Public", @@ -3389,6 +3878,14 @@ "Visibility": "Public", "GenericParameter": [] }, + { + "Kind": "Method", + "Name": "get_PageName", + "Parameters": [], + "ReturnType": "System.String", + "Visibility": "Public", + "GenericParameter": [] + }, { "Kind": "Method", "Name": "get_IsMainPage", @@ -3478,6 +3975,10 @@ "Name": "areaName", "Type": "System.String" }, + { + "Name": "pageName", + "Type": "System.String" + }, { "Name": "isMainPage", "Type": "System.Boolean" @@ -3562,6 +4063,32 @@ ], "GenericParameters": [] }, + { + "Name": "Microsoft.AspNetCore.Mvc.Razor.Internal.ViewPath", + "Visibility": "Public", + "Kind": "Class", + "Abstract": true, + "Static": true, + "Sealed": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "NormalizePath", + "Parameters": [ + { + "Name": "path", + "Type": "System.String" + } + ], + "ReturnType": "System.String", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.AspNetCore.Mvc.Razor.Compilation.CompilationFailedException", "Visibility": "Public", @@ -3598,32 +4125,91 @@ "GenericParameters": [] }, { - "Name": "Microsoft.AspNetCore.Mvc.Razor.Compilation.CompilationResult", + "Name": "Microsoft.AspNetCore.Mvc.Razor.Compilation.CompiledViewDescriptor", "Visibility": "Public", - "Kind": "Struct", - "Sealed": true, + "Kind": "Class", "ImplementedInterfaces": [], "Members": [ { "Kind": "Method", - "Name": "get_CompiledType", + "Name": "get_RelativePath", "Parameters": [], - "ReturnType": "System.Type", + "ReturnType": "System.String", "Visibility": "Public", "GenericParameter": [] }, { "Kind": "Method", - "Name": "get_CompilationFailures", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IEnumerable", + "Name": "set_RelativePath", + "Parameters": [ + { + "Name": "value", + "Type": "System.String" + } + ], + "ReturnType": "System.Void", "Visibility": "Public", "GenericParameter": [] }, { "Kind": "Method", - "Name": "EnsureSuccessful", + "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": [] @@ -3631,24 +4217,7 @@ { "Kind": "Constructor", "Name": ".ctor", - "Parameters": [ - { - "Name": "type", - "Type": "System.Type" - } - ], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "compilationFailures", - "Type": "System.Collections.Generic.IEnumerable" - } - ], + "Parameters": [], "Visibility": "Public", "GenericParameter": [] } @@ -3656,7 +4225,7 @@ "GenericParameters": [] }, { - "Name": "Microsoft.AspNetCore.Mvc.Razor.Compilation.ICompilationService", + "Name": "Microsoft.AspNetCore.Mvc.Razor.Compilation.IViewCompiler", "Visibility": "Public", "Kind": "Interface", "Abstract": true, @@ -3664,25 +4233,21 @@ "Members": [ { "Kind": "Method", - "Name": "Compile", + "Name": "CompileAsync", "Parameters": [ { - "Name": "fileInfo", - "Type": "Microsoft.AspNetCore.Mvc.Razor.Compilation.RelativeFileInfo" - }, - { - "Name": "compilationContent", + "Name": "relativePath", "Type": "System.String" } ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Razor.Compilation.CompilationResult", + "ReturnType": "System.Threading.Tasks.Task", "GenericParameter": [] } ], "GenericParameters": [] }, { - "Name": "Microsoft.AspNetCore.Mvc.Razor.Compilation.IRazorCompilationService", + "Name": "Microsoft.AspNetCore.Mvc.Razor.Compilation.IViewCompilerProvider", "Visibility": "Public", "Kind": "Interface", "Abstract": true, @@ -3690,14 +4255,9 @@ "Members": [ { "Kind": "Method", - "Name": "Compile", - "Parameters": [ - { - "Name": "fileInfo", - "Type": "Microsoft.AspNetCore.Mvc.Razor.Compilation.RelativeFileInfo" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Razor.Compilation.CompilationResult", + "Name": "GetCompiler", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Mvc.Razor.Compilation.IViewCompiler", "GenericParameter": [] } ], @@ -3766,24 +4326,52 @@ "GenericParameters": [] }, { - "Name": "Microsoft.AspNetCore.Mvc.Razor.Compilation.RelativeFileInfo", + "Name": "Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorReferenceManager", "Visibility": "Public", "Kind": "Class", + "Abstract": true, "ImplementedInterfaces": [], "Members": [ { "Kind": "Method", - "Name": "get_FileInfo", + "Name": "get_CompilationReferences", "Parameters": [], - "ReturnType": "Microsoft.Extensions.FileProviders.IFileInfo", + "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_RelativePath", + "Name": "get_ViewType", "Parameters": [], - "ReturnType": "System.String", + "ReturnType": "System.Type", "Visibility": "Public", "GenericParameter": [] }, @@ -3792,12 +4380,12 @@ "Name": ".ctor", "Parameters": [ { - "Name": "fileInfo", - "Type": "Microsoft.Extensions.FileProviders.IFileInfo" + "Name": "path", + "Type": "System.String" }, { - "Name": "relativePath", - "Type": "System.String" + "Name": "viewType", + "Type": "System.Type" } ], "Visibility": "Public", @@ -3848,6 +4436,92 @@ ], "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.Extensions.DependencyInjection.MvcRazorMvcBuilderExtensions", "Visibility": "Public", @@ -4008,6 +4682,127 @@ } ], "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Mvc.Razor.Internal.RazorPagePropertyActivator+PropertyValueAccessors", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "get_UrlHelperAccessor", + "Parameters": [], + "ReturnType": "System.Func", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_UrlHelperAccessor", + "Parameters": [ + { + "Name": "value", + "Type": "System.Func" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_JsonHelperAccessor", + "Parameters": [], + "ReturnType": "System.Func", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_JsonHelperAccessor", + "Parameters": [ + { + "Name": "value", + "Type": "System.Func" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_DiagnosticSourceAccessor", + "Parameters": [], + "ReturnType": "System.Func", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_DiagnosticSourceAccessor", + "Parameters": [ + { + "Name": "value", + "Type": "System.Func" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_HtmlEncoderAccessor", + "Parameters": [], + "ReturnType": "System.Func", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_HtmlEncoderAccessor", + "Parameters": [ + { + "Name": "value", + "Type": "System.Func" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_ModelExpressionProviderAccessor", + "Parameters": [], + "ReturnType": "System.Func", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_ModelExpressionProviderAccessor", + "Parameters": [ + { + "Name": "value", + "Type": "System.Func" + } + ], + "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/Microsoft.AspNetCore.Mvc.Razor/breakingchanges.netcore.json b/src/Microsoft.AspNetCore.Mvc.Razor/breakingchanges.netcore.json deleted file mode 100644 index 84f844b3b1..0000000000 --- a/src/Microsoft.AspNetCore.Mvc.Razor/breakingchanges.netcore.json +++ /dev/null @@ -1,141 +0,0 @@ -[ - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.Razor.Compilation.RelativeFileInfo", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.Razor.TagHelpers.FeatureTagHelperTypeResolver : Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperTypeResolver", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.RazorViewEngineOptionsSetup : Microsoft.Extensions.Options.ConfigureOptions", - "Kind": "Removal" - }, - { - "TypeId": "public interface Microsoft.AspNetCore.Mvc.Razor.Compilation.ICompilationService", - "Kind": "Removal" - }, - { - "TypeId": "public interface Microsoft.AspNetCore.Mvc.Razor.Compilation.IRazorCompilationService", - "Kind": "Removal" - }, - { - "TypeId": "public struct Microsoft.AspNetCore.Mvc.Razor.Compilation.CompilationResult", - "Kind": "Removal" - }, - { - "TypeId": "public abstract class Microsoft.AspNetCore.Mvc.Razor.RazorPage : Microsoft.AspNetCore.Mvc.Razor.IRazorPage", - "MemberId": "public .ctor()", - "Kind": "Removal" - }, - { - "TypeId": "public abstract class Microsoft.AspNetCore.Mvc.Razor.RazorPage : Microsoft.AspNetCore.Mvc.Razor.IRazorPage", - "MemberId": "public static System.String InvalidTagHelperIndexerAssignment(System.String attributeName, System.String tagHelperTypeName, System.String propertyName)", - "Kind": "Removal" - }, - { - "TypeId": "public abstract class Microsoft.AspNetCore.Mvc.Razor.RazorPage : Microsoft.AspNetCore.Mvc.Razor.IRazorPage", - "MemberId": "public static System.Void WriteTo(System.IO.TextWriter writer, System.Text.Encodings.Web.HtmlEncoder encoder, System.Object value)", - "Kind": "Removal" - }, - { - "TypeId": "public abstract class Microsoft.AspNetCore.Mvc.Razor.RazorPage : Microsoft.AspNetCore.Mvc.Razor.IRazorPage", - "MemberId": "public System.Threading.Tasks.Task FlushAsync()", - "Kind": "Removal" - }, - { - "TypeId": "public abstract class Microsoft.AspNetCore.Mvc.Razor.RazorPage : Microsoft.AspNetCore.Mvc.Razor.IRazorPage", - "MemberId": "public System.Void WriteAttributeValueTo(System.IO.TextWriter writer, System.String prefix, System.Int32 prefixOffset, System.Object value, System.Int32 valueOffset, System.Int32 valueLength, System.Boolean isLiteral)", - "Kind": "Removal" - }, - { - "TypeId": "public abstract class Microsoft.AspNetCore.Mvc.Razor.RazorPage : Microsoft.AspNetCore.Mvc.Razor.IRazorPage", - "MemberId": "public virtual System.Void BeginWriteAttributeTo(System.IO.TextWriter writer, System.String name, System.String prefix, System.Int32 prefixOffset, System.String suffix, System.Int32 suffixOffset, System.Int32 attributeValuesCount)", - "Kind": "Removal" - }, - { - "TypeId": "public abstract class Microsoft.AspNetCore.Mvc.Razor.RazorPage : Microsoft.AspNetCore.Mvc.Razor.IRazorPage", - "MemberId": "public virtual System.Void EndWriteAttributeTo(System.IO.TextWriter writer)", - "Kind": "Removal" - }, - { - "TypeId": "public abstract class Microsoft.AspNetCore.Mvc.Razor.RazorPage : Microsoft.AspNetCore.Mvc.Razor.IRazorPage", - "MemberId": "public virtual System.Void WriteLiteralTo(System.IO.TextWriter writer, System.Object value)", - "Kind": "Removal" - }, - { - "TypeId": "public abstract class Microsoft.AspNetCore.Mvc.Razor.RazorPage : Microsoft.AspNetCore.Mvc.Razor.IRazorPage", - "MemberId": "public virtual System.Void WriteLiteralTo(System.IO.TextWriter writer, System.String value)", - "Kind": "Removal" - }, - { - "TypeId": "public abstract class Microsoft.AspNetCore.Mvc.Razor.RazorPage : Microsoft.AspNetCore.Mvc.Razor.IRazorPage", - "MemberId": "public virtual System.Void WriteTo(System.IO.TextWriter writer, System.Object value)", - "Kind": "Removal" - }, - { - "TypeId": "public abstract class Microsoft.AspNetCore.Mvc.Razor.RazorPage : Microsoft.AspNetCore.Mvc.Razor.IRazorPage", - "MemberId": "public virtual System.Void WriteTo(System.IO.TextWriter writer, System.String value)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.Razor.ViewLocationExpanderContext", - "MemberId": "public .ctor(Microsoft.AspNetCore.Mvc.ActionContext actionContext, System.String viewName, System.String controllerName, System.String areaName, System.Boolean isMainPage)", - "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.Extensions.Logging.ILoggerFactory loggerFactory)", - "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)", - "Kind": "Removal" - }, - { - "TypeId": "public struct Microsoft.AspNetCore.Mvc.Razor.RazorPageFactoryResult", - "MemberId": "public .ctor(System.Collections.Generic.IList expirationTokens)", - "Kind": "Removal" - }, - { - "TypeId": "public struct Microsoft.AspNetCore.Mvc.Razor.RazorPageFactoryResult", - "MemberId": "public .ctor(System.Func razorPageFactory, System.Collections.Generic.IList expirationTokens)", - "Kind": "Removal" - }, - { - "TypeId": "public struct Microsoft.AspNetCore.Mvc.Razor.RazorPageFactoryResult", - "MemberId": "public System.Collections.Generic.IList get_ExpirationTokens()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.Razor.RazorViewEngineOptions", - "MemberId": "public Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions get_CompilationOptions()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.Razor.RazorViewEngineOptions", - "MemberId": "public Microsoft.CodeAnalysis.CSharp.CSharpParseOptions get_ParseOptions()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.Razor.RazorViewEngineOptions", - "MemberId": "public System.Void set_CompilationOptions(Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions value)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.Razor.RazorViewEngineOptions", - "MemberId": "public System.Void set_ParseOptions(Microsoft.CodeAnalysis.CSharp.CSharpParseOptions value)", - "Kind": "Removal" - }, - { - "TypeId": "public sealed class Microsoft.AspNetCore.Mvc.Razor.RenderAsyncDelegate : System.MulticastDelegate", - "MemberId": "public virtual System.IAsyncResult BeginInvoke(System.IO.TextWriter writer, System.AsyncCallback callback, System.Object object)", - "Kind": "Removal" - }, - { - "TypeId": "public sealed class Microsoft.AspNetCore.Mvc.Razor.RenderAsyncDelegate : System.MulticastDelegate", - "MemberId": "public virtual System.Threading.Tasks.Task Invoke(System.IO.TextWriter writer)", - "Kind": "Removal" - } -] diff --git a/src/Microsoft.AspNetCore.Mvc.RazorPages/baseline.netcore.json b/src/Microsoft.AspNetCore.Mvc.RazorPages/baseline.netcore.json index 68d31387e4..53420dc594 100644 --- a/src/Microsoft.AspNetCore.Mvc.RazorPages/baseline.netcore.json +++ b/src/Microsoft.AspNetCore.Mvc.RazorPages/baseline.netcore.json @@ -1,3 +1,9047 @@ { "AssemblyIdentity": "Microsoft.AspNetCore.Mvc.RazorPages, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", -} + "Types": [ + { + "Name": "Microsoft.AspNetCore.Mvc.Internal.MvcRazorPagesDiagnosticSourceExtensions", + "Visibility": "Public", + "Kind": "Class", + "Abstract": true, + "Static": true, + "Sealed": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "BeforeHandlerMethod", + "Parameters": [ + { + "Name": "diagnosticSource", + "Type": "System.Diagnostics.DiagnosticSource" + }, + { + "Name": "actionContext", + "Type": "Microsoft.AspNetCore.Mvc.ActionContext" + }, + { + "Name": "handlerMethodDescriptor", + "Type": "Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.HandlerMethodDescriptor" + }, + { + "Name": "arguments", + "Type": "System.Collections.Generic.IDictionary" + }, + { + "Name": "instance", + "Type": "System.Object" + } + ], + "ReturnType": "System.Void", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "AfterHandlerMethod", + "Parameters": [ + { + "Name": "diagnosticSource", + "Type": "System.Diagnostics.DiagnosticSource" + }, + { + "Name": "actionContext", + "Type": "Microsoft.AspNetCore.Mvc.ActionContext" + }, + { + "Name": "handlerMethodDescriptor", + "Type": "Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.HandlerMethodDescriptor" + }, + { + "Name": "arguments", + "Type": "System.Collections.Generic.IDictionary" + }, + { + "Name": "instance", + "Type": "System.Object" + }, + { + "Name": "result", + "Type": "Microsoft.AspNetCore.Mvc.IActionResult" + } + ], + "ReturnType": "System.Void", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "BeforeOnPageHandlerExecution", + "Parameters": [ + { + "Name": "diagnosticSource", + "Type": "System.Diagnostics.DiagnosticSource" + }, + { + "Name": "handlerExecutionContext", + "Type": "Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutingContext" + }, + { + "Name": "filter", + "Type": "Microsoft.AspNetCore.Mvc.Filters.IAsyncPageFilter" + } + ], + "ReturnType": "System.Void", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "AfterOnPageHandlerExecution", + "Parameters": [ + { + "Name": "diagnosticSource", + "Type": "System.Diagnostics.DiagnosticSource" + }, + { + "Name": "handlerExecutedContext", + "Type": "Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutedContext" + }, + { + "Name": "filter", + "Type": "Microsoft.AspNetCore.Mvc.Filters.IAsyncPageFilter" + } + ], + "ReturnType": "System.Void", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "BeforeOnPageHandlerExecuting", + "Parameters": [ + { + "Name": "diagnosticSource", + "Type": "System.Diagnostics.DiagnosticSource" + }, + { + "Name": "handlerExecutingContext", + "Type": "Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutingContext" + }, + { + "Name": "filter", + "Type": "Microsoft.AspNetCore.Mvc.Filters.IPageFilter" + } + ], + "ReturnType": "System.Void", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "AfterOnPageHandlerExecuting", + "Parameters": [ + { + "Name": "diagnosticSource", + "Type": "System.Diagnostics.DiagnosticSource" + }, + { + "Name": "handlerExecutingContext", + "Type": "Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutingContext" + }, + { + "Name": "filter", + "Type": "Microsoft.AspNetCore.Mvc.Filters.IPageFilter" + } + ], + "ReturnType": "System.Void", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "BeforeOnPageHandlerExecuted", + "Parameters": [ + { + "Name": "diagnosticSource", + "Type": "System.Diagnostics.DiagnosticSource" + }, + { + "Name": "handlerExecutedContext", + "Type": "Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutedContext" + }, + { + "Name": "filter", + "Type": "Microsoft.AspNetCore.Mvc.Filters.IPageFilter" + } + ], + "ReturnType": "System.Void", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "AfterOnPageHandlerExecuted", + "Parameters": [ + { + "Name": "diagnosticSource", + "Type": "System.Diagnostics.DiagnosticSource" + }, + { + "Name": "handlerExecutedContext", + "Type": "Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutedContext" + }, + { + "Name": "filter", + "Type": "Microsoft.AspNetCore.Mvc.Filters.IPageFilter" + } + ], + "ReturnType": "System.Void", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "BeforeOnPageHandlerSelection", + "Parameters": [ + { + "Name": "diagnosticSource", + "Type": "System.Diagnostics.DiagnosticSource" + }, + { + "Name": "handlerSelectedContext", + "Type": "Microsoft.AspNetCore.Mvc.Filters.PageHandlerSelectedContext" + }, + { + "Name": "filter", + "Type": "Microsoft.AspNetCore.Mvc.Filters.IAsyncPageFilter" + } + ], + "ReturnType": "System.Void", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "AfterOnPageHandlerSelection", + "Parameters": [ + { + "Name": "diagnosticSource", + "Type": "System.Diagnostics.DiagnosticSource" + }, + { + "Name": "handlerSelectedContext", + "Type": "Microsoft.AspNetCore.Mvc.Filters.PageHandlerSelectedContext" + }, + { + "Name": "filter", + "Type": "Microsoft.AspNetCore.Mvc.Filters.IAsyncPageFilter" + } + ], + "ReturnType": "System.Void", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "BeforeOnPageHandlerSelected", + "Parameters": [ + { + "Name": "diagnosticSource", + "Type": "System.Diagnostics.DiagnosticSource" + }, + { + "Name": "handlerSelectedContext", + "Type": "Microsoft.AspNetCore.Mvc.Filters.PageHandlerSelectedContext" + }, + { + "Name": "filter", + "Type": "Microsoft.AspNetCore.Mvc.Filters.IPageFilter" + } + ], + "ReturnType": "System.Void", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "AfterOnPageHandlerSelected", + "Parameters": [ + { + "Name": "diagnosticSource", + "Type": "System.Diagnostics.DiagnosticSource" + }, + { + "Name": "handlerSelectedContext", + "Type": "Microsoft.AspNetCore.Mvc.Filters.PageHandlerSelectedContext" + }, + { + "Name": "filter", + "Type": "Microsoft.AspNetCore.Mvc.Filters.IPageFilter" + } + ], + "ReturnType": "System.Void", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "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_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_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_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_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": "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": "EnsureRenderedBodyOrSections", + "Parameters": [], + "ReturnType": "System.Void", + "Virtual": true, + "Override": true, + "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Razor.IRazorPage", + "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": "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": [], + "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": "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": "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": "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": "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": "Constructor", + "Name": ".ctor", + "Parameters": [], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Mvc.RazorPages.RazorPagesOptions", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [], + "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": "Constructor", + "Name": ".ctor", + "Parameters": [], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Mvc.RazorPages.Internal.AuthorizationPageApplicationModelProvider", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [ + "Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelProvider" + ], + "Members": [ + { + "Kind": "Method", + "Name": "get_Order", + "Parameters": [], + "ReturnType": "System.Int32", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelProvider", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "OnProvidersExecuting", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModelProviderContext" + } + ], + "ReturnType": "System.Void", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelProvider", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "OnProvidersExecuted", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModelProviderContext" + } + ], + "ReturnType": "System.Void", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelProvider", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "policyProvider", + "Type": "Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Mvc.RazorPages.Internal.AutoValidateAntiforgeryPageApplicationModelProvider", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [ + "Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelProvider" + ], + "Members": [ + { + "Kind": "Method", + "Name": "get_Order", + "Parameters": [], + "ReturnType": "System.Int32", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelProvider", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "OnProvidersExecuted", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModelProviderContext" + } + ], + "ReturnType": "System.Void", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelProvider", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "OnProvidersExecuting", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModelProviderContext" + } + ], + "ReturnType": "System.Void", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelProvider", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Mvc.RazorPages.Internal.CompiledPageActionDescriptorBuilder", + "Visibility": "Public", + "Kind": "Class", + "Abstract": true, + "Static": true, + "Sealed": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "Build", + "Parameters": [ + { + "Name": "applicationModel", + "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModel" + }, + { + "Name": "globalFilters", + "Type": "Microsoft.AspNetCore.Mvc.Filters.FilterCollection" + } + ], + "ReturnType": "Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Mvc.RazorPages.Internal.CompiledPageRouteModelProvider", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [ + "Microsoft.AspNetCore.Mvc.ApplicationModels.IPageRouteModelProvider" + ], + "Members": [ + { + "Kind": "Method", + "Name": "get_Order", + "Parameters": [], + "ReturnType": "System.Int32", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationModels.IPageRouteModelProvider", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "OnProvidersExecuting", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModelProviderContext" + } + ], + "ReturnType": "System.Void", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationModels.IPageRouteModelProvider", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "OnProvidersExecuted", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModelProviderContext" + } + ], + "ReturnType": "System.Void", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationModels.IPageRouteModelProvider", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "GetViewDescriptors", + "Parameters": [ + { + "Name": "applicationManager", + "Type": "Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager" + } + ], + "ReturnType": "System.Collections.Generic.IEnumerable", + "Virtual": true, + "Visibility": "Protected", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "applicationManager", + "Type": "Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager" + }, + { + "Name": "pagesOptionsAccessor", + "Type": "Microsoft.Extensions.Options.IOptions" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Mvc.RazorPages.Internal.DefaultPageApplicationModelProvider", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [ + "Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelProvider" + ], + "Members": [ + { + "Kind": "Method", + "Name": "get_Order", + "Parameters": [], + "ReturnType": "System.Int32", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelProvider", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "OnProvidersExecuting", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModelProviderContext" + } + ], + "ReturnType": "System.Void", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelProvider", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "OnProvidersExecuted", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModelProviderContext" + } + ], + "ReturnType": "System.Void", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelProvider", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "CreateModel", + "Parameters": [ + { + "Name": "actionDescriptor", + "Type": "Microsoft.AspNetCore.Mvc.RazorPages.PageActionDescriptor" + }, + { + "Name": "pageTypeInfo", + "Type": "System.Reflection.TypeInfo" + } + ], + "ReturnType": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModel", + "Virtual": true, + "Visibility": "Protected", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "CreateHandlerModel", + "Parameters": [ + { + "Name": "method", + "Type": "System.Reflection.MethodInfo" + } + ], + "ReturnType": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageHandlerModel", + "Virtual": true, + "Visibility": "Protected", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "CreateParameterModel", + "Parameters": [ + { + "Name": "parameter", + "Type": "System.Reflection.ParameterInfo" + } + ], + "ReturnType": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageParameterModel", + "Virtual": true, + "Visibility": "Protected", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "CreatePropertyModel", + "Parameters": [ + { + "Name": "property", + "Type": "System.Reflection.PropertyInfo" + } + ], + "ReturnType": "Microsoft.AspNetCore.Mvc.ApplicationModels.PagePropertyModel", + "Virtual": true, + "Visibility": "Protected", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "IsHandler", + "Parameters": [ + { + "Name": "methodInfo", + "Type": "System.Reflection.MethodInfo" + } + ], + "ReturnType": "System.Boolean", + "Virtual": true, + "Visibility": "Protected", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Mvc.RazorPages.Internal.DefaultPageArgumentBinder", + "Visibility": "Public", + "Kind": "Class", + "BaseType": "Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageArgumentBinder", + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "BindAsync", + "Parameters": [ + { + "Name": "pageContext", + "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, + "Override": true, + "Visibility": "Protected", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "binder", + "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Mvc.RazorPages.Internal.DefaultPageLoader", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [ + "Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.IPageLoader" + ], + "Members": [ + { + "Kind": "Method", + "Name": "Load", + "Parameters": [ + { + "Name": "actionDescriptor", + "Type": "Microsoft.AspNetCore.Mvc.RazorPages.PageActionDescriptor" + } + ], + "ReturnType": "Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.IPageLoader", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "applicationModelProviders", + "Type": "System.Collections.Generic.IEnumerable" + }, + { + "Name": "viewCompilerProvider", + "Type": "Microsoft.AspNetCore.Mvc.Razor.Compilation.IViewCompilerProvider" + }, + { + "Name": "pageOptions", + "Type": "Microsoft.Extensions.Options.IOptions" + }, + { + "Name": "mvcOptions", + "Type": "Microsoft.Extensions.Options.IOptions" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Mvc.RazorPages.Internal.ExecutorFactory", + "Visibility": "Public", + "Kind": "Class", + "Abstract": true, + "Static": true, + "Sealed": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "CreateExecutor", + "Parameters": [ + { + "Name": "handlerDescriptor", + "Type": "Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.HandlerMethodDescriptor" + } + ], + "ReturnType": "System.Func>", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Mvc.RazorPages.Internal.PageActionDescriptorChangeProvider", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [ + "Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorChangeProvider" + ], + "Members": [ + { + "Kind": "Method", + "Name": "GetChangeToken", + "Parameters": [], + "ReturnType": "Microsoft.Extensions.Primitives.IChangeToken", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorChangeProvider", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "templateEngine", + "Type": "Microsoft.AspNetCore.Razor.Language.RazorTemplateEngine" + }, + { + "Name": "fileProviderAccessor", + "Type": "Microsoft.AspNetCore.Mvc.Razor.Internal.IRazorViewEngineFileProviderAccessor" + }, + { + "Name": "razorPagesOptions", + "Type": "Microsoft.Extensions.Options.IOptions" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Mvc.RazorPages.Internal.PageActionInvoker", + "Visibility": "Public", + "Kind": "Class", + "BaseType": "Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker", + "ImplementedInterfaces": [ + "Microsoft.AspNetCore.Mvc.Abstractions.IActionInvoker" + ], + "Members": [ + { + "Kind": "Method", + "Name": "InvokeInnerFilterAsync", + "Parameters": [], + "ReturnType": "System.Threading.Tasks.Task", + "Virtual": true, + "Override": true, + "Visibility": "Protected", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "ReleaseResources", + "Parameters": [], + "ReturnType": "System.Void", + "Virtual": true, + "Override": true, + "Visibility": "Protected", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "handlerMethodSelector", + "Type": "Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.IPageHandlerMethodSelector" + }, + { + "Name": "diagnosticSource", + "Type": "System.Diagnostics.DiagnosticSource" + }, + { + "Name": "logger", + "Type": "Microsoft.Extensions.Logging.ILogger" + }, + { + "Name": "pageContext", + "Type": "Microsoft.AspNetCore.Mvc.RazorPages.PageContext" + }, + { + "Name": "filterMetadata", + "Type": "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata[]" + }, + { + "Name": "cacheEntry", + "Type": "Microsoft.AspNetCore.Mvc.RazorPages.Internal.PageActionInvokerCacheEntry" + }, + { + "Name": "parameterBinder", + "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder" + }, + { + "Name": "tempDataFactory", + "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory" + }, + { + "Name": "htmlHelperOptions", + "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelperOptions" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Mvc.RazorPages.Internal.PageActionInvokerCacheEntry", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "get_ActionDescriptor", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_PageFactory", + "Parameters": [], + "ReturnType": "System.Func", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_ReleasePage", + "Parameters": [], + "ReturnType": "System.Action", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_ModelFactory", + "Parameters": [], + "ReturnType": "System.Func", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_ReleaseModel", + "Parameters": [], + "ReturnType": "System.Action", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_PropertyBinder", + "Parameters": [], + "ReturnType": "System.Func", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_Executors", + "Parameters": [], + "ReturnType": "System.Func>[]", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_ViewDataFactory", + "Parameters": [], + "ReturnType": "System.Func", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_ViewStartFactories", + "Parameters": [], + "ReturnType": "System.Collections.Generic.IReadOnlyList>", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_CacheableFilters", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Mvc.Filters.FilterItem[]", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "actionDescriptor", + "Type": "Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor" + }, + { + "Name": "viewDataFactory", + "Type": "System.Func" + }, + { + "Name": "pageFactory", + "Type": "System.Func" + }, + { + "Name": "releasePage", + "Type": "System.Action" + }, + { + "Name": "modelFactory", + "Type": "System.Func" + }, + { + "Name": "releaseModel", + "Type": "System.Action" + }, + { + "Name": "propertyBinder", + "Type": "System.Func" + }, + { + "Name": "executors", + "Type": "System.Func>[]" + }, + { + "Name": "viewStartFactories", + "Type": "System.Collections.Generic.IReadOnlyList>" + }, + { + "Name": "cacheableFilters", + "Type": "Microsoft.AspNetCore.Mvc.Filters.FilterItem[]" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Mvc.RazorPages.Internal.PageActionInvokerProvider", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [ + "Microsoft.AspNetCore.Mvc.Abstractions.IActionInvokerProvider" + ], + "Members": [ + { + "Kind": "Method", + "Name": "get_Order", + "Parameters": [], + "ReturnType": "System.Int32", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Abstractions.IActionInvokerProvider", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "OnProvidersExecuting", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Mvc.Abstractions.ActionInvokerProviderContext" + } + ], + "ReturnType": "System.Void", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Abstractions.IActionInvokerProvider", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "OnProvidersExecuted", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Mvc.Abstractions.ActionInvokerProviderContext" + } + ], + "ReturnType": "System.Void", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Abstractions.IActionInvokerProvider", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "loader", + "Type": "Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.IPageLoader" + }, + { + "Name": "pageFactoryProvider", + "Type": "Microsoft.AspNetCore.Mvc.RazorPages.IPageFactoryProvider" + }, + { + "Name": "modelFactoryProvider", + "Type": "Microsoft.AspNetCore.Mvc.RazorPages.IPageModelFactoryProvider" + }, + { + "Name": "razorPageFactoryProvider", + "Type": "Microsoft.AspNetCore.Mvc.Razor.IRazorPageFactoryProvider" + }, + { + "Name": "collectionProvider", + "Type": "Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider" + }, + { + "Name": "filterProviders", + "Type": "System.Collections.Generic.IEnumerable" + }, + { + "Name": "parameterBinder", + "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder" + }, + { + "Name": "modelMetadataProvider", + "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider" + }, + { + "Name": "tempDataFactory", + "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory" + }, + { + "Name": "mvcOptions", + "Type": "Microsoft.Extensions.Options.IOptions" + }, + { + "Name": "htmlHelperOptions", + "Type": "Microsoft.Extensions.Options.IOptions" + }, + { + "Name": "selector", + "Type": "Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.IPageHandlerMethodSelector" + }, + { + "Name": "razorProject", + "Type": "Microsoft.AspNetCore.Razor.Language.RazorProject" + }, + { + "Name": "diagnosticSource", + "Type": "System.Diagnostics.DiagnosticSource" + }, + { + "Name": "loggerFactory", + "Type": "Microsoft.Extensions.Logging.ILoggerFactory" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Mvc.RazorPages.Internal.PagePropertyBinderFactory", + "Visibility": "Public", + "Kind": "Class", + "Abstract": true, + "Static": true, + "Sealed": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "CreateBinder", + "Parameters": [ + { + "Name": "parameterBinder", + "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder" + }, + { + "Name": "modelMetadataProvider", + "Type": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider" + }, + { + "Name": "actionDescriptor", + "Type": "Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor" + } + ], + "ReturnType": "System.Func", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Mvc.RazorPages.Internal.PageSaveTempDataPropertyFilter", + "Visibility": "Public", + "Kind": "Class", + "BaseType": "Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.SaveTempDataPropertyFilterBase", + "ImplementedInterfaces": [ + "Microsoft.AspNetCore.Mvc.Filters.IPageFilter" + ], + "Members": [ + { + "Kind": "Method", + "Name": "get_FilterFactory", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Mvc.RazorPages.Internal.PageSaveTempDataPropertyFilterFactory", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_FilterFactory", + "Parameters": [ + { + "Name": "value", + "Type": "Microsoft.AspNetCore.Mvc.RazorPages.Internal.PageSaveTempDataPropertyFilterFactory" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "OnPageHandlerSelected", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Mvc.Filters.PageHandlerSelectedContext" + } + ], + "ReturnType": "System.Void", + "Sealed": true, + "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", + "Sealed": true, + "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", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Mvc.Filters.IPageFilter", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "factory", + "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Mvc.RazorPages.Internal.PageSaveTempDataPropertyFilterFactory", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [ + "Microsoft.AspNetCore.Mvc.Filters.IFilterFactory" + ], + "Members": [ + { + "Kind": "Method", + "Name": "get_Properties", + "Parameters": [], + "ReturnType": "System.Collections.Generic.IList", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_Properties", + "Parameters": [ + { + "Name": "value", + "Type": "System.Collections.Generic.IList" + } + ], + "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": "Method", + "Name": "GetTempDataProperties", + "Parameters": [ + { + "Name": "modelType", + "Type": "System.Type" + } + ], + "ReturnType": "System.Collections.Generic.IList", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Mvc.RazorPages.Internal.PageSelectorModel", + "Visibility": "Public", + "Kind": "Class", + "Abstract": true, + "Static": true, + "Sealed": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "PopulateDefaults", + "Parameters": [ + { + "Name": "model", + "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModel" + }, + { + "Name": "routeTemplate", + "Type": "System.String" + } + ], + "ReturnType": "System.Void", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Mvc.RazorPages.Internal.RazorPagesRazorViewEngineOptionsSetup", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [ + "Microsoft.Extensions.Options.IConfigureOptions" + ], + "Members": [ + { + "Kind": "Method", + "Name": "Configure", + "Parameters": [ + { + "Name": "options", + "Type": "Microsoft.AspNetCore.Mvc.Razor.RazorViewEngineOptions" + } + ], + "ReturnType": "System.Void", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.Extensions.Options.IConfigureOptions", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "pagesOptions", + "Type": "Microsoft.Extensions.Options.IOptions" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Mvc.RazorPages.Internal.RazorProjectPageRouteModelProvider", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [ + "Microsoft.AspNetCore.Mvc.ApplicationModels.IPageRouteModelProvider" + ], + "Members": [ + { + "Kind": "Method", + "Name": "get_Order", + "Parameters": [], + "ReturnType": "System.Int32", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationModels.IPageRouteModelProvider", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "OnProvidersExecuted", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModelProviderContext" + } + ], + "ReturnType": "System.Void", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationModels.IPageRouteModelProvider", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "OnProvidersExecuting", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModelProviderContext" + } + ], + "ReturnType": "System.Void", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationModels.IPageRouteModelProvider", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "razorProject", + "Type": "Microsoft.AspNetCore.Razor.Language.RazorProject" + }, + { + "Name": "pagesOptionsAccessor", + "Type": "Microsoft.Extensions.Options.IOptions" + }, + { + "Name": "loggerFactory", + "Type": "Microsoft.Extensions.Logging.ILoggerFactory" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Mvc.RazorPages.Internal.TempDataFilterPageApplicationModelProvider", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [ + "Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelProvider" + ], + "Members": [ + { + "Kind": "Method", + "Name": "get_Order", + "Parameters": [], + "ReturnType": "System.Int32", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelProvider", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "OnProvidersExecuted", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModelProviderContext" + } + ], + "ReturnType": "System.Void", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelProvider", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "OnProvidersExecuting", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModelProviderContext" + } + ], + "ReturnType": "System.Void", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationModels.IPageApplicationModelProvider", + "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.Internal.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": [] + } + ], + "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.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_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_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": "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": "AddFolderApplicationModelConvention", + "Parameters": [ + { + "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": "AddFolderRouteModelConvention", + "Parameters": [ + { + "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_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": "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": [ + { + "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", + "ImplementedInterfaces": [ + "Microsoft.AspNetCore.Mvc.ApplicationModels.ICommonModel", + "Microsoft.AspNetCore.Mvc.ApplicationModels.IBindingModel" + ], + "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_Attributes", + "Parameters": [], + "ReturnType": "System.Collections.Generic.IReadOnlyList", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationModels.ICommonModel", + "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": "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_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": "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", + "ImplementedInterfaces": [ + "Microsoft.AspNetCore.Mvc.ApplicationModels.ICommonModel", + "Microsoft.AspNetCore.Mvc.ApplicationModels.IBindingModel" + ], + "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_Attributes", + "Parameters": [], + "ReturnType": "System.Collections.Generic.IReadOnlyList", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationModels.ICommonModel", + "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": "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": "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_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": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "relativePath", + "Type": "System.String" + }, + { + "Name": "viewEnginePath", + "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": "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": "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": "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": "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": [] + } + ], + "GenericParameters": [] + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.AspNetCore.Mvc.TagHelpers/baseline.netcore.json b/src/Microsoft.AspNetCore.Mvc.TagHelpers/baseline.netcore.json index 24d8c9a000..0769735973 100644 --- a/src/Microsoft.AspNetCore.Mvc.TagHelpers/baseline.netcore.json +++ b/src/Microsoft.AspNetCore.Mvc.TagHelpers/baseline.netcore.json @@ -1,5 +1,5 @@ { - "AssemblyIdentity": "Microsoft.AspNetCore.Mvc.TagHelpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", + "AssemblyIdentity": "Microsoft.AspNetCore.Mvc.TagHelpers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", "Types": [ { "Name": "Microsoft.AspNetCore.Mvc.Rendering.ValidationSummary", @@ -46,7 +46,7 @@ "ReturnType": "System.Int32", "Virtual": true, "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper", + "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", "Visibility": "Public", "GenericParameter": [] }, @@ -121,6 +121,48 @@ "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", @@ -333,7 +375,7 @@ "ReturnType": "System.Threading.Tasks.Task", "Virtual": true, "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper", + "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", "Visibility": "Public", "GenericParameter": [] }, @@ -342,8 +384,8 @@ "Name": ".ctor", "Parameters": [ { - "Name": "memoryCache", - "Type": "Microsoft.Extensions.Caching.Memory.IMemoryCache" + "Name": "factory", + "Type": "Microsoft.AspNetCore.Mvc.TagHelpers.Internal.CacheTagHelperMemoryCacheFactory" }, { "Name": "htmlEncoder", @@ -381,7 +423,7 @@ "ReturnType": "System.Int32", "Virtual": true, "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper", + "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", "Visibility": "Public", "GenericParameter": [] }, @@ -635,6 +677,53 @@ ], "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": [] @@ -691,7 +780,7 @@ "ReturnType": "System.Threading.Tasks.Task", "Virtual": true, "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper", + "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", "Visibility": "Public", "GenericParameter": [] }, @@ -738,7 +827,7 @@ "ReturnType": "System.Int32", "Virtual": true, "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper", + "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", "Visibility": "Public", "GenericParameter": [] }, @@ -763,6 +852,48 @@ "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", @@ -805,6 +936,255 @@ ], "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", @@ -819,7 +1199,7 @@ "ReturnType": "System.Int32", "Virtual": true, "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper", + "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", "Visibility": "Public", "GenericParameter": [] }, @@ -915,6 +1295,48 @@ "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", @@ -936,6 +1358,27 @@ "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", @@ -1047,7 +1490,7 @@ "ReturnType": "System.Int32", "Virtual": true, "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper", + "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", "Visibility": "Public", "GenericParameter": [] }, @@ -1169,7 +1612,7 @@ "ReturnType": "System.Int32", "Virtual": true, "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper", + "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", "Visibility": "Public", "GenericParameter": [] }, @@ -1305,6 +1748,24 @@ "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", @@ -1334,7 +1795,7 @@ "ReturnType": "System.Int32", "Virtual": true, "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper", + "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", "Visibility": "Public", "GenericParameter": [] }, @@ -1404,7 +1865,7 @@ "ReturnType": "System.Threading.Tasks.Task", "Virtual": true, "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper", + "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", "Visibility": "Public", "GenericParameter": [] }, @@ -1437,7 +1898,7 @@ "ReturnType": "System.Int32", "Virtual": true, "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper", + "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", "Visibility": "Public", "GenericParameter": [] }, @@ -1760,7 +2221,7 @@ "ReturnType": "System.Int32", "Virtual": true, "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper", + "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", "Visibility": "Public", "GenericParameter": [] }, @@ -1830,7 +2291,7 @@ "ReturnType": "System.Threading.Tasks.Task", "Virtual": true, "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper", + "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", "Visibility": "Public", "GenericParameter": [] }, @@ -1863,7 +2324,7 @@ "ReturnType": "System.Int32", "Virtual": true, "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper", + "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", "Visibility": "Public", "GenericParameter": [] }, @@ -1900,7 +2361,7 @@ "ReturnType": "System.Void", "Virtual": true, "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper", + "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", "Visibility": "Public", "GenericParameter": [] }, @@ -1920,7 +2381,7 @@ "ReturnType": "System.Threading.Tasks.Task", "Virtual": true, "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper", + "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", "Visibility": "Public", "GenericParameter": [] }, @@ -1948,7 +2409,7 @@ "ReturnType": "System.Int32", "Virtual": true, "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper", + "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", "Visibility": "Public", "GenericParameter": [] }, @@ -2229,7 +2690,7 @@ "ReturnType": "System.Int32", "Virtual": true, "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper", + "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", "Visibility": "Public", "GenericParameter": [] }, @@ -2316,7 +2777,7 @@ "ReturnType": "System.Void", "Virtual": true, "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper", + "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", "Visibility": "Public", "GenericParameter": [] }, @@ -2441,7 +2902,7 @@ "ReturnType": "System.Int32", "Virtual": true, "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper", + "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", "Visibility": "Public", "GenericParameter": [] }, @@ -2543,7 +3004,7 @@ "ReturnType": "System.Int32", "Virtual": true, "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper", + "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", "Visibility": "Public", "GenericParameter": [] }, @@ -2613,7 +3074,7 @@ "ReturnType": "System.Threading.Tasks.Task", "Virtual": true, "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper", + "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", "Visibility": "Public", "GenericParameter": [] }, @@ -2646,7 +3107,7 @@ "ReturnType": "System.Int32", "Virtual": true, "Override": true, - "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper", + "ImplementedInterface": "Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent", "Visibility": "Public", "GenericParameter": [] }, @@ -2761,7 +3222,7 @@ }, { "Name": "result", - "Type": "TMode", + "Type": "T0", "Direction": "Out" } ], @@ -2779,6 +3240,56 @@ ], "GenericParameters": [] }, + { + "Name": "Microsoft.AspNetCore.Mvc.TagHelpers.Internal.CacheTagHelperMemoryCacheFactory", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "get_Cache", + "Parameters": [], + "ReturnType": "Microsoft.Extensions.Caching.Memory.IMemoryCache", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "options", + "Type": "Microsoft.Extensions.Options.IOptions" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Mvc.TagHelpers.Internal.CryptographyAlgorithms", + "Visibility": "Public", + "Kind": "Class", + "Abstract": true, + "Static": true, + "Sealed": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "CreateSHA256", + "Parameters": [], + "ReturnType": "System.Security.Cryptography.SHA256", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.AspNetCore.Mvc.TagHelpers.Internal.CurrentValues", "Visibility": "Public", @@ -3617,6 +4128,44 @@ "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": [] diff --git a/src/Microsoft.AspNetCore.Mvc.TagHelpers/breakingchanges.netcore.json b/src/Microsoft.AspNetCore.Mvc.TagHelpers/breakingchanges.netcore.json deleted file mode 100644 index da105aa904..0000000000 --- a/src/Microsoft.AspNetCore.Mvc.TagHelpers/breakingchanges.netcore.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.TagHelpers.CacheTagHelper : Microsoft.AspNetCore.Mvc.TagHelpers.CacheTagHelperBase", - "MemberId": "public .ctor(Microsoft.Extensions.Caching.Memory.IMemoryCache memoryCache, System.Text.Encodings.Web.HtmlEncoder htmlEncoder)", - "Kind": "Removal" - } -] \ No newline at end of file diff --git a/src/Microsoft.AspNetCore.Mvc.Testing/baseline.netcore.json b/src/Microsoft.AspNetCore.Mvc.Testing/baseline.netcore.json index 42c2a49e52..2b3ab4a48e 100644 --- a/src/Microsoft.AspNetCore.Mvc.Testing/baseline.netcore.json +++ b/src/Microsoft.AspNetCore.Mvc.Testing/baseline.netcore.json @@ -1,3 +1,445 @@ { - "AssemblyIdentity": "Microsoft.AspNetCore.Mvc.Testing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60" -} + "AssemblyIdentity": "Microsoft.AspNetCore.Mvc.Testing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", + "Types": [ + { + "Name": "Microsoft.AspNetCore.Mvc.Testing.MvcWebApplicationBuilder", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "get_ContentRoot", + "Parameters": [], + "ReturnType": "System.String", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_ContentRoot", + "Parameters": [ + { + "Name": "value", + "Type": "System.String" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_ConfigureServicesBeforeStartup", + "Parameters": [], + "ReturnType": "System.Collections.Generic.IList>", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_ConfigureServicesBeforeStartup", + "Parameters": [ + { + "Name": "value", + "Type": "System.Collections.Generic.IList>" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_ConfigureServicesAfterStartup", + "Parameters": [], + "ReturnType": "System.Collections.Generic.IList>", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_ConfigureServicesAfterStartup", + "Parameters": [ + { + "Name": "value", + "Type": "System.Collections.Generic.IList>" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_ApplicationAssemblies", + "Parameters": [], + "ReturnType": "System.Collections.Generic.List", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_ApplicationAssemblies", + "Parameters": [ + { + "Name": "value", + "Type": "System.Collections.Generic.List" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "ConfigureBeforeStartup", + "Parameters": [ + { + "Name": "configure", + "Type": "System.Action" + } + ], + "ReturnType": "Microsoft.AspNetCore.Mvc.Testing.MvcWebApplicationBuilder", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "ConfigureAfterStartup", + "Parameters": [ + { + "Name": "configure", + "Type": "System.Action" + } + ], + "ReturnType": "Microsoft.AspNetCore.Mvc.Testing.MvcWebApplicationBuilder", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "UseApplicationAssemblies", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Mvc.Testing.MvcWebApplicationBuilder", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "UseSolutionRelativeContentRoot", + "Parameters": [ + { + "Name": "solutionRelativePath", + "Type": "System.String" + }, + { + "Name": "solutionName", + "Type": "System.String", + "DefaultValue": "\"*.sln\"" + } + ], + "ReturnType": "Microsoft.AspNetCore.Mvc.Testing.MvcWebApplicationBuilder", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "Build", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.TestHost.TestServer", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "InitializeServices", + "Parameters": [ + { + "Name": "services", + "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" + } + ], + "ReturnType": "System.Void", + "Virtual": true, + "Visibility": "Protected", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [ + { + "ParameterName": "TStartup", + "ParameterPosition": 0, + "Class": true, + "BaseTypeOrInterfaces": [] + } + ] + }, + { + "Name": "Microsoft.AspNetCore.Mvc.Testing.WebApplicationTestFixture", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [ + "System.IDisposable" + ], + "Members": [ + { + "Kind": "Method", + "Name": "CreateServer", + "Parameters": [ + { + "Name": "builder", + "Type": "Microsoft.AspNetCore.Mvc.Testing.MvcWebApplicationBuilder" + } + ], + "ReturnType": "Microsoft.AspNetCore.TestHost.TestServer", + "Virtual": true, + "Visibility": "Protected", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "ConfigureApplication", + "Parameters": [ + { + "Name": "builder", + "Type": "Microsoft.AspNetCore.Mvc.Testing.MvcWebApplicationBuilder" + } + ], + "ReturnType": "System.Void", + "Virtual": true, + "Visibility": "Protected", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_Client", + "Parameters": [], + "ReturnType": "System.Net.Http.HttpClient", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "CreateClient", + "Parameters": [], + "ReturnType": "System.Net.Http.HttpClient", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "CreateClient", + "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": "Constructor", + "Name": ".ctor", + "Parameters": [], + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "solutionRelativePath", + "Type": "System.String" + } + ], + "Visibility": "Protected", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "solutionSearchPattern", + "Type": "System.String" + }, + { + "Name": "solutionRelativePath", + "Type": "System.String" + } + ], + "Visibility": "Protected", + "GenericParameter": [] + } + ], + "GenericParameters": [ + { + "ParameterName": "TStartup", + "ParameterPosition": 0, + "Class": true, + "BaseTypeOrInterfaces": [] + } + ] + }, + { + "Name": "Microsoft.AspNetCore.Mvc.Testing.Internal.TestServiceRegistrations", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "get_Before", + "Parameters": [], + "ReturnType": "System.Collections.Generic.IList>", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_Before", + "Parameters": [ + { + "Name": "value", + "Type": "System.Collections.Generic.IList>" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_After", + "Parameters": [], + "ReturnType": "System.Collections.Generic.IList>", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_After", + "Parameters": [ + { + "Name": "value", + "Type": "System.Collections.Generic.IList>" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "ConfigureServices", + "Parameters": [ + { + "Name": "services", + "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" + }, + { + "Name": "startupConfigureServices", + "Type": "System.Action" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Mvc.Testing.Internal.TestStartup", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "ConfigureServices", + "Parameters": [ + { + "Name": "services", + "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "Configure", + "Parameters": [ + { + "Name": "applicationBuilder", + "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "serviceProvider", + "Type": "System.IServiceProvider" + }, + { + "Name": "registrations", + "Type": "Microsoft.AspNetCore.Mvc.Testing.Internal.TestServiceRegistrations" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [ + { + "ParameterName": "TStartup", + "ParameterPosition": 0, + "Class": true, + "BaseTypeOrInterfaces": [] + } + ] + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/baseline.netcore.json b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/baseline.netcore.json index f81a74040a..585377619c 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/baseline.netcore.json +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/baseline.netcore.json @@ -1,5 +1,5 @@ { - "AssemblyIdentity": "Microsoft.AspNetCore.Mvc.ViewFeatures, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", + "AssemblyIdentity": "Microsoft.AspNetCore.Mvc.ViewFeatures, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", "Types": [ { "Name": "Microsoft.AspNetCore.Mvc.AutoValidateAntiforgeryTokenAttribute", @@ -424,6 +424,106 @@ ], "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", @@ -646,6 +746,14 @@ "Visibility": "Public", "GenericParameter": [] }, + { + "Kind": "Method", + "Name": "get_Model", + "Parameters": [], + "ReturnType": "System.Object", + "Visibility": "Public", + "GenericParameter": [] + }, { "Kind": "Method", "Name": "get_ViewData", @@ -1031,6 +1139,24 @@ ], "GenericParameters": [] }, + { + "Name": "Microsoft.AspNetCore.Mvc.TempDataAttribute", + "Visibility": "Public", + "Kind": "Class", + "Sealed": true, + "BaseType": "System.Attribute", + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.AspNetCore.Mvc.ValidateAntiForgeryTokenAttribute", "Visibility": "Public", @@ -1133,6 +1259,14 @@ "Visibility": "Public", "GenericParameter": [] }, + { + "Kind": "Method", + "Name": "get_UserClaimsPrincipal", + "Parameters": [], + "ReturnType": "System.Security.Claims.ClaimsPrincipal", + "Visibility": "Public", + "GenericParameter": [] + }, { "Kind": "Method", "Name": "get_RouteData", @@ -1215,6 +1349,14 @@ "Visibility": "Public", "GenericParameter": [] }, + { + "Kind": "Method", + "Name": "get_TempData", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary", + "Visibility": "Public", + "GenericParameter": [] + }, { "Kind": "Method", "Name": "get_ViewEngine", @@ -1388,27 +1530,6 @@ "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", @@ -1430,27 +1551,6 @@ "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_ViewComponentName", @@ -1493,6 +1593,14 @@ "Visibility": "Public", "GenericParameter": [] }, + { + "Kind": "Method", + "Name": "get_Model", + "Parameters": [], + "ReturnType": "System.Object", + "Visibility": "Public", + "GenericParameter": [] + }, { "Kind": "Method", "Name": "get_ViewData", @@ -1516,19 +1624,40 @@ }, { "Kind": "Method", - "Name": "get_ViewEngine", + "Name": "get_TempData", "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine", + "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary", "Visibility": "Public", "GenericParameter": [] }, { "Kind": "Method", - "Name": "set_ViewEngine", + "Name": "set_TempData", "Parameters": [ { "Name": "value", - "Type": "Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine" + "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", @@ -2880,6 +3009,14 @@ "Visibility": "Public", "GenericParameter": [] }, + { + "Kind": "Method", + "Name": "get_TempData", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary", + "Visibility": "Public", + "GenericParameter": [] + }, { "Kind": "Method", "Name": "get_Writer", @@ -2993,6 +3130,16 @@ "Static": true, "Visibility": "Public", "GenericParameter": [] + }, + { + "Kind": "Field", + "Name": "ViewComponentSuffix", + "Parameters": [], + "ReturnType": "System.String", + "Static": true, + "ReadOnly": true, + "Visibility": "Public", + "GenericParameter": [] } ], "GenericParameters": [] @@ -3129,6 +3276,27 @@ "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", @@ -7924,7 +8092,7 @@ "Name": "TextBox", "Parameters": [ { - "Name": "current", + "Name": "expression", "Type": "System.String" }, { @@ -9089,6 +9257,14 @@ "Visibility": "Public", "GenericParameter": [] }, + { + "Kind": "Method", + "Name": "get_HasInnerHtml", + "Parameters": [], + "ReturnType": "System.Boolean", + "Visibility": "Public", + "GenericParameter": [] + }, { "Kind": "Method", "Name": "get_TagName", @@ -9276,6 +9452,38 @@ "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", @@ -10162,6 +10370,83 @@ ], "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", @@ -10280,6 +10565,53 @@ "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", @@ -10384,6 +10716,45 @@ "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", @@ -10939,6 +11310,32 @@ "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", @@ -11009,6 +11406,153 @@ "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" @@ -13605,6 +14149,50 @@ "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", @@ -13697,6 +14285,42 @@ "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", @@ -15530,6 +16154,72 @@ ], "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.ViewContextAttribute", "Visibility": "Public", @@ -16076,6 +16766,22 @@ "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", @@ -16279,6 +16985,22 @@ "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", @@ -16340,6 +17062,14 @@ "Visibility": "Protected", "GenericParameter": [] }, + { + "Kind": "Method", + "Name": "get_ModelMetadataProvider", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider", + "Visibility": "Protected", + "GenericParameter": [] + }, { "Kind": "Method", "Name": "get_WriterFactory", @@ -16382,6 +17112,27 @@ "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", @@ -16414,6 +17165,26 @@ "Visibility": "Public", "GenericParameter": [] }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "writerFactory", + "Type": "Microsoft.AspNetCore.Mvc.Internal.IHttpResponseStreamWriterFactory" + }, + { + "Name": "viewEngine", + "Type": "Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine" + }, + { + "Name": "diagnosticSource", + "Type": "System.Diagnostics.DiagnosticSource" + } + ], + "Visibility": "Protected", + "GenericParameter": [] + }, { "Kind": "Field", "Name": "DefaultContentType", @@ -16427,6 +17198,61 @@ ], "GenericParameters": [] }, + { + "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ArrayPoolBufferSource", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [ + "Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ICharBufferSource" + ], + "Members": [ + { + "Kind": "Method", + "Name": "Rent", + "Parameters": [ + { + "Name": "bufferSize", + "Type": "System.Int32" + } + ], + "ReturnType": "System.Char[]", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ICharBufferSource", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "Return", + "Parameters": [ + { + "Name": "buffer", + "Type": "System.Char[]" + } + ], + "ReturnType": "System.Void", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ICharBufferSource", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "pool", + "Type": "System.Buffers.ArrayPool" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.AutoValidateAntiforgeryTokenAuthorizationFilter", "Visibility": "Public", @@ -16505,6 +17331,188 @@ ], "GenericParameters": [] }, + { + "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.CharArrayBufferSource", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [ + "Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ICharBufferSource" + ], + "Members": [ + { + "Kind": "Method", + "Name": "Rent", + "Parameters": [ + { + "Name": "bufferSize", + "Type": "System.Int32" + } + ], + "ReturnType": "System.Char[]", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ICharBufferSource", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "Return", + "Parameters": [ + { + "Name": "buffer", + "Type": "System.Char[]" + } + ], + "ReturnType": "System.Void", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ICharBufferSource", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [], + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Field", + "Name": "Instance", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.CharArrayBufferSource", + "Static": true, + "ReadOnly": true, + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ControllerSaveTempDataPropertyFilter", + "Visibility": "Public", + "Kind": "Class", + "BaseType": "Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.SaveTempDataPropertyFilterBase", + "ImplementedInterfaces": [ + "Microsoft.AspNetCore.Mvc.Filters.IActionFilter" + ], + "Members": [ + { + "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": "factory", + "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ControllerSaveTempDataPropertyFilterFactory", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [ + "Microsoft.AspNetCore.Mvc.Filters.IFilterFactory" + ], + "Members": [ + { + "Kind": "Method", + "Name": "get_TempDataProperties", + "Parameters": [], + "ReturnType": "System.Collections.Generic.IList", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_TempDataProperties", + "Parameters": [ + { + "Name": "value", + "Type": "System.Collections.Generic.IList" + } + ], + "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.Internal.DefaultDisplayTemplates", "Visibility": "Public", @@ -17141,6 +18149,64 @@ ], "GenericParameters": [] }, + { + "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ICharBufferSource", + "Visibility": "Public", + "Kind": "Interface", + "Abstract": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "Rent", + "Parameters": [ + { + "Name": "bufferSize", + "Type": "System.Int32" + } + ], + "ReturnType": "System.Char[]", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "Return", + "Parameters": [ + { + "Name": "buffer", + "Type": "System.Char[]" + } + ], + "ReturnType": "System.Void", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ISaveTempDataCallback", + "Visibility": "Public", + "Kind": "Interface", + "Abstract": true, + "ImplementedInterfaces": [ + "Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata" + ], + "Members": [ + { + "Kind": "Method", + "Name": "OnTempDataSaving", + "Parameters": [ + { + "Name": "tempData", + "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary" + } + ], + "ReturnType": "System.Void", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.IViewBufferScope", "Visibility": "Public", @@ -17288,24 +18354,23 @@ "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.MvcViewOptionsSetup", "Visibility": "Public", "Kind": "Class", - "BaseType": "Microsoft.Extensions.Options.ConfigureOptions", - "ImplementedInterfaces": [], + "ImplementedInterfaces": [ + "Microsoft.Extensions.Options.IConfigureOptions" + ], "Members": [ { "Kind": "Method", - "Name": "ConfigureMvc", + "Name": "Configure", "Parameters": [ { "Name": "options", "Type": "Microsoft.AspNetCore.Mvc.MvcViewOptions" - }, - { - "Name": "serviceProvider", - "Type": "System.IServiceProvider" } ], "ReturnType": "System.Void", - "Static": true, + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.Extensions.Options.IConfigureOptions", "Visibility": "Public", "GenericParameter": [] }, @@ -17314,12 +18379,114 @@ "Name": ".ctor", "Parameters": [ { - "Name": "serviceProvider", - "Type": "System.IServiceProvider" + "Name": "dataAnnotationLocalizationOptions", + "Type": "Microsoft.Extensions.Options.IOptions" + }, + { + "Name": "validationAttributeAdapterProvider", + "Type": "Microsoft.AspNetCore.Mvc.DataAnnotations.IValidationAttributeAdapterProvider" } ], "Visibility": "Public", "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "dataAnnotationOptions", + "Type": "Microsoft.Extensions.Options.IOptions" + }, + { + "Name": "validationAttributeAdapterProvider", + "Type": "Microsoft.AspNetCore.Mvc.DataAnnotations.IValidationAttributeAdapterProvider" + }, + { + "Name": "stringLocalizerFactory", + "Type": "Microsoft.Extensions.Localization.IStringLocalizerFactory" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.NameAndIdProvider", + "Visibility": "Public", + "Kind": "Class", + "Abstract": true, + "Static": true, + "Sealed": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "CreateSanitizedId", + "Parameters": [ + { + "Name": "viewContext", + "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" + }, + { + "Name": "fullName", + "Type": "System.String" + }, + { + "Name": "invalidCharReplacement", + "Type": "System.String" + } + ], + "ReturnType": "System.String", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "GenerateId", + "Parameters": [ + { + "Name": "viewContext", + "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" + }, + { + "Name": "tagBuilder", + "Type": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder" + }, + { + "Name": "fullName", + "Type": "System.String" + }, + { + "Name": "invalidCharReplacement", + "Type": "System.String" + } + ], + "ReturnType": "System.Void", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "GetFullHtmlFieldName", + "Parameters": [ + { + "Name": "viewContext", + "Type": "Microsoft.AspNetCore.Mvc.Rendering.ViewContext" + }, + { + "Name": "expression", + "Type": "System.String" + } + ], + "ReturnType": "System.String", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] } ], "GenericParameters": [] @@ -17567,6 +18734,119 @@ ], "Visibility": "Public", "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.PagedCharBuffer", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [ + "System.IDisposable" + ], + "Members": [ + { + "Kind": "Method", + "Name": "get_BufferSource", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ICharBufferSource", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_Pages", + "Parameters": [], + "ReturnType": "System.Collections.Generic.IList", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_Length", + "Parameters": [], + "ReturnType": "System.Int32", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "Append", + "Parameters": [ + { + "Name": "value", + "Type": "System.Char" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "Append", + "Parameters": [ + { + "Name": "value", + "Type": "System.String" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "Append", + "Parameters": [ + { + "Name": "buffer", + "Type": "System.Char[]" + }, + { + "Name": "index", + "Type": "System.Int32" + }, + { + "Name": "count", + "Type": "System.Int32" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "Clear", + "Parameters": [], + "ReturnType": "System.Void", + "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": "bufferSource", + "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ICharBufferSource" + } + ], + "Visibility": "Public", + "GenericParameter": [] }, { "Kind": "Field", @@ -17765,15 +19045,218 @@ "GenericParameters": [] }, { - "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.TempDataMvcOptionsSetup", + "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.SaveTempDataPropertyFilterBase", "Visibility": "Public", "Kind": "Class", - "BaseType": "Microsoft.Extensions.Options.ConfigureOptions", - "ImplementedInterfaces": [], + "Abstract": true, + "ImplementedInterfaces": [ + "Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ISaveTempDataCallback" + ], "Members": [ { "Kind": "Method", - "Name": "ConfigureMvc", + "Name": "get_Properties", + "Parameters": [], + "ReturnType": "System.Collections.Generic.IList", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_Properties", + "Parameters": [ + { + "Name": "value", + "Type": "System.Collections.Generic.IList" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_Subject", + "Parameters": [], + "ReturnType": "System.Object", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_Subject", + "Parameters": [ + { + "Name": "value", + "Type": "System.Object" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_OriginalValues", + "Parameters": [], + "ReturnType": "System.Collections.Generic.IDictionary", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "OnTempDataSaving", + "Parameters": [ + { + "Name": "tempData", + "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary" + } + ], + "ReturnType": "System.Void", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ISaveTempDataCallback", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "GetTempDataProperties", + "Parameters": [ + { + "Name": "type", + "Type": "System.Type" + } + ], + "ReturnType": "System.Collections.Generic.IList", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "SetPropertyVaules", + "Parameters": [ + { + "Name": "tempData", + "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary" + }, + { + "Name": "subject", + "Type": "System.Object" + } + ], + "ReturnType": "System.Void", + "Visibility": "Protected", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "factory", + "Type": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory" + } + ], + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Field", + "Name": "_factory", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory", + "ReadOnly": true, + "Visibility": "Protected", + "GenericParameter": [] + }, + { + "Kind": "Field", + "Name": "Prefix", + "Parameters": [], + "ReturnType": "System.String", + "Static": true, + "Visibility": "Protected", + "GenericParameter": [], + "Constant": true, + "Literal": "\"TempDataProperty-\"" + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.TempDataApplicationModelProvider", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [ + "Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider" + ], + "Members": [ + { + "Kind": "Method", + "Name": "get_Order", + "Parameters": [], + "ReturnType": "System.Int32", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "OnProvidersExecuted", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModelProviderContext" + } + ], + "ReturnType": "System.Void", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "OnProvidersExecuting", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModelProviderContext" + } + ], + "ReturnType": "System.Void", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelProvider", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.TempDataMvcOptionsSetup", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [ + "Microsoft.Extensions.Options.IConfigureOptions" + ], + "Members": [ + { + "Kind": "Method", + "Name": "Configure", "Parameters": [ { "Name": "options", @@ -17781,7 +19264,144 @@ } ], "ReturnType": "System.Void", - "Static": true, + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.Extensions.Options.IConfigureOptions", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.TempDataProperty", + "Visibility": "Public", + "Kind": "Struct", + "Sealed": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "get_TempDataKey", + "Parameters": [], + "ReturnType": "System.String", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_PropertyInfo", + "Parameters": [], + "ReturnType": "System.Reflection.PropertyInfo", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "GetValue", + "Parameters": [ + { + "Name": "obj", + "Type": "System.Object" + } + ], + "ReturnType": "System.Object", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "SetValue", + "Parameters": [ + { + "Name": "obj", + "Type": "System.Object" + }, + { + "Name": "value", + "Type": "System.Object" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "tempDataKey", + "Type": "System.String" + }, + { + "Name": "propertyInfo", + "Type": "System.Reflection.PropertyInfo" + }, + { + "Name": "getter", + "Type": "System.Func" + }, + { + "Name": "setter", + "Type": "System.Action" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.TempDataSerializer", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "Deserialize", + "Parameters": [ + { + "Name": "value", + "Type": "System.Byte[]" + } + ], + "ReturnType": "System.Collections.Generic.IDictionary", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "Serialize", + "Parameters": [ + { + "Name": "values", + "Type": "System.Collections.Generic.IDictionary" + } + ], + "ReturnType": "System.Byte[]", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "EnsureObjectCanBeSerialized", + "Parameters": [ + { + "Name": "item", + "Type": "System.Object" + } + ], + "ReturnType": "System.Void", "Visibility": "Public", "GenericParameter": [] }, @@ -17929,9 +19549,22 @@ "Members": [ { "Kind": "Method", - "Name": "get_Pages", + "Name": "get_Count", "Parameters": [], - "ReturnType": "System.Collections.Generic.IList", + "ReturnType": "System.Int32", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_Item", + "Parameters": [ + { + "Name": "index", + "Type": "System.Int32" + } + ], + "ReturnType": "Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ViewBufferPage", "Visibility": "Public", "GenericParameter": [] }, @@ -18613,6 +20246,7 @@ } ], "ReturnType": "System.Threading.Tasks.Task", + "Virtual": true, "Visibility": "Public", "GenericParameter": [] }, @@ -18624,10 +20258,6 @@ "Name": "mvcHelperOptions", "Type": "Microsoft.Extensions.Options.IOptions" }, - { - "Name": "viewComponentHelper", - "Type": "Microsoft.AspNetCore.Mvc.IViewComponentHelper" - }, { "Name": "loggerFactory", "Type": "Microsoft.Extensions.Logging.ILoggerFactory" @@ -18651,6 +20281,46 @@ ], "GenericParameters": [] }, + { + "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ViewDataDictionaryFactory", + "Visibility": "Public", + "Kind": "Class", + "Abstract": true, + "Static": true, + "Sealed": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "CreateFactory", + "Parameters": [ + { + "Name": "modelType", + "Type": "System.Reflection.TypeInfo" + } + ], + "ReturnType": "System.Func", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "CreateNestedFactory", + "Parameters": [ + { + "Name": "modelType", + "Type": "System.Reflection.TypeInfo" + } + ], + "ReturnType": "System.Func", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ViewResultExecutor", "Visibility": "Public", @@ -18751,19 +20421,6 @@ "Kind": "Class", "ImplementedInterfaces": [], "Members": [ - { - "Kind": "Method", - "Name": "GetViewComponentMethodExecutor", - "Parameters": [ - { - "Name": "viewComponentContext", - "Type": "Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext" - } - ], - "ReturnType": "Microsoft.AspNetCore.Mvc.Internal.ObjectMethodExecutor", - "Visibility": "Public", - "GenericParameter": [] - }, { "Kind": "Constructor", "Name": ".ctor", @@ -18960,6 +20617,55 @@ "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": [] @@ -18988,6 +20694,21 @@ "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", @@ -19007,6 +20728,25 @@ "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", @@ -19097,6 +20837,94 @@ ], "GenericParameters": [] }, + { + "Name": "Microsoft.Extensions.Internal.ObjectMethodExecutorAwaitable+Awaiter", + "Visibility": "Public", + "Kind": "Struct", + "Sealed": true, + "ImplementedInterfaces": [ + "System.Runtime.CompilerServices.ICriticalNotifyCompletion" + ], + "Members": [ + { + "Kind": "Method", + "Name": "get_IsCompleted", + "Parameters": [], + "ReturnType": "System.Boolean", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "GetResult", + "Parameters": [], + "ReturnType": "System.Object", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "OnCompleted", + "Parameters": [ + { + "Name": "continuation", + "Type": "System.Action" + } + ], + "ReturnType": "System.Void", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "System.Runtime.CompilerServices.INotifyCompletion", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "UnsafeOnCompleted", + "Parameters": [ + { + "Name": "continuation", + "Type": "System.Action" + } + ], + "ReturnType": "System.Void", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "System.Runtime.CompilerServices.ICriticalNotifyCompletion", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "customAwaiter", + "Type": "System.Object" + }, + { + "Name": "isCompletedMethod", + "Type": "System.Func" + }, + { + "Name": "getResultMethod", + "Type": "System.Func" + }, + { + "Name": "onCompletedMethod", + "Type": "System.Action" + }, + { + "Name": "unsafeOnCompletedMethod", + "Type": "System.Action" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.AspNetCore.Mvc.ViewFeatures.AttributeDictionary+KeyCollection+Enumerator", "Visibility": "Public", diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/breakingchanges.netcore.json b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/breakingchanges.netcore.json deleted file mode 100644 index 9daf3b1691..0000000000 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/breakingchanges.netcore.json +++ /dev/null @@ -1,37 +0,0 @@ -[ - { - "TypeId": "public interface Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "MemberId": "Microsoft.AspNetCore.Html.IHtmlContent TextBox(System.String current, System.Object value, System.String format, System.Object htmlAttributes)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ViewFeatures.DefaultHtmlGenerator : Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator", - "MemberId": "public .ctor(Microsoft.AspNetCore.Antiforgery.IAntiforgery antiforgery, Microsoft.Extensions.Options.IOptions optionsAccessor, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider metadataProvider, Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory urlHelperFactory, System.Text.Encodings.Web.HtmlEncoder htmlEncoder, Microsoft.AspNetCore.Mvc.Internal.ClientValidatorCache clientValidatorCache)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ViewComponentResult : Microsoft.AspNetCore.Mvc.ActionResult", - "MemberId": "public Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine get_ViewEngine()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ViewComponentResult : Microsoft.AspNetCore.Mvc.ActionResult", - "MemberId": "public System.Void set_ViewEngine(Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine value)", - "Kind": "Removal" - }, - { - "TypeId": "public interface Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "MemberId": "Microsoft.AspNetCore.Html.IHtmlContent TextBox(System.String expression, System.Object value, System.String format, System.Object htmlAttributes)", - "Kind": "Addition" - }, - { - "TypeId": "public interface Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator", - "MemberId": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder GeneratePageForm(Microsoft.AspNetCore.Mvc.Rendering.ViewContext viewContext, System.String pageName, System.String pageHandler, System.Object routeValues, System.String fragment, System.String method, System.Object htmlAttributes)", - "Kind": "Addition" - }, - { - "TypeId": "public interface Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator", - "MemberId": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder GeneratePageLink(Microsoft.AspNetCore.Mvc.Rendering.ViewContext viewContext, System.String linkText, System.String pageName, System.String pageHandler, System.String protocol, System.String hostname, System.String fragment, System.Object routeValues, System.Object htmlAttributes)", - "Kind": "Addition" - } -] \ No newline at end of file diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/breakingchanges.netframework.json b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/breakingchanges.netframework.json deleted file mode 100644 index 9daf3b1691..0000000000 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/breakingchanges.netframework.json +++ /dev/null @@ -1,37 +0,0 @@ -[ - { - "TypeId": "public interface Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "MemberId": "Microsoft.AspNetCore.Html.IHtmlContent TextBox(System.String current, System.Object value, System.String format, System.Object htmlAttributes)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ViewFeatures.DefaultHtmlGenerator : Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator", - "MemberId": "public .ctor(Microsoft.AspNetCore.Antiforgery.IAntiforgery antiforgery, Microsoft.Extensions.Options.IOptions optionsAccessor, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider metadataProvider, Microsoft.AspNetCore.Mvc.Routing.IUrlHelperFactory urlHelperFactory, System.Text.Encodings.Web.HtmlEncoder htmlEncoder, Microsoft.AspNetCore.Mvc.Internal.ClientValidatorCache clientValidatorCache)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ViewComponentResult : Microsoft.AspNetCore.Mvc.ActionResult", - "MemberId": "public Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine get_ViewEngine()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Mvc.ViewComponentResult : Microsoft.AspNetCore.Mvc.ActionResult", - "MemberId": "public System.Void set_ViewEngine(Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine value)", - "Kind": "Removal" - }, - { - "TypeId": "public interface Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper", - "MemberId": "Microsoft.AspNetCore.Html.IHtmlContent TextBox(System.String expression, System.Object value, System.String format, System.Object htmlAttributes)", - "Kind": "Addition" - }, - { - "TypeId": "public interface Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator", - "MemberId": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder GeneratePageForm(Microsoft.AspNetCore.Mvc.Rendering.ViewContext viewContext, System.String pageName, System.String pageHandler, System.Object routeValues, System.String fragment, System.String method, System.Object htmlAttributes)", - "Kind": "Addition" - }, - { - "TypeId": "public interface Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator", - "MemberId": "Microsoft.AspNetCore.Mvc.Rendering.TagBuilder GeneratePageLink(Microsoft.AspNetCore.Mvc.Rendering.ViewContext viewContext, System.String linkText, System.String pageName, System.String pageHandler, System.String protocol, System.String hostname, System.String fragment, System.Object routeValues, System.Object htmlAttributes)", - "Kind": "Addition" - } -] \ No newline at end of file diff --git a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/baseline.netcore.json b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/baseline.netcore.json index 250c54e9cb..0c6895d69e 100644 --- a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/baseline.netcore.json +++ b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/baseline.netcore.json @@ -1,5 +1,5 @@ { - "AssemblyIdentity": "Microsoft.AspNetCore.Mvc.WebApiCompatShim, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", + "AssemblyIdentity": "Microsoft.AspNetCore.Mvc.WebApiCompatShim, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", "Types": [ { "Name": "System.Net.Http.HttpRequestMessageExtensions", @@ -2027,36 +2027,6 @@ } ] }, - { - "Name": "System.Web.Http.ResponseMessageResult", - "Visibility": "Public", - "Kind": "Class", - "BaseType": "Microsoft.AspNetCore.Mvc.ObjectResult", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Response", - "Parameters": [], - "ReturnType": "System.Net.Http.HttpResponseMessage", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [ - { - "Name": "response", - "Type": "System.Net.Http.HttpResponseMessage" - } - ], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, { "Name": "System.Web.Http.FromUriAttribute", "Visibility": "Public", @@ -2137,6 +2107,36 @@ ], "GenericParameters": [] }, + { + "Name": "System.Web.Http.ResponseMessageResult", + "Visibility": "Public", + "Kind": "Class", + "BaseType": "Microsoft.AspNetCore.Mvc.ObjectResult", + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "get_Response", + "Parameters": [], + "ReturnType": "System.Net.Http.HttpResponseMessage", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "response", + "Type": "System.Net.Http.HttpResponseMessage" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.AspNetCore.Builder.WebApiCompatShimRouteBuilderExtensions", "Visibility": "Public", @@ -2282,286 +2282,6 @@ ], "GenericParameters": [] }, - { - "Name": "Microsoft.AspNetCore.Mvc.WebApiCompatShim.FormDataCollectionExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "NormalizeJQueryToMvc", - "Parameters": [ - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetJQueryNameValuePairs", - "Parameters": [ - { - "Name": "formData", - "Type": "System.Net.Http.Formatting.FormDataCollection" - } - ], - "ReturnType": "System.Collections.Generic.IEnumerable>", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.WebApiCompatShim.HttpResponseExceptionActionFilter", - "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": "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", - "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.WebApiCompatShim.OverloadActionConstraint", - "Visibility": "Public", - "Kind": "Class", - "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": "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": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.WebApiCompatShim.WebApiCompatShimOptions", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_Formatters", - "Parameters": [], - "ReturnType": "System.Net.Http.Formatting.MediaTypeFormatterCollection", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_Formatters", - "Parameters": [ - { - "Name": "value", - "Type": "System.Net.Http.Formatting.MediaTypeFormatterCollection" - } - ], - "ReturnType": "System.Void", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Mvc.WebApiCompatShim.WebApiCompatShimOptionsSetup", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.Extensions.Options.IConfigureOptions", - "Microsoft.Extensions.Options.IConfigureOptions" - ], - "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": "Configure", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Mvc.MvcOptions" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.Extensions.Options.IConfigureOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Configure", - "Parameters": [ - { - "Name": "options", - "Type": "Microsoft.AspNetCore.Mvc.WebApiCompatShim.WebApiCompatShimOptions" - } - ], - "ReturnType": "System.Void", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.Extensions.Options.IConfigureOptions", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "DefaultAreaName", - "Parameters": [], - "ReturnType": "System.String", - "Static": true, - "ReadOnly": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, { "Name": "Microsoft.AspNetCore.Mvc.WebApiCompatShim.IUseWebApiActionConventions", "Visibility": "Public", @@ -2865,6 +2585,47 @@ ], "GenericParameters": [] }, + { + "Name": "Microsoft.AspNetCore.Mvc.WebApiCompatShim.FormDataCollectionExtensions", + "Visibility": "Public", + "Kind": "Class", + "Abstract": true, + "Static": true, + "Sealed": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "NormalizeJQueryToMvc", + "Parameters": [ + { + "Name": "key", + "Type": "System.String" + } + ], + "ReturnType": "System.String", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "GetJQueryNameValuePairs", + "Parameters": [ + { + "Name": "formData", + "Type": "System.Net.Http.Formatting.FormDataCollection" + } + ], + "ReturnType": "System.Collections.Generic.IEnumerable>", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.AspNetCore.Mvc.WebApiCompatShim.HttpRequestMessageFeature", "Visibility": "Public", @@ -3039,6 +2800,245 @@ ], "GenericParameters": [] }, + { + "Name": "Microsoft.AspNetCore.Mvc.WebApiCompatShim.HttpResponseExceptionActionFilter", + "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": "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", + "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.WebApiCompatShim.OverloadActionConstraint", + "Visibility": "Public", + "Kind": "Class", + "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": "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": "Constructor", + "Name": ".ctor", + "Parameters": [], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Mvc.WebApiCompatShim.WebApiCompatShimOptions", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "get_Formatters", + "Parameters": [], + "ReturnType": "System.Net.Http.Formatting.MediaTypeFormatterCollection", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_Formatters", + "Parameters": [ + { + "Name": "value", + "Type": "System.Net.Http.Formatting.MediaTypeFormatterCollection" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Mvc.WebApiCompatShim.WebApiCompatShimOptionsSetup", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [ + "Microsoft.Extensions.Options.IConfigureOptions", + "Microsoft.Extensions.Options.IConfigureOptions" + ], + "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": "Configure", + "Parameters": [ + { + "Name": "options", + "Type": "Microsoft.AspNetCore.Mvc.MvcOptions" + } + ], + "ReturnType": "System.Void", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.Extensions.Options.IConfigureOptions", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "Configure", + "Parameters": [ + { + "Name": "options", + "Type": "Microsoft.AspNetCore.Mvc.WebApiCompatShim.WebApiCompatShimOptions" + } + ], + "ReturnType": "System.Void", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.Extensions.Options.IConfigureOptions", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [], + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Field", + "Name": "DefaultAreaName", + "Parameters": [], + "ReturnType": "System.String", + "Static": true, + "ReadOnly": true, + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.Extensions.DependencyInjection.WebApiCompatShimMvcBuilderExtensions", "Visibility": "Public", diff --git a/src/Microsoft.AspNetCore.Mvc/baseline.netcore.json b/src/Microsoft.AspNetCore.Mvc/baseline.netcore.json index b96adb82be..a845f84d38 100644 --- a/src/Microsoft.AspNetCore.Mvc/baseline.netcore.json +++ b/src/Microsoft.AspNetCore.Mvc/baseline.netcore.json @@ -1,5 +1,5 @@ { - "AssemblyIdentity": "Microsoft.AspNetCore.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", + "AssemblyIdentity": "Microsoft.AspNetCore.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", "Types": [ { "Name": "Microsoft.Extensions.DependencyInjection.MvcServiceCollectionExtensions", From bd8b4d86dfb90cdbb3ac1c7af6e0864f1194d193 Mon Sep 17 00:00:00 2001 From: Jass Bagga Date: Mon, 25 Sep 2017 16:01:15 -0700 Subject: [PATCH 13/22] Port fix for #6875: Only set Content-Length when serving body (#6888) Addresses #6887 --- .../Internal/FileResultExecutorBase.cs | 7 +++++-- .../FileContentResultTest.cs | 4 ++-- .../FileStreamResultTest.cs | 4 ++-- .../PhysicalFileResultTest.cs | 4 ++-- .../VirtualFileResultTest.cs | 4 ++-- 5 files changed, 13 insertions(+), 10 deletions(-) diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/FileResultExecutorBase.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/FileResultExecutorBase.cs index d010fb8d17..78a8a31fb1 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/FileResultExecutorBase.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/FileResultExecutorBase.cs @@ -90,8 +90,11 @@ namespace Microsoft.AspNetCore.Mvc.Internal // Assuming the request is not a range request, the Content-Length header is set to the length of the entire file. // If the request is a valid range request, this header is overwritten with the length of the range as part of the // range processing (see method SetContentLength). - response.ContentLength = fileLength.Value; - + if (serveBody) + { + response.ContentLength = fileLength.Value; + } + if (enableRangeProcessing) { SetAcceptRangeHeader(context); diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/FileContentResultTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/FileContentResultTest.cs index 4127d3b875..3df8cd7558 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/FileContentResultTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/FileContentResultTest.cs @@ -376,7 +376,7 @@ namespace Microsoft.AspNetCore.Mvc var streamReader = new StreamReader(httpResponse.Body); var body = streamReader.ReadToEndAsync().Result; Assert.Equal(StatusCodes.Status412PreconditionFailed, httpResponse.StatusCode); - Assert.Equal(11, httpResponse.ContentLength); + Assert.Null(httpResponse.ContentLength); Assert.Empty(httpResponse.Headers[HeaderNames.ContentRange]); Assert.NotEmpty(httpResponse.Headers[HeaderNames.LastModified]); Assert.Empty(body); @@ -417,7 +417,7 @@ namespace Microsoft.AspNetCore.Mvc var streamReader = new StreamReader(httpResponse.Body); var body = streamReader.ReadToEndAsync().Result; Assert.Equal(StatusCodes.Status304NotModified, httpResponse.StatusCode); - Assert.Equal(11, httpResponse.ContentLength); + Assert.Null(httpResponse.ContentLength); Assert.Empty(httpResponse.Headers[HeaderNames.ContentRange]); Assert.NotEmpty(httpResponse.Headers[HeaderNames.LastModified]); Assert.Empty(body); diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/FileStreamResultTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/FileStreamResultTest.cs index 7677676cef..67137b0d67 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/FileStreamResultTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/FileStreamResultTest.cs @@ -366,7 +366,7 @@ namespace Microsoft.AspNetCore.Mvc var streamReader = new StreamReader(httpResponse.Body); var body = streamReader.ReadToEndAsync().Result; Assert.Equal(StatusCodes.Status412PreconditionFailed, httpResponse.StatusCode); - Assert.Equal(11, httpResponse.ContentLength); + Assert.Null(httpResponse.ContentLength); Assert.Empty(httpResponse.Headers[HeaderNames.ContentRange]); Assert.NotEmpty(httpResponse.Headers[HeaderNames.LastModified]); Assert.Empty(body); @@ -408,7 +408,7 @@ namespace Microsoft.AspNetCore.Mvc var streamReader = new StreamReader(httpResponse.Body); var body = streamReader.ReadToEndAsync().Result; Assert.Equal(StatusCodes.Status304NotModified, httpResponse.StatusCode); - Assert.Equal(11, httpResponse.ContentLength); + Assert.Null(httpResponse.ContentLength); Assert.Empty(httpResponse.Headers[HeaderNames.ContentRange]); Assert.NotEmpty(httpResponse.Headers[HeaderNames.LastModified]); Assert.Empty(body); diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/PhysicalFileResultTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/PhysicalFileResultTest.cs index 77e82bf686..7b91bb1af7 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/PhysicalFileResultTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/PhysicalFileResultTest.cs @@ -241,7 +241,7 @@ namespace Microsoft.AspNetCore.Mvc var body = streamReader.ReadToEndAsync().Result; Assert.Equal(StatusCodes.Status412PreconditionFailed, httpResponse.StatusCode); Assert.Equal("bytes", httpResponse.Headers[HeaderNames.AcceptRanges]); - Assert.Equal(34, httpResponse.ContentLength); + Assert.Null(httpResponse.ContentLength); Assert.Empty(httpResponse.Headers[HeaderNames.ContentRange]); Assert.NotEmpty(httpResponse.Headers[HeaderNames.LastModified]); Assert.Empty(body); @@ -271,7 +271,7 @@ namespace Microsoft.AspNetCore.Mvc var body = streamReader.ReadToEndAsync().Result; Assert.Equal(StatusCodes.Status304NotModified, httpResponse.StatusCode); Assert.Equal("bytes", httpResponse.Headers[HeaderNames.AcceptRanges]); - Assert.Equal(34, httpResponse.ContentLength); + Assert.Null(httpResponse.ContentLength); Assert.Empty(httpResponse.Headers[HeaderNames.ContentRange]); Assert.NotEmpty(httpResponse.Headers[HeaderNames.LastModified]); Assert.Empty(body); diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/VirtualFileResultTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/VirtualFileResultTest.cs index 07b5f7e72c..2f8f10ba21 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/VirtualFileResultTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/VirtualFileResultTest.cs @@ -313,7 +313,7 @@ namespace Microsoft.AspNetCore.Mvc var body = streamReader.ReadToEndAsync().Result; Assert.Equal(StatusCodes.Status412PreconditionFailed, httpResponse.StatusCode); Assert.Equal("bytes", httpResponse.Headers[HeaderNames.AcceptRanges]); - Assert.Equal(33, httpResponse.ContentLength); + Assert.Null(httpResponse.ContentLength); Assert.Empty(httpResponse.Headers[HeaderNames.ContentRange]); Assert.NotEmpty(httpResponse.Headers[HeaderNames.LastModified]); Assert.Empty(body); @@ -355,7 +355,7 @@ namespace Microsoft.AspNetCore.Mvc var body = streamReader.ReadToEndAsync().Result; Assert.Equal(StatusCodes.Status304NotModified, httpResponse.StatusCode); Assert.Equal("bytes", httpResponse.Headers[HeaderNames.AcceptRanges]); - Assert.Equal(33, httpResponse.ContentLength); + Assert.Null(httpResponse.ContentLength); Assert.Empty(httpResponse.Headers[HeaderNames.ContentRange]); Assert.NotEmpty(httpResponse.Headers[HeaderNames.LastModified]); Assert.Empty(body); From fb142f0b24cc9a5e9485ffb91bdf6a6c1b85ba01 Mon Sep 17 00:00:00 2001 From: Nate McMaster Date: Fri, 29 Sep 2017 17:02:30 -0700 Subject: [PATCH 14/22] Import dependencies.props last to ensure TargetFramework is set first --- Directory.Build.targets | 1 + build/common.props | 1 - build/dependencies.props | 2 ++ test/WebSites/FSharpWebSite/FSharpWebSite.fsproj | 1 - 4 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Directory.Build.targets b/Directory.Build.targets index d8f1db62cd..5d5f288682 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -1,4 +1,5 @@ + diff --git a/build/common.props b/build/common.props index 9b59b886de..0990cbe9f0 100644 --- a/build/common.props +++ b/build/common.props @@ -1,5 +1,4 @@ - diff --git a/build/dependencies.props b/build/dependencies.props index 9a657dca0f..4e233b3224 100644 --- a/build/dependencies.props +++ b/build/dependencies.props @@ -19,4 +19,6 @@ 2.3.0-beta2-build3683 2.3.0-beta2-build1317 + + diff --git a/test/WebSites/FSharpWebSite/FSharpWebSite.fsproj b/test/WebSites/FSharpWebSite/FSharpWebSite.fsproj index 5b250bab5f..30c4b73c19 100644 --- a/test/WebSites/FSharpWebSite/FSharpWebSite.fsproj +++ b/test/WebSites/FSharpWebSite/FSharpWebSite.fsproj @@ -1,5 +1,4 @@  - netcoreapp2.0 From bf7c9e053e92be02b1833e5d3f0dd1550badd6fe Mon Sep 17 00:00:00 2001 From: Nate McMaster Date: Mon, 2 Oct 2017 14:13:16 -0700 Subject: [PATCH 15/22] Use MSBuild to set NuGet feeds instead of NuGet.config --- Directory.Build.targets | 1 + NuGet.config | 5 +---- build/dependencies.props | 2 +- build/sources.props | 14 ++++++++++++++ .../Microsoft.AspNetCore.Mvc.Core.csproj | 2 +- 5 files changed, 18 insertions(+), 6 deletions(-) create mode 100644 build/sources.props diff --git a/Directory.Build.targets b/Directory.Build.targets index 5d5f288682..7bf9e763a6 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -1,4 +1,5 @@ + diff --git a/NuGet.config b/NuGet.config index 21510b3a41..e32bddfd51 100644 --- a/NuGet.config +++ b/NuGet.config @@ -2,9 +2,6 @@ - - - - + diff --git a/build/dependencies.props b/build/dependencies.props index 4e233b3224..636ae93f4d 100644 --- a/build/dependencies.props +++ b/build/dependencies.props @@ -4,11 +4,11 @@ 0.10.3 4.4.0 4.4.1 - 2.0.0 4.2.1 1.0.5 2.0.1-rtm-15400 1.0.1 + 2.0.2-servicing-25728-02 4.7.49 2.0.0 2.0.0 diff --git a/build/sources.props b/build/sources.props new file mode 100644 index 0000000000..ff68f685fa --- /dev/null +++ b/build/sources.props @@ -0,0 +1,14 @@ + + + + + $(DotNetRestoreSources) + + $(RestoreSources); + https://dotnet.myget.org/F/aspnet-2-0-2-october2017-patch/api/v3/index.json; + https://dotnet.myget.org/F/aspnetcore-master/api/v3/index.json; + https://dotnet.myget.org/F/aspnetcore-tools/api/v3/index.json; + https://api.nuget.org/v3/index.json; + + + diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Microsoft.AspNetCore.Mvc.Core.csproj b/src/Microsoft.AspNetCore.Mvc.Core/Microsoft.AspNetCore.Mvc.Core.csproj index 2169c72d78..9d82f82797 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Microsoft.AspNetCore.Mvc.Core.csproj +++ b/src/Microsoft.AspNetCore.Mvc.Core/Microsoft.AspNetCore.Mvc.Core.csproj @@ -30,7 +30,7 @@ Microsoft.AspNetCore.Mvc.RouteAttribute - + From c4400d22d4e6f51d6f338d567a4fd90442ee60ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Ros?= Date: Thu, 5 Oct 2017 11:24:36 -0700 Subject: [PATCH 16/22] Port fix for URL helper redirect (#6916) Fixes #6910 --- .../Routing/UrlHelper.cs | 52 +++++++++++++++--- .../LocalRedirectResultTest.cs | 42 +++++++++++++++ .../Routing/UrlHelperTest.cs | 54 +++++++++++++++++++ 3 files changed, 142 insertions(+), 6 deletions(-) diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Routing/UrlHelper.cs b/src/Microsoft.AspNetCore.Mvc.Core/Routing/UrlHelper.cs index 418eea5360..2fbd47a17c 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Routing/UrlHelper.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Routing/UrlHelper.cs @@ -16,6 +16,7 @@ namespace Microsoft.AspNetCore.Mvc.Routing /// public class UrlHelper : IUrlHelper { + internal const string UseRelaxedLocalRedirectValidationSwitch = "Switch.Microsoft.AspNetCore.Mvc.UseRelaxedLocalRedirectValidation"; // Perf: Share the StringBuilder object across multiple calls of GenerateURL for this UrlHelper private StringBuilder _stringBuilder; @@ -102,14 +103,53 @@ namespace Microsoft.AspNetCore.Mvc.Routing /// public virtual bool IsLocalUrl(string url) { - return - !string.IsNullOrEmpty(url) && + if (string.IsNullOrEmpty(url)) + { + return false; + } - // Allows "/" or "/foo" but not "//" or "/\". - ((url[0] == '/' && (url.Length == 1 || (url[1] != '/' && url[1] != '\\'))) || + // Allows "/" or "/foo" but not "//" or "/\". + if (url[0] == '/') + { + // url is exactly "/" + if (url.Length == 1) + { + return true; + } - // Allows "~/" or "~/foo". - (url.Length > 1 && url[0] == '~' && url[1] == '/')); + // url doesn't start with "//" or "/\" + if (url[1] != '/' && url[1] != '\\') + { + return true; + } + + return false; + } + + // Allows "~/" or "~/foo" but not "~//" or "~/\". + if (url[0] == '~' && url.Length > 1 && url[1] == '/') + { + // url is exactly "~/" + if (url.Length == 2) + { + return true; + } + + // url doesn't start with "~//" or "~/\" + if (url[2] != '/' && url[2] != '\\') + { + return true; + } + + if (AppContext.TryGetSwitch(UseRelaxedLocalRedirectValidationSwitch, out var relaxedLocalRedirectValidation) && relaxedLocalRedirectValidation) + { + return true; + } + + return false; + } + + return false; } /// diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/LocalRedirectResultTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/LocalRedirectResultTest.cs index 0409d15052..3c7876d94c 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/LocalRedirectResultTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/LocalRedirectResultTest.cs @@ -85,6 +85,10 @@ namespace Microsoft.AspNetCore.Mvc } [Theory] + [InlineData("", "//", "/test")] + [InlineData("", "/\\", "/test")] + [InlineData("", "//foo", "/test")] + [InlineData("", "/\\foo", "/test")] [InlineData("", "Home/About", "/Home/About")] [InlineData("/myapproot", "http://www.example.com", "/test")] public void Execute_Throws_ForNonLocalUrl( @@ -109,6 +113,44 @@ namespace Microsoft.AspNetCore.Mvc exception.Message); } + [Theory] + [InlineData("", "~//", "//")] + [InlineData("", "~/\\", "/\\")] + [InlineData("", "~//foo", "//foo")] + [InlineData("", "~/\\foo", "/\\foo")] + public void Execute_Throws_ForNonLocalUrlTilde( + string appRoot, + string contentPath, + string expectedPath) + { + // Arrange + var httpResponse = new Mock(); + httpResponse.Setup(o => o.Redirect(expectedPath, false)) + .Verifiable(); + + var httpContext = GetHttpContext(appRoot, contentPath, expectedPath, httpResponse.Object); + var actionContext = GetActionContext(httpContext); + var result = new LocalRedirectResult(contentPath); + + var relaxedLocalRedirectValidation = false; + var success = AppContext.TryGetSwitch(UrlHelper.UseRelaxedLocalRedirectValidationSwitch, out relaxedLocalRedirectValidation); + + // Act & Assert + if (relaxedLocalRedirectValidation) + { + result.ExecuteResult(actionContext); + httpResponse.Verify(); + } + else + { + var exception = Assert.Throws(() => result.ExecuteResult(actionContext)); + Assert.Equal( + "The supplied URL is not local. A URL with an absolute path is considered local if it does not " + + "have a host/authority part. URLs using virtual paths ('~/') are also local.", + exception.Message); + } + } + private static ActionContext GetActionContext(HttpContext httpContext) { var routeData = new RouteData(); diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Routing/UrlHelperTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Routing/UrlHelperTest.cs index 563cfd2410..7a98bdd427 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Routing/UrlHelperTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Routing/UrlHelperTest.cs @@ -261,6 +261,60 @@ namespace Microsoft.AspNetCore.Mvc.Routing Assert.False(result); } + [Theory] + [InlineData("~//www.example.com")] + [InlineData("~//www.example.com?")] + [InlineData("~//www.example.com:80")] + [InlineData("~//www.example.com/foobar.html")] + [InlineData("~///www.example.com")] + [InlineData("~//////www.example.com")] + public void IsLocalUrl_RejectsTokenUrlsWithMissingSchemeName(string url) + { + // Arrange + var helper = CreateUrlHelper("www.mysite.com"); + + // Act + var result = helper.IsLocalUrl(url); + + // Assert + var relaxedLocalRedirectValidation = false; + var success = AppContext.TryGetSwitch(UrlHelper.UseRelaxedLocalRedirectValidationSwitch, out relaxedLocalRedirectValidation); + + if (relaxedLocalRedirectValidation) + { + Assert.True(result); + } + else + { + Assert.False(result); + } + } + + [Theory] + [InlineData("~/\\")] + [InlineData("~/\\foo")] + public void IsLocalUrl_RejectsInvalidTokenUrls(string url) + { + // Arrange + var helper = CreateUrlHelper("www.mysite.com"); + + // Act + var result = helper.IsLocalUrl(url); + + // Assert + var relaxedLocalRedirectValidation = false; + var success = AppContext.TryGetSwitch(UrlHelper.UseRelaxedLocalRedirectValidationSwitch, out relaxedLocalRedirectValidation); + + if (relaxedLocalRedirectValidation) + { + Assert.True(result); + } + else + { + Assert.False(result); + } + } + [Fact] public void RouteUrlWithDictionary() { From 3bfb023679e73b19b0a513002ccffd42d820eecb Mon Sep 17 00:00:00 2001 From: Nate McMaster Date: Mon, 9 Oct 2017 11:11:24 -0700 Subject: [PATCH 17/22] Update how PackageReference versions are set Changes: - Remove floating versions - Disable myget feeds during a Universe build - Use package-specific MSBuild variables. Pattern = `packageId.Pascalize() + "PackageVersion"`, with a few exceptions. --- Directory.Build.targets | 4 +- build/common.props | 2 +- build/dependencies.props | 90 +++++++++--- build/dependencies.targets | 135 ------------------ build/sources.props | 5 +- samples/MvcSandbox/MvcSandbox.csproj | 16 +-- ...crosoft.AspNetCore.Mvc.Abstractions.csproj | 14 +- ...icrosoft.AspNetCore.Mvc.ApiExplorer.csproj | 6 +- .../Microsoft.AspNetCore.Mvc.Core.csproj | 34 ++--- .../Microsoft.AspNetCore.Mvc.Cors.csproj | 2 +- ...soft.AspNetCore.Mvc.DataAnnotations.csproj | 10 +- ...soft.AspNetCore.Mvc.Formatters.Json.csproj | 4 +- ...osoft.AspNetCore.Mvc.Formatters.Xml.csproj | 6 +- ...crosoft.AspNetCore.Mvc.Localization.csproj | 8 +- .../Microsoft.AspNetCore.Mvc.Razor.csproj | 20 +-- ...Microsoft.AspNetCore.Mvc.RazorPages.csproj | 8 +- ...Microsoft.AspNetCore.Mvc.TagHelpers.csproj | 14 +- .../Microsoft.AspNetCore.Mvc.Testing.csproj | 4 +- ...crosoft.AspNetCore.Mvc.ViewFeatures.csproj | 26 ++-- ...oft.AspNetCore.Mvc.WebApiCompatShim.csproj | 8 +- .../Microsoft.AspNetCore.Mvc.csproj | 4 +- ...ft.AspNetCore.Mvc.Abstractions.Test.csproj | 10 +- ...oft.AspNetCore.Mvc.ApiExplorer.Test.csproj | 6 +- .../Microsoft.AspNetCore.Mvc.Core.Test.csproj | 16 +-- .../Microsoft.AspNetCore.Mvc.Cors.Test.csproj | 10 +- ...AspNetCore.Mvc.DataAnnotations.Test.csproj | 12 +- ...AspNetCore.Mvc.Formatters.Json.Test.csproj | 12 +- ....AspNetCore.Mvc.Formatters.Xml.Test.csproj | 8 +- ...soft.AspNetCore.Mvc.FunctionalTests.csproj | 18 +-- ...oft.AspNetCore.Mvc.IntegrationTests.csproj | 10 +- ...ft.AspNetCore.Mvc.Localization.Test.csproj | 10 +- ...icrosoft.AspNetCore.Mvc.Performance.csproj | 4 +- ...Microsoft.AspNetCore.Mvc.Razor.Test.csproj | 14 +- ...soft.AspNetCore.Mvc.RazorPages.Test.csproj | 14 +- ...soft.AspNetCore.Mvc.TagHelpers.Test.csproj | 16 +-- .../Microsoft.AspNetCore.Mvc.Test.csproj | 14 +- ...Microsoft.AspNetCore.Mvc.TestCommon.csproj | 14 +- ...pNetCore.Mvc.TestDiagnosticListener.csproj | 2 +- ...ft.AspNetCore.Mvc.ViewFeatures.Test.csproj | 10 +- ...AspNetCore.Mvc.WebApiCompatShimTest.csproj | 14 +- .../ApiExplorerWebSite.csproj | 8 +- .../ApplicationModelWebSite.csproj | 8 +- .../WebSites/BasicWebSite/BasicWebSite.csproj | 10 +- .../ControllersFromServicesWebSite.csproj | 10 +- test/WebSites/CorsWebSite/CorsWebSite.csproj | 10 +- .../ErrorPageMiddlewareWebSite.csproj | 10 +- .../FSharpWebSite/FSharpWebSite.fsproj | 14 +- .../WebSites/FilesWebSite/FilesWebSite.csproj | 10 +- .../FiltersWebSite/FiltersWebSite.csproj | 12 +- .../FormatterWebSite/FormatterWebSite.csproj | 8 +- .../HtmlGenerationWebSite.csproj | 8 +- ...PageExecutionInstrumentationWebSite.csproj | 10 +- .../RazorPagesWebSite.csproj | 8 +- .../WebSites/RazorWebSite/RazorWebSite.csproj | 12 +- .../RoutingWebSite/RoutingWebSite.csproj | 8 +- .../SecurityWebSite/SecurityWebSite.csproj | 8 +- .../SimpleWebSite/SimpleWebSite.csproj | 6 +- .../TagHelpersWebSite.csproj | 8 +- .../VersioningWebSite.csproj | 8 +- .../WebApiCompatShimWebSite.csproj | 8 +- .../XmlFormattersWebSite.csproj | 8 +- 61 files changed, 374 insertions(+), 452 deletions(-) delete mode 100644 build/dependencies.targets diff --git a/Directory.Build.targets b/Directory.Build.targets index 7bf9e763a6..246f7ac20c 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -1,6 +1,4 @@ - + - - diff --git a/build/common.props b/build/common.props index 0990cbe9f0..c3d428b4b1 100644 --- a/build/common.props +++ b/build/common.props @@ -12,7 +12,7 @@ - + diff --git a/build/dependencies.props b/build/dependencies.props index 636ae93f4d..f7aa93ef9e 100644 --- a/build/dependencies.props +++ b/build/dependencies.props @@ -1,23 +1,79 @@  - 2.0.0 - 0.10.3 - 4.4.0 - 4.4.1 - 4.2.1 - 1.0.5 - 2.0.1-rtm-15400 - 1.0.1 + 0.10.3 + 4.2.1 + 1.0.5 + 2.0.2-beta-15522 + 2.0.1-rtm-83 + 2.0.1-rtm-83 + 2.0.1-rtm-83 + 2.0.1-rtm-83 + 2.0.1-rtm-83 + 2.0.1-rtm-83 + 2.0.1-rtm-83 + 2.0.1-rtm-83 + 2.0.1-rtm-83 + 2.0.1-rtm-83 + 2.0.1-rtm-83 + 2.0.0 + 2.0.1-rtm-83 + 2.0.1-rtm-83 + 2.0.0 + 2.0.1-rtm-83 + 2.0.1-rtm-83 + 2.0.1-rtm-83 + 2.0.1-rtm-83 + 2.0.1-rtm-83 + 2.0.1-rtm-83 + 2.0.1-rtm-83 + 2.0.1-rtm-83 + 2.0.1-rtm-83 + 2.0.1-rtm-83 + 2.0.1-rtm-83 + 2.0.1-rtm-83 + 2.0.1-rtm-83 + 2.0.1-rtm-83 + 2.0.1-rtm-83 + 2.0.0 + 2.0.1-rtm-83 + 5.2.2 + 2.3.1 + 2.0.1-rtm-83 + 2.0.0 + 2.0.0 + 2.0.0 + 2.0.0 + 2.0.0 + 2.0.0 + 2.0.0 2.0.2-servicing-25728-02 - 4.7.49 - 2.0.0 - 2.0.0 - 2.3.1 - 2.0.0 - 15.3.0 - 5.2.2 - 2.3.0-beta2-build3683 - 2.3.0-beta2-build1317 + 2.0.0 + 2.0.0 + 2.0.0 + 2.0.0 + 2.0.0 + 2.0.0 + 2.0.1-rtm-83 + 2.0.0 + 2.0.0 + 2.0.0 + 2.0.0 + 2.0.0 + 2.0.0 + 2.0.0 + 2.0.0 + 2.0.0 + 2.0.0 + 2.0.0 + 2.0.0 + 2.0.1-rtm-83 + 15.3.0 + 4.7.49 + 1.0.1 + 4.4.0 + 4.4.1 + 2.3.0-beta2-build3683 + 2.3.0-beta2-build1317 diff --git a/build/dependencies.targets b/build/dependencies.targets deleted file mode 100644 index 607a712a31..0000000000 --- a/build/dependencies.targets +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/build/sources.props b/build/sources.props index ff68f685fa..804940f029 100644 --- a/build/sources.props +++ b/build/sources.props @@ -3,11 +3,14 @@ $(DotNetRestoreSources) - + $(RestoreSources); https://dotnet.myget.org/F/aspnet-2-0-2-october2017-patch/api/v3/index.json; https://dotnet.myget.org/F/aspnetcore-master/api/v3/index.json; https://dotnet.myget.org/F/aspnetcore-tools/api/v3/index.json; + + + $(RestoreSources); https://api.nuget.org/v3/index.json; diff --git a/samples/MvcSandbox/MvcSandbox.csproj b/samples/MvcSandbox/MvcSandbox.csproj index cbeca10954..f29d4a88cf 100644 --- a/samples/MvcSandbox/MvcSandbox.csproj +++ b/samples/MvcSandbox/MvcSandbox.csproj @@ -10,17 +10,17 @@ - - - - - - - + + + + + + + - + diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Microsoft.AspNetCore.Mvc.Abstractions.csproj b/src/Microsoft.AspNetCore.Mvc.Abstractions/Microsoft.AspNetCore.Mvc.Abstractions.csproj index f7420d0d75..a375bff4e1 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Microsoft.AspNetCore.Mvc.Abstractions.csproj +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Microsoft.AspNetCore.Mvc.Abstractions.csproj @@ -1,4 +1,4 @@ - + @@ -13,12 +13,12 @@ Microsoft.AspNetCore.Mvc.IActionResult - - - - - - + + + + + + diff --git a/src/Microsoft.AspNetCore.Mvc.ApiExplorer/Microsoft.AspNetCore.Mvc.ApiExplorer.csproj b/src/Microsoft.AspNetCore.Mvc.ApiExplorer/Microsoft.AspNetCore.Mvc.ApiExplorer.csproj index 187db0c134..495b9e5c3f 100644 --- a/src/Microsoft.AspNetCore.Mvc.ApiExplorer/Microsoft.AspNetCore.Mvc.ApiExplorer.csproj +++ b/src/Microsoft.AspNetCore.Mvc.ApiExplorer/Microsoft.AspNetCore.Mvc.ApiExplorer.csproj @@ -13,9 +13,9 @@ - - - + + + diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Microsoft.AspNetCore.Mvc.Core.csproj b/src/Microsoft.AspNetCore.Mvc.Core/Microsoft.AspNetCore.Mvc.Core.csproj index 9d82f82797..5ec28b3209 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Microsoft.AspNetCore.Mvc.Core.csproj +++ b/src/Microsoft.AspNetCore.Mvc.Core/Microsoft.AspNetCore.Mvc.Core.csproj @@ -21,24 +21,24 @@ Microsoft.AspNetCore.Mvc.RouteAttribute - - - - - - - - - + + + + + + + + + - - - - - - - - + + + + + + + + diff --git a/src/Microsoft.AspNetCore.Mvc.Cors/Microsoft.AspNetCore.Mvc.Cors.csproj b/src/Microsoft.AspNetCore.Mvc.Cors/Microsoft.AspNetCore.Mvc.Cors.csproj index ec8a738b8b..e4cb468ce3 100644 --- a/src/Microsoft.AspNetCore.Mvc.Cors/Microsoft.AspNetCore.Mvc.Cors.csproj +++ b/src/Microsoft.AspNetCore.Mvc.Cors/Microsoft.AspNetCore.Mvc.Cors.csproj @@ -13,7 +13,7 @@ - + diff --git a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Microsoft.AspNetCore.Mvc.DataAnnotations.csproj b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Microsoft.AspNetCore.Mvc.DataAnnotations.csproj index d48a59c82d..a8b47b1a4a 100644 --- a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Microsoft.AspNetCore.Mvc.DataAnnotations.csproj +++ b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Microsoft.AspNetCore.Mvc.DataAnnotations.csproj @@ -1,4 +1,4 @@ - + @@ -12,9 +12,9 @@ - - - - + + + + diff --git a/src/Microsoft.AspNetCore.Mvc.Formatters.Json/Microsoft.AspNetCore.Mvc.Formatters.Json.csproj b/src/Microsoft.AspNetCore.Mvc.Formatters.Json/Microsoft.AspNetCore.Mvc.Formatters.Json.csproj index f3227c0ce4..cee1193630 100644 --- a/src/Microsoft.AspNetCore.Mvc.Formatters.Json/Microsoft.AspNetCore.Mvc.Formatters.Json.csproj +++ b/src/Microsoft.AspNetCore.Mvc.Formatters.Json/Microsoft.AspNetCore.Mvc.Formatters.Json.csproj @@ -12,7 +12,7 @@ - - + + diff --git a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/Microsoft.AspNetCore.Mvc.Formatters.Xml.csproj b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/Microsoft.AspNetCore.Mvc.Formatters.Xml.csproj index f32a057b54..9edc4f6bc0 100644 --- a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/Microsoft.AspNetCore.Mvc.Formatters.Xml.csproj +++ b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/Microsoft.AspNetCore.Mvc.Formatters.Xml.csproj @@ -1,4 +1,4 @@ - + @@ -12,7 +12,7 @@ - - + + diff --git a/src/Microsoft.AspNetCore.Mvc.Localization/Microsoft.AspNetCore.Mvc.Localization.csproj b/src/Microsoft.AspNetCore.Mvc.Localization/Microsoft.AspNetCore.Mvc.Localization.csproj index c8b04c3771..3f7b65e3bb 100644 --- a/src/Microsoft.AspNetCore.Mvc.Localization/Microsoft.AspNetCore.Mvc.Localization.csproj +++ b/src/Microsoft.AspNetCore.Mvc.Localization/Microsoft.AspNetCore.Mvc.Localization.csproj @@ -16,10 +16,10 @@ Microsoft.AspNetCore.Mvc.Localization.IViewLocalizer - - - - + + + + diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/Microsoft.AspNetCore.Mvc.Razor.csproj b/src/Microsoft.AspNetCore.Mvc.Razor/Microsoft.AspNetCore.Mvc.Razor.csproj index 89fef2e319..a1395849ec 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/Microsoft.AspNetCore.Mvc.Razor.csproj +++ b/src/Microsoft.AspNetCore.Mvc.Razor/Microsoft.AspNetCore.Mvc.Razor.csproj @@ -13,15 +13,15 @@ - - - - - - - - - - + + + + + + + + + + diff --git a/src/Microsoft.AspNetCore.Mvc.RazorPages/Microsoft.AspNetCore.Mvc.RazorPages.csproj b/src/Microsoft.AspNetCore.Mvc.RazorPages/Microsoft.AspNetCore.Mvc.RazorPages.csproj index 83ab12f8f7..28539eb142 100644 --- a/src/Microsoft.AspNetCore.Mvc.RazorPages/Microsoft.AspNetCore.Mvc.RazorPages.csproj +++ b/src/Microsoft.AspNetCore.Mvc.RazorPages/Microsoft.AspNetCore.Mvc.RazorPages.csproj @@ -13,10 +13,10 @@ - - - - + + + + diff --git a/src/Microsoft.AspNetCore.Mvc.TagHelpers/Microsoft.AspNetCore.Mvc.TagHelpers.csproj b/src/Microsoft.AspNetCore.Mvc.TagHelpers/Microsoft.AspNetCore.Mvc.TagHelpers.csproj index 4864a2f9e4..64ba4741e0 100644 --- a/src/Microsoft.AspNetCore.Mvc.TagHelpers/Microsoft.AspNetCore.Mvc.TagHelpers.csproj +++ b/src/Microsoft.AspNetCore.Mvc.TagHelpers/Microsoft.AspNetCore.Mvc.TagHelpers.csproj @@ -16,12 +16,12 @@ - - - - - - - + + + + + + + diff --git a/src/Microsoft.AspNetCore.Mvc.Testing/Microsoft.AspNetCore.Mvc.Testing.csproj b/src/Microsoft.AspNetCore.Mvc.Testing/Microsoft.AspNetCore.Mvc.Testing.csproj index 158b5f5105..2675ae0b38 100644 --- a/src/Microsoft.AspNetCore.Mvc.Testing/Microsoft.AspNetCore.Mvc.Testing.csproj +++ b/src/Microsoft.AspNetCore.Mvc.Testing/Microsoft.AspNetCore.Mvc.Testing.csproj @@ -1,4 +1,4 @@ - + @@ -13,7 +13,7 @@ - + diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Microsoft.AspNetCore.Mvc.ViewFeatures.csproj b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Microsoft.AspNetCore.Mvc.ViewFeatures.csproj index 5822fde80d..98c45e59b1 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Microsoft.AspNetCore.Mvc.ViewFeatures.csproj +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Microsoft.AspNetCore.Mvc.ViewFeatures.csproj @@ -1,4 +1,4 @@ - + @@ -20,18 +20,18 @@ Microsoft.AspNetCore.Mvc.ViewComponent - - - - - - - - - - - - + + + + + + + + + + + + diff --git a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Microsoft.AspNetCore.Mvc.WebApiCompatShim.csproj b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Microsoft.AspNetCore.Mvc.WebApiCompatShim.csproj index 258d632c00..1f8230ced2 100644 --- a/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Microsoft.AspNetCore.Mvc.WebApiCompatShim.csproj +++ b/src/Microsoft.AspNetCore.Mvc.WebApiCompatShim/Microsoft.AspNetCore.Mvc.WebApiCompatShim.csproj @@ -1,4 +1,4 @@ - + @@ -19,9 +19,9 @@ System.Web.Http.ApiController - - - + + + diff --git a/src/Microsoft.AspNetCore.Mvc/Microsoft.AspNetCore.Mvc.csproj b/src/Microsoft.AspNetCore.Mvc/Microsoft.AspNetCore.Mvc.csproj index 1d110dc885..53dfda6101 100644 --- a/src/Microsoft.AspNetCore.Mvc/Microsoft.AspNetCore.Mvc.csproj +++ b/src/Microsoft.AspNetCore.Mvc/Microsoft.AspNetCore.Mvc.csproj @@ -20,8 +20,8 @@ - - + + diff --git a/test/Microsoft.AspNetCore.Mvc.Abstractions.Test/Microsoft.AspNetCore.Mvc.Abstractions.Test.csproj b/test/Microsoft.AspNetCore.Mvc.Abstractions.Test/Microsoft.AspNetCore.Mvc.Abstractions.Test.csproj index 81a2512253..f3f6813c4c 100644 --- a/test/Microsoft.AspNetCore.Mvc.Abstractions.Test/Microsoft.AspNetCore.Mvc.Abstractions.Test.csproj +++ b/test/Microsoft.AspNetCore.Mvc.Abstractions.Test/Microsoft.AspNetCore.Mvc.Abstractions.Test.csproj @@ -9,11 +9,11 @@ - - - - - + + + + + diff --git a/test/Microsoft.AspNetCore.Mvc.ApiExplorer.Test/Microsoft.AspNetCore.Mvc.ApiExplorer.Test.csproj b/test/Microsoft.AspNetCore.Mvc.ApiExplorer.Test/Microsoft.AspNetCore.Mvc.ApiExplorer.Test.csproj index b14e38aff1..2c1b5e1f6c 100644 --- a/test/Microsoft.AspNetCore.Mvc.ApiExplorer.Test/Microsoft.AspNetCore.Mvc.ApiExplorer.Test.csproj +++ b/test/Microsoft.AspNetCore.Mvc.ApiExplorer.Test/Microsoft.AspNetCore.Mvc.ApiExplorer.Test.csproj @@ -10,8 +10,8 @@ - - - + + + diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Microsoft.AspNetCore.Mvc.Core.Test.csproj b/test/Microsoft.AspNetCore.Mvc.Core.Test/Microsoft.AspNetCore.Mvc.Core.Test.csproj index 822955d46d..548a44b78b 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Microsoft.AspNetCore.Mvc.Core.Test.csproj +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Microsoft.AspNetCore.Mvc.Core.Test.csproj @@ -16,13 +16,13 @@ - - - - - - - - + + + + + + + + diff --git a/test/Microsoft.AspNetCore.Mvc.Cors.Test/Microsoft.AspNetCore.Mvc.Cors.Test.csproj b/test/Microsoft.AspNetCore.Mvc.Cors.Test/Microsoft.AspNetCore.Mvc.Cors.Test.csproj index bd44e1705c..8dd665eef0 100644 --- a/test/Microsoft.AspNetCore.Mvc.Cors.Test/Microsoft.AspNetCore.Mvc.Cors.Test.csproj +++ b/test/Microsoft.AspNetCore.Mvc.Cors.Test/Microsoft.AspNetCore.Mvc.Cors.Test.csproj @@ -10,11 +10,11 @@ - - - - - + + + + + diff --git a/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test.csproj b/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test.csproj index fb9dc7158f..bebc138833 100644 --- a/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test.csproj +++ b/test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test/Microsoft.AspNetCore.Mvc.DataAnnotations.Test.csproj @@ -10,12 +10,12 @@ - - - - - - + + + + + + diff --git a/test/Microsoft.AspNetCore.Mvc.Formatters.Json.Test/Microsoft.AspNetCore.Mvc.Formatters.Json.Test.csproj b/test/Microsoft.AspNetCore.Mvc.Formatters.Json.Test/Microsoft.AspNetCore.Mvc.Formatters.Json.Test.csproj index b9536f70ad..586e757d4f 100644 --- a/test/Microsoft.AspNetCore.Mvc.Formatters.Json.Test/Microsoft.AspNetCore.Mvc.Formatters.Json.Test.csproj +++ b/test/Microsoft.AspNetCore.Mvc.Formatters.Json.Test/Microsoft.AspNetCore.Mvc.Formatters.Json.Test.csproj @@ -10,12 +10,12 @@ - - - - - - + + + + + + diff --git a/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test.csproj b/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test.csproj index 8eef4332c7..1625560e9e 100644 --- a/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test.csproj +++ b/test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test/Microsoft.AspNetCore.Mvc.Formatters.Xml.Test.csproj @@ -10,10 +10,10 @@ - - - - + + + + diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/Microsoft.AspNetCore.Mvc.FunctionalTests.csproj b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/Microsoft.AspNetCore.Mvc.FunctionalTests.csproj index 8c1ded8a91..ea1c2e495b 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/Microsoft.AspNetCore.Mvc.FunctionalTests.csproj +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/Microsoft.AspNetCore.Mvc.FunctionalTests.csproj @@ -46,14 +46,14 @@ - - - - - - - - - + + + + + + + + + diff --git a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/Microsoft.AspNetCore.Mvc.IntegrationTests.csproj b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/Microsoft.AspNetCore.Mvc.IntegrationTests.csproj index c4ce6841e9..4ca38be986 100644 --- a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/Microsoft.AspNetCore.Mvc.IntegrationTests.csproj +++ b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/Microsoft.AspNetCore.Mvc.IntegrationTests.csproj @@ -11,11 +11,11 @@ - - - - - + + + + + diff --git a/test/Microsoft.AspNetCore.Mvc.Localization.Test/Microsoft.AspNetCore.Mvc.Localization.Test.csproj b/test/Microsoft.AspNetCore.Mvc.Localization.Test/Microsoft.AspNetCore.Mvc.Localization.Test.csproj index 67ea394f5f..ca0b5fa56b 100644 --- a/test/Microsoft.AspNetCore.Mvc.Localization.Test/Microsoft.AspNetCore.Mvc.Localization.Test.csproj +++ b/test/Microsoft.AspNetCore.Mvc.Localization.Test/Microsoft.AspNetCore.Mvc.Localization.Test.csproj @@ -10,11 +10,11 @@ - - - - - + + + + + diff --git a/test/Microsoft.AspNetCore.Mvc.Performance/Microsoft.AspNetCore.Mvc.Performance.csproj b/test/Microsoft.AspNetCore.Mvc.Performance/Microsoft.AspNetCore.Mvc.Performance.csproj index e1798664e5..2dbc959d8e 100644 --- a/test/Microsoft.AspNetCore.Mvc.Performance/Microsoft.AspNetCore.Mvc.Performance.csproj +++ b/test/Microsoft.AspNetCore.Mvc.Performance/Microsoft.AspNetCore.Mvc.Performance.csproj @@ -1,4 +1,4 @@ - + @@ -16,7 +16,7 @@ - + diff --git a/test/Microsoft.AspNetCore.Mvc.Razor.Test/Microsoft.AspNetCore.Mvc.Razor.Test.csproj b/test/Microsoft.AspNetCore.Mvc.Razor.Test/Microsoft.AspNetCore.Mvc.Razor.Test.csproj index 902619038a..d6856dcfc2 100644 --- a/test/Microsoft.AspNetCore.Mvc.Razor.Test/Microsoft.AspNetCore.Mvc.Razor.Test.csproj +++ b/test/Microsoft.AspNetCore.Mvc.Razor.Test/Microsoft.AspNetCore.Mvc.Razor.Test.csproj @@ -18,13 +18,13 @@ - - - - - - - + + + + + + + diff --git a/test/Microsoft.AspNetCore.Mvc.RazorPages.Test/Microsoft.AspNetCore.Mvc.RazorPages.Test.csproj b/test/Microsoft.AspNetCore.Mvc.RazorPages.Test/Microsoft.AspNetCore.Mvc.RazorPages.Test.csproj index 52718e98e8..34153bcb7d 100644 --- a/test/Microsoft.AspNetCore.Mvc.RazorPages.Test/Microsoft.AspNetCore.Mvc.RazorPages.Test.csproj +++ b/test/Microsoft.AspNetCore.Mvc.RazorPages.Test/Microsoft.AspNetCore.Mvc.RazorPages.Test.csproj @@ -12,13 +12,13 @@ - - - - - - - + + + + + + + diff --git a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/Microsoft.AspNetCore.Mvc.TagHelpers.Test.csproj b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/Microsoft.AspNetCore.Mvc.TagHelpers.Test.csproj index f2450b3e8f..e0ded4808a 100644 --- a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/Microsoft.AspNetCore.Mvc.TagHelpers.Test.csproj +++ b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/Microsoft.AspNetCore.Mvc.TagHelpers.Test.csproj @@ -11,14 +11,14 @@ - - - - - - - - + + + + + + + + diff --git a/test/Microsoft.AspNetCore.Mvc.Test/Microsoft.AspNetCore.Mvc.Test.csproj b/test/Microsoft.AspNetCore.Mvc.Test/Microsoft.AspNetCore.Mvc.Test.csproj index e5e2e5be01..250c38b2ec 100644 --- a/test/Microsoft.AspNetCore.Mvc.Test/Microsoft.AspNetCore.Mvc.Test.csproj +++ b/test/Microsoft.AspNetCore.Mvc.Test/Microsoft.AspNetCore.Mvc.Test.csproj @@ -10,12 +10,12 @@ - - - - - - - + + + + + + + diff --git a/test/Microsoft.AspNetCore.Mvc.TestCommon/Microsoft.AspNetCore.Mvc.TestCommon.csproj b/test/Microsoft.AspNetCore.Mvc.TestCommon/Microsoft.AspNetCore.Mvc.TestCommon.csproj index b5780f1328..45e3144b59 100644 --- a/test/Microsoft.AspNetCore.Mvc.TestCommon/Microsoft.AspNetCore.Mvc.TestCommon.csproj +++ b/test/Microsoft.AspNetCore.Mvc.TestCommon/Microsoft.AspNetCore.Mvc.TestCommon.csproj @@ -11,13 +11,13 @@ - - - - - - - + + + + + + + diff --git a/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.csproj b/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.csproj index 10be834a43..b86d7bb9cc 100644 --- a/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.csproj +++ b/test/Microsoft.AspNetCore.Mvc.TestDiagnosticListener/Microsoft.AspNetCore.Mvc.TestDiagnosticListener.csproj @@ -7,6 +7,6 @@ - + diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test.csproj b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test.csproj index 47eee2a0ff..4e87bb3e6b 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test.csproj +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test.csproj @@ -11,10 +11,10 @@ - - - - - + + + + + diff --git a/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest.csproj b/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest.csproj index e71abd2a36..88bc2ce4c8 100644 --- a/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest.csproj +++ b/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest.csproj @@ -16,13 +16,13 @@ - - - - - - - + + + + + + + diff --git a/test/WebSites/ApiExplorerWebSite/ApiExplorerWebSite.csproj b/test/WebSites/ApiExplorerWebSite/ApiExplorerWebSite.csproj index c317e7be10..0e25b2ded9 100644 --- a/test/WebSites/ApiExplorerWebSite/ApiExplorerWebSite.csproj +++ b/test/WebSites/ApiExplorerWebSite/ApiExplorerWebSite.csproj @@ -1,4 +1,4 @@ - + @@ -10,8 +10,8 @@ - - - + + + diff --git a/test/WebSites/ApplicationModelWebSite/ApplicationModelWebSite.csproj b/test/WebSites/ApplicationModelWebSite/ApplicationModelWebSite.csproj index c46bbf9fe7..82194aa011 100644 --- a/test/WebSites/ApplicationModelWebSite/ApplicationModelWebSite.csproj +++ b/test/WebSites/ApplicationModelWebSite/ApplicationModelWebSite.csproj @@ -1,4 +1,4 @@ - + @@ -9,8 +9,8 @@ - - - + + + diff --git a/test/WebSites/BasicWebSite/BasicWebSite.csproj b/test/WebSites/BasicWebSite/BasicWebSite.csproj index 66d3cd330f..430cc8a2da 100644 --- a/test/WebSites/BasicWebSite/BasicWebSite.csproj +++ b/test/WebSites/BasicWebSite/BasicWebSite.csproj @@ -1,4 +1,4 @@ - + @@ -10,9 +10,9 @@ - - - - + + + + diff --git a/test/WebSites/ControllersFromServicesWebSite/ControllersFromServicesWebSite.csproj b/test/WebSites/ControllersFromServicesWebSite/ControllersFromServicesWebSite.csproj index 85b453b01f..58c549bfc7 100644 --- a/test/WebSites/ControllersFromServicesWebSite/ControllersFromServicesWebSite.csproj +++ b/test/WebSites/ControllersFromServicesWebSite/ControllersFromServicesWebSite.csproj @@ -1,4 +1,4 @@ - + @@ -10,9 +10,9 @@ - - - - + + + + diff --git a/test/WebSites/CorsWebSite/CorsWebSite.csproj b/test/WebSites/CorsWebSite/CorsWebSite.csproj index 3b313d4e52..354a6609fb 100644 --- a/test/WebSites/CorsWebSite/CorsWebSite.csproj +++ b/test/WebSites/CorsWebSite/CorsWebSite.csproj @@ -1,4 +1,4 @@ - + @@ -10,9 +10,9 @@ - - - - + + + + diff --git a/test/WebSites/ErrorPageMiddlewareWebSite/ErrorPageMiddlewareWebSite.csproj b/test/WebSites/ErrorPageMiddlewareWebSite/ErrorPageMiddlewareWebSite.csproj index f530d05c7d..aa21713cca 100644 --- a/test/WebSites/ErrorPageMiddlewareWebSite/ErrorPageMiddlewareWebSite.csproj +++ b/test/WebSites/ErrorPageMiddlewareWebSite/ErrorPageMiddlewareWebSite.csproj @@ -1,4 +1,4 @@ - + @@ -9,9 +9,9 @@ - - - - + + + + diff --git a/test/WebSites/FSharpWebSite/FSharpWebSite.fsproj b/test/WebSites/FSharpWebSite/FSharpWebSite.fsproj index 30c4b73c19..cb2081b3c4 100644 --- a/test/WebSites/FSharpWebSite/FSharpWebSite.fsproj +++ b/test/WebSites/FSharpWebSite/FSharpWebSite.fsproj @@ -24,13 +24,13 @@ - - + + - - - - + + + + - \ No newline at end of file + diff --git a/test/WebSites/FilesWebSite/FilesWebSite.csproj b/test/WebSites/FilesWebSite/FilesWebSite.csproj index 1b7e679313..2fb24cfbc9 100644 --- a/test/WebSites/FilesWebSite/FilesWebSite.csproj +++ b/test/WebSites/FilesWebSite/FilesWebSite.csproj @@ -1,4 +1,4 @@ - + @@ -14,9 +14,9 @@ - - - - + + + + diff --git a/test/WebSites/FiltersWebSite/FiltersWebSite.csproj b/test/WebSites/FiltersWebSite/FiltersWebSite.csproj index a99a2f5a43..418d79199b 100644 --- a/test/WebSites/FiltersWebSite/FiltersWebSite.csproj +++ b/test/WebSites/FiltersWebSite/FiltersWebSite.csproj @@ -1,4 +1,4 @@ - + @@ -10,10 +10,10 @@ - - - - - + + + + + diff --git a/test/WebSites/FormatterWebSite/FormatterWebSite.csproj b/test/WebSites/FormatterWebSite/FormatterWebSite.csproj index c317e7be10..0e25b2ded9 100644 --- a/test/WebSites/FormatterWebSite/FormatterWebSite.csproj +++ b/test/WebSites/FormatterWebSite/FormatterWebSite.csproj @@ -1,4 +1,4 @@ - + @@ -10,8 +10,8 @@ - - - + + + diff --git a/test/WebSites/HtmlGenerationWebSite/HtmlGenerationWebSite.csproj b/test/WebSites/HtmlGenerationWebSite/HtmlGenerationWebSite.csproj index c46bbf9fe7..82194aa011 100644 --- a/test/WebSites/HtmlGenerationWebSite/HtmlGenerationWebSite.csproj +++ b/test/WebSites/HtmlGenerationWebSite/HtmlGenerationWebSite.csproj @@ -1,4 +1,4 @@ - + @@ -9,8 +9,8 @@ - - - + + + diff --git a/test/WebSites/RazorPageExecutionInstrumentationWebSite/RazorPageExecutionInstrumentationWebSite.csproj b/test/WebSites/RazorPageExecutionInstrumentationWebSite/RazorPageExecutionInstrumentationWebSite.csproj index b0efeb2e41..2460941f8f 100644 --- a/test/WebSites/RazorPageExecutionInstrumentationWebSite/RazorPageExecutionInstrumentationWebSite.csproj +++ b/test/WebSites/RazorPageExecutionInstrumentationWebSite/RazorPageExecutionInstrumentationWebSite.csproj @@ -1,4 +1,4 @@ - + @@ -9,9 +9,9 @@ - - - - + + + + diff --git a/test/WebSites/RazorPagesWebSite/RazorPagesWebSite.csproj b/test/WebSites/RazorPagesWebSite/RazorPagesWebSite.csproj index 046fb22547..fa05161b46 100644 --- a/test/WebSites/RazorPagesWebSite/RazorPagesWebSite.csproj +++ b/test/WebSites/RazorPagesWebSite/RazorPagesWebSite.csproj @@ -9,9 +9,9 @@ - - - - + + + + diff --git a/test/WebSites/RazorWebSite/RazorWebSite.csproj b/test/WebSites/RazorWebSite/RazorWebSite.csproj index 4f67aa13d2..1d3132b572 100644 --- a/test/WebSites/RazorWebSite/RazorWebSite.csproj +++ b/test/WebSites/RazorWebSite/RazorWebSite.csproj @@ -1,4 +1,4 @@ - + @@ -14,10 +14,10 @@ - - - - - + + + + + diff --git a/test/WebSites/RoutingWebSite/RoutingWebSite.csproj b/test/WebSites/RoutingWebSite/RoutingWebSite.csproj index c46bbf9fe7..82194aa011 100644 --- a/test/WebSites/RoutingWebSite/RoutingWebSite.csproj +++ b/test/WebSites/RoutingWebSite/RoutingWebSite.csproj @@ -1,4 +1,4 @@ - + @@ -9,8 +9,8 @@ - - - + + + diff --git a/test/WebSites/SecurityWebSite/SecurityWebSite.csproj b/test/WebSites/SecurityWebSite/SecurityWebSite.csproj index 4f54fdc90e..2c640afa45 100644 --- a/test/WebSites/SecurityWebSite/SecurityWebSite.csproj +++ b/test/WebSites/SecurityWebSite/SecurityWebSite.csproj @@ -1,4 +1,4 @@ - + @@ -9,8 +9,8 @@ - - - + + + diff --git a/test/WebSites/SimpleWebSite/SimpleWebSite.csproj b/test/WebSites/SimpleWebSite/SimpleWebSite.csproj index 94a1ac4303..a2355d784c 100644 --- a/test/WebSites/SimpleWebSite/SimpleWebSite.csproj +++ b/test/WebSites/SimpleWebSite/SimpleWebSite.csproj @@ -1,4 +1,4 @@ - + @@ -9,7 +9,7 @@ - - + + diff --git a/test/WebSites/TagHelpersWebSite/TagHelpersWebSite.csproj b/test/WebSites/TagHelpersWebSite/TagHelpersWebSite.csproj index c0972fba15..50b8234897 100644 --- a/test/WebSites/TagHelpersWebSite/TagHelpersWebSite.csproj +++ b/test/WebSites/TagHelpersWebSite/TagHelpersWebSite.csproj @@ -1,4 +1,4 @@ - + @@ -10,8 +10,8 @@ - - - + + + diff --git a/test/WebSites/VersioningWebSite/VersioningWebSite.csproj b/test/WebSites/VersioningWebSite/VersioningWebSite.csproj index c46bbf9fe7..82194aa011 100644 --- a/test/WebSites/VersioningWebSite/VersioningWebSite.csproj +++ b/test/WebSites/VersioningWebSite/VersioningWebSite.csproj @@ -1,4 +1,4 @@ - + @@ -9,8 +9,8 @@ - - - + + + diff --git a/test/WebSites/WebApiCompatShimWebSite/WebApiCompatShimWebSite.csproj b/test/WebSites/WebApiCompatShimWebSite/WebApiCompatShimWebSite.csproj index 74dcef1ea8..360d94055c 100644 --- a/test/WebSites/WebApiCompatShimWebSite/WebApiCompatShimWebSite.csproj +++ b/test/WebSites/WebApiCompatShimWebSite/WebApiCompatShimWebSite.csproj @@ -1,4 +1,4 @@ - + @@ -12,8 +12,8 @@ - - - + + + diff --git a/test/WebSites/XmlFormattersWebSite/XmlFormattersWebSite.csproj b/test/WebSites/XmlFormattersWebSite/XmlFormattersWebSite.csproj index c317e7be10..0e25b2ded9 100644 --- a/test/WebSites/XmlFormattersWebSite/XmlFormattersWebSite.csproj +++ b/test/WebSites/XmlFormattersWebSite/XmlFormattersWebSite.csproj @@ -1,4 +1,4 @@ - + @@ -10,8 +10,8 @@ - - - + + + From f8789f5d5c4d5869490a05b8f7250b6151f1673e Mon Sep 17 00:00:00 2001 From: Nate McMaster Date: Fri, 13 Oct 2017 12:59:23 -0700 Subject: [PATCH 18/22] Update build tools to 2.0.2-rc1-15526 and dependencies to 2.0.1-rtm-105 --- .gitignore | 1 - build.ps1 | 4 +-- build.sh | 2 +- build/dependencies.props | 66 ++++++++++++++++++++-------------------- korebuild-lock.txt | 2 ++ 5 files changed, 38 insertions(+), 37 deletions(-) create mode 100644 korebuild-lock.txt diff --git a/.gitignore b/.gitignore index 277a801f99..ac632c481b 100644 --- a/.gitignore +++ b/.gitignore @@ -40,4 +40,3 @@ node_modules global.json BenchmarkDotNet.Artifacts/ *.g.targets -korebuild-lock.txt diff --git a/build.ps1 b/build.ps1 index b7081bc1c2..f2be7cbb7c 100644 --- a/build.ps1 +++ b/build.ps1 @@ -103,11 +103,11 @@ function Get-KoreBuild { } } catch { - remove-item -Recurse -Force $korebuildPath -ErrorAction Ignore + Remove-Item -Recurse -Force $korebuildPath -ErrorAction Ignore throw } finally { - remove-item $tmpfile -ErrorAction Ignore + Remove-Item $tmpfile -ErrorAction Ignore } } diff --git a/build.sh b/build.sh index 5138fc4f22..14d84a8773 100755 --- a/build.sh +++ b/build.sh @@ -11,7 +11,7 @@ RED="\033[0;31m" YELLOW="\033[0;33m" MAGENTA="\033[0;95m" DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -[ -z "${DOTNET_HOME:-}"] && DOTNET_HOME="$HOME/.dotnet" +[ -z "${DOTNET_HOME:-}" ] && DOTNET_HOME="$HOME/.dotnet" config_file="$DIR/korebuild.json" verbose=false update=false diff --git a/build/dependencies.props b/build/dependencies.props index f7aa93ef9e..e78aab42fc 100644 --- a/build/dependencies.props +++ b/build/dependencies.props @@ -3,42 +3,42 @@ 0.10.3 4.2.1 1.0.5 - 2.0.2-beta-15522 - 2.0.1-rtm-83 - 2.0.1-rtm-83 - 2.0.1-rtm-83 - 2.0.1-rtm-83 - 2.0.1-rtm-83 - 2.0.1-rtm-83 - 2.0.1-rtm-83 - 2.0.1-rtm-83 - 2.0.1-rtm-83 - 2.0.1-rtm-83 - 2.0.1-rtm-83 + 2.0.2-rc1-15526 + 2.0.1-rtm-105 + 2.0.1-rtm-105 + 2.0.1-rtm-105 + 2.0.1-rtm-105 + 2.0.1-rtm-105 + 2.0.1-rtm-105 + 2.0.1-rtm-105 + 2.0.1-rtm-105 + 2.0.1-rtm-105 + 2.0.1-rtm-105 + 2.0.1-rtm-105 2.0.0 - 2.0.1-rtm-83 - 2.0.1-rtm-83 + 2.0.1-rtm-105 + 2.0.1-rtm-105 2.0.0 - 2.0.1-rtm-83 - 2.0.1-rtm-83 - 2.0.1-rtm-83 - 2.0.1-rtm-83 - 2.0.1-rtm-83 - 2.0.1-rtm-83 - 2.0.1-rtm-83 - 2.0.1-rtm-83 - 2.0.1-rtm-83 - 2.0.1-rtm-83 - 2.0.1-rtm-83 - 2.0.1-rtm-83 - 2.0.1-rtm-83 - 2.0.1-rtm-83 - 2.0.1-rtm-83 + 2.0.1-rtm-105 + 2.0.1-rtm-105 + 2.0.1-rtm-105 + 2.0.1-rtm-105 + 2.0.1-rtm-105 + 2.0.1-rtm-105 + 2.0.1-rtm-105 + 2.0.1-rtm-105 + 2.0.1-rtm-105 + 2.0.1-rtm-105 + 2.0.1-rtm-105 + 2.0.1-rtm-105 + 2.0.1-rtm-105 + 2.0.1-rtm-105 + 2.0.1-rtm-105 2.0.0 - 2.0.1-rtm-83 + 2.0.1-rtm-105 5.2.2 2.3.1 - 2.0.1-rtm-83 + 2.0.1-rtm-105 2.0.0 2.0.0 2.0.0 @@ -53,7 +53,7 @@ 2.0.0 2.0.0 2.0.0 - 2.0.1-rtm-83 + 2.0.1-rtm-105 2.0.0 2.0.0 2.0.0 @@ -66,7 +66,7 @@ 2.0.0 2.0.0 2.0.0 - 2.0.1-rtm-83 + 2.0.1-rtm-105 15.3.0 4.7.49 1.0.1 diff --git a/korebuild-lock.txt b/korebuild-lock.txt new file mode 100644 index 0000000000..632c589cce --- /dev/null +++ b/korebuild-lock.txt @@ -0,0 +1,2 @@ +version:2.0.2-rc1-15526 +commithash:436afc3dc08f5e278431db807866cc5f032f4d7b From 82fd1c51c78ad305a6bcbde15c12b3b6c84e4b14 Mon Sep 17 00:00:00 2001 From: Nate McMaster Date: Wed, 6 Dec 2017 16:25:12 -0800 Subject: [PATCH 19/22] Bump version to 2.0.2 --- version.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.props b/version.props index b68865a1af..aeff39fd62 100644 --- a/version.props +++ b/version.props @@ -1,6 +1,6 @@ - 2.0.1 + 2.0.2 rtm $(VersionPrefix) $(VersionPrefix)-$(VersionSuffix)-final From 7cea779b7a744a3d915aa207a760f6f7b9c6dccc Mon Sep 17 00:00:00 2001 From: "N. Taylor Mullen" Date: Tue, 25 Apr 2017 12:23:36 -0700 Subject: [PATCH 20/22] Update JsonHelper to escape HTML. - This functionality can be disabled by setting the `Switch.Microsoft.AspNetCore.Mvc.AllowJsonHtml` switch in an app.config. - Updated tests to react to this new behavior. - Exposed a new `PublicSerializerSettings` property on `JsonOutputFormatter` so we can accurately copy settings from the used output formatter in `JsonHelper`. --- .../JsonOutputFormatter.cs | 11 +++ .../ViewFeatures/JsonHelper.cs | 48 ++++++++++++- .../BasicTests.cs | 10 ++- .../ViewFeatures/JsonHelperTest.cs | 68 +++++++++++++++++++ 4 files changed, 130 insertions(+), 7 deletions(-) create mode 100644 test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/JsonHelperTest.cs diff --git a/src/Microsoft.AspNetCore.Mvc.Formatters.Json/JsonOutputFormatter.cs b/src/Microsoft.AspNetCore.Mvc.Formatters.Json/JsonOutputFormatter.cs index 8ecdebb2e7..744d558680 100644 --- a/src/Microsoft.AspNetCore.Mvc.Formatters.Json/JsonOutputFormatter.cs +++ b/src/Microsoft.AspNetCore.Mvc.Formatters.Json/JsonOutputFormatter.cs @@ -3,6 +3,7 @@ using System; using System.Buffers; +using System.ComponentModel; using System.IO; using System.Text; using System.Threading.Tasks; @@ -62,6 +63,16 @@ namespace Microsoft.AspNetCore.Mvc.Formatters /// protected JsonSerializerSettings SerializerSettings { get; } + /// + /// Gets the used to configure the . + /// + /// + /// Any modifications to the object after this + /// has been used will have no effect. + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public JsonSerializerSettings PublicSerializerSettings => SerializerSettings; + /// /// Writes the given as JSON using the given /// . diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/JsonHelper.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/JsonHelper.cs index 4fcdfc3579..bda3a50784 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/JsonHelper.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/JsonHelper.cs @@ -17,6 +17,7 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures /// public class JsonHelper : IJsonHelper { + private const string AllowJsonHtml = "Switch.Microsoft.AspNetCore.Mvc.AllowJsonHtml"; private readonly JsonOutputFormatter _jsonOutputFormatter; private readonly ArrayPool _charPool; @@ -46,7 +47,15 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures /// public IHtmlContent Serialize(object value) { - return SerializeInternal(_jsonOutputFormatter, value); + if (AppContext.TryGetSwitch(AllowJsonHtml, out var allowJsonHtml) && allowJsonHtml) + { + return SerializeInternal(_jsonOutputFormatter, value); + } + + var settings = ShallowCopy(_jsonOutputFormatter.PublicSerializerSettings); + settings.StringEscapeHandling = StringEscapeHandling.EscapeHtml; + + return Serialize(value, settings); } /// @@ -69,5 +78,42 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures return new HtmlString(stringWriter.ToString()); } + + private static JsonSerializerSettings ShallowCopy(JsonSerializerSettings settings) + { + var copiedSettings = new JsonSerializerSettings + { + FloatParseHandling = settings.FloatParseHandling, + FloatFormatHandling = settings.FloatFormatHandling, + DateParseHandling = settings.DateParseHandling, + DateTimeZoneHandling = settings.DateTimeZoneHandling, + DateFormatHandling = settings.DateFormatHandling, + Formatting = settings.Formatting, + MaxDepth = settings.MaxDepth, + DateFormatString = settings.DateFormatString, + Context = settings.Context, + Error = settings.Error, + SerializationBinder = settings.SerializationBinder, + TraceWriter = settings.TraceWriter, + Culture = settings.Culture, + ReferenceResolverProvider = settings.ReferenceResolverProvider, + EqualityComparer = settings.EqualityComparer, + ContractResolver = settings.ContractResolver, + ConstructorHandling = settings.ConstructorHandling, + TypeNameAssemblyFormatHandling = settings.TypeNameAssemblyFormatHandling, + MetadataPropertyHandling = settings.MetadataPropertyHandling, + TypeNameHandling = settings.TypeNameHandling, + PreserveReferencesHandling = settings.PreserveReferencesHandling, + Converters = settings.Converters, + DefaultValueHandling = settings.DefaultValueHandling, + NullValueHandling = settings.NullValueHandling, + ObjectCreationHandling = settings.ObjectCreationHandling, + MissingMemberHandling = settings.MissingMemberHandling, + ReferenceLoopHandling = settings.ReferenceLoopHandling, + CheckAdditionalContent = settings.CheckAdditionalContent, + }; + + return copiedSettings; + } } } \ No newline at end of file diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/BasicTests.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/BasicTests.cs index 60697caf63..21829b3937 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/BasicTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/BasicTests.cs @@ -245,12 +245,10 @@ namespace Microsoft.AspNetCore.Mvc.FunctionalTests public async Task JsonHelper_RendersJson_WithCamelCaseNames() { // Arrange - var json = "{\"id\":9000,\"fullName\":\"John Smith\"}"; - var expectedBody = string.Format( - @"", - json); + var expectedBody = +@""; // Act var response = await Client.GetAsync("Home/JsonHelperInView"); diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/JsonHelperTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/JsonHelperTest.cs new file mode 100644 index 0000000000..bcc3e4b538 --- /dev/null +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ViewFeatures/JsonHelperTest.cs @@ -0,0 +1,68 @@ +// 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; +using Microsoft.AspNetCore.Html; +using Microsoft.AspNetCore.Mvc.Formatters; +using Newtonsoft.Json; +using Newtonsoft.Json.Serialization; +using Xunit; + +namespace Microsoft.AspNetCore.Mvc.ViewFeatures +{ + public class JsonHelperTest + { + [Fact] + public void Serialize_EscapesHtmlByDefault() + { + // Arrange + var settings = new JsonSerializerSettings() + { + StringEscapeHandling = StringEscapeHandling.EscapeNonAscii, + }; + var helper = new JsonHelper( + new JsonOutputFormatter(settings, ArrayPool.Shared), + ArrayPool.Shared); + var obj = new + { + HTML = "John Doe" + }; + var expectedOutput = "{\"HTML\":\"\\u003cb\\u003eJohn Doe\\u003c/b\\u003e\"}"; + + // Act + var result = helper.Serialize(obj); + + // Assert + var htmlString = Assert.IsType(result); + Assert.Equal(expectedOutput, htmlString.ToString()); + } + + [Fact] + public void Serialize_MaintainsSettingsAndEscapesHtml() + { + // Arrange + var settings = new JsonSerializerSettings() + { + ContractResolver = new DefaultContractResolver + { + NamingStrategy = new CamelCaseNamingStrategy(), + }, + }; + var helper = new JsonHelper( + new JsonOutputFormatter(settings, ArrayPool.Shared), + ArrayPool.Shared); + var obj = new + { + FullHtml = "John Doe" + }; + var expectedOutput = "{\"fullHtml\":\"\\u003cb\\u003eJohn Doe\\u003c/b\\u003e\"}"; + + // Act + var result = helper.Serialize(obj); + + // Assert + var htmlString = Assert.IsType(result); + Assert.Equal(expectedOutput, htmlString.ToString()); + } + } +} From 27895078085bab83d1854d48746ab37259bebefd Mon Sep 17 00:00:00 2001 From: Nate McMaster Date: Mon, 11 Dec 2017 11:49:13 -0800 Subject: [PATCH 21/22] Disable flaky test ProcessAsync_WorksForNestedCacheTagHelpers --- .../CacheTagHelperTest.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/CacheTagHelperTest.cs b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/CacheTagHelperTest.cs index 589ce007f8..41e68c8f74 100644 --- a/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/CacheTagHelperTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.TagHelpers.Test/CacheTagHelperTest.cs @@ -800,8 +800,9 @@ namespace Microsoft.AspNetCore.Mvc.TagHelpers Assert.True(tagHelperOutput4.IsContentModified); Assert.Equal(childContent, tagHelperOutput4.Content.GetContent()); } - - [Fact] + + // See https://github.com/aspnet/Mvc/issues/7122 + [Fact(Skip = "This test is flaky, and would require product changes to fix it. Issue #7122")] public async Task ProcessAsync_WorksForNestedCacheTagHelpers() { // Arrange From 67f48064ced9ac9c2917d369ffc7d1866d03c84d Mon Sep 17 00:00:00 2001 From: Nate McMaster Date: Mon, 11 Dec 2017 15:38:30 -0800 Subject: [PATCH 22/22] Skip additional flaky tests. See aspnet/Mvc#7122 --- .../HtmlGenerationTest.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/HtmlGenerationTest.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/HtmlGenerationTest.cs index d2d6a1349d..3a78be5346 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/HtmlGenerationTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/HtmlGenerationTest.cs @@ -255,7 +255,8 @@ namespace Microsoft.AspNetCore.Mvc.FunctionalTests #endif } - [Fact] + // See https://github.com/aspnet/Mvc/issues/7122 + [Fact(Skip = "This test is flaky, and would require product changes to fix it. Issue #7122")] public async Task CacheTagHelper_CanCachePortionsOfViewsPartialViewsAndViewComponents() { // Arrange @@ -440,7 +441,8 @@ namespace Microsoft.AspNetCore.Mvc.FunctionalTests Assert.Equal(expected2, response4.Trim()); } - [Fact] + // See https://github.com/aspnet/Mvc/issues/7122 + [Fact(Skip = "This test is flaky, and would require product changes to fix it. Issue #7122")] public async Task CacheTagHelper_BubblesExpirationOfNestedTagHelpers() { // Arrange & Act - 1