Class Constant
A constant value.
Inheritance
Constant
Implements
Inherited Members
Namespace: Flame
Assembly: Flame.dll
Syntax
public abstract class Constant : IEquatable<Constant>
Methods
| Edit this page 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 |
|---|---|
| bool |
|
Equals(object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj | The object to compare with the current object. |
Returns
| Type | Description |
|---|---|
| bool | true if the specified object is equal to the current object; otherwise, false. |
Overrides
| Edit this page View SourceGetHashCode()
Serves as the default hash function.
Declaration
public override abstract int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | A hash code for the current object. |
Overrides
Operators
| Edit this page View Sourceoperator ==(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 |
|---|---|
| bool |
|
operator !=(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 |
|---|---|
| bool |
|