protected Node(CommandMetadata metadata, NodeContainer parent, MemberInfo type) : this(metadata, type) { Parent = parent ?? throw new InvalidOperationException("Parent cannot be null when explicitly set up."); }
public NodeModule(string id, NodeContainer parent, IServiceProvider provider, Type t) : base(new CommandMetadata { Identifiers = new[] { id } }, parent, provider, t) { }
public CommandTree() { Root = new NodeRoot(); }