Profile

Represents a console profile.

Represents a console profile.

Constructors

public Profile(IAnsiConsoleOutput out, Capabilities capabilities, Encoding encoding)

Initializes a new instance of the Profile class.

Parameters:

out (IAnsiConsoleOutput)
The output buffer.
capabilities (Capabilities)
The capabilities.
encoding (Encoding)
The output encoding.

Properties

Capabilities : Capabilities

Gets or sets the capabilities of the profile.

Encoding : Encoding

Gets or sets the console output encoding.

Enrichers : IReadOnlyCollection<string>

Gets the enrichers used to build this profile.

Height : int

Gets or sets an explicit console height.

Out : IAnsiConsoleOutput

Gets or sets the out buffer.

Width : int

Gets or sets an explicit console width.