DispatcherOperation<T> Class
Definition
public class DispatcherOperation<T>
Constructors
| Name | Description |
|---|---|
| DispatcherOperation<T> | No summary available. |
DispatcherOperation<T> Constructor
public DispatcherOperation<T>(Avalonia.Threading.Dispatcher dispatcher, Avalonia.Threading.DispatcherPriority priority, Func<T> callback)
Parameters
dispatcher Avalonia.Threading.Dispatcher
priority Avalonia.Threading.DispatcherPriority
callback Func<T>
Methods
| Name | Description |
|---|---|
| GetAwaiter | No summary available. |
| GetTask | No summary available. |
| Abort | Inherited from DispatcherOperation. |
| Wait (2 overloads) | Waits for this operation to complete. Inherited from DispatcherOperation. |
GetAwaiter Method
public System.Runtime.CompilerServices.TaskAwaiter<T> GetAwaiter()
Returns
System.Runtime.CompilerServices.TaskAwaiter<T>
GetTask Method
public System.Threading.Tasks.Task<T> GetTask()
Returns
System.Threading.Tasks.Task<T>
Properties
| Name | Description |
|---|---|
| Result | No summary available. |
| Dispatcher | Inherited from DispatcherOperation. |
| Priority | Inherited from DispatcherOperation. |
| Status | Inherited from DispatcherOperation. |
Result Property
public T Result { get; set; }
Events
| Name | Description |
|---|---|
| Aborted | An event that is raised when the operation is aborted or canceled. Inherited from DispatcherOperation. |
| Completed | An event that is raised when the operation completes. Inherited from DispatcherOperation. |