Ejemplo n.º 1
0
 /// <summary>
 /// Log a warning that conversion of a value to a decimal failed and that a default value will be returned.
 /// </summary>
 /// <param name="value">The value that could not be converted.</param>
 /// <param name="defaultValue">The default value.</param>
 /// <param name="frmEx">The format exception.</param>
 public void WriteConversionToDecimalFailedWarning(string value, decimal defaultValue, FormatException frmEx)
 {
     this.LogWarningMessage(string.Format(MessageStrings.ConversionToDecimalFailedInvalidFormat, value, defaultValue, frmEx.WithInnerExceptions()));
 }