This documentation is compiled for the latest release of Mathos Core Library
SystemObject
Mathos.ChemistryCompound
Assembly: Mathos (in Mathos.dll) Version: 1.0.5.1 (1.0.5.1)
Top
Top
Top
Top
A compound contains a set of different elements (see Element class).
Inheritance Hierarchy
Mathos.ChemistryCompound
Namespace: Mathos.Chemistry
Assembly: Mathos (in Mathos.dll) Version: 1.0.5.1 (1.0.5.1)
Syntax
The Compound type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Compound |
Creates a new instance of the compound class.
| |
| Compound(Int32) |
Creates a new instance of the compound class.
The coefficient that should be in front of the compound, eg. 2H_2O for 2 water molecules. |
Methods
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Extension Methods
| Name | Description | |
|---|---|---|
| From(Enum) | Overloaded. (Defined by Converter.) | |
| From(Base) | Overloaded. (Defined by Converter.) |
Properties
| Name | Description | |
|---|---|---|
| Amount |
The coefficient that should be in front of the compound, eg. 2H_2O for 2 water molecules.
| |
| Elements |
The set of compounds.
|
See Also