Interface IExecutionContext
Represents an execution context upon which work can be synchronized.
Namespace: IgniteUI.Blazor.Controls
Assembly: IgniteUI.Blazor.dll
Syntax
public interface IExecutionContext
Methods
EnqueueAction(ExecutionContextExecuteCallback)
Enqueues the requested callback on the context to be executed at earliest opportunity.
Declaration
void EnqueueAction(ExecutionContextExecuteCallback callback)
Parameters
| Type | Name | Description |
|---|---|---|
| ExecutionContextExecuteCallback | callback | The callback to execute. |
EnqueueAnimationAction(ExecutionContextExecuteCallback)
Enqueues the requested callback on the context to be executed at earliest opportunity, to be used for animation.
Declaration
void EnqueueAnimationAction(ExecutionContextExecuteCallback callback)
Parameters
| Type | Name | Description |
|---|---|---|
| ExecutionContextExecuteCallback | callback | The callback to execute. |
Execute(ExecutionContextExecuteCallback)
Executes the requested callback on the context.
Declaration
void Execute(ExecutionContextExecuteCallback callback)
Parameters
| Type | Name | Description |
|---|---|---|
| ExecutionContextExecuteCallback | callback | The callback to execute. |
ExecuteDelayed(ExecutionContextExecuteCallback, Int32)
Enqueues the requested callback on the context to be executed after at least the specified delay.
Declaration
void ExecuteDelayed(ExecutionContextExecuteCallback callback, int delayMilliseconds)
Parameters
| Type | Name | Description |
|---|---|---|
| ExecutionContextExecuteCallback | callback | The callback to execute. |
| System.Int32 | delayMilliseconds | The delay to wait. |
GetCurrentRelativeTime()
Gets the current relative time in milliseconds that has elapsed since the execution context was created.
Declaration
long GetCurrentRelativeTime()
Returns
| Type | Description |
|---|---|
| System.Int64 |