public static IWaitedCommand Then(this IWaitedCommand left, IWaitedCommand right) { var command = new CompositeWaitedCommand(); command.Add(left); command.Add(right); return(command); }
public void Add(IWaitedCommand waitedCommand) { commands.Add(waitedCommand); }