docs.unity3d.com
    Show / Hide Table of Contents

    Interface IAsyncRelayCommand<T>

    A generic interface representing a more specific version of IAsyncRelayCommand.

    Inherited Members
    IAsyncRelayCommand.executionTask
    IAsyncRelayCommand.canBeCancelled
    IAsyncRelayCommand.isCancellationRequested
    IAsyncRelayCommand.isRunning
    IAsyncRelayCommand.ExecuteAsync(Object)
    IAsyncRelayCommand.Cancel()
    INotifyPropertyChanged.PropertyChanged
    IRelayCommand<T>.Execute(T)
    IRelayCommand<T>.CanExecute(T)
    IRelayCommand.NotifyCanExecuteChanged()
    ICommand.CanExecute(Object)
    ICommand.Execute(Object)
    ICommand.CanExecuteChanged
    Namespace: Unity.AppUI.MVVM
    Syntax
    public interface IAsyncRelayCommand<in T> : IAsyncRelayCommand, INotifyPropertyChanged, IRelayCommand<T>, IRelayCommand, ICommand
    Type Parameters
    Name Description
    T

    The type used as argument for the interface methods.

    Methods

    ExecuteAsync(T)

    Provides a strongly-typed variant of ExecuteAsync(Object).

    Declaration
    Task ExecuteAsync(T parameter)
    Parameters
    Type Name Description
    T parameter

    The input parameter.

    Returns
    Type Description
    Task

    A Task representing the asynchronous operation.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023