XmlPreloadedResolver 构造函数

定义

初始化 XmlPreloadedResolver 类的新实例。

重载

XmlPreloadedResolver()

初始化 XmlPreloadedResolver 类的新实例。

XmlPreloadedResolver(XmlKnownDtds)

用指定的预加载已知 DTD 初始化 XmlPreloadedResolver 类的新实例。

XmlPreloadedResolver(XmlResolver)

用指定的回退冲突解决程序初始化 XmlPreloadedResolver 类的新实例。

XmlPreloadedResolver(XmlResolver, XmlKnownDtds)

用指定的回退冲突解决程序和预加载的已知 DTD 初始化 XmlPreloadedResolver 类的新实例。

XmlPreloadedResolver(XmlResolver, XmlKnownDtds, IEqualityComparer<Uri>)

使用指定的回退解析程序、预加载的已知 DTD 以及 URI 相等比较器初始化 XmlPreloadedResolver 类的新实例。

XmlPreloadedResolver()

初始化 XmlPreloadedResolver 类的新实例。

public:
 XmlPreloadedResolver();
public XmlPreloadedResolver ();
Public Sub New ()

适用于

XmlPreloadedResolver(XmlKnownDtds)

用指定的预加载已知 DTD 初始化 XmlPreloadedResolver 类的新实例。

public:
 XmlPreloadedResolver(System::Xml::Resolvers::XmlKnownDtds preloadedDtds);
public XmlPreloadedResolver (System.Xml.Resolvers.XmlKnownDtds preloadedDtds);
new System.Xml.Resolvers.XmlPreloadedResolver : System.Xml.Resolvers.XmlKnownDtds -> System.Xml.Resolvers.XmlPreloadedResolver
Public Sub New (preloadedDtds As XmlKnownDtds)

参数

preloadedDtds
XmlKnownDtds

应该预填充到缓存中的已知 DTD。

适用于

XmlPreloadedResolver(XmlResolver)

用指定的回退冲突解决程序初始化 XmlPreloadedResolver 类的新实例。

public:
 XmlPreloadedResolver(System::Xml::XmlResolver ^ fallbackResolver);
public XmlPreloadedResolver (System.Xml.XmlResolver? fallbackResolver);
public XmlPreloadedResolver (System.Xml.XmlResolver fallbackResolver);
new System.Xml.Resolvers.XmlPreloadedResolver : System.Xml.XmlResolver -> System.Xml.Resolvers.XmlPreloadedResolver
Public Sub New (fallbackResolver As XmlResolver)

参数

fallbackResolver
XmlResolver

XmlResolverXmlXapResolver 或您自己的冲突解决程序。

适用于

XmlPreloadedResolver(XmlResolver, XmlKnownDtds)

用指定的回退冲突解决程序和预加载的已知 DTD 初始化 XmlPreloadedResolver 类的新实例。

public:
 XmlPreloadedResolver(System::Xml::XmlResolver ^ fallbackResolver, System::Xml::Resolvers::XmlKnownDtds preloadedDtds);
public XmlPreloadedResolver (System.Xml.XmlResolver? fallbackResolver, System.Xml.Resolvers.XmlKnownDtds preloadedDtds);
public XmlPreloadedResolver (System.Xml.XmlResolver fallbackResolver, System.Xml.Resolvers.XmlKnownDtds preloadedDtds);
new System.Xml.Resolvers.XmlPreloadedResolver : System.Xml.XmlResolver * System.Xml.Resolvers.XmlKnownDtds -> System.Xml.Resolvers.XmlPreloadedResolver
Public Sub New (fallbackResolver As XmlResolver, preloadedDtds As XmlKnownDtds)

参数

fallbackResolver
XmlResolver

XmlResolverXmlXapResolver 或您自己的冲突解决程序。

preloadedDtds
XmlKnownDtds

应该预填充到缓存中的已知 DTD。

适用于

XmlPreloadedResolver(XmlResolver, XmlKnownDtds, IEqualityComparer<Uri>)

使用指定的回退解析程序、预加载的已知 DTD 以及 URI 相等比较器初始化 XmlPreloadedResolver 类的新实例。

public:
 XmlPreloadedResolver(System::Xml::XmlResolver ^ fallbackResolver, System::Xml::Resolvers::XmlKnownDtds preloadedDtds, System::Collections::Generic::IEqualityComparer<Uri ^> ^ uriComparer);
public XmlPreloadedResolver (System.Xml.XmlResolver? fallbackResolver, System.Xml.Resolvers.XmlKnownDtds preloadedDtds, System.Collections.Generic.IEqualityComparer<Uri>? uriComparer);
public XmlPreloadedResolver (System.Xml.XmlResolver fallbackResolver, System.Xml.Resolvers.XmlKnownDtds preloadedDtds, System.Collections.Generic.IEqualityComparer<Uri> uriComparer);
new System.Xml.Resolvers.XmlPreloadedResolver : System.Xml.XmlResolver * System.Xml.Resolvers.XmlKnownDtds * System.Collections.Generic.IEqualityComparer<Uri> -> System.Xml.Resolvers.XmlPreloadedResolver
Public Sub New (fallbackResolver As XmlResolver, preloadedDtds As XmlKnownDtds, uriComparer As IEqualityComparer(Of Uri))

参数

fallbackResolver
XmlResolver

XmlResolverXmlXapResolver 或您自己的冲突解决程序。

preloadedDtds
XmlKnownDtds

应该预填充到缓存中的已知 DTD。

uriComparer
IEqualityComparer<Uri>

在比较 URI 时要使用的 IEqualityComparer<T> 泛型接口的实现。

注解

如果要自定义 URI 比较,请使用此构造函数重载。

适用于