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.
Namespace: SuperOffice.CRM.Lists
Assembly: SoDataBase.dll
Syntax
[DynamicMDOProviderPlugin("NoSelectionWrapper", 2147483647)]
public class ListWithNoSelectionProvider : Object, 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()
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.
Declaration
public ListWithNoSelectionProvider()
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.
Fields
NoSelectionResource
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.
Declaration
public const string NoSelectionResource = "[SR_NO_SELECTION]"
Field Value
Type | Description |
---|---|
String |
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.
Properties
HeadingItems
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.
Declaration
public List<ISoListHeading> HeadingItems { get; }
Property Value
Type | Description |
---|---|
List<ISoListHeading> |
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.
HistoryInfo
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.
Declaration
public HistoryInfo HistoryInfo { get; }
Property Value
Type | Description |
---|---|
HistoryInfo |
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.
HistoryItems
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.
Declaration
public List<ISoListItem> HistoryItems { get; }
Property Value
Type | Description |
---|---|
List<ISoListItem> |
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.
RootItems
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.
Declaration
public List<ISoListItem> RootItems { get; }
Property Value
Type | Description |
---|---|
List<ISoListItem> |
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.
Suffix
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.
Declaration
public static string Suffix { get; }
Property Value
Type | Description |
---|---|
String |
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.
SupportedLists
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.
Declaration
public HistoryInfo[] SupportedLists { get; }
Property Value
Type | Description |
---|---|
HistoryInfo[] |
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.
Methods
Construct(String, String, Int32[], Boolean, String, Boolean)
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.
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; it will always come last, so its name suffix will always be the last in the actual list name.