C# Класс Foobricator.Output.ConditionalOutput

Only output the targets when a condition is met
Наследование: IOutput, IDebugInfoProvider
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
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