C# Class HFMCmd.FixedWidthOutput

Base class for IOutput implementations that output data in fixed width format.
Inheritance: IOutput
Afficher le fichier Open project: agardiner/hfmcmd

Méthodes publiques

Свойство Type Description
DefaultFieldWidth int
FieldSeparator string

Protected Properties

Свойство Type Description
_cancelled bool
_fieldNames string[]
_format string
_iteration int
_progress int
_records int
_total int
_totalIterations int
_widths int[]

Méthodes publiques

Méthode Description
End ( bool suppress ) : void
EndProgress ( ) : void
InitProgress ( string operation, int iterations, int total ) : void
IterationComplete ( ) : bool
SetHeader ( ) : void
SetProgress ( int progress ) : bool
Wrap ( ) : List

Wraps record values according to the current column widths, and returns a List of lines, formatted to line up correctly in the fields.

WriteLine ( string format ) : void
WriteRecord ( ) : void

Méthodes protégées

Méthode Description
CompletionPct ( ) : int

Method Details

CompletionPct() protected méthode

protected CompletionPct ( ) : int
Résultat int

End() public méthode

public End ( bool suppress ) : void
suppress bool
Résultat void

EndProgress() public méthode

public EndProgress ( ) : void
Résultat void

InitProgress() public méthode

public InitProgress ( string operation, int iterations, int total ) : void
operation string
iterations int
total int
Résultat void

IterationComplete() public méthode

public IterationComplete ( ) : bool
Résultat bool

SetHeader() public méthode

public SetHeader ( ) : void
Résultat void

SetProgress() public méthode

public SetProgress ( int progress ) : bool
progress int
Résultat bool

Wrap() public méthode

Wraps record values according to the current column widths, and returns a List of lines, formatted to line up correctly in the fields.
public Wrap ( ) : List
Résultat List

WriteLine() public abstract méthode

public abstract WriteLine ( string format ) : void
format string
Résultat void

WriteRecord() public méthode

public WriteRecord ( ) : void
Résultat void

Property Details

DefaultFieldWidth public_oe property

public int DefaultFieldWidth
Résultat int

FieldSeparator public_oe property

public string FieldSeparator
Résultat string

_cancelled protected_oe property

protected bool _cancelled
Résultat bool

_fieldNames protected_oe property

protected string[] _fieldNames
Résultat string[]

_format protected_oe property

protected string _format
Résultat string

_iteration protected_oe property

protected int _iteration
Résultat int

_progress protected_oe property

protected int _progress
Résultat int

_records protected_oe property

protected int _records
Résultat int

_total protected_oe property

protected int _total
Résultat int

_totalIterations protected_oe property

protected int _totalIterations
Résultat int

_widths protected_oe property

protected int[] _widths
Résultat int[]