C# Class Gammtek.Conduit.Text.Formatting.ArrayFormatInfo

Format provider used to format strings that represent arrays of objects. VerboseFormatInfo delegates calls to this class when formatting arrays. This class is internal and cannot be used directly.
Inheritance: VerboseFormatInfoBase
Mostra file Open project: ME3Explorer/ME3Explorer Class Usage Examples

Public Methods

Method Description
ArrayFormatInfo ( ) : System

Default constructor.

ArrayFormatInfo ( ArrayFormatInfo other ) : System

Copy constructor which copies values common to all instances of this class.

ArrayFormatInfo ( VerboseFormatInfoBase other ) : System

Copy constructor which copies values common to all verbose format providers.

Clone ( ) : object

Performs deep copying of this instance.

Private Methods

Method Description
AppendFriendlyTypeName ( Type type, object instance, StringBuilder sb, int &maxLength ) : bool

Formats friendly representation of the name of the given type.

Format ( StringBuilder sb, string format, object arg, IFormatProvider formatProvider, int &maxLength ) : bool

Converts the value of a specified object to an equivalent string representation using specified format and culture-specific formatting information.

GetDimensions ( object arg ) : int[]

Gets array specifying lengths of all dimensions of instance for which formatted string is produced using this format provider.

IsFormatApplicable ( Type dataType ) : bool

Gets value indicating whether this format provider is applicable to format strings that represent instances of given data type. This format provider is applicable if dataType is array.

RecursiveAppendDimension ( StringBuilder sb, Array arg, List indices, int &maxLength ) : bool

Appends formatted string representing part of the array provided, starting from specific location within the array.

Method Details

ArrayFormatInfo() public method

Default constructor.
public ArrayFormatInfo ( ) : System
return System

ArrayFormatInfo() public method

Copy constructor which copies values common to all instances of this class.
public ArrayFormatInfo ( ArrayFormatInfo other ) : System
other ArrayFormatInfo Instance from which values are copied.
return System

ArrayFormatInfo() public method

Copy constructor which copies values common to all verbose format providers.
public ArrayFormatInfo ( VerboseFormatInfoBase other ) : System
other VerboseFormatInfoBase Instance from which common values are copied.
return System

Clone() public method

Performs deep copying of this instance.
public Clone ( ) : object
return object