ImportMapDefinition.FromResourceCollection(ResourceAssetCollection) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates an import map from a ResourceAssetCollection.
public static Microsoft.AspNetCore.Components.ImportMapDefinition FromResourceCollection (Microsoft.AspNetCore.Components.ResourceAssetCollection assets);
static member FromResourceCollection : Microsoft.AspNetCore.Components.ResourceAssetCollection -> Microsoft.AspNetCore.Components.ImportMapDefinition
Public Shared Function FromResourceCollection (assets As ResourceAssetCollection) As ImportMapDefinition
Parameters
- assets
- ResourceAssetCollection
The collection of assets to create the import map from.
Returns
The import map.