Class SelectionLastUsageHelper
Helper class for Selections of all kinds, to save tracking information about loading, changes and member counts
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
public static class SelectionLastUsageHelper : Object
Methods
IncrementMemberCount(Int32, Int32)
Update the membership count information; only call if you have actually read the selection to the bottom or otherwise know the true count
Declaration
public static void IncrementMemberCount(int selectionId, int increment)
Parameters
Type | Name | Description |
---|---|---|
Int32 | selectionId | 0 means 'no updates' |
Int32 | increment | Change to member count; can be negative to record removal of members |
UpdateLastLoaded(Int32)
Update the last-loaded information
Declaration
public static void UpdateLastLoaded(int selectionId)
Parameters
Type | Name | Description |
---|---|---|
Int32 | selectionId | 0 means 'no updates' |
UpdateLastMembershipChange(Int32)
Update the last-changed information
Declaration
public static void UpdateLastMembershipChange(int selectionId)
Parameters
Type | Name | Description |
---|---|---|
Int32 | selectionId | 0 means 'no updates' |
UpdateTotalMemberCount(Int32, Int32)
Update the membership count information; only call if you have actually read the selection to the bottom or otherwise know the true count
Declaration
public static void UpdateTotalMemberCount(int selectionId, int totalMemberCount)
Parameters
Type | Name | Description |
---|---|---|
Int32 | selectionId | 0 means 'no updates' |
Int32 | totalMemberCount | New total member count, -1 means 'no change' |