BionicCode.Net
BionicCode.Net
BionicCode.Utilities.Net Namespaces
BionicCode.Utilities.Net.Core Namespaces
BionicCode.Utilities.Net.Core.Wpf.Generic
AsyncRelayCommand(TParam) Class
AsyncRelayCommand(TParam) Constructor
AsyncRelayCommand(TParam) Constructor (Action)
AsyncRelayCommand(TParam) Constructor (Action(TParam))
AsyncRelayCommand(TParam) Constructor (Func(Task))
AsyncRelayCommand(TParam) Constructor (Func(TParam, Task))
AsyncRelayCommand(TParam) Constructor (Action, Func(Boolean))
AsyncRelayCommand(TParam) Constructor (Action(TParam), Predicate(TParam))
AsyncRelayCommand(TParam) Constructor (Func(Task), Func(Boolean))
AsyncRelayCommand(TParam) Constructor (Func(TParam, Task), Predicate(TParam))

| # AsyncRelayCommand TParam Constructor (Func TParam, Task , Predicate TParam )

Initializes a new instance of the AsyncRelayCommand
TParam
class

Namespace: BionicCode.Utilities.Net.Core.Wpf.Generic
Assembly: BionicCode.Utilities.Net.Core.Wpf (in BionicCode.Utilities.Net.Core.Wpf.dll) Version: 1.0.0
Syntax
C#
VB
C++
F#
J#
JScript
JavaScript
ASP.NET
X#
Copy

    public AsyncRelayCommand(
    	Func<TParam, Task> executeAsync,
    	Predicate<TParam> canExecute
    )

    Public Sub New (
    	executeAsync As Func(Of TParam, Task),
    	canExecute As Predicate(Of TParam)
    )

    Dim executeAsync As Func(Of TParam, Task)
    Dim canExecute As Predicate(Of TParam)

    Dim instance As New AsyncRelayCommand(executeAsync,
    	canExecute)

    public:
    AsyncRelayCommand(
    	Func<TParam, Task^>^ executeAsync,
    	Predicate<TParam>^ canExecute
    )

    new :
            executeAsync : Func<'TParam, Task> *
            canExecute : Predicate<'TParam> -> AsyncRelayCommand

    public AsyncRelayCommand(
    	Func<TParam, Task> executeAsync,
    	Predicate<TParam> canExecute
    )

    public function AsyncRelayCommand(
    	executeAsync : Func<TParam, Task>,
    	canExecute : Predicate<TParam>
    )

    BionicCode.Utilities.Net.Core.Wpf.Generic.AsyncRelayCommand = function(executeAsync, canExecute);

     CONSTRUCTOR(
    	executeAsync AS Func<TParam, Task>,
    	canExecute AS Predicate<TParam>
    )

#### Parameters

executeAsync
  Type: System
  Func
  TParam, Task

  [Missing <param name="executeAsync"/> documentation for "M:BionicCode.Utilities.Net.Core.Wpf.Generic.AsyncRelayCommand`1.#ctor(System.Func{`0,System.Threading.Tasks.Task},System.Predicate{`0})"]

canExecute
  Type: System
  Predicate
  TParam

  [Missing <param name="canExecute"/> documentation for "M:BionicCode.Utilities.Net.Core.Wpf.Generic.AsyncRelayCommand`1.#ctor(System.Func{`0,System.Threading.Tasks.Task},System.Predicate{`0})"]

See Also

#### Reference

AsyncRelayCommand
TParam
Class
AsyncRelayCommand
TParam
Overload
BionicCode.Utilities.Net.Core.Wpf.Generic Namespace
Send comments on this topic to BionicCode@outlook.com
https://github.com/BionicCode/BionicCode.Net/blob/master/README.md