Свойство | Type | Description | |
---|---|---|---|
LINEBREAKS | char[] | ||
WHITESPACE | char[] | ||
WORDBREAKS | char[] | ||
_log | log4net.ILog |
Méthode | Description | |
---|---|---|
End ( this output ) : void |
Convenience for the common case of not suppressing footer record
|
|
GetFieldNamesAndWidths ( object fields, int &widths ) : string[] |
Converts the object[] passed to SetHeader into field names and widths. The field names are returned as a string[], while the field widths are returned in an out int[].
|
|
InitProgress ( this output, string operation ) : void |
Helper method for initiating an operation whose progress will be monitored. Provides defaults for iteration (1) and total (100).
|
|
InitProgress ( this output, string operation, int iterations ) : void |
Helper method for initiating an operation whose progress will be monitored. Provides default for total (100).
|
|
ShouldCancel ( ) : bool |
Method that can be used by IOutput implementations to determine the appropriate value to send for the cancel return value in a call to SetProgress.
|
|
WrapText ( object value, int width ) : List |
Method for wrapping text to a certain width.
|
|
WriteEnumerable ( this output, IEnumerable enumerable ) : void |
Eases use of the IOutput interface for cases where we want to output a collection of records with a single column.
|
|
WriteLine ( this output ) : void |
Eases use of the IOutput interface for cases where we just want to output a blank line.
|
|
WriteSingleRecord ( this output ) : void |
Eases use of the IOutput interface for cases where we just want to output a single record with multiple fields.
|
|
WriteSingleValue ( this output, object value ) : void |
Eases use of the IOutput interface for cases where we just want to output a single record with a single field.
|
public static GetFieldNamesAndWidths ( object fields, int &widths ) : string[] | ||
fields | object | |
widths | int | |
Résultat | string[] |
public static InitProgress ( this output, string operation ) : void | ||
output | this | |
operation | string | |
Résultat | void |
public static InitProgress ( this output, string operation, int iterations ) : void | ||
output | this | |
operation | string | |
iterations | int | |
Résultat | void |
public static WrapText ( object value, int width ) : List |
||
value | object | |
width | int | |
Résultat | List |
public static WriteEnumerable ( this output, IEnumerable enumerable ) : void | ||
output | this | |
enumerable | IEnumerable | |
Résultat | void |
public static WriteLine ( this output ) : void | ||
output | this | |
Résultat | void |
public static WriteSingleRecord ( this output ) : void | ||
output | this | |
Résultat | void |
public static WriteSingleValue ( this output, object value ) : void | ||
output | this | |
value | object | |
Résultat | void |