Name | Description | |
---|---|---|
![]() | NUnit Constructor |
The following tables list the members exposed by NUnit.
Name | Description | |
---|---|---|
![]() | NUnit Constructor |
Name | Description | |
---|---|---|
![]() ![]() | Ampere | Ampere (SI - electric current). |
![]() ![]() | Candela | Candela (SI - luminous intensity) |
![]() ![]() | Centimeter | Centerimeter (SI - length) |
![]() ![]() | CommonAngleUnits | An array of angle units typically used in drawing and text documents. |
![]() ![]() | CommonLenghtUnits | An array of length units typically used in drawing and text documents. |
![]() ![]() | Day | Day unit (has 24 hours) |
![]() ![]() | Degree | The degree angle unit |
![]() ![]() | DimlessOne | The dimensionless 1 unit |
![]() ![]() | DIP | Device Independent Pixel (length). Equal to 1/96 of an inch. |
![]() ![]() | Drachm | Drachm unit (Imperial - mass). Equal to 1.7718451953125 grams. |
![]() ![]() | EMU | English Metric Unit - 1/360000 of a centimeter and 1/12700 of a point. Extensively used in Office Open XML documents. |
![]() ![]() | Foot | Foot (Imperial - length) |
![]() ![]() | Grad | The grad angle unit |
![]() ![]() | Grain | Grain unit (Imperial - mass). Equal to 0.06479891 grams. |
![]() ![]() | Gram | Gram unit (SI - mass). (1/1000) of a kilogram |
![]() ![]() | Hour | Hour unit (1/24) of a day |
![]() ![]() | Inch | Inch (Imperial - length) |
![]() ![]() | Kelvin | Kelvin (SI - thermodynamic temperature). |
![]() ![]() | Kilogram | Kilogram (SI - mass). |
![]() ![]() | Kilometer | Kilometer (SI - length) |
![]() ![]() | Meter | Meter (SI - length) |
![]() ![]() | Mile | Mile (Imperial - length) |
![]() ![]() | Milligram | Milligram unit (SI - mass). (1/1000) of a gram. |
![]() ![]() | Millimeter | Millimeter (SI - length). Base for the NOV system, but not for the SI system. |
![]() ![]() | Millisecond | Millisecond unit (1/1000) of a second. |
![]() ![]() | Minute | Millisecond unit (1/60) of an hour. |
![]() ![]() | Mole | Mole (SI - amount of substance) |
![]() ![]() | Ounce | The Ounce unit (Imperial - mass). Equal to 28.349523125 grams. |
![]() ![]() | Pica | The Pica (Typographic - length). Equal to 12 points. |
![]() ![]() | Pixel | Pixel (device dependent unit) |
![]() ![]() | Point | The Point (Typographic - length). Equal to 1/72 of an inch. |
![]() ![]() | Pound | The Pound unit (Imperial - mass). Equal to 453.59237 grams. |
![]() ![]() | Radian | The radian angle unit |
![]() ![]() | Second | Millisecond unit (1/60) of a minute (base for both NOV and the SI system). |
![]() ![]() | Stone | The Stone unit (Imperial - mass). Equal to 6.35029318 kilograms. |
![]() ![]() | Tick | Tick unit (1/10000) of a millisecond. |
![]() ![]() | Twip | The Twip (Typographic - length). Equal to 1/20 of a point. |
![]() ![]() | Week | Week unit (equal to seven days) |
![]() ![]() | Yard | Yard (Imperial - length) |
Name | Description | |
---|---|---|
![]() | Dimension | Gets this unit dimension |
![]() | DimensionBaseUnit | Gets the base unit for this unit dimension |
![]() | DimensionBaseUnitFactor | Gets the factor for converting a value measured in this unit, to the base unit for this unit dimension. |
![]() | Factor | A relative conversion factor, which is used to convert between units in the same dimension. |
![]() | IsValid | Check whether this is a valid unit. |
Name | Description | |
---|---|---|
![]() | CalculateDimensionBaseUnit | Gets the base unit for the unit dimension. |
![]() | ConvertTo | Overloaded. Gets the conversion factor for converting a quantity measured in this unit to the target unit. Throws an exception if the conversion is not possible. |
![]() | ConvertToPixels | Gets the conversion factor for converting a quantity measured in this unit to the pixel unit for the specified resolution. Throws an exception if the conversion is not possible. |
![]() | ConvertToUnsafe | Gets the conversion factor for converting a quantity measured in this unit to the target unit. Assumes that the to unit is from the same dimension. |
![]() | Deserialize | |
![]() | Divide | Divides this unit with the specified unit and returns the resulting unit and a number |
![]() | Equals | Checks whether the given object is equal to this base unit. |
![]() | Format | Formats this unit, using either full names or abbreviated ones. |
![]() | GetAbbreviation | Gets the unit short name (abbreviation) |
![]() ![]() | GetDimensionBaseUnit | Gets the base unit for the specified dimension |
![]() | GetHashCode | Gets the hash code for this base unit. |
![]() | GetName | Gets the unit full name |
![]() | Multiply | Multiples this unit with the specified unit and returns the resulting unit and a number |
![]() | Pow | Raises this unit to the specified power |
![]() | Serialize | |
![]() | Sqrt | Determines the square root of this unit. Internally calls Pow(0.5) |
![]() | Swap | Flips the unit numerator and denomiator. Identical to the raise to power -1. |
![]() | ToString | Gets a string representation of this unit |
![]() | TryConvertTo | Overloaded. Gets the conversion factor for converting a quantity measured in this unit to the target unit. Returns true if the conversion is possible, otherwise returns false. |
![]() | TryConvertToPixels | Gets the conversion factor for converting a quantity measured in this unit to the pixel unit for the specified resolution. Returns true if the conversion is possible, otherwise returns false. |
![]() ![]() | TryGetUnitByAbbreviation | Tries to get the simple unit with the specified abbreviation. |
![]() | Comparison Equal To operator |
![]() | Comparison Not Equal To operator |