Uređivanje

Dijeli putem


IConsole Interface

Definition

Represents the standard console input, output, and error streams.

public interface class IConsole : System::CommandLine::IO::IStandardError, System::CommandLine::IO::IStandardIn, System::CommandLine::IO::IStandardOut
public interface IConsole : System.CommandLine.IO.IStandardError, System.CommandLine.IO.IStandardIn, System.CommandLine.IO.IStandardOut
type IConsole = interface
    interface IStandardOut
    interface IStandardError
    interface IStandardIn
Public Interface IConsole
Implements IStandardError, IStandardIn, IStandardOut
Derived
Implements

Properties

Error

The stream writer for standard error.

(Inherited from IStandardError)
IsErrorRedirected

Indicates whether the standard error stream has been redirected.

(Inherited from IStandardError)
IsInputRedirected

Gets a value indicating whether input is redirected.

(Inherited from IStandardIn)
IsOutputRedirected

Indicates whether the standard output stream has been redirected.

(Inherited from IStandardOut)
Out

The stream writer for standard output.

(Inherited from IStandardOut)

Extension Methods

Write(IConsole, String)

Writes the current string value to the standard output stream.

WriteLine(IConsole, String)

Writes the current string value, followed by the current environment's line terminator, to the standard output stream.

Applies to