Class StaticKeyboardEffect
Describes the static effect type.
Implements
Namespace: Colore.Effects.Keyboard
Assembly: Colore.dll
Syntax
public sealed class StaticKeyboardEffect : ValueType
Constructors
StaticKeyboardEffect(Color)
Initializes a new instance of the StaticKeyboardEffect struct.
Declaration
public StaticKeyboardEffect(Color color)
Parameters
Type | Name | Description |
---|---|---|
Color | color | Color to apply. |
Fields
Color
Color of the effect.
Declaration
public readonly Color Color
Field Value
Type | Description |
---|---|
Color |
Methods
Equals(StaticKeyboardEffect)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(StaticKeyboardEffect other)
Parameters
Type | Name | Description |
---|---|---|
StaticKeyboardEffect | other | An object to compare with this object. |
Returns
Type | Description |
---|---|
Boolean |
|
Equals(Object)
Indicates whether this instance and a specified object are equal.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj | The object to compare with the current instance. |
Returns
Type | Description |
---|---|
Boolean |
|
GetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 | A 32-bit signed integer that is the hash code for this instance. |
Operators
Equality(StaticKeyboardEffect, StaticKeyboardEffect)
Checks an instance of StaticKeyboardEffect for equality with another StaticKeyboardEffect instance.
Declaration
public static bool operator ==(StaticKeyboardEffect left, StaticKeyboardEffect right)
Parameters
Type | Name | Description |
---|---|---|
StaticKeyboardEffect | left | Left operand. |
StaticKeyboardEffect | right | Right operand. |
Returns
Type | Description |
---|---|
Boolean |
|
Inequality(StaticKeyboardEffect, StaticKeyboardEffect)
Checks an instance of StaticKeyboardEffect for inequality with another StaticKeyboardEffect instance.
Declaration
public static bool operator !=(StaticKeyboardEffect left, StaticKeyboardEffect right)
Parameters
Type | Name | Description |
---|---|---|
StaticKeyboardEffect | left | Left operand. |
StaticKeyboardEffect | right | Right operand. |
Returns
Type | Description |
---|---|
Boolean |
|