Show / Hide Table of Contents

    Class AsyncControlBase

    A base class for the implementation of asynchronous processing without result values.

    Inheritance
    Object
    AsyncControlBase
    Implements
    IAsyncControl
    Namespace: GoogleSheetFetcher.Editor.AsyncControls
    Assembly: GoogleSheetFetcher.Editor.dll
    Syntax
    public abstract class AsyncControlBase : IAsyncControl

    Properties

    | Improve this Doc View Source

    CancellationToken

    Declaration
    protected CancellationToken CancellationToken { get; }
    Property Value
    Type Description
    CancellationToken
    | Improve this Doc View Source

    Exception

    The exception when the processing failure.

    Declaration
    public Exception Exception { get; }
    Property Value
    Type Description
    Exception
    | Improve this Doc View Source

    IsDone

    Whether or not the process completed.

    Declaration
    public bool IsDone { get; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    Progress

    Declaration
    protected virtual float Progress { get; }
    Property Value
    Type Description
    Single
    | Improve this Doc View Source

    Status

    The state of asynchronous processing.

    Declaration
    public AsyncControlStatus Status { get; }
    Property Value
    Type Description
    AsyncControlStatus
    | Improve this Doc View Source

    Task

    Task

    Declaration
    public Task Task { get; }
    Property Value
    Type Description
    Task

    Methods

    | Improve this Doc View Source

    Cancel()

    Cancel processing.

    Declaration
    public void Cancel()
    | Improve this Doc View Source

    Failed(Exception)

    Declaration
    protected void Failed(Exception exception)
    Parameters
    Type Name Description
    Exception exception
    | Improve this Doc View Source

    GetProgress()

    Get the progress of the process.

    Declaration
    public float GetProgress()
    Returns
    Type Description
    Single
    | Improve this Doc View Source

    OnStart()

    Declaration
    protected abstract void OnStart()
    | Improve this Doc View Source

    Start()

    Start processing.

    Declaration
    public void Start()
    | Improve this Doc View Source

    Succeeded()

    Declaration
    protected void Succeeded()

    Events

    | Improve this Doc View Source

    Completed

    The event that is called at the end of the process.

    Declaration
    public event Action Completed
    Event Type
    Type Description
    Action

    Implements

    IAsyncControl
    • Improve this Doc
    • View Source
    Back to top Google Sheet Fetcher Documentation