diff --git a/api/BB84.Notifications.AsyncRelayCommand-1.html b/api/BB84.Notifications.AsyncRelayCommand-1.html new file mode 100644 index 0000000..8cc1576 --- /dev/null +++ b/api/BB84.Notifications.AsyncRelayCommand-1.html @@ -0,0 +1,471 @@ + + + + + Class AsyncRelayCommand<T> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
+
+
Table of Contents
+ +
+
+ +
+
+
+ +
+
+ + + +
+ +
+ + + +

+Class AsyncRelayCommand<T> +

+ +
+
Namespace
BB84.Notifications
+
Assembly
BB84.Notifications.dll
+
+ +

The async relay command class.

+
+
+ +
+
public sealed class AsyncRelayCommand<T> : IAsyncRelayCommand<T>, ICommand
+
+ + + +

Type Parameters

+
+
T
+

The generic type to work with.

+
+
+ +
+
Inheritance
+
+ +
AsyncRelayCommand<T>
+
+
+ +
+
Implements
+
+ + +
+
+ + +
+
Inherited Members
+
+ + + + + + +
+ + + + +

Remarks

+

For all commands that need a parameter.

+
+ + +

Constructors +

+ + + + +

+ AsyncRelayCommand(Func<T, Task>) + +

+ +

Initializes a new instance of AsyncRelayCommand<T> class that can always execute.

+
+
+ +
+
public AsyncRelayCommand(Func<T, Task> execute)
+
+ +

Parameters

+
+
execute Func<T, Task>
+

The task to execute.

+
+
+ + + + + + + + + + + + + + +

+ AsyncRelayCommand(Func<T, Task>, Func<T, bool>?) + +

+ +

The async relay command class.

+
+
+ +
+
public AsyncRelayCommand(Func<T, Task> execute, Func<T, bool>? canExecute)
+
+ +

Parameters

+
+
execute Func<T, Task>
+

The task to execute.

+
+
canExecute Func<T, bool>
+

The condition to execute.

+
+
+ + + + + + + + +

Remarks

+

For all commands that need a parameter.

+
+ + + + +

Methods +

+ + + + +

+ CanExecute(object?) + +

+ +
+
+ +
+
public bool CanExecute(object? parameter)
+
+ +

Parameters

+
+
parameter object
+
+
+ +

Returns

+
+
bool
+
+
+ + + + + + + + + + + + + +

+ CanExecute(T) + +

+ +

Defines the method that determines whether the command can execute in its current state.

+
+
+ +
+
public bool CanExecute(T parameter)
+
+ +

Parameters

+
+
parameter T
+

The data used by the command.

+
+
+ +

Returns

+
+
bool
+

True if this command can be executed, otherwise false.

+
+
+ + + + + + + + + + + + + +

+ Execute(object?) + +

+ +
+
+ +
+
public void Execute(object? parameter)
+
+ +

Parameters

+
+
parameter object
+
+
+ + + + + + + + + + + + + + +

+ ExecuteAsync(T) + +

+ +

Defines the method to be called when the command is invoked.

+
+
+ +
+
public Task ExecuteAsync(T parameter)
+
+ +

Parameters

+
+
parameter T
+

The data used by the command.

+
+
+ +

Returns

+
+
Task
+

Task

+
+
+ + + + + + + + + + + + + +

+ RaiseCanExecuteChanged() + +

+ +

Notifies that the CanExecuteChanged property has changed.

+
+
+ +
+
public void RaiseCanExecuteChanged()
+
+ + + + + + + + + + + + + +

Events +

+ + + +

+ CanExecuteChanged + +

+ +
+
+ +
+
public event EventHandler? CanExecuteChanged
+
+ + + + + + +

Event Type

+
+
EventHandler
+
+
+ + + + + + + + +
+ + + + +
+ +
+ +
+
+ + + + + diff --git a/api/BB84.Notifications.AsyncRelayCommand.html b/api/BB84.Notifications.AsyncRelayCommand.html new file mode 100644 index 0000000..50d3781 --- /dev/null +++ b/api/BB84.Notifications.AsyncRelayCommand.html @@ -0,0 +1,447 @@ + + + + + Class AsyncRelayCommand + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
+
+
Table of Contents
+ +
+
+ +
+
+
+ +
+
+ + + +
+ +
+ + + +

+Class AsyncRelayCommand +

+ +
+
Namespace
BB84.Notifications
+
Assembly
BB84.Notifications.dll
+
+ +

The async relay command class.

+
+
+ +
+
public sealed class AsyncRelayCommand : IAsyncRelayCommand, ICommand
+
+ + + + +
+
Inheritance
+
+ +
AsyncRelayCommand
+
+
+ +
+
Implements
+
+ + +
+
+ + +
+
Inherited Members
+
+ + + + + + +
+ + + + + + +

Constructors +

+ + + + +

+ AsyncRelayCommand(Func<Task>) + +

+ +

Initializes a new instance of the AsyncRelayCommand class that can always execute.

+
+
+ +
+
public AsyncRelayCommand(Func<Task> execute)
+
+ +

Parameters

+
+
execute Func<Task>
+

The task to execute.

+
+
+ + + + + + + + + + + + + + +

+ AsyncRelayCommand(Func<Task>, Func<bool>?) + +

+ +

The async relay command class.

+
+
+ +
+
public AsyncRelayCommand(Func<Task> execute, Func<bool>? canExecute)
+
+ +

Parameters

+
+
execute Func<Task>
+

The task to execute.

+
+
canExecute Func<bool>
+

The condition to execute.

+
+
+ + + + + + + + + + + + +

Methods +

+ + + + +

+ CanExecute() + +

+ +

Defines the method that determines whether the command can execute in its current state.

+
+
+ +
+
public bool CanExecute()
+
+ + +

Returns

+
+
bool
+

True if this command can be executed, otherwise false.

+
+
+ + + + + + + + + + + + + +

+ CanExecute(object?) + +

+ +
+
+ +
+
public bool CanExecute(object? parameter)
+
+ +

Parameters

+
+
parameter object
+
+
+ +

Returns

+
+
bool
+
+
+ + + + + + + + + + + + + +

+ Execute(object?) + +

+ +
+
+ +
+
public void Execute(object? parameter)
+
+ +

Parameters

+
+
parameter object
+
+
+ + + + + + + + + + + + + + +

+ ExecuteAsync() + +

+ +

Defines the method to be called when the command is invoked.

+
+
+ +
+
public Task ExecuteAsync()
+
+ + +

Returns

+
+
Task
+

Task

+
+
+ + + + + + + + + + + + + +

+ RaiseCanExecuteChanged() + +

+ +

Notifies that the CanExecuteChanged property has changed.

+
+
+ +
+
public void RaiseCanExecuteChanged()
+
+ + + + + + + + + + + + + +

Events +

+ + + +

+ CanExecuteChanged + +

+ +
+
+ +
+
public event EventHandler? CanExecuteChanged
+
+ + + + + + +

Event Type

+
+
EventHandler
+
+
+ + + + + + + + +
+ + + + +
+ +
+ +
+
+ + + + + diff --git a/api/BB84.Notifications.Interfaces.IAsyncRelayCommand-1.html b/api/BB84.Notifications.Interfaces.IAsyncRelayCommand-1.html new file mode 100644 index 0000000..13ed959 --- /dev/null +++ b/api/BB84.Notifications.Interfaces.IAsyncRelayCommand-1.html @@ -0,0 +1,268 @@ + + + + + Interface IAsyncRelayCommand<T> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
+
+
Table of Contents
+ +
+
+ +
+
+
+ +
+
+ + + +
+ +
+ + + +

+Interface IAsyncRelayCommand<T> +

+ +
+
Namespace
BB84.Notifications.Interfaces
+
Assembly
BB84.Notifications.dll
+
+ +

The async relay command interface.

+
+
+ +
+
public interface IAsyncRelayCommand<T> : ICommand
+
+ + + +

Type Parameters

+
+
T
+

The generic type to wor with.

+
+
+ + + + +
+
Inherited Members
+
+ + + +
+ + + + + + +

Methods +

+ + + + +

+ CanExecute(T) + +

+ +

Defines the method that determines whether the command can execute in its current state.

+
+
+ +
+
bool CanExecute(T parameter)
+
+ +

Parameters

+
+
parameter T
+

The data used by the command.

+
+
+ +

Returns

+
+
bool
+

True if this command can be executed, otherwise false.

+
+
+ + + + + + + + + + + + + +

+ ExecuteAsync(T) + +

+ +

Defines the method to be called when the command is invoked.

+
+
+ +
+
Task ExecuteAsync(T parameter)
+
+ +

Parameters

+
+
parameter T
+

The data used by the command.

+
+
+ +

Returns

+
+
Task
+

Task

+
+
+ + + + + + + + + + + + + +

+ RaiseCanExecuteChanged() + +

+ +

Notifies that the CanExecuteChanged property has changed.

+
+
+ +
+
void RaiseCanExecuteChanged()
+
+ + + + + + + + + + + + + + +
+ + + + +
+ +
+ +
+
+ + + + + diff --git a/api/BB84.Notifications.Interfaces.IAsyncRelayCommand.html b/api/BB84.Notifications.Interfaces.IAsyncRelayCommand.html new file mode 100644 index 0000000..1142173 --- /dev/null +++ b/api/BB84.Notifications.Interfaces.IAsyncRelayCommand.html @@ -0,0 +1,250 @@ + + + + + Interface IAsyncRelayCommand + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
+
+
Table of Contents
+ +
+
+ +
+
+
+ +
+
+ + + +
+ +
+ + + +

+Interface IAsyncRelayCommand +

+ +
+
Namespace
BB84.Notifications.Interfaces
+
Assembly
BB84.Notifications.dll
+
+ +

The async relay command interface.

+
+
+ +
+
public interface IAsyncRelayCommand : ICommand
+
+ + + + + + + +
+
Inherited Members
+
+ + + +
+ + + + + + +

Methods +

+ + + + +

+ CanExecute() + +

+ +

Defines the method that determines whether the command can execute in its current state.

+
+
+ +
+
bool CanExecute()
+
+ + +

Returns

+
+
bool
+

True if this command can be executed, otherwise false.

+
+
+ + + + + + + + + + + + + +

+ ExecuteAsync() + +

+ +

Defines the method to be called when the command is invoked.

+
+
+ +
+
Task ExecuteAsync()
+
+ + +

Returns

+
+
Task
+

Task

+
+
+ + + + + + + + + + + + + +

+ RaiseCanExecuteChanged() + +

+ +

Notifies that the CanExecuteChanged property has changed.

+
+
+ +
+
void RaiseCanExecuteChanged()
+
+ + + + + + + + + + + + + + +
+ + + + +
+ +
+ +
+
+ + + + + diff --git a/api/BB84.Notifications.Interfaces.html b/api/BB84.Notifications.Interfaces.html index 0015268..a935c35 100644 --- a/api/BB84.Notifications.Interfaces.html +++ b/api/BB84.Notifications.Interfaces.html @@ -90,6 +90,16 @@

Interfaces

+
+
IAsyncRelayCommand
+

The async relay command interface.

+
+
+
+
IAsyncRelayCommand<T>
+

The async relay command interface.

+
+
INotifiableCollection

The notifiable collection interface.

diff --git a/api/BB84.Notifications.html b/api/BB84.Notifications.html index 19519c9..6612113 100644 --- a/api/BB84.Notifications.html +++ b/api/BB84.Notifications.html @@ -90,6 +90,16 @@

Nam

Classes

+
+
AsyncRelayCommand
+

The async relay command class.

+
+
+
+
AsyncRelayCommand<T>
+

The async relay command class.

+
+
NotifiableCollection

The notifiable collection class.

diff --git a/api/toc.html b/api/toc.html index cf10fc2..152db0a 100644 --- a/api/toc.html +++ b/api/toc.html @@ -17,6 +17,12 @@ BB84.Notifications