18 using System.Collections.Generic;
20 namespace Deveel.Data.Diagnostics {
23 if (String.IsNullOrEmpty(counterKey))
24 throw new ArgumentNullException(
"counterKey");
26 CounterKey = counterKey;
30 public string CounterKey {
get;
private set; }
32 public object Value {
get;
private set; }
34 protected override void GetEventData(Dictionary<string, object> data) {
35 data[CounterKey] = Value;