15 public Type
From => typeof(Enum);
20 public Type
To => typeof(
double);
31 return (
double)System.Convert.ToInt32(e);
33 throw new ArgumentException(
"Expected enumeration value.", nameof(Value));
48 throw new ArgumentException(
"Expected enumeration value.", nameof(Value));
Converts enumerated values to double numbers.
IElement ConvertToElement(object Value)
Converts the object in Value to an object of type To, encapsulated in an IElement.
object Convert(object Value)
Converts the object in Value to an object of type To.
Type From
Converts enumerated values to short numbers.
Type To
Converter converts objects to this type.
Basic interface for all types of elements.
Converts an object of one type to an object of another type.