Gets the gear to run.

Namespace: Keystone.Clockwork
Assembly: Keystone.Clockwork (in Keystone.Clockwork.dll)

public object GetGearToRun( 
BaseGear annotatedGear 
This language is not supported or no code example is available.



Type: BaseGear

The annotated gear.

Return Value

The gear to run instance.
Exception type Condition


If a null reference (Nothing in Visual Basic) or empty value is given for the arguments.


If the gear to run type is not a subclass of BaseGear.

Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6


Xamarin, Mono