C# Class ObjectFormatting.ObjectFormatter

Show file Open project: tncbbthositg/ObjectFormatter

Public Methods

Method Description
TokenFormat ( this formatString, object>.IDictionary tokens ) : string
TokenFormat ( this formatString, object source ) : string
TokenFormat ( this formatString, object source, object>.IDictionary tokens ) : string

Private Methods

Method Description
GetIndexArray ( string indexes ) : object[]
GetPropertyValue ( object target, string name, string indexList ) : object
GetPropertyValueFromPath ( object target, string path ) : object
GetStringSection ( char format, int leftIndex, int rightIndex ) : string

Method Details

TokenFormat() public static method

public static TokenFormat ( this formatString, object>.IDictionary tokens ) : string
formatString this
tokens object>.IDictionary
return string

TokenFormat() public static method

public static TokenFormat ( this formatString, object source ) : string
formatString this
source object
return string

TokenFormat() public static method

public static TokenFormat ( this formatString, object source, object>.IDictionary tokens ) : string
formatString this
source object
tokens object>.IDictionary
return string