Show / Hide Table of Contents

Class UdefConvertHelper

This class contains helper functions for handling conversion of user-defined fields from one type to another.

Inheritance
object
UdefConvertHelper
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.Data
Assembly: SoDataBase.BusinessLogic.dll
Syntax
public class UdefConvertHelper

Methods

ConvertAsync(object, UDefFieldType, UDefFieldType, int, int, int, CancellationToken)

This class contains helper functions for handling conversion of user-defined fields from one type to another.

Declaration
public static Task<object> ConvertAsync(object value, UDefFieldType sourceType, UDefFieldType targetType, int sourceListTableId, int sourceUdListDefinitionId, int sourceListItemId, CancellationToken cancellationToken = default)
Parameters
Type Name Description
object value
UDefFieldType sourceType
UDefFieldType targetType
int sourceListTableId
int sourceUdListDefinitionId
int sourceListItemId
CancellationToken cancellationToken
Returns
Type Description
Task<object>

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