Table of Contents

Class KingdomArmySortControllerVM.ItemComparerBase

Namespace
TaleWorlds.CampaignSystem.ViewModelCollection.KingdomManagement.Armies
Assembly
TaleWorlds.CampaignSystem.ViewModelCollection.dll
public abstract class KingdomArmySortControllerVM.ItemComparerBase : IComparer<KingdomArmyItemVM>
Inheritance
KingdomArmySortControllerVM.ItemComparerBase
Implements
Derived
Inherited Members

Constructors

ItemComparerBase()

protected ItemComparerBase()

Fields

_isAscending

protected bool _isAscending

Field Value

bool

Methods

Compare(KingdomArmyItemVM, KingdomArmyItemVM)

public abstract int Compare(KingdomArmyItemVM x, KingdomArmyItemVM y)

Parameters

x KingdomArmyItemVM
y KingdomArmyItemVM

Returns

int

ResolveEquality(KingdomArmyItemVM, KingdomArmyItemVM)

protected int ResolveEquality(KingdomArmyItemVM x, KingdomArmyItemVM y)

Parameters

x KingdomArmyItemVM
y KingdomArmyItemVM

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).