Click or drag to resize

PredefinedQuantityTable Class

A PredefinedQuantityTable for each PredefinedQuantity contains its Quantity in order to get hold of Quantity.
Inheritance Hierarchy
SystemObject
  System.Collections.GenericDictionaryPredefinedQuantity, Quantity
    DHI.Mike1D.GenericPredefinedQuantityTable

Namespace:  DHI.Mike1D.Generic
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public class PredefinedQuantityTable : Dictionary<PredefinedQuantity, Quantity>

The PredefinedQuantityTable type exposes the following members.

Constructors
  NameDescription
Public methodPredefinedQuantityTable
Default constructor populating the table with data for all predefined data types.
Top
Properties
  NameDescription
Public propertyComparer (Inherited from DictionaryPredefinedQuantity, Quantity.)
Public propertyCount (Inherited from DictionaryPredefinedQuantity, Quantity.)
Public propertyItem
Gets or sets the value associated with the specified key.
(Inherited from DictionaryPredefinedQuantity, Quantity.)
Public propertyKeys (Inherited from DictionaryPredefinedQuantity, Quantity.)
Public propertyValues (Inherited from DictionaryPredefinedQuantity, Quantity.)
Top
Methods
  NameDescription
Public methodAdd
Adds the specified key and value to the dictionary.
(Inherited from DictionaryPredefinedQuantity, Quantity.)
Public methodClear (Inherited from DictionaryPredefinedQuantity, Quantity.)
Public methodContainsKey (Inherited from DictionaryPredefinedQuantity, Quantity.)
Public methodContainsValue (Inherited from DictionaryPredefinedQuantity, Quantity.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator (Inherited from DictionaryPredefinedQuantity, Quantity.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetObjectData (Inherited from DictionaryPredefinedQuantity, Quantity.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOnDeserialization
Implements the ISerializable interface and raises the deserialization event when the deserialization is complete.
(Inherited from DictionaryPredefinedQuantity, Quantity.)
Public methodRemove (Inherited from DictionaryPredefinedQuantity, Quantity.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetValue
Gets the value associated with the specified key.
(Inherited from DictionaryPredefinedQuantity, Quantity.)
Top
Remarks
Every time you add a new PredefinedQuantity, you should remember to also add a new Quantity.
See Also