Definition at line 5 of file EventExtensions.cs.
static int Deveel.Data.Diagnostics.EventExtensions.CommitId |
( |
this IEvent @ |
event | ) |
|
|
inlinestatic |
Definition at line 31 of file EventExtensions.cs.
32 return @
event.GetData<
int>(KnownEventMetadata.CommitId);
static string Deveel.Data.Diagnostics.EventExtensions.DatabaseName |
( |
this IEvent @ |
event | ) |
|
|
inlinestatic |
Definition at line 27 of file EventExtensions.cs.
28 return @
event.GetData<
string>(KnownEventMetadata.DatabaseName);
static T Deveel.Data.Diagnostics.EventExtensions.GetData< T > |
( |
this IEvent @ |
event, |
|
|
string |
key |
|
) |
| |
|
inlinestatic |
Definition at line 6 of file EventExtensions.cs.
7 if (@event == null || @event.EventData == null)
11 if (!@event.EventData.TryGetValue(key, out value))
17 if (value is IConvertible)
18 return (T) Convert.ChangeType(value, typeof (T), CultureInfo.InvariantCulture);
20 throw new InvalidCastException();
static DateTimeOffset Deveel.Data.Diagnostics.EventExtensions.SessionStartTime |
( |
this IEvent @ |
event | ) |
|
|
inlinestatic |
Definition at line 35 of file EventExtensions.cs.
36 return @
event.GetData<DateTimeOffset>(KnownEventMetadata.SessionStartTime);
static string Deveel.Data.Diagnostics.EventExtensions.UserName |
( |
this IEvent @ |
event | ) |
|
|
inlinestatic |
Definition at line 23 of file EventExtensions.cs.
24 return @
event.GetData<
string>(KnownEventMetadata.UserName);
The documentation for this class was generated from the following file:
- /var/calculate/remote/distfiles/egit-src/deveeldb.git/src/deveeldb/Deveel.Data.Diagnostics/EventExtensions.cs