Concrete property. Used to convert any given data type to a number.
示例#1
0
 /// <summary>Default constructor.</summary>
 public Descriptor()
 {
     Name     = "";
     Features = new Property[] { };
 }
示例#2
0
 /// <summary>
 /// Returns the raw value from the object for the supplied property.
 /// </summary>
 /// <param name="o">Object to process.</param>
 /// <param name="property">Property value of the object to return.</param>
 /// <returns></returns>
 public object GetValue(object o, Property property)
 {
     return(Ject.Get(o, property.Name));
 }