예제 #1
0
        private static void AddDummy(ACommand command, List <AddCommandLeafNode> children = null)
        {
            foreach (string idOrAlias in command.IdAndAliases())
            {
                AddDummy(command, idOrAlias);
            }

            if (children != null)
            {
                children.Add(new AddCommandLeafNode(command));
            }
        }