CreateSimpleFormatter() public static method

Creates new instance of verbose formatter which can be applied to format simplest possible strings. Only the first level of depth is presented in the formatted string and format is single-lined. This format is applicable to objects of unpredictable complexity, which should be presented by strings of limited length.
public static CreateSimpleFormatter ( ) : VerboseFormatInfoBase
return VerboseFormatInfoBase
コード例 #1
0
 /// <summary>
 ///     Converts current instance to user friendly string using simple formatter to format the string.
 /// </summary>
 /// <returns>String which represents contents of this instance.</returns>
 public override string ToString()
 {
     return(FormatInfoUtils.CreateSimpleFormatter().Format(this));
 }