Exemplo n.º 1
0
 private static Element.ElementProperties GetProperty(Element.ElementProperties[] props, Element.ElementProperties.PropertyType type)
 {
     Element.ElementProperties property = null;
     for (int i = 0; i < props.Length; i++)
     {
         if (props[i].type == type)
         {
             property = props[i];
         }
     }
     return(property);
 }
Exemplo n.º 2
0
 public bool HasProperty(Element.ElementProperties.PropertyType type)
 {
     return(GetProperty(this.eData.Properties, type) == null ? false : true);
 }