/// /// <summary>Adds a tag to the current context (relative to this client). This call is not thread-safe.</summary> /// <param name='tag'>New tag to add to the Riemann events sent using this client.</param> /// public IDisposable Tag(string tag) { lock (_tagLock) { _tag = new RiemannTags(this, _tag, tag); return(_tag); } }
public RiemannTags(Client owner, RiemannTags underlying, string tag) { _owner = owner; _underlying = underlying; _tag = tag; }
/// /// <summary>Adds a tag to the current context (relative to this client). This call is not thread-safe.</summary> /// <param name='tag'>New tag to add to the Riemann events sent using this client.</param> /// public IDisposable Tag(string tag) { lock (_tagLock) { _tag = new RiemannTags(this, _tag, tag); return _tag; } }