private static void Assert(GlobNode node, GlobNodeType type) { if (node.Type != type) { throw new InvalidOperationException(); } }
public GlobNode(GlobNodeType type, GlobNode child) { this.Type = type; this.Text = null; this.Children = new List <GlobNode> { child }; }
protected GlobNode(GlobNodeType type) { this.Type = type; }
protected Segment(GlobNodeType type) : base(type) { }
public SubSegment(GlobNodeType type) : base(type) { }
public GlobNode(GlobNodeType type, IEnumerable <GlobNode> children) { this.Type = type; this.Text = null; this.Children = new List <GlobNode>(children); }
public GlobNode(GlobNodeType type, string text) { this.Type = type; this.Text = text; this.Children = new List <GlobNode>(); }
protected PathSegment(GlobNodeType type, IEnumerable <GlobNode> parts) : base(type) { SubSegments = parts.ToList(); }
public GlobNode(GlobNodeType type) { this.Type = type; this.Text = null; this.Children = new List <GlobNode>(); }
public GlobNode(GlobNodeType type, GlobNode child) { this.Type = type; this.Text = null; this.Children = new List<GlobNode> {child}; }
public GlobNode(GlobNodeType type, string text) { this.Type = type; this.Text = text; this.Children = new List<GlobNode>(); }
public GlobNode(GlobNodeType type) { this.Type = type; this.Text = null; this.Children = new List<GlobNode>(); }
public GlobNode(GlobNodeType type, IEnumerable<GlobNode> children) { this.Type = type; this.Text = null; this.Children = new List<GlobNode>(children); }
private void Assert(GlobNode node, GlobNodeType type) { if (node.Type != type) throw new InvalidOperationException(); }
protected PathSegment(GlobNodeType type, IEnumerable<GlobNode> parts) : base(type) { SubSegments = parts.ToList(); }