예제 #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="TimeTicks"/> class.
        /// </summary>
        /// <param name="length">The length.</param>
        /// <param name="stream">The stream.</param>
        public TimeTicks(Tuple <int, byte[]> length, Stream stream)
        {
            if (length == null)
            {
                throw new ArgumentNullException(nameof(length));
            }

            if (stream == null)
            {
                throw new ArgumentNullException(nameof(stream));
            }

            _count = new Counter32(length, stream);
        }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Gauge32"/> class.
 /// </summary>
 /// <param name="value">The value.</param>
 public Gauge32(long value)
 {
     _count = new Counter32(value);
 }
예제 #3
0
 public TimeTicks(uint count)
 {
     _count = new Counter32(count);
 }
예제 #4
0
 public Gauge32(uint value)
 {
     _count = new Counter32(value);
 }