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

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

Initializes a new instance of the AsyncRelayCommand class

Namespace: BionicCode.Utilities.Net.Core.Wpf
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<Object, Task> executeAsync,
    	Predicate<Object> canExecute
    )

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

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

    Dim instance As New AsyncRelayCommand(executeAsync,
    	canExecute)

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

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

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

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

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

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

#### Parameters

executeAsync
  Type: System
  Func
  Object, Task

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

canExecute
  Type: System
  Predicate
  Object

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

See Also

#### Reference

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