//--- #region public object Property_get(string name_in, ClaSSPropertyAttribute.eType type_in); public object Property_get(string name_in, ClaSSPropertyAttribute.eType type_in) { PropertyInfo _property = Property_find(name_in, type_in); if (_property == null) { return(null); } else { return(_property.GetValue(this, null)); } }
public int PropertyIndex_find(string name_in, ClaSSPropertyAttribute.eType type_in) { for (int a = 0; a < Attributes.Length; a++) { if ( (Attributes[a].Name == name_in) && (Attributes[a].Type == type_in) ) { return(a); } } return(-1); }
public PropertyInfo Property_find(string name_in, ClaSSPropertyAttribute.eType type_in) { return(classstateapi_.Property_find(name_in, type_in)); }
public PropertyInfo Property_find(string name_in, ClaSSPropertyAttribute.eType type_in) { int _index = PropertyIndex_find(name_in, type_in); return((_index != -1) ? Properties[_index] : null); }