Photomechanics API
TurntableCommandExtensions Class Reference

Extensions for ITurntableCommand. More...

Static Public Member Functions

static Boolean IsFinished (this ITurntableCommand command)
 Determines whether the command is finished.
 
static Boolean IsFinishedSuccessfully (this ITurntableCommand command)
 Determines whether the command is finished with TurntableCommandStatus.Success status.
 
static void ThrowIfFailed (this ITurntableCommand command)
 Throw TurntableOperationFailedException if command failed.
 
static void ThrowIfNotFinishedSuccessfully (this ITurntableCommand command)
 Throw TurntableCommandDataAccessException if command is not finished successfully at the moment.
 

Detailed Description

Extensions for ITurntableCommand.