示例#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);
 }