Ejemplo n.º 1
0
 public AbcMultiname GetMultiname(uint index, AbcMultiname zeroMeaning)
 {
     if (index != 0)
     {
         return(Multinames[(int)index]);
     }
     if (zeroMeaning == null)
     {
         throw new Exception("zero multiname is not allowed in current context");
     }
     return(zeroMeaning);
 }
Ejemplo n.º 2
0
 public AbcMultiname GetMultiname(uint index, AbcMultiname zeroMeaning)
 {
     if (index != 0) return Multinames[(int)index];
     if (zeroMeaning == null) throw new Exception("zero multiname is not allowed in current context");
     return zeroMeaning;
 }
Ejemplo n.º 3
0
 public static XElement AddName(this XElement node, AbcMultiname multiname)
 {
     node.Add(new XAttribute("name", multiname.ToXml()));
     return node;
 }