< Rev API Docs

The Units type exposes the following members.

Methods

  NameDescription
Public methodDispose
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetFormatOptions(ForgeTypeId)
Gets the default FormatOptions for a spec.
Public methodGetFormatOptions(UnitType) Obsolete.
Gets the default FormatOptions for a unit type.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodStatic memberGetModifiableSpecs
Gets all specs for which the default FormatOptions can be modified.
Public methodStatic memberGetModifiableUnitTypes Obsolete.
Gets all unit types for which the default FormatOptions can be modified.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberIsModifiableSpec
Checks whether the default FormatOptions can be modified for a given spec.
Public methodStatic memberIsModifiableUnitType Obsolete.
Checks whether the default FormatOptions can be modified for a given unit type.
Public methodSetFormatOptions(ForgeTypeId, FormatOptions)
Sets the default FormatOptions for a spec.
Public methodSetFormatOptions(UnitType, FormatOptions) Obsolete.
Sets the default FormatOptions for a unit type.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

See Also