MultilineTextDiff/VerySimpleRtfBuilder.cs
/// <summary>
/// Add new formated text value to RTF.
/// </summary>
/// <param name="style">Style for inserted text value.</param>
/// <param name="format">Format of new formatted text.</param>
/// <param name="args">Values to be added to formatted text.</param>
/// <returns>
/// Current instance.
/// </returns>
Add new formated text value to RTF.
Add new formated text value to RTF .
[SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object[])", Justification = "Use system default")]
    [SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Justification = "Public user interface")]
    public VerySimpleRtfBuilder Append(Styles style, string format, params object[] args)
    {
      if (!string.IsNullOrEmpty(format))
      {
        SetStyle(style).Append(string.Format(format, args)).CloseStyle();
      }
      return (this);
    }
[ SuppressMessage ( " " , " " , MessageId = " " , Justification = " " ) ] [ SuppressMessage ( " " , " " , Justification = " " ) ] public VerySimpleRtfBuilder Append ( Styles style , string format , params object [ ] args ) { if ( ! string . IsNullOrEmpty ( format ) ) { SetStyle ( style ) . Append ( string . Format ( format , args ) ) . CloseStyle ( ) ; } return ( this ) ; }
Add new formated text value to RTF.
Add new formated text value to RTF .
None
style
Styles
Style for inserted text value.
Style for inserted text value .
format
string
Format of new formatted text.
Format of new formatted text .
args
Values to be added to formatted text.
Values to be added to formatted text .