ImportMapDefinition Constructor

Definition

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.

scopes
IReadOnlyDictionary<String,IReadOnlyDictionary<String,String>>

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.

Applies to