BionicCode.Net
BionicCode.Net
BionicCode.Utilities.Net Namespaces
BionicCode.Utilities.Net.Framework Namespaces
BionicCode.Utilities.Net.Framework.Utility Namespaces
BionicCode.Utilities.Net.Framework.Utility.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 (Action TParam , Predicate TParam )

Initializes a new instance of the AsyncRelayCommand
TParam
class

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

    public AsyncRelayCommand(
    	Action<TParam> execute,
    	Predicate<TParam> canExecute
    )

    Public Sub New (
    	execute As Action(Of TParam),
    	canExecute As Predicate(Of TParam)
    )

    Dim execute As Action(Of TParam)
    Dim canExecute As Predicate(Of TParam)

    Dim instance As New AsyncRelayCommand(execute,
    	canExecute)

    public:
    AsyncRelayCommand(
    	Action<TParam>^ execute,
    	Predicate<TParam>^ canExecute
    )

    new :
            execute : Action<'TParam> *
            canExecute : Predicate<'TParam> -> AsyncRelayCommand

    public AsyncRelayCommand(
    	Action<TParam> execute,
    	Predicate<TParam> canExecute
    )

    public function AsyncRelayCommand(
    	execute : Action<TParam>,
    	canExecute : Predicate<TParam>
    )

    BionicCode.Utilities.Net.Framework.Utility.Generic.AsyncRelayCommand = function(execute, canExecute);

     CONSTRUCTOR(
    	execute AS Action<TParam>,
    	canExecute AS Predicate<TParam>
    )

#### Parameters

execute
  Type: System
  Action
  TParam

  [Missing <param name="execute"/> documentation for "M:BionicCode.Utilities.Net.Framework.Utility.Generic.AsyncRelayCommand`1.#ctor(System.Action{`0},System.Predicate{`0})"]

canExecute
  Type: System
  Predicate
  TParam

  [Missing <param name="canExecute"/> documentation for "M:BionicCode.Utilities.Net.Framework.Utility.Generic.AsyncRelayCommand`1.#ctor(System.Action{`0},System.Predicate{`0})"]

See Also

#### Reference

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