Class ScreenObjectComparer
Compares IScreenObject with the SortOrder property.
Implements
Inherited Members
Namespace: SadConsole
Assembly: SadConsole.dll
Syntax
public class ScreenObjectComparer : IComparer<IScreenObject>
Constructors
ScreenObjectComparer()
Declaration
public ScreenObjectComparer()
Properties
Instance
Shared instance of the ScreenObjectComparer.
Declaration
public static ScreenObjectComparer Instance { get; }
Property Value
Type | Description |
---|---|
ScreenObjectComparer |
Methods
Compare(IScreenObject?, IScreenObject?)
Declaration
public int Compare(IScreenObject? x, IScreenObject? y)
Parameters
Type | Name | Description |
---|---|---|
IScreenObject | x | |
IScreenObject | y |
Returns
Type | Description |
---|---|
int |