Show / Hide Table of Contents

Class SaintAmountClassProvider

This SoList provider generates the amount class list for the Saint criteria. This list is an extension of the basic AmountClass MDO list, with the addition of an ALL choice with ID 0.

Inheritance
object
ListWithLiteralItemsBase
SaintAmountClassProvider
Implements
ISoListProvider
ISoList
Inherited Members
ListWithLiteralItemsBase.GetTrailingRootItems(List<ISoListItem>)
ListWithLiteralItemsBase.ProcessItem(ISoListItem)
ListWithLiteralItemsBase.ProcessHistoryItemAsync(ISoListItem, CancellationToken)
ListWithLiteralItemsBase.GetInnerListAdditionalInfo(string)
ListWithLiteralItemsBase.ConstructAsync(string, string, int[], bool, string, bool, CancellationToken)
ListWithLiteralItemsBase.FilterBySearchValue(IEnumerable<ISoListItem>)
ListWithLiteralItemsBase.GetAllItemsAsync(CancellationToken)
ListWithLiteralItemsBase.GetHistoryItemsAsync(CancellationToken)
ListWithLiteralItemsBase.ClearHistoryItems()
ListWithLiteralItemsBase.GetRootItemsAsync(CancellationToken)
ListWithLiteralItemsBase.GetHeadingItemsAsync(CancellationToken)
ListWithLiteralItemsBase.InnerList
ListWithLiteralItemsBase.HistoryInfo
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.BusinessLogic.dll
Syntax
[MDOProviderPlugin("saintAmountClass")]
public class SaintAmountClassProvider : ListWithLiteralItemsBase, ISoListProvider, ISoList

Constructors

SaintAmountClassProvider()

This SoList provider generates the amount class list for the Saint criteria. This list is an extension of the basic AmountClass MDO list, with the addition of an ALL choice with ID 0.

Declaration
public SaintAmountClassProvider()

Methods

GetInnerListProviderName(string)

Subclass contract: Return the name of the desired inner provider; this will be passed to the SoListProviderFactory.

Declaration
protected override string GetInnerListProviderName(string outerListname)
Parameters
Type Name Description
string outerListname

List name from the client code, useful if one class is to extend more than one list

Returns
Type Description
string
Overrides
ListWithLiteralItemsBase.GetInnerListProviderName(string)

GetLeadingRootItemsAsync(List<ISoListItem>, CancellationToken)

Subclass contract: Override this method to provide leading root items. Add your items to the list that is passed in. If you do not need to add leading items, do not override this method.

Declaration
protected override Task GetLeadingRootItemsAsync(List<ISoListItem> leadingItems, CancellationToken cancellationToken = default)
Parameters
Type Name Description
List<ISoListItem> leadingItems

List to add leading items to

CancellationToken cancellationToken
Returns
Type Description
Task
Overrides
ListWithLiteralItemsBase.GetLeadingRootItemsAsync(List<ISoListItem>, CancellationToken)

Implements

ISoListProvider
ISoList

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top