C# 클래스 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.
상속: VerboseFormatInfoBase
파일 보기 프로젝트 열기: ME3Explorer/ME3Explorer 1 사용 예제들

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
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).

메소드 상세

Clone() 공개 메소드

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

EnumerableFormatInfo() 공개 메소드

Default constructor.
public EnumerableFormatInfo ( ) : System
리턴 System

EnumerableFormatInfo() 공개 메소드

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.
리턴 System

EnumerableFormatInfo() 공개 메소드

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.
리턴 System