public class Distance : INotifyPropertyChangedPublic Class Distance
Implements INotifyPropertyChanged| Distance | Initializes a new instance of Distance class. |
| Quantity | Gets or sets the distance quantity of one object from another. |
| Unit | Gets or sets the unit used to measure the Quantity. |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| OnDistanceChanged | Fires the PropertyChanged event. |
| ToString |
Converts the numeric value of this instance to its equivalent string representation.
(Overrides ObjectToString) |
| PropertyChanged | Notifies of a change of either the Quantity or the Unit property. |