UI Tookit UI Tookit
UI Tookit UI Tookit
DocFX + Singulink = ♥

Search Results for

    Method RunAsBusyAsync

    RunAsBusyAsync(Func<Task>)

    Runs the specified task as a busy task.

    Declaration
    public Task RunAsBusyAsync(Func<Task> taskFunc)
    Parameters
    Type Name Description
    Func<Task> taskFunc
    Returns
    Type Description
    Task
    Implements
    ITaskRunner.RunAsBusyAsync(Func<Task>)
    Remarks

    This method does not force the task to run on the UI thread if this method is called from a non-UI thread.

    RunAsBusyAsync<T>(Func<Task<T>>)

    Runs the specified task as a busy task.

    Declaration
    public Task<T> RunAsBusyAsync<T>(Func<Task<T>> taskFunc)
    Parameters
    Type Name Description
    Func<Task<T>> taskFunc
    Returns
    Type Description
    Task<T>
    Type Parameters
    Name Description
    T
    Implements
    ITaskRunner.RunAsBusyAsync<T>(Func<Task<T>>)
    Remarks

    This method does not force the task to run on the UI thread if this method is called from a non-UI thread.

    RunAsBusyAsync<T>(Task<T>)

    Runs the specified task as a busy task.

    Declaration
    public Task<T> RunAsBusyAsync<T>(Task<T> task)
    Parameters
    Type Name Description
    Task<T> task
    Returns
    Type Description
    Task<T>
    Type Parameters
    Name Description
    T
    Implements
    ITaskRunner.RunAsBusyAsync<T>(Task<T>)
    Remarks

    This method does not force the task to run on the UI thread if this method is called from a non-UI thread.

    RunAsBusyAsync(Task)

    Runs the specified task as a busy task.

    Declaration
    public Task RunAsBusyAsync(Task task)
    Parameters
    Type Name Description
    Task task
    Returns
    Type Description
    Task
    Implements
    ITaskRunner.RunAsBusyAsync(Task)
    Remarks

    This method does not force the task to run on the UI thread if this method is called from a non-UI thread.

    © Singulink. All rights reserved.