AK.F1.Timing.Messages.Weather.SetWindAngleMessage.SetWindAngleMessage C# (CSharp) Method

SetWindAngleMessage() public method

Initialises a new instance of the SetWindAngleMessage class and specifies the wind angle, in degrees.
/// Thrown when is negative or greater than 360. ///
public SetWindAngleMessage ( int angle ) : System
angle int The wind angle, in degrees.
return System
        public SetWindAngleMessage(int angle)
        {
            Guard.InRange(IsValidAngle(angle), "angle");

            Angle = angle;
        }