Struct ConsoleCapabilities
Assembly: SociallyDistant.Framework.dll
Syntax
public struct ConsoleCapabilities : IEquatable<ConsoleCapabilities>
Fields
CursorLeft
Declaration
Field Value
CursorTop
Declaration
Field Value
Height
Declaration
Field Value
Width
Declaration
Field Value
Methods
Equals(ConsoleCapabilities)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(ConsoleCapabilities other)
Parameters
Returns
Type |
Description |
bool |
true if the current object is equal to the other parameter; otherwise, false.
|
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 |
bool |
true if obj and this instance are the same type and represent the same value; otherwise, false.
|
Overrides
GetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type |
Description |
int |
A 32-bit signed integer that is the hash code for this instance.
|
Overrides
Read(IDataReader)
Declaration
public void Read(IDataReader reader)
Parameters
Write(IDataWriter)
Declaration
public void Write(IDataWriter writer)
Parameters
Operators
operator ==(ConsoleCapabilities, ConsoleCapabilities)
Declaration
public static bool operator ==(ConsoleCapabilities left, ConsoleCapabilities right)
Parameters
Returns
operator !=(ConsoleCapabilities, ConsoleCapabilities)
Declaration
public static bool operator !=(ConsoleCapabilities left, ConsoleCapabilities right)
Parameters
Returns
Implements