Skip to content

Commit 2030c5c

Browse files
committed
Merge remote-tracking branch 'origin/release/5.0'
2 parents 6ec61eb + a3767ee commit 2030c5c

File tree

115 files changed

+1087
-117
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+1087
-117
lines changed

src/Components/Analyzers/src/Microsoft.AspNetCore.Components.Analyzers.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<NoPackageAnalysis>true</NoPackageAnalysis>
77
<GenerateDocumentationFile>false</GenerateDocumentationFile>
88
<Description>Roslyn analyzers for ASP.NET Core Components.</Description>
9+
<NoWarn>$(NoWarn.Replace('1591', ''))</NoWarn>
910
</PropertyGroup>
1011

1112
<ItemGroup>

src/Components/Authorization/src/AuthorizeRouteView.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ private static readonly RenderFragment _defaultAuthorizingContent
3030
private readonly RenderFragment<AuthenticationState> _renderNotAuthorizedDelegate;
3131
private readonly RenderFragment _renderAuthorizingDelegate;
3232

33+
/// <summary>
34+
/// Initialize a new instance of a <see cref="AuthorizeRouteView"/>.
35+
/// </summary>
3336
public AuthorizeRouteView()
3437
{
3538
// Cache the rendering delegates so that we only construct new closure instances

src/Components/Authorization/src/Microsoft.AspNetCore.Components.Authorization.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<IsAspNetCoreApp>true</IsAspNetCoreApp>
66
<Description>Authentication and authorization support for Blazor applications.</Description>
77
<GenerateDocumentationFile>true</GenerateDocumentationFile>
8+
<NoWarn>$(NoWarn.Replace('1591', ''))</NoWarn>
89
</PropertyGroup>
910

1011
<ItemGroup>

src/Components/Components/src/Microsoft.AspNetCore.Components.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<GenerateDocumentationFile>true</GenerateDocumentationFile>
77
<IsAspNetCoreApp>true</IsAspNetCoreApp>
88
<Nullable>enable</Nullable>
9+
<NoWarn>$(NoWarn.Replace('1591', ''))</NoWarn>
910
</PropertyGroup>
1011

1112
<ItemGroup>

src/Components/Components/src/RouteView.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ public class RouteView : IComponent
3535
[Parameter]
3636
public Type DefaultLayout { get; set; }
3737

38+
/// <summary>
39+
/// Initializes a new instance of <see cref="RouteView"/>.
40+
/// </summary>
3841
public RouteView()
3942
{
4043
// Cache the delegate instances

src/Components/Components/src/Routing/NavigationContext.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,14 @@ internal NavigationContext(string path, CancellationToken cancellationToken)
1717
CancellationToken = cancellationToken;
1818
}
1919

20+
/// <summary>
21+
/// The target path for the navigation.
22+
/// </summary>
2023
public string Path { get; }
2124

25+
/// <summary>
26+
/// The <see cref="CancellationToken"/> to use to cancel navigation.
27+
/// </summary>
2228
public CancellationToken CancellationToken { get; }
2329
}
2430
}

src/Components/Forms/src/Microsoft.AspNetCore.Components.Forms.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<Description>Forms and validation support for Blazor applications.</Description>
77
<GenerateDocumentationFile>true</GenerateDocumentationFile>
88
<Nullable>enable</Nullable>
9+
<NoWarn>$(NoWarn.Replace('1591', ''))</NoWarn>
910
</PropertyGroup>
1011

1112
<ItemGroup>

src/Components/Server/src/Microsoft.AspNetCore.Components.Server.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<GenerateEmbeddedFilesManifest>true</GenerateEmbeddedFilesManifest>
77
<GenerateDocumentationFile>true</GenerateDocumentationFile>
88
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
9-
<NoWarn>CS0436;$(NoWarn)</NoWarn>
9+
<NoWarn>CS0436;$(NoWarn.Replace('1591', ''))</NoWarn>
1010
<DefineConstants>$(DefineConstants);ENABLE_UNSAFE_MSGPACK;SPAN_BUILTIN;MESSAGEPACK_INTERNAL;COMPONENTS_SERVER</DefineConstants>
1111
<IsPackable>false</IsPackable>
1212
<EmbeddedFilesManifestFileName>Microsoft.Extensions.FileProviders.Embedded.Manifest.xml</EmbeddedFilesManifestFileName>

src/Components/Web/src/ElementReferenceExtensions.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77

88
namespace Microsoft.AspNetCore.Components
99
{
10+
/// <summary>
11+
/// Static class that adds extension methods to <see cref="ElementReference"/>.
12+
/// </summary>
1013
public static class ElementReferenceExtensions
1114
{
1215
/// <summary>

src/Components/Web/src/Forms/InputBase.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,7 @@ private bool ConvertToDictionary(IReadOnlyDictionary<string, object>? source, ou
287287
return newDictionaryCreated;
288288
}
289289

290+
/// <inheritdoc/>
290291
protected virtual void Dispose(bool disposing)
291292
{
292293
}

0 commit comments

Comments
 (0)