BackgroundAction TParam, TReturn  Constructor (Func TParam, TReturn , EventHandler ActionDoneEventArgs TReturn  , TParam)A Sandcastle Documented Class Library
Initializes an action

Namespace: BackgroundTask
Assembly: BackgroundTask (in BackgroundTask.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public BackgroundAction(
	Func<TParam, TReturn> a,
	EventHandler<ActionDoneEventArgs<TReturn>> onDone,
	TParam param
)

Parameters

a
Type: OnlineSystem Func TParam, TReturn 
An Action
onDone
Type: OnlineSystem EventHandler ActionDoneEventArgs TReturn  
An EventHandler that raises when the action was done
param
Type: TParam
Actions parameter to pass
See Also