Ejemplo n.º 1
0
        public static bool Contains(this List <vItemAttribute> attributes, vItemEnumsBuilder.vItemAttributes name)
        {
            var attribute = attributes.Find(at => at.name == name);

            return(attribute != null);
        }
Ejemplo n.º 2
0
        public static vItemAttribute GetAttributeByType(this List <vItemAttribute> attributes, vItemEnumsBuilder.vItemAttributes name)
        {
            var attribute = attributes.Find(at => at.name == name);

            return(attribute);
        }
Ejemplo n.º 3
0
 public vItemAttribute(vItemEnumsBuilder.vItemAttributes name, int value)
 {
     this.name  = name;
     this.value = value;
 }