PredefinedQuantityTable Class

A PredefinedQuantityTable for each PredefinedQuantity contains its Quantity in order to get hold of Quantity.

Definition

Namespace: DHI.Mike1D.Generic
Assembly: DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public class PredefinedQuantityTable : Dictionary<PredefinedQuantity, Quantity>
Inheritance
Object    DictionaryPredefinedQuantity, Quantity    PredefinedQuantityTable

Remarks

Every time you add a new PredefinedQuantity, you should remember to also add a new Quantity.

Constructors

PredefinedQuantityTable Default constructor populating the table with data for all predefined data types.

Properties

ComparerGets the IEqualityComparerT that is used to determine equality of keys for the dictionary.
(Inherited from DictionaryPredefinedQuantity, Quantity)
CountGets the number of key/value pairs contained in the DictionaryTKey, TValue.
(Inherited from DictionaryPredefinedQuantity, Quantity)
ItemGets or sets the value associated with the specified key.
(Inherited from DictionaryPredefinedQuantity, Quantity)
KeysGets a collection containing the keys in the DictionaryTKey, TValue.
(Inherited from DictionaryPredefinedQuantity, Quantity)
ValuesGets a collection containing the values in the DictionaryTKey, TValue.
(Inherited from DictionaryPredefinedQuantity, Quantity)

Methods

AddAdds the specified key and value to the dictionary.
(Inherited from DictionaryPredefinedQuantity, Quantity)
ClearRemoves all keys and values from the DictionaryTKey, TValue.
(Inherited from DictionaryPredefinedQuantity, Quantity)
ContainsKeyDetermines whether the DictionaryTKey, TValue contains the specified key.
(Inherited from DictionaryPredefinedQuantity, Quantity)
ContainsValueDetermines whether the DictionaryTKey, TValue contains a specific value.
(Inherited from DictionaryPredefinedQuantity, Quantity)
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetEnumeratorReturns an enumerator that iterates through the DictionaryTKey, TValue.
(Inherited from DictionaryPredefinedQuantity, Quantity)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetObjectDataImplements the ISerializable interface and returns the data needed to serialize the DictionaryTKey, TValue instance.
(Inherited from DictionaryPredefinedQuantity, Quantity)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
OnDeserializationImplements the ISerializable interface and raises the deserialization event when the deserialization is complete.
(Inherited from DictionaryPredefinedQuantity, Quantity)
RemoveRemoves the value with the specified key from the DictionaryTKey, TValue.
(Inherited from DictionaryPredefinedQuantity, Quantity)
ToStringReturns a string that represents the current object.
(Inherited from Object)
TryGetValueGets the value associated with the specified key.
(Inherited from DictionaryPredefinedQuantity, Quantity)

Fields

IntegrationQuantity For a given quantity (Id), defines the quantity that you get when integrating in time

See Also