ImportMapDefinition Constructor
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.
Initializes a new instance of ImportMapDefinition."/> with the specified imports, scopes, and integrity.
public ImportMapDefinition (System.Collections.Generic.IReadOnlyDictionary<string,string>? imports, System.Collections.Generic.IReadOnlyDictionary<string,System.Collections.Generic.IReadOnlyDictionary<string,string>>? scopes, System.Collections.Generic.IReadOnlyDictionary<string,string>? integrity);
new Microsoft.AspNetCore.Components.ImportMapDefinition : System.Collections.Generic.IReadOnlyDictionary<string, string> * System.Collections.Generic.IReadOnlyDictionary<string, System.Collections.Generic.IReadOnlyDictionary<string, string>> * System.Collections.Generic.IReadOnlyDictionary<string, string> -> Microsoft.AspNetCore.Components.ImportMapDefinition
Public Sub New (imports As IReadOnlyDictionary(Of String, String), scopes As IReadOnlyDictionary(Of String, IReadOnlyDictionary(Of String, String)), integrity As IReadOnlyDictionary(Of String, String))
Parameters
- imports
- IReadOnlyDictionary<String,String>
The unscoped imports defined in the import map.
The scoped imports defined in the import map.
- integrity
- IReadOnlyDictionary<String,String>
The integrity for the imports defined in the import map.
Remarks
The imports
, scopes
, and integrity
parameters will be copied into the new instance. The original collections will not be modified.