Example #1
0
        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;
        }
Example #2
0
        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);
        }