public Command create_from(DiscreteCommand command) { var result= new CommandImpl( new NameConventionFilter(command), new TransactionDecorator(command)); return result; }
public NameConventionFilter(DiscreteCommand internalCommand) { var type = internalCommand.GetType(); command_full_name = type.FullName; command_name = type.Name; }
public Command create_from(DiscreteCommand command) { var result = new CommandImpl( new NameConventionFilter(command), new TransactionDecorator(command)); return(result); }
public TransactionDecorator(DiscreteCommand internalCommand) { internal_command = internalCommand; }
public NameConventionFilter(DiscreteCommand internalCommand) { var type = internalCommand.GetType(); command_full_name= type.FullName; command_name = type.Name; }
public CommandImpl(CommandFilter filter, DiscreteCommand discreteCommand) { discrete_command = discreteCommand; this.filter = filter; }
public CommandImpl(DiscreteCommand discreteCommand, CommandFilter filter) { discrete_command = discreteCommand; this.filter = filter; }