Class NoResultCommandWrapper
Largely invisible to the consumer used in some code scenarios to treat commands with results and commands without results as being the same by wrapping a command in this decorator that has a NoResult result
Inheritance
System.Object
NoResultCommandWrapper
Namespace: AzureFromTheTrenches.Commanding.Abstractions.Model
Assembly: AzureFromTheTrenches.Commanding.Abstractions.dll
Syntax
public class NoResultCommandWrapper : object, ICommand<NoResult>, ICommand
Constructors
| Improve this Doc View SourceNoResultCommandWrapper(ICommand)
Constructor
Declaration
public NoResultCommandWrapper(ICommand command)
Parameters
Type | Name | Description |
---|---|---|
ICommand | command | The underlying command with no result |
Properties
| Improve this Doc View SourceCommand
The underlying (resultless) command
Declaration
public ICommand Command { get; }
Property Value
Type | Description |
---|---|
ICommand |