Click or drag to resize

SingleOccurrenceActionBlockActionT(FuncT, FuncT) Method

Attempts to block this class from being signaled.

Namespace: GSF.Threading
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.243-beta+92d6762f3b12bbbc557022a0922be296d2dc09be
Syntax
public T BlockAction<T>(
	Func<T> executeIfSuccessful,
	Func<T> executeIfFailed
)
View Source

Parameters

executeIfSuccessful  FuncT
A callback to execute if the block was successful
executeIfFailed  FuncT
A callback to execute if the block was unsuccessful

Type Parameters

T

Return Value

T
See Also