public static string Info(this FormatStringUtilitiesHandle <Exception> hnd, ExceptionInfoFormattingOptions options, IFormatProvider formatProvider) { if (hnd.Object is null) { return(GetNullValueText(formatProvider: formatProvider)); } else { return(hnd.Object.ToExceptionInfo().ToString(options: options, singleInfoFormatter: null)); } }
public static string InfoNLI2(this FormatStringUtilitiesHandle <Exception> hnd, ExceptionInfoFormattingOptions options) => Environment.NewLine + Info(hnd: hnd, options: options, formatProvider: null).IndentLines2();
public static string Info(this FormatStringUtilitiesHandle <Exception> hnd, ExceptionInfoFormattingOptions options) => Info(hnd: hnd, options: options, formatProvider: null);