public ComposerComplete( CommandSequence root, IModesController modesController, Composer composer) { Requires.NotNull(root, nameof(root)); Requires.NotNull(modesController, nameof(modesController)); Requires.NotNull(composer, nameof(composer)); this.root = root; this.composer = composer; this.modesController = modesController; }
public ComposerSequence( CommandSequence root, IModesController modesController, Composer composer) { Requires.NotNull(root, nameof(root)); Requires.NotNull(modesController, nameof(modesController)); Requires.NotNull(composer, nameof(composer)); this.root = root; this.modesController = modesController; this.composer = composer; sequence = new CommandSequence(); root.Add(sequence); }