Table of Contents

Delegate ContextMigrationFunc<TOld, TNew>

Namespace
Typhon.Engine
Assembly
Typhon.Engine.dll

A migration function that can read and set texts through a MigrationContext; registered as a MigrationFunc<TOld, TNew> is.

public delegate void ContextMigrationFunc<TOld, TNew>(ref TOld oldComponent, out TNew newComponent, MigrationContext context) where TOld : unmanaged where TNew : unmanaged

Parameters

oldComponent TOld
A migration function that can read and set texts through a ; registered as a is.
newComponent TNew
A migration function that can read and set texts through a ; registered as a is.
context MigrationContext
A migration function that can read and set texts through a ; registered as a is.

Type Parameters

TOld
TNew

Constructors

ContextMigrationFunc(object, nint)

public ContextMigrationFunc(object @object, nint method)

Parameters

object object
method nint

Methods

BeginInvoke(ref TOld, out TNew, MigrationContext, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(ref TOld oldComponent, out TNew newComponent, MigrationContext context, AsyncCallback callback, object @object)

Parameters

oldComponent TOld
newComponent TNew
context MigrationContext
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(ref TOld, out TNew, IAsyncResult)

public virtual void EndInvoke(ref TOld oldComponent, out TNew newComponent, IAsyncResult result)

Parameters

oldComponent TOld
newComponent TNew
result IAsyncResult

Invoke(ref TOld, out TNew, MigrationContext)

public virtual void Invoke(ref TOld oldComponent, out TNew newComponent, MigrationContext context)

Parameters

oldComponent TOld
newComponent TNew
context MigrationContext