Beispiel #1
0
 public bool TryGetAttribyte(string name, out Attr attr)
 {
     for (int i = 0; i < attributes.Count; i++)
     {
         if (attributes[i].name.NoncaseEqual(name))
         {
             attr = attributes[i];
             return(true);
         }
     }
     attr = null;
     return(false);
 }
Beispiel #2
0
 public bool TryGetAttribyte(string name, out Attr attr)
 {
     for (int i = 0; i < attributes.Count; i++)
     {
         if (attributes[i].name.NoncaseEqual(name))
         {
             attr = attributes[i];
             return true;
         }
     }
     attr = null;
     return false;
 }