IOutputChannelStore Interface

Definition

This interface describes the entity that stores and manages a collection of output channels.

public interface class IOutputChannelStore
public interface IOutputChannelStore
type IOutputChannelStore = interface
Public Interface IOutputChannelStore

Methods

CreateChannelAsync(String, String, PipeReader, Encoding, CancellationToken)

Creates a new output channel and supplies the Stream used to write to it.

GetChannelsAsync(CancellationToken)

Gets all active channels.

OpenChannelAsync(String, PipeWriter, CancellationToken)

Attaches a Stream to an existing channel for read access.

WriteAsync(String, String, CancellationToken)
Obsolete.

Writes input to the channel. If the channel does not exist, it creates one. This method currently mimics the behavior expected from TextWriter.

WriteLineAsync(String, String, CancellationToken)
Obsolete.

Writes input as a new line to the channel. If the channel does not exist, it creates one. This method currently mimics the behavior expected from TextWriter.

Events

ChannelClosed

Occurs when a channel has been closed.

ChannelCreated

Occurs when a channel has been created.

Applies to