C# Class Platform.AbstractMeter

Base class for IMeter implementations
Inheritance: AbstractModel, IMeter
Afficher le fichier Open project: platformdotnet/Platform

Private Properties

Свойство Type Description
NullMeter System

Méthodes publiques

Méthode Description
ToString ( ) : string

Converts this meter to a string. The format is "CurrentValue/MaximumValue (Percent%)"

Méthodes protégées

Méthode Description
OnValueChanged ( ) : void

Raises the ValueChanged event. The current value is retrieved form the CurrentValue property and the previous value is automatically retrieved from PreviousValue.

OnValueChanged ( MeterEventArgs eventArgs ) : void

Raises the ValueChanged event.

OnValueChanged ( object newValue ) : void

Raises the ValueChanged event. The previous value is automatically retrieved from PreviousValue.

OnValueChanged ( object oldValue, object newValue ) : void

Raises the ValueChanged event.

Private Methods

Méthode Description
NullMeter ( ) : System

Method Details

OnValueChanged() protected méthode

Raises the ValueChanged event. The current value is retrieved form the CurrentValue property and the previous value is automatically retrieved from PreviousValue.
protected OnValueChanged ( ) : void
Résultat void

OnValueChanged() protected méthode

Raises the ValueChanged event.
protected OnValueChanged ( MeterEventArgs eventArgs ) : void
eventArgs MeterEventArgs The arguments for the event
Résultat void

OnValueChanged() protected méthode

Raises the ValueChanged event. The previous value is automatically retrieved from PreviousValue.
protected OnValueChanged ( object newValue ) : void
newValue object The newValue
Résultat void

OnValueChanged() protected méthode

Raises the ValueChanged event.
protected OnValueChanged ( object oldValue, object newValue ) : void
oldValue object The old (previous) value
newValue object The new (current) value
Résultat void

ToString() public méthode

Converts this meter to a string. The format is "CurrentValue/MaximumValue (Percent%)"
public ToString ( ) : string
Résultat string