Ejemplo n.º 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;
        }
Ejemplo n.º 2
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;
        }