C# Class NuCmd.DefaultConsoleFormatter

Inheritance: IConsoleFormatter
Show file Open project: NuGet/NuGet.Operations

Public Properties

Property Type Description
Instance DefaultConsoleFormatter

Public Methods

Method Description
Format ( object target ) : string
SelectProperties ( object target ) : IEnumerable

Protected Methods

Method Description
DefaultConsoleFormatter ( ) : System

Private Methods

Method Description
FormatTypeName ( Type type ) : string
GetValue ( object target, PropertyInfo property ) : object
RenderValue ( object value, PropertyInfo sourceProperty, object target ) : string

Method Details

DefaultConsoleFormatter() protected method

protected DefaultConsoleFormatter ( ) : System
return System

Format() public method

public Format ( object target ) : string
target object
return string

SelectProperties() public method

public SelectProperties ( object target ) : IEnumerable
target object
return IEnumerable

Property Details

Instance public static property

public static DefaultConsoleFormatter,NuCmd Instance
return DefaultConsoleFormatter