C# Class SonarLint.VisualStudio.Progress.Controller.Helpers

Progress controller helpers
显示文件 Open project: SonarSource-VisualStudio/sonarlint-visualstudio

Public Methods

Method Description
RunOnFinished ( this controller, Action onFinishedAction ) : void

The onFinishedAction will be called once when the controller will finish by invoking IProgressEvents.Finished.

This code will not cause memory leaks due to event registration

Method Details

RunOnFinished() public static method

The onFinishedAction will be called once when the controller will finish by invoking IProgressEvents.Finished.
This code will not cause memory leaks due to event registration
public static RunOnFinished ( this controller, Action onFinishedAction ) : void
controller this Required.
onFinishedAction Action Required. The action that will be invoked with the finished
return void