C# Class SonarLint.VisualStudio.Integration.Progress.ProgressStepRunner

ファイルを表示 Open project: SonarSource-VisualStudio/sonarlint-visualstudio

Private Properties

Property Type Description
CreateObserver SonarLint.VisualStudio.Progress.Observation.ProgressObserver
Observe SonarLint.VisualStudio.Progress.Observation.ProgressObserver
Reset void
VisualizeInHost ProgressControl

Public Methods

Method Description
AbortAll ( ) : void

Aborts all the currently executing controllers

ChangeHost ( IProgressControlHost host ) : void

Re-hosts all the current observers into the specified host

Observe ( IProgressController controller, IProgressControlHost host ) : ProgressObserver

Will use the specified host to visualize the progress of controller

StartAsync ( IServiceProvider sp, IProgressControlHost host, ProgressStepDefinition[]>.Func stepFactory ) : IProgressEvents

Private Methods

Method Description
CreateObserver ( IProgressController controller, IProgressVisualizer visualizer, ProgressControllerViewModel state ) : ProgressObserver
Observe ( IProgressController controller, IProgressVisualizer visualizer ) : ProgressObserver
Reset ( ) : void
VisualizeInHost ( IProgressControlHost host ) : ProgressControl

Method Details

AbortAll() public static method

Aborts all the currently executing controllers
public static AbortAll ( ) : void
return void

ChangeHost() public static method

Re-hosts all the current observers into the specified host
public static ChangeHost ( IProgressControlHost host ) : void
host IProgressControlHost
return void

Observe() public static method

Will use the specified host to visualize the progress of controller
public static Observe ( IProgressController controller, IProgressControlHost host ) : ProgressObserver
controller IProgressController
host IProgressControlHost
return SonarLint.VisualStudio.Progress.Observation.ProgressObserver

StartAsync() public static method

public static StartAsync ( IServiceProvider sp, IProgressControlHost host, ProgressStepDefinition[]>.Func stepFactory ) : IProgressEvents
sp IServiceProvider
host IProgressControlHost
stepFactory ProgressStepDefinition[]>.Func
return IProgressEvents