Interface IAsyncControl
Namespace: GoogleSheetFetcher.Editor.AsyncControls
Assembly: GoogleSheetFetcher.Editor.dll
Syntax
public interface IAsyncControl
Properties
| Improve this Doc View SourceException
The exception when the processing failure.
Declaration
Exception Exception { get; }
Property Value
| Type | Description |
|---|---|
| Exception |
IsDone
Whether or not the process completed.
Declaration
bool IsDone { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
Status
The state of asynchronous processing.
Declaration
AsyncControlStatus Status { get; }
Property Value
| Type | Description |
|---|---|
| AsyncControlStatus |
Task
Task
Declaration
Task Task { get; }
Property Value
| Type | Description |
|---|---|
| Task |
Methods
| Improve this Doc View SourceCancel()
Cancel processing.
Declaration
void Cancel()
GetProgress()
Get the progress of the process.
Declaration
float GetProgress()
Returns
| Type | Description |
|---|---|
| Single |
Start()
Start processing.
Declaration
void Start()
Events
| Improve this Doc View SourceCompleted
The event that is called at the end of the process.
Declaration
event Action Completed
Event Type
| Type | Description |
|---|---|
| Action |