File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
src/Components/Components/src Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 1
1
#nullable enable
2
- Microsoft.AspNetCore.Components.ResourceAsset.ResourceAsset(string! url, System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Components.ResourceAssetProperty!>? properties = null ) -> void
2
+ Microsoft.AspNetCore.Components.ResourceAsset.ResourceAsset(string! url) -> void
3
3
Microsoft.AspNetCore.Components.Routing.Router.NotFoundPage.get -> System.Type!
4
4
Microsoft.AspNetCore.Components.Routing.Router.NotFoundPage.set -> void
5
5
Microsoft.AspNetCore.Components.Infrastructure.ComponentsMetricsServiceCollectionExtensions
Original file line number Diff line number Diff line change @@ -12,8 +12,14 @@ namespace Microsoft.AspNetCore.Components;
12
12
/// <param name="url">The URL of the resource.</param>
13
13
/// <param name="properties">The properties associated to this resource.</param>
14
14
[ DebuggerDisplay ( $ "{{{nameof(GetDebuggerDisplay)}(),nq}}") ]
15
- public sealed class ResourceAsset ( string url , IReadOnlyList < ResourceAssetProperty > ? properties = null )
15
+ public sealed class ResourceAsset ( string url , IReadOnlyList < ResourceAssetProperty > ? properties )
16
16
{
17
+ /// <summary>
18
+ /// Initializes a new instance of <see cref="ResourceAsset"/>.
19
+ /// </summary>
20
+ /// <param name="url">The URL of the resource.</param>
21
+ public ResourceAsset ( string url ) : this ( url , null ) { }
22
+
17
23
/// <summary>
18
24
/// Gets the URL that identifies this resource.
19
25
/// </summary>
You can’t perform that action at this time.
0 commit comments