public void valid() { const string element = @" <ResultSetDefinition> <Column>firstname</Column> <Column>lastname</Column> </ResultSetDefinition>"; var d = new ResultSetDefinition(XE.Parse(element)); Assert.Equal(2, d.Columns.Count); Assert.Equal("firstname", d.Columns[0].Value); Assert.Equal("lastname", d.Columns[1].Value); }
public override void Visit(ResultSetDefinition node) { this.action(node); }
public override void ExplicitVisit(ResultSetDefinition fragment) { _fragments.Add(fragment); }