/// <summary> /// Maps the <see cref="SciterValue"/> to <value>T</value> /// </summary> /// <param name="sciterValue"></param> /// <typeparam name="T"></typeparam> /// <returns></returns> public static T MapTo <T>(this SciterValue sciterValue) where T : class, new() { return((T)sciterValue.MapTo(typeof(T))); }