My question is related to the command pattern, where we have the following abstraction (C# code) :
public interface ICommand { void Execute(); } <
public interface ICommand { void Execute(); }
You should create a CommandArgs object to contain the parameters you want to use. Inject the CommandArgs object using the constructor of the Command object.