Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
Waher.Events Namespace Reference

Classes

class  DebugEventSink
 Outputs events to the console standard output. More...
 
class  Event
 Class representing an event. More...
 
class  EventHandlerExtensions
 Static class with method extensions simplifying raising events. More...
 
class  EventSink
 Base class for event sinks. More...
 
class  GenericException
 Generic exception, with meta-data for logging. More...
 
interface  IEventActor
 Implement this interface on exception classes to allow the log to extract actor information in corresponding events. Interface can also be used on other types of classes. More...
 
interface  IEventFacility
 Implement this interface on exception classes to allow the log to extract facility information in corresponding events. Interface can also be used on other types of classes. More...
 
interface  IEventId
 Implement this interface on exception classes to allow the log to extract Event ID information in corresponding events. Interface can also be used on other types of classes. More...
 
interface  IEventLevel
 Implement this interface on exception classes to allow the log to extract Event Level information in corresponding events. Interface can also be used on other types of classes. More...
 
interface  IEventModule
 Implement this interface on exception classes to allow the log to extract module information in corresponding events. Interface can also be used on other types of classes. More...
 
interface  IEventObject
 Implement this interface on exception classes to allow the log to extract object information in corresponding events. Interface can also be used on other types of classes. More...
 
interface  IEventSink
 Interface for all event sinks. More...
 
interface  IEventTags
 Implement this interface on exception classes to allow the log to extract tags in corresponding events. Interface can also be used on other types of classes. More...
 
interface  IEventType
 Implement this interface on exception classes to allow the log to extract Event Type information in corresponding events. Interface can also be used on other types of classes. More...
 
interface  ILogObject
 Interface for objects that can log events. More...
 
interface  IObservableLayer
 Interface for classes that can be observed. More...
 
class  Log
 Static class managing the application event log. Applications and services log events on this static class, and it distributes them to registered event sinks. More...
 
class  LogObject
 Base class for objects that can log events. More...
 

Enumerations

enum  EventLevel
 Event level. More...
 
enum  EventType
 Type of event. More...
 

Functions

delegate Task EventHandlerAsync (object Sender, EventArgs e)
 Asynchronous version of EventArgs.
 
delegate Task EventHandlerAsync< T > (object Sender, T e)
 Asynchronous version of EventArgs with a typed event arguments.
 
delegate void Callback< ArgT > (ArgT Arg)
 Callback function with one argument. More...
 
delegate Task CallbackAsync< ArgT > (ArgT Arg)
 Asynchronous callback function with one argument. More...
 

Enumeration Type Documentation

◆ EventLevel

Event level.

Definition at line 6 of file EventLevel.cs.

◆ EventType

Type of event.

Definition at line 6 of file EventType.cs.

Function Documentation

◆ Callback< ArgT >()

delegate void Waher.Events.Callback< ArgT > ( ArgT  Arg)

Callback function with one argument.

Template Parameters
ArgTArgument type.
Parameters
ArgArgument

◆ CallbackAsync< ArgT >()

delegate Task Waher.Events.CallbackAsync< ArgT > ( ArgT  Arg)

Asynchronous callback function with one argument.

Template Parameters
ArgTArgument type.
Parameters
ArgArgument