Show / Hide Table of Contents

Class HeadingsAsItemsProvider

MDO list wrapper that converts the headings of an inner list into items in this list

Inheritance
object
HeadingsAsItemsProvider
Implements
IDynamicMDOProvider
ISoListProvider
ISoList
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.Lists
Assembly: SoDataBase.BusinessLogic.dll
Syntax
[DynamicMDOProviderPlugin("HeadingsToItemsConverter", 2147483627)]
public class HeadingsAsItemsProvider : IDynamicMDOProvider, ISoListProvider, ISoList
Remarks

This list provider has priority int.MaxValue - 20, so it comes late, but before the ListWithAllSelectionprovider and before the ListWithNoSelectionProvider.

Constructors

HeadingsAsItemsProvider()

MDO list wrapper that converts the headings of an inner list into items in this list

Declaration
public HeadingsAsItemsProvider()
Remarks

This list provider has priority int.MaxValue - 20, so it comes late, but before the ListWithAllSelectionprovider and before the ListWithNoSelectionProvider.

Properties

HistoryInfo

Returns ...

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

This list provider has priority int.MaxValue - 20, so it comes late, but before the ListWithAllSelectionprovider and before the ListWithNoSelectionProvider.

Suffix

The magic extension name to invoke this wrapper

Declaration
[AllowedMultitenantStatic]
public static string Suffix { get; }
Property Value
Type Description
string
Remarks

This list provider has priority int.MaxValue - 20, so it comes late, but before the ListWithAllSelectionprovider and before the ListWithNoSelectionProvider.

SupportedLists

MDO list wrapper that converts the headings of an inner list into items in this list

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

This list provider has priority int.MaxValue - 20, so it comes late, but before the ListWithAllSelectionprovider and before the ListWithNoSelectionProvider.

Methods

ClearHistoryItems()

Clears the history items

Declaration
public void ClearHistoryItems()
Remarks

This list provider has priority int.MaxValue - 20, so it comes late, but before the ListWithAllSelectionprovider and before the ListWithNoSelectionProvider.

ConstructAsync(string, string, int[], bool, string, bool, CancellationToken)

Pass creation on to the "real" list

Declaration
public Task ConstructAsync(string listName, string additionalInfo, int[] historyIDs, bool onlyReadHistory, string searchValue, bool forceFlatList, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string listName
string additionalInfo
int[] historyIDs
bool onlyReadHistory
string searchValue
bool forceFlatList
CancellationToken cancellationToken
Returns
Type Description
Task
Remarks

This list provider has priority int.MaxValue - 20, so it comes late, but before the ListWithAllSelectionprovider and before the ListWithNoSelectionProvider.

GetHeadingItemsAsync(CancellationToken)

Return headings

Declaration
public Task<List<ISoListHeading>> GetHeadingItemsAsync(CancellationToken cancellationToken = default)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
Task<List<ISoListHeading>>
Remarks

This list provider has priority int.MaxValue - 20, so it comes late, but before the ListWithAllSelectionprovider and before the ListWithNoSelectionProvider.

GetHistoryItemsAsync(CancellationToken)

Return all history items

Declaration
public Task<List<ISoListItem>> GetHistoryItemsAsync(CancellationToken cancellationToken = default)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
Task<List<ISoListItem>>
Remarks

This list provider has priority int.MaxValue - 20, so it comes late, but before the ListWithAllSelectionprovider and before the ListWithNoSelectionProvider.

GetRootItemsAsync(CancellationToken)

Return all items including our custom entries

Declaration
public Task<List<ISoListItem>> GetRootItemsAsync(CancellationToken cancellationToken = default)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
Task<List<ISoListItem>>
Remarks

This list provider has priority int.MaxValue - 20, so it comes late, but before the ListWithAllSelectionprovider and before the ListWithNoSelectionProvider.

Implements

IDynamicMDOProvider
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