/// <summary> /// Transform the default value of the property to a different value /// </summary> /// <param name="obj">Original value of the property</param> /// <param name="member">Property info</param> /// <param name="i">Current slice</param> /// <returns>The resulting transformed object</returns> public virtual object TransformDefaultValue(object obj, PropertyInfo member) { return(MiscExtensions.MapSystemNumericsValueToVVVV(obj)); }
/// <summary> /// Transform a field or a property to a different value /// </summary> /// <param name="obj">Original value of the field / property</param> /// <param name="member">Field / Property info</param> /// <param name="i">Current slice</param> /// <param name="stopwatchtoseconds"></param> /// <returns>The resulting transformed object</returns> public virtual object TransformOutput(object obj, MemberInfo member, int i) { return(MiscExtensions.MapSystemNumericsValueToVVVV(obj, StopWatchToSeconds)); }