/* ----------------------------------------------------------------- */ /// /// Convert /// /// <summary> /// Executes the Convert method of the specified SimplexConverter. /// </summary> /// /* ----------------------------------------------------------------- */ private T Convert <T>(SimplexConverter src, object value) => (T)src.Convert(value, typeof(T), null, CultureInfo.CurrentCulture);
/* ----------------------------------------------------------------- */ /// /// Convert /// /// <summary> /// Sets the culture and executes the Convert method of the /// specified SimplexConverter. /// </summary> /// /* ----------------------------------------------------------------- */ private T Convert <T>(SimplexConverter src, object value, Language lang) { Locale.Set(lang); return(Convert <T>(src, value)); }