Click or drag to resize

SIPrefix Class

Represents an SI prefix, such as nano, micro, Mega, Giga etc.
Inheritance Hierarchy
SystemObject
  Altaxo.UnitsSIPrefix

Namespace: Altaxo.Units
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class SIPrefix : IUnit, IEquatable<SIPrefix>, 
	IComparable<SIPrefix>

The SIPrefix type exposes the following members.

Constructors
 NameDescription
Public methodSIPrefix Deserialization constructor. Initializes a new instance of the SIPrefix class. Do not use this constructor unless you don't find the prefix in the list of known prefixes.
Top
Properties
 NameDescription
Public propertyStatic memberAtto 
Public propertyCanApplySIPrefix 
Public propertyStatic memberCenti 
Public propertyStatic memberDeca 
Public propertyStatic memberDeci 
Public propertyStatic memberExa 
Public propertyExponent 
Public propertyStatic memberFemto 
Public propertyStatic memberGiga 
Public propertyStatic memberHecto 
Public propertyStatic memberKilo 
Public propertyStatic memberLargestPrefix 
Public propertyStatic memberLisOfPrefixesWithMultipleOf3Exponent Returns a list with prefixes, for which the exponent is a multiple of 3, including the prefix None.
Public propertyStatic memberListWithAllKnownPrefixes Returns a list with all known prefixes, including the prefix None.
Public propertyStatic memberListWithNonePrefixOnly Returns a list that contains only the prefix None.
Public propertyStatic memberMaxShortCutLength Gets the maximum length of the shortcuts of any of the known prefixes.
Public propertyStatic memberMega 
Public propertyStatic memberMicro 
Public propertyStatic memberMilli 
Public propertyStatic memberMinShortCutLength Gets the minimum length of the shortcuts of any of the known prefixes.
Public propertyName 
Public propertyStatic memberNano 
Public propertyStatic memberNone 
Public propertyStatic memberPeta 
Public propertyStatic memberPico 
Public propertyStatic memberQuecto 
Public propertyStatic memberQuetta 
Public propertyStatic memberRonna 
Public propertyStatic memberRonto 
Public propertyShortCut 
Public propertyStatic memberSmallestPrefix 
Public propertyStatic memberTera 
Public propertyStatic memberYocto 
Public propertyStatic memberYotta 
Public propertyStatic memberZepto 
Public propertyStatic memberZetta 
Top
Methods
 NameDescription
Public methodCompareTo 
Public methodEquals(Object)
(Overrides ObjectEquals(Object))
Public methodEquals(SIPrefix) 
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodStatic memberFromDivision 
Public methodStatic memberFromMultiplication 
Public methodFromSIUnit 
Public methodGetHashCode
(Overrides ObjectGetHashCode)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToSIUnit 
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodStatic memberTryGetPrefixFromExponent Try to get a known prefix with a given exponent.
Public methodStatic memberTryGetPrefixFromShortcut Try the get a prefix given the prefix'es shortcut.
Top
Operators
 NameDescription
Public operatorStatic memberMultiply(SIPrefix, SIPrefix) Multiplies two prefixes. If the result is not a known prefix, an InvalidOperationException is thrown. Consider using FromMultiplication(SIPrefix, SIPrefix) instead.
Top
See Also