[]
        
(Showing Draft Content)

GrapeCity.Documents.Common.StructConverter-2

Delegate StructConverter<TInput, TOutput>

Namespace
GrapeCity.Documents.Common
Assembly
GcDocs.Imaging.dll

Represents a method that converts an object from one struct type to another struct type.

public delegate void StructConverter<TInput, TOutput>(in TInput input, out TOutput output) where TInput : struct where TOutput : struct

Parameters

input TInput

The struct to convert.

output TOutput

The converted struct.

Type Parameters

TInput

The type of struct that is to be converted.

TOutput

The type the input struct is to be converted to.

Constructors

StructConverter(object, IntPtr)

public StructConverter(object @object, IntPtr method)

Parameters

object object
method System.IntPtr

Methods

BeginInvoke(in TInput, out TOutput, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(in TInput input, out TOutput output, AsyncCallback callback, object @object)

Parameters

input TInput
output TOutput
callback System.AsyncCallback
object object

Returns

System.IAsyncResult

EndInvoke(in TInput, out TOutput, IAsyncResult)

public virtual void EndInvoke(in TInput input, out TOutput output, IAsyncResult result)

Parameters

input TInput
output TOutput
result System.IAsyncResult

Invoke(in TInput, out TOutput)

public virtual void Invoke(in TInput input, out TOutput output)

Parameters

input TInput
output TOutput