ImportMapDefinition Class
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.
Represents the contents of a element that defines the import map
for module scripts in the application.
public sealed class ImportMapDefinition
type ImportMapDefinition = class
Public NotInheritable Class ImportMapDefinition
- Inheritance
-
ImportMapDefinition
Remarks
The import map is a JSON object that defines the mapping of module import specifiers to URLs. ImportMapDefinition instances are expensive to create, so it is recommended to cache them if you are creating an additional instance.
Constructors
ImportMapDefinition(IReadOnlyDictionary<String,String>, IReadOnlyDictionary<String, IReadOnlyDictionary<String,String>>, IReadOnlyDictionary<String, String>) |
Initializes a new instance of ImportMapDefinition."/> with the specified imports, scopes, and integrity. |
Properties
Imports |
Gets the unscoped imports defined in the import map. |
Integrity |
Gets the integrity properties defined in the import map. |
Scopes |
Gets the scoped imports defined in the import map. |
Methods
Combine(ImportMapDefinition[]) |
Combines one or more import maps into a single import map. |
FromResourceCollection(ResourceAssetCollection) |
Creates an import map from a ResourceAssetCollection. |
ToString() | Returns a string that represents the current object. |