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