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