Delegate ContextMigrationFunc<TOld, TNew>
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
oldComponentTOld- A migration function that can read and set texts through a ; registered as a is.
newComponentTNew- A migration function that can read and set texts through a ; registered as a is.
contextMigrationContext- A migration function that can read and set texts through a ; registered as a is.
Type Parameters
TOldTNew
Constructors
ContextMigrationFunc(object, nint)
public ContextMigrationFunc(object @object, nint method)
Parameters
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
oldComponentTOldnewComponentTNewcontextMigrationContextcallbackAsyncCallbackobjectobject
Returns
EndInvoke(ref TOld, out TNew, IAsyncResult)
public virtual void EndInvoke(ref TOld oldComponent, out TNew newComponent, IAsyncResult result)
Parameters
oldComponentTOldnewComponentTNewresultIAsyncResult
Invoke(ref TOld, out TNew, MigrationContext)
public virtual void Invoke(ref TOld oldComponent, out TNew newComponent, MigrationContext context)
Parameters
oldComponentTOldnewComponentTNewcontextMigrationContext