DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Protected Member Functions | Properties | Private Member Functions | Private Attributes | List of all members
Deveel.Data.Diagnostics.Event Class Reference
Inheritance diagram for Deveel.Data.Diagnostics.Event:
Deveel.Data.Diagnostics.IEvent Deveel.Data.Diagnostics.ErrorEvent Deveel.Data.Diagnostics.InformationEvent Deveel.Data.Diagnostics.PerformanceEvent Deveel.Data.Diagnostics.QueryEvent Deveel.Data.Diagnostics.SessionEvent Deveel.Data.Diagnostics.StatementEvent Deveel.Data.Sql.Triggers.TableEvent Deveel.Data.Sql.Triggers.TriggerEvent Deveel.Data.Transactions.TableCommitEvent Deveel.Data.Transactions.TransactionEvent

Protected Member Functions

 Event ()
 
 Event (DateTimeOffset timeStamp)
 
virtual void GetEventData (Dictionary< string, object > data)
 
virtual IEventSource OnSourceGet (IEventSource eventSource)
 
virtual IEventSource OnSourceSet (IEventSource eventSource)
 

Properties

IEventSource EventSource [get, set]
 
DateTimeOffset TimeStamp [get, private set]
 
IDictionary< string, object > IEvent. EventData [get]
 
- Properties inherited from Deveel.Data.Diagnostics.IEvent
IEventSource EventSource [get, set]
 Gets the event source. More...
 
DateTimeOffset TimeStamp [get]
 
IDictionary< string, object > EventData [get]
 Gets additional event data that come with the event. More...
 

Private Member Functions

IDictionary< string, object > GenerateEventData ()
 

Private Attributes

IDictionary< string, object > metadata
 
IEventSource source
 

Detailed Description

Definition at line 21 of file Event.cs.

Constructor & Destructor Documentation

Deveel.Data.Diagnostics.Event.Event ( )
inlineprotected

Definition at line 25 of file Event.cs.

26  : this(DateTimeOffset.UtcNow) {
27  }
Deveel.Data.Diagnostics.Event.Event ( DateTimeOffset  timeStamp)
inlineprotected

Definition at line 29 of file Event.cs.

29  {
30  TimeStamp = timeStamp;
31  }
DateTimeOffset TimeStamp
Definition: Event.cs:52

Member Function Documentation

IDictionary<string, object> Deveel.Data.Diagnostics.Event.GenerateEventData ( )
inlineprivate

Definition at line 33 of file Event.cs.

33  {
34  var dictionary = new Dictionary<string, object>();
35  GetEventData(dictionary);
36  return dictionary;
37  }
virtual void GetEventData(Dictionary< string, object > data)
Definition: Event.cs:39
virtual void Deveel.Data.Diagnostics.Event.GetEventData ( Dictionary< string, object >  data)
inlineprotectedvirtual
virtual IEventSource Deveel.Data.Diagnostics.Event.OnSourceGet ( IEventSource  eventSource)
inlineprotectedvirtual

Definition at line 54 of file Event.cs.

54  {
55  return eventSource;
56  }
virtual IEventSource Deveel.Data.Diagnostics.Event.OnSourceSet ( IEventSource  eventSource)
inlineprotectedvirtual

Reimplemented in Deveel.Data.Diagnostics.SessionEvent.

Definition at line 58 of file Event.cs.

58  {
59  return eventSource;
60  }

Member Data Documentation

IDictionary<string, object> Deveel.Data.Diagnostics.Event.metadata
private

Definition at line 22 of file Event.cs.

IEventSource Deveel.Data.Diagnostics.Event.source
private

Definition at line 23 of file Event.cs.

Property Documentation

IDictionary<string, object> IEvent. Deveel.Data.Diagnostics.Event.EventData
getprivate

Definition at line 62 of file Event.cs.

IEventSource Deveel.Data.Diagnostics.Event.EventSource
getset

Definition at line 42 of file Event.cs.

DateTimeOffset Deveel.Data.Diagnostics.Event.TimeStamp
getprivate set

Definition at line 52 of file Event.cs.


The documentation for this class was generated from the following file: