/// <summary>
        /// Initializes a new instance of the <see cref="CompassValueChangedEventArgs"/> class.
        /// </summary>
        /// <param name="newValue">The new compass value.</param>
        /// <exception cref="ArgumentNullException">The <paramref name="newValue"/> is <c>null</c>.</exception>
        public CompassValueChangedEventArgs(ICompassValue newValue)
        {
            Argument.IsNotNull("newValue", newValue);

            Value = newValue;
        }
Beispiel #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="CompassValueChangedEventArgs"/> class.
        /// </summary>
        /// <param name="newValue">The new compass value.</param>
        /// <exception cref="ArgumentNullException">The <paramref name="newValue"/> is <c>null</c>.</exception>
        public CompassValueChangedEventArgs(ICompassValue newValue)
        {
            Argument.IsNotNull("newValue", newValue);

            Value = newValue;
        }