We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 560f931 commit 216c322Copy full SHA for 216c322
src/Components/Shared/src/ResourceCollectionProvider.cs
@@ -7,6 +7,8 @@
7
8
namespace Microsoft.AspNetCore.Components;
9
10
+using static Microsoft.AspNetCore.Internal.LinkerFlags;
11
+
12
internal class ResourceCollectionProvider
13
{
14
private const string ResourceCollectionUrlKey = "__ResourceCollectionUrl";
@@ -52,6 +54,8 @@ internal void SetResourceCollection(ResourceAssetCollection resourceCollection)
52
54
_resourceCollection = resourceCollection;
53
55
}
56
57
+ [DynamicDependency(JsonSerialized, typeof(ResourceAsset))]
58
+ [DynamicDependency(JsonSerialized, typeof(ResourceAssetProperty))]
59
private async Task<ResourceAssetCollection> LoadResourceCollection()
60
61
if (_url == null)
0 commit comments