C# Класс HFMCmd.FixedWidthOutput

Base class for IOutput implementations that output data in fixed width format.
Наследование: IOutput
Показать файл Открыть проект

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

Свойство Тип Описание
DefaultFieldWidth int
FieldSeparator string

Защищенные свойства (Protected)

Свойство Тип Описание
_cancelled bool
_fieldNames string[]
_format string
_iteration int
_progress int
_records int
_total int
_totalIterations int
_widths int[]

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
CompletionPct ( ) : int

Описание методов

CompletionPct() защищенный Метод

protected CompletionPct ( ) : int
Результат int

End() публичный Метод

public End ( bool suppress ) : void
suppress bool
Результат void

EndProgress() публичный Метод

public EndProgress ( ) : void
Результат void

InitProgress() публичный Метод

public InitProgress ( string operation, int iterations, int total ) : void
operation string
iterations int
total int
Результат void

IterationComplete() публичный Метод

public IterationComplete ( ) : bool
Результат bool

SetHeader() публичный Метод

public SetHeader ( ) : void
Результат void

SetProgress() публичный Метод

public SetProgress ( int progress ) : bool
progress int
Результат bool

Wrap() публичный Метод

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
Результат List

WriteLine() публичный абстрактный Метод

public abstract WriteLine ( string format ) : void
format string
Результат void

WriteRecord() публичный Метод

public WriteRecord ( ) : void
Результат void

Описание свойств

DefaultFieldWidth публичное свойство

public int DefaultFieldWidth
Результат int

FieldSeparator публичное свойство

public string FieldSeparator
Результат string

_cancelled защищенное свойство

protected bool _cancelled
Результат bool

_fieldNames защищенное свойство

protected string[] _fieldNames
Результат string[]

_format защищенное свойство

protected string _format
Результат string

_iteration защищенное свойство

protected int _iteration
Результат int

_progress защищенное свойство

protected int _progress
Результат int

_records защищенное свойство

protected int _records
Результат int

_total защищенное свойство

protected int _total
Результат int

_totalIterations защищенное свойство

protected int _totalIterations
Результат int

_widths защищенное свойство

protected int[] _widths
Результат int[]