public void Capture(string key, Func <object> selector) { CorrelationState current = CorrelationState.Current; if (current == null) { return; } string key1 = key; Func <object> selector1 = selector; current.AddCustomData(key1, selector1); }
public void AddTag(string tag, string value) { CorrelationState current = CorrelationState.Current; if (current == null) { return; } string tag1 = tag; string str = value; current.AddTag(tag1, str); }
public void Capture(string key, object value) { CorrelationState current = CorrelationState.Current; if (current == null) { return; } string key1 = key; object obj = value; current.AddCustomData(key1, obj); }