Пример #1
0
        private InputModel build(params string[] tokens)
        {
            var queue = new Queue <string>(tokens);
            var graph = new InputCommand().Usages;

            return((InputModel)graph.BuildInput(queue));
        }
Пример #2
0
        private InputModel build(params string[] tokens)
        {
            var queue   = new Queue <string>(tokens);
            var graph   = new InputCommand().Usages;
            var creator = new ActivatorCommandCreator();

            return((InputModel)graph.BuildInput(queue, creator));
        }