C# Class WebApplications.Utilities.Formatting.FormatWriteContext

Datei anzeigen Open project: webappsuk/CoreLibraries Class Usage Examples

Public Properties

Property Type Description
IsAutoWrapping bool
IsColorSupported bool
IsControllableWriter bool
WriterWidth int

Private Properties

Property Type Description
FormatWriteContext System

Public Methods

Method Description
ToString ( ) : string

Returns a System.String that represents this instance.

Private Methods

Method Description
FormatWriteContext ( int writerWidth, bool isColorSupported, bool isControllableWriter, bool isAutoWrapping, [ formatProvider, [ encoding, [ newLine ) : System

Initializes a new instance of the FormatWriteContext class.

Method Details

ToString() public method

Returns a System.String that represents this instance.
public ToString ( ) : string
return string

Property Details

IsAutoWrapping public_oe property

Whether the underlying writer auto wraps.
public bool IsAutoWrapping
return bool

IsColorSupported public_oe property

Whether the underlying writer supports color.
public bool IsColorSupported
return bool

IsControllableWriter public_oe property

Whether the underlying writer supports custom control characters.
public bool IsControllableWriter
return bool

WriterWidth public_oe property

The writer width (if any); otherwise int.MaxValue.
public int WriterWidth
return int