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

Format provider used to format strings that represent objects which implement System.Collections.IEnumerable or System.Collections.Generic.IEnumerable<T> interface. VerboseFormatInfo delegates calls to this class when formatting enumerable types. This class is internal and cannot be used directly.
Inheritance: VerboseFormatInfoBase
Afficher le fichier Open project: ME3Explorer/ME3Explorer Class Usage Examples

Méthodes publiques

Méthode Description
Clone ( ) : object

Performs deep copying of this instance.

EnumerableFormatInfo ( ) : System

Default constructor.

EnumerableFormatInfo ( EnumerableFormatInfo other ) : System

Copy constructor which copies all internal values from other instance to create identical copy.

EnumerableFormatInfo ( VerboseFormatInfoBase other ) : System

Copy constructor which uses other instance to copy internal values which are common to all verbose formatters.

Private Methods

Méthode Description
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.

GetEnumerator ( object arg, Type &enumeratedType ) : object

Gets enumerator for a given object which implements System.Collections.IEnumerable or generic System.Collections.Generic.IEnumerable<T> interface. If both interfaces are implemented, then generic version is returned by this method.

GetNextValue ( object enumerator, object &value ) : bool

Gets next value from enumerator used to iterate through given object.

IsFormatApplicable ( Type dataType ) : bool

Gets value indicating whether this format provider is applicable to given data type (true) or not (false).

Method Details

Clone() public méthode

Performs deep copying of this instance.
public Clone ( ) : object
Résultat object

EnumerableFormatInfo() public méthode

Default constructor.
public EnumerableFormatInfo ( ) : System
Résultat System

EnumerableFormatInfo() public méthode

Copy constructor which copies all internal values from other instance to create identical copy.
public EnumerableFormatInfo ( EnumerableFormatInfo other ) : System
other EnumerableFormatInfo Instance from which all internal values are copied to new instance.
Résultat System

EnumerableFormatInfo() public méthode

Copy constructor which uses other instance to copy internal values which are common to all verbose formatters.
public EnumerableFormatInfo ( VerboseFormatInfoBase other ) : System
other VerboseFormatInfoBase Instance from which values are copied that are common to all verbose formatters.
Résultat System