Show / Hide Table of Contents

Class UserPreferenceArchiveHelper

Helper class to decode / populate preference values; provides shared logic for the UserPreferenceExtenderBase and MappedPreferenceProvider

Inheritance
Object
UserPreferenceArchiveHelper
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
[SoInject("Database")]
public class UserPreferenceArchiveHelper

Methods

GetDatabaseName(Int32)

Declaration
public string GetDatabaseName(int ownerId)
Parameters
Type Name Description
Int32 ownerId
Returns
Type Description
String

GetLevelEntityName(PreferenceLevel)

Declaration
public string GetLevelEntityName(PreferenceLevel deflevel)
Parameters
Type Name Description
PreferenceLevel deflevel
Returns
Type Description
String

GetLevelName(PreferenceLevel)

Declaration
public string GetLevelName(PreferenceLevel deflevel)
Parameters
Type Name Description
PreferenceLevel deflevel
Returns
Type Description
String

GetOwnerName(PreferenceLevel, Int32)

Declaration
public string GetOwnerName(PreferenceLevel deflevel, int ownerId)
Parameters
Type Name Description
PreferenceLevel deflevel
Int32 ownerId
Returns
Type Description
String

GetPreferenceValue(String, String, String)

Declaration
public (string value, string tooltip) GetPreferenceValue(string section, string key, string rawValue)
Parameters
Type Name Description
String section
String key
String rawValue
Returns
Type Description
ValueTuple<String, String>

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top