 | NetEti.ApplicationControl namespace |
General routines for application control
Classes | Class | Description of the |
---|
 | Abortable |
DotNet 7.0 threading helper class.
Behaves like Thread, except the following specials:
- Abort() works similarly to previous runtime versions;
- Abortable offers an additional property 'AbortableException';
- Abortable implements IDisposable.
Usage: replace "new Thread..." with "new Abortable...",
Call Dispose on Abortable-instance when it's no longer used.
Attention: This class uses Run(Action, CancellationToken),
which was released with.Net 7.0. Although this method is new, it has been marked as "deprecated"!
|
 | InfoArgs |
The total information that is processed and forwarded by the InfoController:
Message-Object + Message-Type + Timestamp.
|
 | InfoController |
Singleton, dispatches messages taking into account
of their severity.
Manages a delegate list in which viewers can enter themselves
which can then be used when a new message is received from
InfoController.
|
 | InfoTypes |
Provides types and classes for the InfoController.
|
 | Logger |
Writes messages with added timestamps to log files;
implements IInfoViewer.
|
 | LoggerBase |
Abstract basis for various loggers;
implements IInfoViewer.
|
 | Messaging |
Provides Windows message handling via System.Runtime.InteropServices.
|
 | ProcessWorker |
Static routines for handling processes.
|
 | Statistics |
Enables statistical analyses without the system
for frequently passed counting points with too many
log calls.
Can be triggered via timer or number of counts.
|
 | TaskWorker |
Executes a transferred action in a separate task.
|
 | ViewerAsWrapper |
Wrapper class around an EventHandler; implements IInfoViewer.
An instance of this class can be extended by an EventHandler<InfoArgs>
can be wrapped and used as a viewer.
|
Interfaces | Interface | Description of the |
---|
 | IFlushable |
Indicates that the implementing instance is a
parameterless method for cleaning up and, if necessary
writing away collected information.
|
 | InfoController |
Displays the complete view of the InfoController,
includes sending and receiving messages.
|
 | IInfoPublisher |
Displays the view of the InfoController,
which includes the sending of messages.
|
 | IInfoSource |
Displays the view of the InfoController,
which includes receiving messages.
|
 | InfoViewer |
Must be implemented by a viewer that registers with the
InfoController (IInfoSource).
|
 | IShowable |
Indicates that the implementing instance provides a parameterless method for output;
for loggers, e.g. to output the log.
|
Enumerations | Enumeration | Description of the |
---|
 | InfoType |
Enumeration of the possible types of information.
|
 | TaskWorkerStatus |
Enumeration type for various task states.
|