Share via


ImportMapDefinition.FromResourceCollection(ResourceAssetCollection) Method

Definition

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.

Applies to