/// <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)); }
/// <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)); }