C# Class Continuous.Client.ContinuousEnv

Show file Open project: praeclarum/Continuous

Public Properties

Property Type Description
Discovery DiscoveryReceiver
MonitorTypeName string
Shared ContinuousEnv

Private Properties

Property Type Description
Connect void
ContinuousEnv System
EnsureMonitoring void
FindTypeAtCursorAsync Task
MonitorWatchChanges void
SetSharedPlatformEnvImpl void
UpdateEditorAsync System.Threading.Tasks.Task
UpdateEditorWatchesAsync System.Threading.Tasks.Task
UpdateEditorWatchesAsync System.Threading.Tasks.Task

Public Methods

Method Description
Fail ( string format ) : void
StopVisualizingAsync ( ) : System.Threading.Tasks.Task
Succeed ( string format ) : void
VisualizeAsync ( ) : System.Threading.Tasks.Task
VisualizeMonitoredTypeAsync ( bool forceEval, bool showError ) : System.Threading.Tasks.Task

Protected Methods

Method Description
CreateConnection ( ) : HttpClient
EvalForResponseAsync ( string declarations, string valueExpression, bool showError ) : Task
GetCursorLocationAsync ( ) : Task
GetSelectedTextAsync ( ) : Task
GetTopLevelTypeDeclsAsync ( ) : Task
GetValsText ( List vals ) : string
Log ( Exception ex ) : void
Log ( string format ) : void
MonitorEditorChanges ( ) : void
OnFail ( string format ) : void
OnLinkedMonitoredCode ( Continuous.Client.LinkedCode code ) : void
OnSucceed ( string format ) : void
SetTypesAndVisualizeMonitoredTypeAsync ( bool forceEval, bool showError ) : System.Threading.Tasks.Task
SetWatchTextAsync ( Continuous.Client.WatchVariable w, List vals ) : System.Threading.Tasks.Task

Private Methods

Method Description
Connect ( ) : void
ContinuousEnv ( ) : System
EnsureMonitoring ( ) : void
FindTypeAtCursorAsync ( ) : Task
MonitorWatchChanges ( ) : void
SetSharedPlatformEnvImpl ( ) : void
UpdateEditorAsync ( Continuous.Client.LinkedCode code, EvalResponse resp ) : System.Threading.Tasks.Task
UpdateEditorWatchesAsync ( IEnumerable watches, Dictionary watchValues ) : System.Threading.Tasks.Task
UpdateEditorWatchesAsync ( WatchValuesResponse watchValues ) : System.Threading.Tasks.Task

Method Details

CreateConnection() protected method

protected CreateConnection ( ) : HttpClient
return HttpClient

EvalForResponseAsync() protected method

protected EvalForResponseAsync ( string declarations, string valueExpression, bool showError ) : Task
declarations string
valueExpression string
showError bool
return Task

Fail() public method

public Fail ( string format ) : void
format string
return void

GetCursorLocationAsync() protected abstract method

protected abstract GetCursorLocationAsync ( ) : Task
return Task

GetSelectedTextAsync() protected abstract method

protected abstract GetSelectedTextAsync ( ) : Task
return Task

GetTopLevelTypeDeclsAsync() protected abstract method

protected abstract GetTopLevelTypeDeclsAsync ( ) : Task
return Task

GetValsText() protected method

protected GetValsText ( List vals ) : string
vals List
return string

Log() protected method

protected Log ( Exception ex ) : void
ex System.Exception
return void

Log() protected method

protected Log ( string format ) : void
format string
return void

MonitorEditorChanges() protected abstract method

protected abstract MonitorEditorChanges ( ) : void
return void

OnFail() protected method

protected OnFail ( string format ) : void
format string
return void

OnLinkedMonitoredCode() protected method

protected OnLinkedMonitoredCode ( Continuous.Client.LinkedCode code ) : void
code Continuous.Client.LinkedCode
return void

OnSucceed() protected method

protected OnSucceed ( string format ) : void
format string
return void

SetTypesAndVisualizeMonitoredTypeAsync() protected method

protected SetTypesAndVisualizeMonitoredTypeAsync ( bool forceEval, bool showError ) : System.Threading.Tasks.Task
forceEval bool
showError bool
return System.Threading.Tasks.Task

SetWatchTextAsync() protected abstract method

protected abstract SetWatchTextAsync ( Continuous.Client.WatchVariable w, List vals ) : System.Threading.Tasks.Task
w Continuous.Client.WatchVariable
vals List
return System.Threading.Tasks.Task

StopVisualizingAsync() public method

public StopVisualizingAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

Succeed() public method

public Succeed ( string format ) : void
format string
return void

VisualizeAsync() public method

public VisualizeAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

VisualizeMonitoredTypeAsync() public method

public VisualizeMonitoredTypeAsync ( bool forceEval, bool showError ) : System.Threading.Tasks.Task
forceEval bool
showError bool
return System.Threading.Tasks.Task

Property Details

Discovery public property

public DiscoveryReceiver,Continuous.Client Discovery
return DiscoveryReceiver

MonitorTypeName public property

public string MonitorTypeName
return string

Shared public static property

public static ContinuousEnv,Continuous.Client Shared
return ContinuousEnv