File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed
src/Components/Components/src Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -417,7 +417,6 @@ Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrameType.Region = 5 -> Mic
417417Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrameType.Text = 2 -> Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrameType
418418Microsoft.AspNetCore.Components.ResourceAsset
419419Microsoft.AspNetCore.Components.ResourceAsset.Properties.get -> System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Components.ResourceAssetProperty!>?
420- Microsoft.AspNetCore.Components.ResourceAsset.ResourceAsset(string! url, System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Components.ResourceAssetProperty!>? properties) -> void
421420Microsoft.AspNetCore.Components.ResourceAsset.Url.get -> string!
422421Microsoft.AspNetCore.Components.ResourceAssetCollection
423422Microsoft.AspNetCore.Components.ResourceAssetCollection.IsContentSpecificUrl(string! path) -> bool
Original file line number Diff line number Diff line change @@ -12,13 +12,8 @@ namespace Microsoft.AspNetCore.Components;
1212/// <param name="url">The URL of the resource.</param>
1313/// <param name="properties">The properties associated to this resource.</param>
1414[ DebuggerDisplay ( $ "{{{nameof(GetDebuggerDisplay)}(),nq}}") ]
15- public sealed class ResourceAsset ( string url , IReadOnlyList < ResourceAssetProperty > ? properties )
15+ public sealed class ResourceAsset ( string url , IReadOnlyList < ResourceAssetProperty > ? properties = null )
1616{
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 ) { }
2217 /// <summary>
2318 /// Gets the URL that identifies this resource.
2419 /// </summary>
You can’t perform that action at this time.
0 commit comments