C# Class Xunit.Sdk.ArgumentFormatter

Formats arguments for display in theories.
显示文件 Open project: xbehave/xbehave.net Class Usage Examples

Public Methods

Method Description
Format ( object value ) : string

Format the value for presentation.

Private Methods

Method Description
Format ( object value, int depth ) : string
FormatComplexValue ( object value, int depth, Type type ) : string
FormatEnumerable ( IEnumerable enumerableValues, int depth ) : string
FormatTypeName ( Type type ) : string
UnwrapException ( Exception ex ) : Exception
WrapAndGetFormattedValue ( Func getter, int depth ) : string

Method Details

Format() public static method

Format the value for presentation.
public static Format ( object value ) : string
value object The value to be formatted.
return string