Пример #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);
 }
Пример #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;
 }