Ejemplo n.º 1
0
 public AbcNamespace GetNamespace(uint index, AbcNamespace zeroMeaning)
 {
     if (index != 0)
     {
         return(Namespaces[(int)index]);
     }
     if (zeroMeaning == null)
     {
         throw new Exception("zero namespace is not allowed in current context");
     }
     return(zeroMeaning);
 }
Ejemplo n.º 2
0
 public AbcNamespace GetNamespace(uint index, AbcNamespace zeroMeaning)
 {
     if (index != 0) return Namespaces[(int)index];
     if (zeroMeaning == null) throw new Exception("zero namespace is not allowed in current context");
     return zeroMeaning;
 }