예제 #1
0
 internal string GetXmlNamespace(BamlTranslator.TypeDeclaration type)
 {
     BamlTranslator.ClrNamespace namespace2 = new BamlTranslator.ClrNamespace(type.Namespace, type.Assembly);
     return (string)this.reverseTable[namespace2];
 }
예제 #2
0
 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;
 }