internal string GetXmlNamespace(BamlTranslator.TypeDeclaration type) { BamlTranslator.ClrNamespace namespace2 = new BamlTranslator.ClrNamespace(type.Namespace, type.Assembly); return (string)this.reverseTable[namespace2]; }
public void AddNamespaceMapping(string xmlNamespace, string clrNamespace, string assembly) { BamlTranslator.ClrNamespace namespace2 = new BamlTranslator.ClrNamespace(clrNamespace, assembly); this.table[xmlNamespace] = namespace2; this.reverseTable[namespace2] = xmlNamespace; }