Show / Hide Table of Contents

Delegate CollectionOps.ConvertType<SourceType, ReturnType>

Type converter delegate, used to convert an object of one type to another

Namespace: SuperOffice.Util
Assembly: SoCore.dll
Syntax
public delegate ReturnType CollectionOps.ConvertType<SourceType, ReturnType>(SourceType s)
Parameters
Type Name Description
SourceType s

Source element

Returns
Type Description
ReturnType

Converted element

Type Parameters
Name Description
SourceType

Source type

ReturnType

Return (target) type

Constructors

ConvertType(object, IntPtr)

Type converter delegate, used to convert an object of one type to another

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

Methods

BeginInvoke(SourceType, AsyncCallback, object)

Type converter delegate, used to convert an object of one type to another

Declaration
public virtual IAsyncResult BeginInvoke(SourceType s, AsyncCallback callback, object @object)
Parameters
Type Name Description
SourceType s
AsyncCallback callback
object object
Returns
Type Description
IAsyncResult

EndInvoke(IAsyncResult)

Type converter delegate, used to convert an object of one type to another

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

Invoke(SourceType)

Type converter delegate, used to convert an object of one type to another

Declaration
public virtual ReturnType Invoke(SourceType s)
Parameters
Type Name Description
SourceType s
Returns
Type Description
ReturnType

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