C# Class Cirrious.Sphero.WorkBench.Core.ViewModels.GangnamStyleViewModel

Inheritance: BaseViewModel
Show file Open project: slodge/BallControl

Public Methods

Method Description
GangnamStyleViewModel ( ) : System
SendCommand ( ISpheroCommand command ) : void

Protected Methods

Method Description
OnCommandError ( Exception obj ) : void
OnCommandSuccess ( ISpheroMessage message ) : void
Shutdown ( ) : void

Private Methods

Method Description
ClearConnectedSpheros ( ) : void
ConnectedSpheroOnDisconnected ( object sender, EventArgs eventArgs ) : void
DoConnect ( ) : void
OnConnectionError ( Exception obj ) : void
OnConnectionSuccess ( IConnectedSphero sphero ) : void
SendCommand ( IConnectedSphero sphero, ISpheroCommand command ) : void

Method Details

GangnamStyleViewModel() public method

public GangnamStyleViewModel ( ) : System
return System

OnCommandError() protected method

protected OnCommandError ( Exception obj ) : void
obj System.Exception
return void

OnCommandSuccess() protected method

protected OnCommandSuccess ( ISpheroMessage message ) : void
message ISpheroMessage
return void

SendCommand() public method

public SendCommand ( ISpheroCommand command ) : void
command ISpheroCommand
return void

Shutdown() protected method

protected Shutdown ( ) : void
return void