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 Task , Func Boolean )

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<Task> executeAsyncNoParam,
    	Func<bool> canExecuteNoParam
    )

    Public Sub New (
    	executeAsyncNoParam As Func(Of Task),
    	canExecuteNoParam As Func(Of Boolean)
    )

    Dim executeAsyncNoParam As Func(Of Task)
    Dim canExecuteNoParam As Func(Of Boolean)

    Dim instance As New AsyncRelayCommand(executeAsyncNoParam,
    	canExecuteNoParam)

    public:
    AsyncRelayCommand(
    	Func<Task^>^ executeAsyncNoParam,
    	Func<bool>^ canExecuteNoParam
    )

    new :
            executeAsyncNoParam : Func<Task> *
            canExecuteNoParam : Func<bool> -> AsyncRelayCommand

    public AsyncRelayCommand(
    	Func<Task> executeAsyncNoParam,
    	Func<boolean> canExecuteNoParam
    )

    public function AsyncRelayCommand(
    	executeAsyncNoParam : Func<Task>,
    	canExecuteNoParam : Func<boolean>
    )

    BionicCode.Utilities.Net.Core.Wpf.AsyncRelayCommand = function(executeAsyncNoParam, canExecuteNoParam);

     CONSTRUCTOR(
    	executeAsyncNoParam AS Func<Task>,
    	canExecuteNoParam AS Func<LOGIC>
    )

#### Parameters

executeAsyncNoParam
  Type: System
  Func
  Task

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

canExecuteNoParam
  Type: System
  Func
  Boolean

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

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