Show / Hide Table of Contents

Class ConstantObject

An struct representing a constant with a value

Inheritance
System.Object
ConstantObject
Implements
System.IEquatable<ConstantObject>
Namespace: MESL.SqlRace.Domain.Functions
Assembly: MESL.SqlRace.Domain.dll
Syntax
public sealed class ConstantObject : ValueType, IEquatable<ConstantObject>

Properties

Name

Gets the name of the constant

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

Methods

Equals(ConstantObject)

Compares the object for equality

Declaration
public bool Equals(ConstantObject other)
Parameters
Type Name Description
ConstantObject other
Returns
Type Description
System.Boolean

Equals(Object)

Compares the object for equality

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

GetHashCode()

Gets the hash code of the object

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

ToString()

Return the string representation of the object

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

Operators

Implicit(ConstantObject to Double)

Implicitly casts a constant object to a double

Declaration
public static implicit operator double (ConstantObject constant)
Parameters
Type Name Description
ConstantObject constant
Returns
Type Description
System.Double

Implements

System.IEquatable<>
Back to top Generated by DocFX