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

Helper class
Show file Open project: SonarSource-VisualStudio/sonarlint-visualstudio Class Usage Examples

Public Properties

Property Type Description
Indeterminate double

Public Methods

Method Description
IsFinalState ( StepExecutionState state ) : bool

Returns whether the state is considered to be final

IsIndeterminate ( double progress ) : bool

Returns whether the specified values is indeterminate

Private Methods

Method Description
FormatErrorMessage ( Exception ex, string messageErrorFormat, bool logWholeMessage ) : string

Creates a string in the specified format. The format string should have only one placeholder.

Method Details

IsFinalState() public static method

Returns whether the state is considered to be final
public static IsFinalState ( StepExecutionState state ) : bool
state StepExecutionState The state for which to check
return bool

IsIndeterminate() public static method

Returns whether the specified values is indeterminate
public static IsIndeterminate ( double progress ) : bool
progress double The progress for which to check
return bool

Property Details

Indeterminate public static property

Indeterminate double representation
public static double Indeterminate
return double