C# 클래스 Gurpenator.Formula.Conditional

상속: UnaryPrefix
파일 보기 프로젝트 열기: thejoshwolfe/Gurpenator

공개 프로퍼티들

프로퍼티 타입 설명
condition Formula
thenPart Formula

공개 메소드들

메소드 설명
Conditional ( SymbolToken ifToken, Formula condition, Formula thenPart ) : System
ToString ( ) : string
checkIsBoolean ( CheckingContext context ) : void
checkIsInt ( CheckingContext context ) : void
checkIsPercent ( CheckingContext context ) : void
evalBoolean ( EvaluationContext context ) : bool
evalInt ( EvaluationContext context ) : int
evalPercent ( EvaluationContext context ) : decimal
usedNames ( ) : IEnumerable

메소드 상세

Conditional() 공개 메소드

public Conditional ( SymbolToken ifToken, Formula condition, Formula thenPart ) : System
ifToken SymbolToken
condition Formula
thenPart Formula
리턴 System

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

checkIsBoolean() 공개 메소드

public checkIsBoolean ( CheckingContext context ) : void
context CheckingContext
리턴 void

checkIsInt() 공개 메소드

public checkIsInt ( CheckingContext context ) : void
context CheckingContext
리턴 void

checkIsPercent() 공개 메소드

public checkIsPercent ( CheckingContext context ) : void
context CheckingContext
리턴 void

evalBoolean() 공개 메소드

public evalBoolean ( EvaluationContext context ) : bool
context EvaluationContext
리턴 bool

evalInt() 공개 메소드

public evalInt ( EvaluationContext context ) : int
context EvaluationContext
리턴 int

evalPercent() 공개 메소드

public evalPercent ( EvaluationContext context ) : decimal
context EvaluationContext
리턴 decimal

usedNames() 공개 메소드

public usedNames ( ) : IEnumerable
리턴 IEnumerable

프로퍼티 상세

condition 공개적으로 프로퍼티

public Formula,Gurpenator condition
리턴 Formula

thenPart 공개적으로 프로퍼티

public Formula,Gurpenator thenPart
리턴 Formula