Beispiel #1
0
 /// <summary>
 /// Converts a value of one data type to another.
 /// </summary>
 /// <param name="value">A Value object.</param>
 /// <param name="dataType">The target data type definition.</param>
 public static SysFn CastAs(this Value value, Wall.DataType dataType)
 {
     return(Designer.Cast(value, dataType));
 }
Beispiel #2
0
 /// <summary>
 /// Converts a value of one data type to another.
 /// </summary>
 /// <param name="value">The value to convert.</param>
 /// <param name="dataType">The target data type definition.</param>
 public static SysFn CastAs(this System.TimeSpan value, Wall.DataType dataType)
 {
     return(Designer.Cast(value, dataType));
 }