C# Class SonarLint.VisualStudio.Progress.Observation.ViewModels.ProgressViewModel

View model for the main/sub progress
Inheritance: ViewModelBase
Datei anzeigen Open project: SonarSource-VisualStudio/sonarlint-visualstudio Class Usage Examples

Public Methods

Method Description
SetUpperBoundLimitedValue ( double value ) : void

Will set the value whilst taking into account potential floating point errors when incrementing the value in a way that the sum is greater than 1.0 (within UpperBoundMarginalErrorSupport). Double.NaN values are also supported by this method (pass-through).

Method Details

SetUpperBoundLimitedValue() public method

Will set the value whilst taking into account potential floating point errors when incrementing the value in a way that the sum is greater than 1.0 (within UpperBoundMarginalErrorSupport). Double.NaN values are also supported by this method (pass-through).
public SetUpperBoundLimitedValue ( double value ) : void
value double
return void