Class Constant
A constant value.
Inheritance
System.Object
Constant
Implements
System.IEquatable<Constant>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Flame
Assembly: Flame.dll
Syntax
public abstract class Constant : IEquatable<Constant>
Methods
| Improve this Doc View SourceEquals(Constant)
Tests if this constant is equal to another constant.
Declaration
public abstract bool Equals(Constant other)
Parameters
Type | Name | Description |
---|---|---|
Constant | other | The other constant. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Object.Equals(System.Object)
|
Improve this Doc
View Source
GetHashCode()
Declaration
public abstract override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Object.GetHashCode()
Operators
| Improve this Doc View SourceEquality(Constant, Constant)
Tests if two constants are equal.
Declaration
public static bool operator ==(Constant left, Constant right)
Parameters
Type | Name | Description |
---|---|---|
Constant | left | A first constant. |
Constant | right | A second constant. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Inequality(Constant, Constant)
Tests if two constants are not equal.
Declaration
public static bool operator !=(Constant left, Constant right)
Parameters
Type | Name | Description |
---|---|---|
Constant | left | A first constant. |
Constant | right | A second constant. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Implements
System.IEquatable<T>