BH.oM.Quantities.Attributes.MassFraction¶
Dimensional quantity as defined by the International System of Quantities
Dimensions and units¶
SI Unit [kg/kg]¶
MassFraction is defined in [kg/kg] following the International System of Units
Dimensions¶
The quantity is dimensionless.
Class structure¶
Implemented interfaces and base types¶
The MassFraction is inheriting from the following base type(s) and implements the following interfaces:
- BH.oM.Quantities.Attributes.QuantityAttribute
- BH.oM.Base.Attributes.ClassificationAttribute
- Attribute
- BH.oM.Base.IImmutable
- BH.oM.Base.IObject
Code and Schema¶
C# implementation¶
C#
public class MassFraction : BH.oM.Quantities.Attributes.QuantityAttribute,
BH.oM.Base.Attributes.ClassificationAttribute,
System.Attribute,
BH.oM.Base.IImmutable,
BH.oM.Base.IObject
Assembly: Quantities_oM.dll
The C# class definition is available on github:
All history and changes of the class can be found by inspection the history.
JSON Schema implementation¶
The object is defined as a JSON schema. You can validate a JSON instance against this schema by reference. To do this, use the schema reference below in a validator like this one.
JSON Schema
{
"$ref" : "https://raw.githubusercontent.com/BHoM/BHoM_JSONSchema/develop/Quantities_oM/Attributes/MassFraction.json"
}
The JSON Schema is available on github here: