Click or drag to resize

NetEti.ApplicationControl namespace

General routines for application control
Classes
 ClassDescription of the
Public ClassAbortable 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"!
Public ClassInfoArgs The total information that is processed and forwarded by the InfoController: Message-Object + Message-Type + Timestamp.
Public ClassInfoController 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.
Public ClassInfoTypes Provides types and classes for the InfoController.
Public ClassLogger Writes messages with added timestamps to log files; implements IInfoViewer.
Public ClassLoggerBase Abstract basis for various loggers; implements IInfoViewer.
Public ClassMessaging Provides Windows message handling via System.Runtime.InteropServices.
Public ClassProcessWorker Static routines for handling processes.
Public ClassStatistics 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.
Public ClassTaskWorker Executes a transferred action in a separate task.
Public ClassViewerAsWrapper 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
 InterfaceDescription of the
Public InterfaceIFlushable Indicates that the implementing instance is a parameterless method for cleaning up and, if necessary writing away collected information.
Public InterfaceInfoController Displays the complete view of the InfoController, includes sending and receiving messages.
Public InterfaceIInfoPublisher Displays the view of the InfoController, which includes the sending of messages.
Public InterfaceIInfoSource Displays the view of the InfoController, which includes receiving messages.
Public InterfaceInfoViewer Must be implemented by a viewer that registers with the InfoController (IInfoSource).
Public InterfaceIShowable Indicates that the implementing instance provides a parameterless method for output; for loggers, e.g. to output the log.
Enumerations
 EnumerationDescription of the
Public EnumerationInfoType Enumeration of the possible types of information.
Public EnumerationTaskWorkerStatus Enumeration type for various task states.