Skip to main content

VelopackHook delegate

Namespace: Velopack

A delegate type for handling Velopack startup events

public delegate void VelopackHook(SemanticVersion version)

Constructors​

ConstructorSummary
VelopackHook

VelopackHook(object, method)​

public VelopackHook(object @object, nint method)

Parameters

NameTypeDescription
objectobject
methodnint

Methods​

MethodSummary
Invoke
BeginInvoke
EndInvoke

Invoke(version)​

public virtual void Invoke(SemanticVersion version)

Parameters

NameTypeDescription
versionSemanticVersion

BeginInvoke(version, callback, object)​

public virtual IAsyncResult BeginInvoke(SemanticVersion version, AsyncCallback callback, object @object)

Parameters

NameTypeDescription
versionSemanticVersion
callbackAsyncCallback
objectobject

Returns IAsyncResult

EndInvoke(result)​

public virtual void EndInvoke(IAsyncResult result)

Parameters

NameTypeDescription
resultIAsyncResult

Generated from Velopack 1.2.0