Photomechanics API
Photomechanics.Photo3DStudio.TurntableControl.Extensions.TurntableCommandExtensions Class Reference

Extensions for ITurntableCommand. More...

Static Public Member Functions

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

Detailed Description

Extensions for ITurntableCommand.

Member Function Documentation

◆ IsFinished()

static Boolean Photomechanics.Photo3DStudio.TurntableControl.Extensions.TurntableCommandExtensions.IsFinished ( this ITurntableCommand  command)
static

Determines whether the command is finished.

◆ IsFinishedSuccessfully()

static Boolean Photomechanics.Photo3DStudio.TurntableControl.Extensions.TurntableCommandExtensions.IsFinishedSuccessfully ( this ITurntableCommand  command)
static

Determines whether the command is finished with TurntableCommandStatus.Success status.

◆ ThrowIfFailed()

static void Photomechanics.Photo3DStudio.TurntableControl.Extensions.TurntableCommandExtensions.ThrowIfFailed ( this ITurntableCommand  command)
static

Throw TurntableOperationFailedException if command failed.

◆ ThrowIfNotFinishedSuccessfully()

static void Photomechanics.Photo3DStudio.TurntableControl.Extensions.TurntableCommandExtensions.ThrowIfNotFinishedSuccessfully ( this ITurntableCommand  command)
static

Throw TurntableCommandDataAccessException if command is not finished successfully at the moment.