Show / Hide Table of Contents

Class ListWithNoSelectionProvider

Dynamic list provider that 'wraps around' all existing lists, adding a (No selection) item with ID 0 in front of the first 'real' item in the inner list. The generated list name is the inner name plus the WithNoSelection suffix.

Inheritance
Object
ListWithNoSelectionProvider
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.dll
Syntax
[DynamicMDOProviderPlugin("NoSelectionWrapper", 2147483647)]
public class ListWithNoSelectionProvider : IDynamicMDOProvider, ISoListProvider, ISoList, IPlugin
Remarks

This list provider has priority int.MaxValue; it will always come last, so its name suffix will always be the last in the actual list name.

Constructors

ListWithNoSelectionProvider()

Declaration
public ListWithNoSelectionProvider()

Fields

NoSelectionResource

Declaration
public const string NoSelectionResource = "[SR_NO_SELECTION]"
Field Value
Type Description
String

Properties

HeadingItems

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

HistoryInfo

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

HistoryItems

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

RootItems

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

Suffix

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

SupportedLists

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

Methods

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

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

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