C# Class Foobricator.Output.FormatString

Output a custom formatted string against an source data set
Inheritance: IOutput, IDebugInfoProvider
Datei anzeigen Open project: geoffles/Foobricator

Public Properties

Property Type Description
Format string
Source object
SuppressEndLine bool

Public Methods

Method Description
Evaluate ( TextWriter writer ) : void

Evaluates the source reference against the format string.

FormatString ( DataReference reference, string formatString, bool suppressEndLine ) : System

Create a new instance

FormatString ( ISource source, string formatString, bool suppressEndLine ) : System

Create a new instance

Method Details

Evaluate() public method

Evaluates the source reference against the format string.
public Evaluate ( TextWriter writer ) : void
writer System.IO.TextWriter
return void

FormatString() public method

Create a new instance
public FormatString ( DataReference reference, string formatString, bool suppressEndLine ) : System
reference Foobricator.Tools.DataReference
formatString string
suppressEndLine bool
return System

FormatString() public method

Create a new instance
public FormatString ( ISource source, string formatString, bool suppressEndLine ) : System
source ISource
formatString string
suppressEndLine bool
return System

Property Details

Format public_oe property

A standard .Net format string
public string Format
return string

Source public_oe property

Reference to the source dataset
public object Source
return object

SuppressEndLine public_oe property

Don't emit an end line
public bool SuppressEndLine
return bool