Пример #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);
 }