C# Класс 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.
Наследование: VerboseFormatInfoBase
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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.

Описание методов

ArrayFormatInfo() публичный Метод

Default constructor.
public ArrayFormatInfo ( ) : System
Результат System

ArrayFormatInfo() публичный Метод

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.
Результат System

ArrayFormatInfo() публичный Метод

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.
Результат System

Clone() публичный Метод

Performs deep copying of this instance.
public Clone ( ) : object
Результат object