C# Class SonarLint.VisualStudio.Integration.State.StateManager

Implementation of IStateManager
Inheritance: IStateManager, IDisposable
Show file Open project: SonarSource-VisualStudio/sonarlint-visualstudio Class Usage Examples

Public Methods

Method Description
ClearBoundProject ( ) : void
Dispose ( ) : void
GetConnectedServer ( ProjectInformation project ) : ConnectionInformation
GetConnectedServers ( ) : IEnumerable
SetBoundProject ( ProjectInformation project ) : void
SetProjects ( ConnectionInformation connection, IEnumerable projects ) : void
StateManager ( IHost host, TransferableVisualState state ) : Microsoft.VisualStudio.Imaging
SyncCommandFromActiveSection ( ) : void

Private Methods

Method Description
ClearBindingErrorNotifications ( ) : void
Dispose ( bool disposing ) : void
DisposeConnections ( ) : void
OnBindingStateChanged ( ) : void
OnIsBusyChanged ( bool isBusy ) : void
OnStatePropertyChanged ( object sender, System e ) : void
RestoreBoundProject ( ServerViewModel serverViewModel ) : void
SetProjectsUIThread ( ConnectionInformation connection, IEnumerable projects ) : void
SetServerProjectsVMCommands ( ServerViewModel serverVM ) : void
SetServerVMCommands ( ServerViewModel serverVM ) : void

Method Details

ClearBoundProject() public method

public ClearBoundProject ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

GetConnectedServer() public method

public GetConnectedServer ( ProjectInformation project ) : ConnectionInformation
project SonarLint.VisualStudio.Integration.Service.ProjectInformation
return SonarLint.VisualStudio.Integration.Service.ConnectionInformation

GetConnectedServers() public method

public GetConnectedServers ( ) : IEnumerable
return IEnumerable

SetBoundProject() public method

public SetBoundProject ( ProjectInformation project ) : void
project SonarLint.VisualStudio.Integration.Service.ProjectInformation
return void

SetProjects() public method

public SetProjects ( ConnectionInformation connection, IEnumerable projects ) : void
connection SonarLint.VisualStudio.Integration.Service.ConnectionInformation
projects IEnumerable
return void

StateManager() public method

public StateManager ( IHost host, TransferableVisualState state ) : Microsoft.VisualStudio.Imaging
host IHost
state TransferableVisualState
return Microsoft.VisualStudio.Imaging

SyncCommandFromActiveSection() public method

public SyncCommandFromActiveSection ( ) : void
return void