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

Helper class
Afficher le fichier Open project: SonarSource-VisualStudio/sonarlint-visualstudio Class Usage Examples

Méthodes publiques

Свойство Type Description
Indeterminate double

Méthodes publiques

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

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

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

IsIndeterminate() public static méthode

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

Property Details

Indeterminate public_oe static_oe property

Indeterminate double representation
public static double Indeterminate
Résultat double