C# 클래스 StringFormatEx.Plugins.ArrayPlugin

상속: IStringFormatterPlugin
파일 보기 프로젝트 열기: qstarin/StringFormatEx

공개 메소드들

메소드 설명
GetFormatExtensions ( ) : IEnumerable>
GetSourceExtensions ( ) : IEnumerable>

비공개 메소드들

메소드 설명
DoArrayFormatting ( object sender, ExtendFormatEventArgs e ) : void
GetArrayIndex ( object sender, ExtendSourceEventArgs e ) : void
GetArraySource ( object sender, ExtendSourceEventArgs e ) : void

This allows an integer to be used as a selector to index an array (or list). Doesn't support ICollection because ICollection doesn't implement indexed items. This is better described using an example: CustomFormat("{Dates.2.Year}", {#1/1/2000#, #12/31/2999#, #9/9/9999#}) = "9999" The ".2" selector is used to reference Dates(2).

메소드 상세

GetFormatExtensions() 공개 메소드

public GetFormatExtensions ( ) : IEnumerable>
리턴 IEnumerable>

GetSourceExtensions() 공개 메소드

public GetSourceExtensions ( ) : IEnumerable>
리턴 IEnumerable>