C# 클래스 StringFormatEx.Plugins.ConditionalPlugin

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

공개 메소드들

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

비공개 메소드들

메소드 설명
FormatConditional ( object sender, ExtendFormatEventArgs e ) : void
TryEvaluateCondition ( string &conditions, System value, bool &conditionResult ) : bool

Evaluates a conditional format. Each condition must start with a comparor: ">/>=", "</<=", "=", "!=". Conditions must be separated by either "&" (AND) or "/" (OR). The conditional statement must end with a "?". Examples: >=21&<30&!=25/=40?

메소드 상세

GetFormatExtensions() 공개 메소드

public GetFormatExtensions ( ) : IEnumerable>
리턴 IEnumerable>

GetSourceExtensions() 공개 메소드

public GetSourceExtensions ( ) : IEnumerable>
리턴 IEnumerable>