AsyncRelayCommand Class |
Namespace: BionicCode.Utilities.Net.Framework.Wpf
The AsyncRelayCommand type exposes the following members.
Name | Description | |
---|---|---|
![]() | AsyncRelayCommand(Action) |
Creates a new parameterless command that can always execute (CanExecute() will always return true).
|
![]() | AsyncRelayCommand(Action<Object>) | Initializes a new instance of the AsyncRelayCommand class |
![]() | AsyncRelayCommand(Func<Task>) |
Creates a new parameterless asynchronous command that can always execute (CanExecute() will always return true).
|
![]() | AsyncRelayCommand(Func<Object, Task>) | Initializes a new instance of the AsyncRelayCommand class |
![]() | AsyncRelayCommand(Action, Func<Boolean>) |
Creates a new parameterless command.
|
![]() | AsyncRelayCommand(Action<Object>, Predicate<Object>) | Initializes a new instance of the AsyncRelayCommand class |
![]() | AsyncRelayCommand(Func<Task>, Func<Boolean>) |
Creates a parameterless new asynchronous command.
|
![]() | AsyncRelayCommand(Func<Object, Task>, Predicate<Object>) | Initializes a new instance of the AsyncRelayCommand class |
Name | Description | |
---|---|---|
![]() | IsExecuting |
Extends ICommand to allow asynchronous command execution, where the accepted parameter of the ExecuteAsync(TParam) and CanExecute() is strongly typed to eliminate type casting inside the registered callbacks.
(Inherited from AsyncRelayCommand<TParam>.) |
Name | Description | |
---|---|---|
![]() | CanExecute() |
Determines whether this AsyncRelayCommand can execute.
(Inherited from AsyncRelayCommand<TParam>.) |
![]() | CanExecute(TParam) |
Determines whether this AsyncRelayCommand can execute.
(Inherited from AsyncRelayCommand<TParam>.) |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | ExecuteAsync() |
Executes the AsyncRelayCommand on the current command target asynchronously.
(Inherited from AsyncRelayCommand<TParam>.) |
![]() | ExecuteAsync(CancellationToken) |
Executes the AsyncRelayCommand on the current command target asynchronously.
(Inherited from AsyncRelayCommand<TParam>.) |
![]() | ExecuteAsync(TParam) |
Executes the AsyncRelayCommand on the current command target asynchronously.
(Inherited from AsyncRelayCommand<TParam>.) |
![]() | ExecuteAsync(TParam, CancellationToken) |
Executes the AsyncRelayCommand on the current command target asynchronously.
(Inherited from AsyncRelayCommand<TParam>.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | InvalidateCommand |
Extends ICommand to allow asynchronous command execution, where the accepted parameter of the ExecuteAsync(TParam) and CanExecute() is strongly typed to eliminate type casting inside the registered callbacks.
(Inherited from AsyncRelayCommand<TParam>.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | OnCanExecuteChanged |
Raises the CanExecuteChanged event.
(Inherited from AsyncRelayCommand<TParam>.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | CanExecuteChanged | Occurs when changes occur that affect whether or not the command should execute. (Inherited from AsyncRelayCommand<TParam>.) |
Name | Description | |
---|---|---|
![]() | CanExecuteNoParam |
The registered parameterless CanExecute delegate.
(Inherited from AsyncRelayCommand<TParam>.) |
![]() | ExecuteAsyncNoParam |
The registered parameterless async execute delegate.
(Inherited from AsyncRelayCommand<TParam>.) |
![]() | ExecuteNoParam |
The registered parameterless synchronous execute delegate.
(Inherited from AsyncRelayCommand<TParam>.) |
Name | Description | |
---|---|---|
![]() | ToDictionary() | Overloaded.
Coverts any type to a Dictionary<TKey, TValue>, where the TKey is the member name and TValue the member's value.
(Defined by HelperExtensions.) |
![]() | ToDictionary() | Overloaded.
Coverts any type to a Dictionary<TKey, TValue>, where the TKey is the member name and TValue the member's value.
(Defined by HelperExtensions.) |
Name | Description | |
---|---|---|
![]() ![]() | ICommand.CanExecute |
Explicit ICommand implementation. Determines whether this AsyncRelayCommand can execute.
(Inherited from AsyncRelayCommand<TParam>.) |
![]() ![]() | ICommand.Execute |
Explicit ICommand implementation. Executes the AsyncRelayCommand on the current command target.
(Inherited from AsyncRelayCommand<TParam>.) |
![]() ![]() | IAsyncRelayCommand.ExecuteAsync(Object) |
Asynchronously executes the AsyncRelayCommand on the current command target.
(Inherited from AsyncRelayCommand<TParam>.) |
![]() ![]() | IAsyncRelayCommand.ExecuteAsync(Object, CancellationToken) |
Asynchronously executes the AsyncRelayCommand on the current command target.
(Inherited from AsyncRelayCommand<TParam>.) |