internal TurtleBlankNode(SequentialTurtleWriter owner, long id) { if (owner == null) { throw new ArgumentNullException("owner"); } this.owner = owner; this.id = id; }
internal void CheckOwner(SequentialTurtleWriter expected) { if (owner != expected) { throw new ArgumentException("The blank node does not belong to the current Turtle writer."); } }