C# Class AK.F1.Timing.Messages.Weather.SetWindAngleMessage

Inheritance: Message
Exibir arquivo Open project: simoneb/ak-f1-timing Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Accept ( IMessageVisitor visitor ) : void
IsValidAngle ( int angle ) : bool

Returns a value indicating if the specified angle is valid.

SetWindAngleMessage ( int angle ) : System

Initialises a new instance of the SetWindAngleMessage class and specifies the wind angle, in degrees.

ToString ( ) : string

Method Details

Accept() public method

public Accept ( IMessageVisitor visitor ) : void
visitor IMessageVisitor
return void

IsValidAngle() public static method

Returns a value indicating if the specified angle is valid.
public static IsValidAngle ( int angle ) : bool
angle int The angle to test.
return bool

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

ToString() public method

public ToString ( ) : string
return string