Show / Hide Table of Contents

Delegate ServicePreferenceMappings.PreferenceMappingInfo.IndividualEncoder

Custom encoding from preference string value to stored value

Namespace: SuperOffice.Data
Assembly: SoDataBase.dll
Syntax
public delegate string ServicePreferenceMappings.PreferenceMappingInfo.IndividualEncoder(string key, string currentField, string newPreference)
Parameters
Type Name Description
string key

Preference key

string currentField

The complete current stored value

string newPreference

The new value for the preference key, which might be a fragment of the complete stored value

Returns
Type Description
string

Constructors

IndividualEncoder(object, IntPtr)

Custom encoding from preference string value to stored value

Declaration
public IndividualEncoder(object @object, IntPtr method)
Parameters
Type Name Description
object object
IntPtr method

Methods

BeginInvoke(string, string, string, AsyncCallback, object)

Custom encoding from preference string value to stored value

Declaration
public virtual IAsyncResult BeginInvoke(string key, string currentField, string newPreference, AsyncCallback callback, object @object)
Parameters
Type Name Description
string key
string currentField
string newPreference
AsyncCallback callback
object object
Returns
Type Description
IAsyncResult

EndInvoke(IAsyncResult)

Custom encoding from preference string value to stored value

Declaration
public virtual string EndInvoke(IAsyncResult result)
Parameters
Type Name Description
IAsyncResult result
Returns
Type Description
string

Invoke(string, string, string)

Custom encoding from preference string value to stored value

Declaration
public virtual string Invoke(string key, string currentField, string newPreference)
Parameters
Type Name Description
string key
string currentField
string newPreference
Returns
Type Description
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