Table of Contents

Delegate StarterActivator

Namespace
Tlabs.JobCntrl.Model
Assembly
Tlabs.JobCntrl.dll

Delegate invoked on Activate event.

public delegate bool StarterActivator(IStarter starter, IReadOnlyDictionary<string, object?> properties)

Parameters

starter IStarter

Activated target Starter

properties IReadOnlyDictionary<string, object>

Job run properties

Returns

bool

true if any jobs have been actually started.

Extension Methods

Constructors

StarterActivator(object, nint)

public StarterActivator(object @object, nint method)

Parameters

object object
method nint

Methods

BeginInvoke(IStarter, IReadOnlyDictionary<string, object?>, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(IStarter starter, IReadOnlyDictionary<string, object?> properties, AsyncCallback callback, object @object)

Parameters

starter IStarter
properties IReadOnlyDictionary<string, object>
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual bool EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Returns

bool

Invoke(IStarter, IReadOnlyDictionary<string, object?>)

public virtual bool Invoke(IStarter starter, IReadOnlyDictionary<string, object?> properties)

Parameters

starter IStarter
properties IReadOnlyDictionary<string, object>

Returns

bool