Show / Hide Table of Contents

Class PreferenceKeyProvider

MDO Provider that retrieves a list of preference keys corresponding to a given section

Inheritance
Object
LiteralsOnlyBase
PreferenceKeyProvider
Implements
ISoListProvider
ISoList
Inherited Members
LiteralsOnlyBase.Construct(String, String, Int32[], Boolean, String, Boolean)
LiteralsOnlyBase.ListName
LiteralsOnlyBase.ExtraInfo
LiteralsOnlyBase.SearchValue
LiteralsOnlyBase.RawRootItems
LiteralsOnlyBase.RawHeadingItems
LiteralsOnlyBase.RawHistoryItems
LiteralsOnlyBase.HistoryInfo
LiteralsOnlyBase.HistoryItems
LiteralsOnlyBase.RootItems
LiteralsOnlyBase.HeadingItems
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
[MDOProviderPlugin("PreferenceKey")]
[MDOAdditionalInfo("Preference section name, optionally followed by ;excludesystemwide to exclude preferences that belong in the System Settings gui", "Functions")]
public class PreferenceKeyProvider : LiteralsOnlyBase, ISoListProvider, ISoList, IPlugin
Remarks

Preferences are described in the prefdesc table. This provider will retrieve descriptions for all keys grouped under a given section, passed in as the additionalInfo to the constructor.

Use the UserPreferenceStrings class to avoid (mis)coding preference section and key names as strings.

Each item contains the programmatic key name in the extraInfo field.

Constructors

PreferenceKeyProvider()

Declaration
public PreferenceKeyProvider()

Fields

ProviderName

Declaration
public const string ProviderName = "PreferenceKey"
Field Value
Type Description
String

Methods

AddItems()

Declaration
protected override void AddItems()
Overrides
LiteralsOnlyBase.AddItems()

Implements

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