Volume Control
Application-specific hotkeys for Windows
|
Represents an endpoint that text can be written to. More...
Public Member Functions | |
TextWriter | GetTextWriter () |
Gets a TextWriter object for writing to this endpoint. More... | |
void | Write (string @string) |
Writes the specified string to the endpoint. More... | |
void | WriteLine (string @string) |
Writes the specified string to the endpoint, followed by a line break. More... | |
void | Reset () |
Clears the endpoint's contents, leaving it blank. More... | |
Properties | |
bool | IsWritingEnabled [get, set] |
Gets or sets whether this endpoint can be written to. More... | |
Events | |
EventHandler< bool >? | EnabledChanging |
Occurs when the endpoint is about to be enabled or disabled for any reason. More... | |
EventHandler< bool >? | EnabledChanged |
Occurs when the endpoint is enabled or disabled for any reason. More... | |
Represents an endpoint that text can be written to.
TextWriter VolumeControl.Log.Interfaces.IEndpointWriter.GetTextWriter | ( | ) |
Gets a TextWriter object for writing to this endpoint.
The caller is responsible for disposing of the stream.
null
.Implemented in VolumeControl.Log.Endpoints.PersistentFileEndpoint, VolumeControl.Log.Endpoints.MemoryEndpoint, VolumeControl.Log.Endpoints.FileEndpoint, VolumeControl.Log.Endpoints.ConsoleEndpoint, and VolumeControl.Log.Endpoints.BaseEndpointWriter.
void VolumeControl.Log.Interfaces.IEndpointWriter.Reset | ( | ) |
Clears the endpoint's contents, leaving it blank.
Implemented in VolumeControl.Log.Endpoints.PersistentFileEndpoint, VolumeControl.Log.Endpoints.MemoryEndpoint, VolumeControl.Log.Endpoints.FileEndpoint, VolumeControl.Log.Endpoints.ConsoleEndpoint, and VolumeControl.Log.Endpoints.BaseEndpointWriter.
void VolumeControl.Log.Interfaces.IEndpointWriter.Write | ( | string @ | string | ) |
Writes the specified string to the endpoint.
string | A string to write to the endpoint. |
Implemented in VolumeControl.Log.Endpoints.BaseEndpointWriter.
void VolumeControl.Log.Interfaces.IEndpointWriter.WriteLine | ( | string @ | string | ) |
Writes the specified string to the endpoint, followed by a line break.
string | A string to write to the endpoint. |
Implemented in VolumeControl.Log.Endpoints.BaseEndpointWriter.
|
getset |
Gets or sets whether this endpoint can be written to.
EventHandler<bool>? VolumeControl.Log.Interfaces.IEndpointWriter.EnabledChanged |
Occurs when the endpoint is enabled or disabled for any reason.
The boolean argument is the new state.
EventHandler<bool>? VolumeControl.Log.Interfaces.IEndpointWriter.EnabledChanging |
Occurs when the endpoint is about to be enabled or disabled for any reason.
The boolean argument is the incoming state.