Exemplo n.º 1
0
 /// <summary>
 /// Register a namespace and prefix to use
 /// </summary>
 /// <param name="uri"></param>
 /// <param name="prefix"></param>
 public virtual void RegisterNamespace(string prefix, string uri)
 {
     NamespaceManager.RegisterNamespace(prefix, uri);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Lookup a prefix namespace based on the namespace.
 /// </summary>
 /// <param name="uri"></param>
 /// <returns></returns>
 public virtual string LookupPrefix(string uri)
 {
     return(NamespaceManager.LookupPrefix(uri));
 }
 /// <copydocfrom cref="IXmlMappingEngine.LookupPrefix" />
 public string LookupPrefix(string xmlNamespace)
 {
     return(NamespaceManager.LookupPrefix(xmlNamespace));
 }
Exemplo n.º 4
0
 /// <summary>
 /// Lookup a namespace based on the prefix.
 /// </summary>
 /// <param name="prefix"></param>
 /// <returns></returns>
 public virtual string LookupNamespace(string prefix)
 {
     return(NamespaceManager.LookupNamespace(prefix));
 }
 /// <copydocfrom cref="IXmlMappingEngine.RegisterNamespace" />
 public void RegisterNamespace(string xmlPrefix, string xmlNamespace)
 {
     NamespaceManager.RegisterNamespace(xmlPrefix, xmlNamespace);
 }