The Substance type exposes the following members.
Adds the specified substance to this substance. Both substances must be of the same material type, or an exception will fire.
Adds the specified number of joules of energy to the mixture.
Applies the material specs.
Clears the material specification collection.
Clones this instance.
Converts the entire portion of a substance that is one material spec to another material spec.
Reconstitutes this object from the specified XmlSerializationContext.
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Estimates a boiling point for the substance.
Serves as the default hash function.(Inherited from Object.)
Gets the mass, from this substance, of the provided material specification.
Gets the material specification collection.
Gets the Type of the current instance.(Inherited from Object.)
Creates a shallow copy of the current Object.(Inherited from Object.)
Removes the specified substance from this substance. Both substances must be of the same material type, or an exception will fire..
Removes the specified mass from this substance.
Resumes the change events. When change events are resumed, one change event will be fired if the material has changed. This prevents a cascade of change events that would be issued, for example during the processing of a reaction.
Stores this object to the specified XmlSerializationContext.
Sets the material spec of the substance. Call this only once on any given substance. See the tech note on Material Specifications. If you have multiple specifications to set, call SetMaterialSpecs.
A non-'empty' guid in the collection applies that guid to the whole mass of this substance. A dictionaryEntry with a guid for a key and a double for a value assumes the double to be a mass, and the guid to be a spec, and assigns that spec to the specfied quantiy (mass) of material.
Suspends the issuance of change events. When change events are resumed, one change event will be fired if the material has changed. This prevents a cascade of change events that would be issued, for example during the processing of a reaction. See Mixture..::..MaterialChangeDistiller.