示例#1
0
        /// <summary>
        /// Get a new counter that is one version ahead of this one
        /// </summary>
        public MonotonicByte GetNext()
        {
            var next = new MonotonicByte(_value);

            next.Increment();
            return(next);
        }
示例#2
0
 public bool Equals(MonotonicByte x)
 {
     return(CompareTo(this, x) == 0);
 }
示例#3
0
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
        public static int CompareTo(MonotonicByte x, object y)
        {
            return(x.CompareTo(y));
        }
示例#4
0
 public PageLink()
 {
     Version = new MonotonicByte();
 }