C# 클래스 SmartFormat.Extensions.ConditionalFormatter

상속: IFormatter
파일 보기 프로젝트 열기: scottrippey/SmartFormat.NET

공개 메소드들

메소드 설명
TryEvaluateFormat ( IFormattingInfo formattingInfo ) : bool

비공개 메소드들

메소드 설명
TryEvaluateCondition ( Format parameter, decimal value, bool &conditionResult, Format &outputItem ) : 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?

메소드 상세

TryEvaluateFormat() 공개 메소드

public TryEvaluateFormat ( IFormattingInfo formattingInfo ) : bool
formattingInfo IFormattingInfo
리턴 bool