C# Class Foobricator.Output.Times

A repeater output.
Inheritance: IOutput, IDebugInfoProvider
Show file Open project: geoffles/Foobricator Class Usage Examples

Public Properties

Property Type Description
Count int
Scope string
Separator string
Target List

Public Methods

Method Description
Evaluate ( TextWriter writer ) : void

Iterates Count times

Times ( IEnumerable target, int count, string separator, string scope ) : System.Collections.Generic

Initialise a new instance

Method Details

Evaluate() public method

Iterates Count times
public Evaluate ( TextWriter writer ) : void
writer System.IO.TextWriter
return void

Times() public method

Initialise a new instance
public Times ( IEnumerable target, int count, string separator, string scope ) : System.Collections.Generic
target IEnumerable
count int
separator string
scope string
return System.Collections.Generic

Property Details

Count public property

Number of times to repeat
public int Count
return int

Scope public property

The iterator scope
public string Scope
return string

Separator public property

What to emit between repeats
public string Separator
return string

Target public property

List of outputs
public List Target
return List