C# 클래스 Foobricator.Output.ConditionalOutput

Only output the targets when a condition is met
상속: IOutput, IDebugInfoProvider
파일 보기 프로젝트 열기: geoffles/Foobricator 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Target List
When When

공개 메소드들

메소드 설명
ConditionalOutput ( IEnumerable target, When when ) : System.Collections.Generic

Create a new conditional output

Evaluate ( TextWriter writer ) : void

Tests the when condition and evaluates the outputs when true.

메소드 상세

ConditionalOutput() 공개 메소드

Create a new conditional output
public ConditionalOutput ( IEnumerable target, When when ) : System.Collections.Generic
target IEnumerable Target outputs
when When Condition for output
리턴 System.Collections.Generic

Evaluate() 공개 메소드

Tests the when condition and evaluates the outputs when true.
public Evaluate ( TextWriter writer ) : void
writer System.IO.TextWriter
리턴 void

프로퍼티 상세

Target 공개적으로 프로퍼티

A list of targets which will be output when the condition is met
public List Target
리턴 List

When 공개적으로 프로퍼티

The condition on which to output the targets
public When,Foobricator.Output When
리턴 When