Beispiel #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="GyroscopeValueChangedEventArgs"/> class.
        /// </summary>
        /// <param name="newValue">The new gyroscope value.</param>
        /// <exception cref="ArgumentNullException">The <paramref name="newValue"/> is <c>null</c>.</exception>
        public GyroscopeValueChangedEventArgs(IGyroscopeValue newValue)
        {
            Argument.IsNotNull("newValue", newValue);

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

            Value = newValue;
        }