C# 클래스 WebApplications.Utilities.Service.NamedPipeServer.ConnectedCommand

Holds a single executing command.
상속: System.IO.TextWriter, IColoredTextWriter
파일 보기 프로젝트 열기: webappsuk/CoreLibraries

공개 프로퍼티들

프로퍼티 타입 설명
ConnectionGuid System.Guid
ID System.Guid

공개 메소드들

메소드 설명
Cancel ( [ request ) : void

Cancels the specified request.

ConnectedCommand ( System.Guid connectionGuid, [ service, [ connection, [ request, CancellationToken token = default(CancellationToken) ) : System

Initializes a new instance of the ConnectedCommand class.

Flush ( ) : void

Clears all buffers for the current writer and causes any buffered data to be written to the underlying device.

ResetBackgroundColor ( ) : void

Sets the background color of the writer.

ResetColors ( ) : void

Resets the foreground and background colors of the writer.

ResetForegroundColor ( ) : void

Resets the foreground color of the writer.

SetBackgroundColor ( Color color ) : void

Sets the background color of the writer.

SetForegroundColor ( Color color ) : void

Sets the foreground color of the writer.

ToString ( ) : string

Returns a System.String that represents this instance.

Write ( [ buffer ) : void

Writes a character array to the text string or stream.

Write ( char value ) : void

Writes a character to the text string or stream.

WriteLine ( ) : void

Writes the line.

WriteLine ( [ buffer ) : void

Writes an array of characters followed by a line terminator to the text string or stream.

WriteLine ( char value ) : void

Writes the line.

WriteLine ( string value ) : void

Writes a string followed by a line terminator to the text string or stream.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Releases the unmanaged resources used by the T:System.IO.TextWriter and optionally releases the managed resources.

비공개 메소드들

메소드 설명
Flush ( int sequence, CancellationToken token = default(CancellationToken) ) : Task

메소드 상세

Cancel() 공개 메소드

Cancels the specified request.
public Cancel ( [ request ) : void
request [ The request.
리턴 void

ConnectedCommand() 공개 메소드

Initializes a new instance of the ConnectedCommand class.
public ConnectedCommand ( System.Guid connectionGuid, [ service, [ connection, [ request, CancellationToken token = default(CancellationToken) ) : System
connectionGuid System.Guid The connection unique identifier.
service [ The service.
connection [ The connection.
request [ The request.
token System.Threading.CancellationToken The cancellation token.
리턴 System

Dispose() 보호된 메소드

Releases the unmanaged resources used by the T:System.IO.TextWriter and optionally releases the managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
리턴 void

Flush() 공개 메소드

Clears all buffers for the current writer and causes any buffered data to be written to the underlying device.
public Flush ( ) : void
리턴 void

ResetBackgroundColor() 공개 메소드

Sets the background color of the writer.
public ResetBackgroundColor ( ) : void
리턴 void

ResetColors() 공개 메소드

Resets the foreground and background colors of the writer.
public ResetColors ( ) : void
리턴 void

ResetForegroundColor() 공개 메소드

Resets the foreground color of the writer.
public ResetForegroundColor ( ) : void
리턴 void

SetBackgroundColor() 공개 메소드

Sets the background color of the writer.
public SetBackgroundColor ( Color color ) : void
color Color The color.
리턴 void

SetForegroundColor() 공개 메소드

Sets the foreground color of the writer.
public SetForegroundColor ( Color color ) : void
color Color The color.
리턴 void

ToString() 공개 메소드

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

Write() 공개 메소드

Writes a character array to the text string or stream.
public Write ( [ buffer ) : void
buffer [ The character array to write to the text stream.
리턴 void

Write() 공개 메소드

Writes a character to the text string or stream.
public Write ( char value ) : void
value char The character to write to the text stream.
리턴 void

WriteLine() 공개 메소드

Writes the line.
public WriteLine ( ) : void
리턴 void

WriteLine() 공개 메소드

Writes an array of characters followed by a line terminator to the text string or stream.
public WriteLine ( [ buffer ) : void
buffer [ The character array from which data is read.
리턴 void

WriteLine() 공개 메소드

Writes the line.
public WriteLine ( char value ) : void
value char The value.
리턴 void

WriteLine() 공개 메소드

Writes a string followed by a line terminator to the text string or stream.
public WriteLine ( string value ) : void
value string The string to write. If is null, only the line terminator is written.
리턴 void

프로퍼티 상세

ConnectionGuid 공개적으로 프로퍼티

The connection unique identifier.
public Guid,System ConnectionGuid
리턴 System.Guid

ID 공개적으로 프로퍼티

The request identifier.
public Guid,System ID
리턴 System.Guid