Class CommandContextValuesBuilder
- Namespace
- Cratis.Applications.Commands
- Assembly
- Cratis.Applications.dll
Represents an implementation of ICommandContextValuesBuilder.
public class CommandContextValuesBuilder : ICommandContextValuesBuilder
- Inheritance
-
CommandContextValuesBuilder
- Implements
- Inherited Members
- Extension Methods
Constructors
CommandContextValuesBuilder(IInstancesOf<ICommandContextValuesProvider>)
Represents an implementation of ICommandContextValuesBuilder.
public CommandContextValuesBuilder(IInstancesOf<ICommandContextValuesProvider> providers)
Parameters
providersIInstancesOf<ICommandContextValuesProvider>The instances of ICommandContextValuesProvider to use when building the values.
Methods
Build(object)
Creates a new instance of CommandContextValues.
public CommandContextValues Build(object command)
Parameters
commandobjectThe command instance being executed.
Returns
- CommandContextValues
A new instance of CommandContextValues.