Open sandboxFocus

Namespace Metalama.Patterns.Wpf

Classes

AsyncDelegateCommand

An implementation of IAsyncCommand which uses delegates to access callbacks, accepting no parameters.

AsyncDelegateCommand<T>

An implementation of IAsyncCommand which uses delegates to access callbacks, accepting one parameter.

BaseAsyncDelegateCommand

A base class for delegate-based async commands.

BaseDelegateCommand

A base class for all implementations of the ICommand interface in this package, based on delegates.

CommandAttribute

DelegateCommand

DelegateCommandFactory

Exposes several methods that create instances of the DelegateCommand and AsyncDelegateCommand classes for different signatures of the execution delegate, with or without parameter, with or without CancellationToken, synchronous, asynchronous, and background.

DelegateCommand<T>

An implementation of ICommand which uses delegates to access callbacks, accepting a parameter.

DependencyPropertyAttribute

Structs

DelegateCommandExecution

Represents a distinct execution of an AsyncDelegateCommand, exposing its Task, and allowing to cancel it.

Interfaces

IAsyncCommand

Represents an ICommand that is executed asynchronously.