C# Class Foobricator.Output.Times

A repeater output.
Inheritance: IOutput, IDebugInfoProvider
Exibir arquivo 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_oe property

Number of times to repeat
public int Count
return int

Scope public_oe property

The iterator scope
public string Scope
return string

Separator public_oe property

What to emit between repeats
public string Separator
return string

Target public_oe property

List of outputs
public List Target
return List