Show / Hide Table of Contents

Class ListWithAllItemProvider

MDO list wrapper that extends existing lists with an "All" entry. "All" entry will return id = -2

Inheritance
Object
ListWithAllItemProvider
Implements
IDynamicMDOProvider
ISoListProvider
ISoList
Namespace: SuperOffice.CRM.Lists
Assembly: SoDataBase.dll
Syntax
[DynamicMDOProviderPlugin("AllItemWrapper", 2147483637)]
public class ListWithAllItemProvider : Object, IDynamicMDOProvider, ISoListProvider, ISoList, IPlugin
Remarks

This list provider has priority int.MaxValue - 10, so it comes after the HeadingsAsItemsProvider and before the ListWithNoSelectionProvider.

Constructors

ListWithAllItemProvider()

MDO list wrapper that extends existing lists with an "All" entry. "All" entry will return id = -2

Declaration
public ListWithAllItemProvider()
Remarks

This list provider has priority int.MaxValue - 10, so it comes after the HeadingsAsItemsProvider and before the ListWithNoSelectionProvider.

Properties

HeadingItems

Return headings

Declaration
public List<ISoListHeading> HeadingItems { get; }
Property Value
Type Description
List<ISoListHeading>
Remarks

This list provider has priority int.MaxValue - 10, so it comes after the HeadingsAsItemsProvider and before the ListWithNoSelectionProvider.

HistoryInfo

Returns ...

Declaration
public HistoryInfo HistoryInfo { get; }
Property Value
Type Description
HistoryInfo
Remarks

This list provider has priority int.MaxValue - 10, so it comes after the HeadingsAsItemsProvider and before the ListWithNoSelectionProvider.

HistoryItems

Return all history items

Declaration
public List<ISoListItem> HistoryItems { get; }
Property Value
Type Description
List<ISoListItem>
Remarks

This list provider has priority int.MaxValue - 10, so it comes after the HeadingsAsItemsProvider and before the ListWithNoSelectionProvider.

RootItems

Return all items including our custom entries

Declaration
public List<ISoListItem> RootItems { get; }
Property Value
Type Description
List<ISoListItem>
Remarks

This list provider has priority int.MaxValue - 10, so it comes after the HeadingsAsItemsProvider and before the ListWithNoSelectionProvider.

Suffix

The magic extension name to invoke this wrapper

Declaration
public static string Suffix { get; }
Property Value
Type Description
String
Remarks

This list provider has priority int.MaxValue - 10, so it comes after the HeadingsAsItemsProvider and before the ListWithNoSelectionProvider.

SupportedLists

MDO list wrapper that extends existing lists with an "All" entry. "All" entry will return id = -2

Declaration
public HistoryInfo[] SupportedLists { get; }
Property Value
Type Description
HistoryInfo[]
Remarks

This list provider has priority int.MaxValue - 10, so it comes after the HeadingsAsItemsProvider and before the ListWithNoSelectionProvider.

Methods

Construct(String, String, Int32[], Boolean, String, Boolean)

Pass creation on to the "real" list

Declaration
public void Construct(string listName, string additionalInfo, int[] historyIDs, bool onlyReadHistory, string searchValue, bool forceFlatList)
Parameters
Type Name Description
String listName
String additionalInfo
Int32[] historyIDs
Boolean onlyReadHistory
String searchValue
Boolean forceFlatList
Remarks

This list provider has priority int.MaxValue - 10, so it comes after the HeadingsAsItemsProvider and before the ListWithNoSelectionProvider.

Implements

IDynamicMDOProvider
ISoListProvider
ISoList

Extension Methods

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