ImportMapDefinition 构造函数

定义

初始化 ImportMapDefinition的新实例。/> 具有指定导入、范围和完整性。

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))

参数

imports
IReadOnlyDictionary<String,String>

导入映射中定义的无作用域导入。

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

导入映射中定义的作用域内导入。

integrity
IReadOnlyDictionary<String,String>

导入映射中定义的导入的完整性。

注解

importsscopesintegrity 参数将复制到新实例中。 不会修改原始集合。

适用于