Class Event
An event from the terminal.
Inheritance
Event
Inherited Members
Namespace: Sharpie
Assembly: sharpie.dll
Syntax
[PublicAPI]
public class Event
Constructors
Event(EventType)
Creates a new instance of the class.
Declaration
protected Event(EventType type)
Parameters
| Type | Name | Description |
|---|---|---|
| EventType | type | The type of the event. |
Properties
Type
The type of the event.
Declaration
public EventType Type { get; }
Property Value
| Type | Description |
|---|---|
| EventType |
Methods
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
GetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | A hash code for the current object. |
Overrides
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string that represents the current object. |