/// <inheritdoc /> public void Update(long value, string userValue = null) { _last = new UserValueWrapper(value, userValue); _reservoir.Update(value, userValue); }
// ReSharper disable MemberCanBePrivate.Global public bool Equals(UserValueWrapper other) { return(string.Equals(UserValue, other.UserValue) && Value == other.Value); }
/// <inheritdoc /> public void Reset() { _last = UserValueWrapper.Empty; _reservoir.Reset(); }