Show / Hide Table of Contents

Class FormulaConversion

Describes the information about formula conversion.

Inheritance
System.Object
Conversion
FormulaConversion
Inherited Members
Conversion.identifier
Conversion.units
Conversion.format
Conversion.Identifier
Conversion.Units
Conversion.Format
Conversion.Equals(Conversion)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: MAT.AtlasSessionApi
Assembly: MAT.AtlasSessionApi.dll
Syntax
public class FormulaConversion : Conversion

Constructors

FormulaConversion(String, String, String, String)

Construct the formula conversion object and validate inputs before constructing object. Throw an exception if input validity failed.

Declaration
public FormulaConversion(string identifier, string units, string format, string conversion)
Parameters
Type Name Description
System.String identifier

Parameter identifier.

System.String units

Unit of the parameter.

System.String format

Format to display the data.

System.String conversion

Formula conversion.

Properties

Formula

Gets the conversion formula.

Declaration
public string Formula { get; }
Property Value
Type Description
System.String

Methods

Equals(Object)

Are two conversion objects equal?

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj
Returns
Type Description
System.Boolean

true if objects are equal else false.

Overrides
Conversion.Equals(Object)

GetHashCode()

Get the hash code for algorithms that need quick checks of object equality.

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32

Hash code number.

Overrides
Conversion.GetHashCode()

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
Conversion.ToString()

Operators

Equality(FormulaConversion, FormulaConversion)

Are two formula conversions equal?

Declaration
public static bool operator ==(FormulaConversion left, FormulaConversion right)
Parameters
Type Name Description
FormulaConversion left

Left formula conversion object.

FormulaConversion right

Right formula conversion object.

Returns
Type Description
System.Boolean

true in case both objects are same else false.

Inequality(FormulaConversion, FormulaConversion)

Are two formula conversions unequal?

Declaration
public static bool operator !=(FormulaConversion left, FormulaConversion right)
Parameters
Type Name Description
FormulaConversion left

Left formula conversion object.

FormulaConversion right

Right formula conversion object.

Returns
Type Description
System.Boolean

true in case both objects are not same else false.

In This Article
Back to top Generated by DocFX