Volume Control
Application-specific hotkeys for Windows
|
Abstract
base class for endpoint writers.
More...
Public Member Functions | |
abstract TextWriter | GetTextWriter () |
Gets a TextWriter object for writing to this endpoint. | |
abstract void | Reset () |
Clears the endpoint's contents, leaving it blank. | |
virtual void | Write (string @string) |
Writes the specified string to the endpoint. | |
virtual void | WriteLine (string @string) |
Writes the specified string to the endpoint, followed by a line break. | |
virtual void | WriteLine () |
Writes a line break to the endpoint. More... | |
Protected Member Functions | |
BaseEndpointWriter (bool isWritingEnabled=true) | |
Creates a new BaseEndpointWriter instance. More... | |
void | NotifyPropertyChanged ([CallerMemberName] string propertyName="") |
Triggers the PropertyChanged event for the specified propertyName . More... | |
Properties | |
bool | IsWritingEnabled [get, set] |
Properties inherited from VolumeControl.Log.Interfaces.IEndpointWriter | |
bool | IsWritingEnabled [get, set] |
Gets or sets whether this endpoint can be written to. More... | |
Events | |
EventHandler< bool >? | EnabledChanging |
EventHandler< bool >? | EnabledChanged |
PropertyChangedEventHandler? | PropertyChanged |
Events inherited from VolumeControl.Log.Interfaces.IEndpointWriter | |
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... | |
Abstract
base class for endpoint writers.
|
protected |
Creates a new BaseEndpointWriter instance.
isWritingEnabled | The initial state |
|
protected |
Triggers the PropertyChanged event for the specified propertyName .
propertyName | The name of the property that was changed. |
|
virtual |
Writes a line break to the endpoint.