Package | Description |
---|---|
agi.foundation.compatibility | |
agi.foundation.infrastructure.threading |
Contains types used to perform and manage calculations among multiple threads of execution.
|
Modifier and Type | Method and Description |
---|---|
static RunWorkerCompletedEventHandler |
RunWorkerCompletedEventHandler.combine(RunWorkerCompletedEventHandler a,
RunWorkerCompletedEventHandler b)
Combines two delegate instances, forming a new delegate that will invoke both
delegates when invoked.
|
static RunWorkerCompletedEventHandler |
RunWorkerCompletedEventHandler.of(RunWorkerCompletedEventHandler.Function f)
Create a delegate for the given interface.
|
static RunWorkerCompletedEventHandler |
RunWorkerCompletedEventHandler.of(RunWorkerCompletedEventHandler.Function f,
Class<?> targetClass,
String methodName,
Class<?>... methodParameterClasses)
Create a delegate for the given interface.
|
static RunWorkerCompletedEventHandler |
RunWorkerCompletedEventHandler.of(RunWorkerCompletedEventHandler.Function f,
Object targetObject,
String methodName,
Class<?>... methodParameterClasses)
Create a delegate for the given interface.
|
static RunWorkerCompletedEventHandler |
RunWorkerCompletedEventHandler.remove(RunWorkerCompletedEventHandler source,
RunWorkerCompletedEventHandler value)
Removes one delegate from another, if it was previously combined.
|
Modifier and Type | Method and Description |
---|---|
static RunWorkerCompletedEventHandler |
RunWorkerCompletedEventHandler.combine(RunWorkerCompletedEventHandler a,
RunWorkerCompletedEventHandler b)
Combines two delegate instances, forming a new delegate that will invoke both
delegates when invoked.
|
static RunWorkerCompletedEventHandler |
RunWorkerCompletedEventHandler.remove(RunWorkerCompletedEventHandler source,
RunWorkerCompletedEventHandler value)
Removes one delegate from another, if it was previously combined.
|
Modifier and Type | Method and Description |
---|---|
void |
BackgroundCalculation.addRunWorkerCompleted(RunWorkerCompletedEventHandler value)
Adds a handler for an event that occurs when the background operation has completed,
been canceled, or raised an exception.
|
void |
BackgroundCalculation.removeRunWorkerCompleted(RunWorkerCompletedEventHandler value)
Removes a handler for an event that occurs when the background operation has completed,
been canceled, or raised an exception.
|