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