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
System.Object
ListWithNoSelectionProvider
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.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 |
---|---|
System.String |
Properties
HeadingItems
Declaration
public List<ISoListHeading> HeadingItems { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ISoListHeading> |
HistoryInfo
Declaration
public HistoryInfo HistoryInfo { get; }
Property Value
Type | Description |
---|---|
HistoryInfo |
HistoryItems
Declaration
public List<ISoListItem> HistoryItems { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ISoListItem> |
RootItems
Declaration
public List<ISoListItem> RootItems { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ISoListItem> |
Suffix
Declaration
public static string Suffix { get; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|---|
System.String | listName | |
System.String | additionalInfo | |
System.Int32[] | historyIDs | |
Boolean | onlyReadHistory | |
System.String | searchValue | |
Boolean | forceFlatList |
Implements
Extension Methods
EnumUtil.MapEnums<From, To>(From)