Table of Contents

Class ArmyManagementSortControllerVM.ItemComparerBase

Namespace
TaleWorlds.CampaignSystem.ViewModelCollection.ArmyManagement
Assembly
TaleWorlds.CampaignSystem.ViewModelCollection.dll
public abstract class ArmyManagementSortControllerVM.ItemComparerBase : IComparer<ArmyManagementItemVM>
Inheritance
ArmyManagementSortControllerVM.ItemComparerBase
Implements
Derived
Inherited Members

Constructors

ItemComparerBase()

protected ItemComparerBase()

Fields

_isAscending

protected bool _isAscending

Field Value

bool

Methods

Compare(ArmyManagementItemVM, ArmyManagementItemVM)

public abstract int Compare(ArmyManagementItemVM x, ArmyManagementItemVM y)

Parameters

x ArmyManagementItemVM
y ArmyManagementItemVM

Returns

int

ResolveEquality(ArmyManagementItemVM, ArmyManagementItemVM)

protected int ResolveEquality(ArmyManagementItemVM x, ArmyManagementItemVM y)

Parameters

x ArmyManagementItemVM
y ArmyManagementItemVM

Returns

int

SetSortMode(bool)

public void SetSortMode(bool isAscending)

Parameters

isAscending bool

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).