コード例 #1
0
        public CommandContextBuilder <TSource> Copy()
        {
            var copy = new CommandContextBuilder <TSource>(Dispatcher, Source, RootNode, Range, _arguments, Nodes)
            {
                Command = Command,
                Child   = Child,
                _forks  = _forks
            };

            return(copy);
        }
コード例 #2
0
 public CommandContextBuilder <TSource> WithChild(CommandContextBuilder <TSource> child)
 {
     Child = child;
     return(this);
 }