Show / Hide Table of Contents

Delegate CollectionOps.GetKeyFromValueItem<KeyType, ValueType>

Delegate for the CreateDictionaryFromArray<KeyType, ValueType>(ValueType[], CollectionOps.GetKeyFromValueItem<KeyType, ValueType>) methods, whose task is to extract whatever is the key from the given item

Namespace: SuperOffice.Util
Assembly: SoCore.dll
Syntax
public delegate KeyType GetKeyFromValueItem<KeyType, ValueType>(ValueType item);
Parameters
Type Name Description
ValueType item

Item to extract key from

Returns
Type Description
KeyType

Item of type KeyType

Type Parameters
Name Description
KeyType

Type to return as key

ValueType

Value type, same as the incoming item type

Constructors

GetKeyFromValueItem(Object, IntPtr)

Declaration
public GetKeyFromValueItem(object object, IntPtr method)
Parameters
Type Name Description
Object object
IntPtr method

Methods

BeginInvoke(ValueType, AsyncCallback, Object)

Declaration
public virtual IAsyncResult BeginInvoke(ValueType item, AsyncCallback callback, object object)
Parameters
Type Name Description
ValueType item
AsyncCallback callback
Object object
Returns
Type Description
IAsyncResult

EndInvoke(IAsyncResult)

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

Invoke(ValueType)

Declaration
public virtual KeyType Invoke(ValueType item)
Parameters
Type Name Description
ValueType item
Returns
Type Description
KeyType

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