Rational Structure |
Namespace: Atalasoft.Imaging.Metadata
The Rational type exposes the following members.
| Name | Description | |
|---|---|---|
| Denominator | Gets the denominator of the fraction | |
| Empty | Returns an 'Empty' Rational value of 0/1. | |
| Numerator | Gets the numerator of the fraction. |
| Name | Description | |
|---|---|---|
| Equals(Object) |
Determines whether the specified Object, is equal to this instance.
(Overrides ValueTypeEquals(Object).) | |
| Equals(Rational, Rational) |
Equalses the specified rat1.
| |
| GetHashCode |
Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Parse | Parses a string in the form of numerator/denominator to a Rational value. | |
| ToString | Returns a string representation of the fraction (numerator/denominator) (Overrides ValueTypeToString.) |
| Name | Description | |
|---|---|---|
| Equality |
Compares two Rational objects for equality.
| |
| Inequality |
Compares two Rational objects for inequality.
|