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

Afficher le fichier Open project: SonarSource-VisualStudio/sonarlint-visualstudio

Private Properties

Свойство Type Description
CreateObserver SonarLint.VisualStudio.Progress.Observation.ProgressObserver
Observe SonarLint.VisualStudio.Progress.Observation.ProgressObserver
Reset void
VisualizeInHost ProgressControl

Méthodes publiques

Méthode 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

Méthode 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 méthode

Aborts all the currently executing controllers
public static AbortAll ( ) : void
Résultat void

ChangeHost() public static méthode

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

Observe() public static méthode

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

StartAsync() public static méthode

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