2 using System.Collections.Generic;
4 namespace Deveel.Data.Diagnostics {
12 public string UserName {
get;
private set; }
14 public int CommitId {
get;
private set; }
20 throw new ArgumentException(
"Session event sources can be only databases");
22 return base.OnSourceSet(eventSource);
25 protected override void GetEventData(Dictionary<string, object> data) {
28 data[
"session.eventType"] = EventType.ToString();
The representation of a single database in the system.
SessionEvent(string userName, int commitId, SessionEventType eventType)
override void GetEventData(Dictionary< string, object > data)
override IEventSource OnSourceSet(IEventSource eventSource)
Represents the origin of system events, providing a mechanism to fill the metadata before dispatching...