Esempio n. 1
0
 /// <summary>
 /// Constructs a Triple from Nodes that belong to the same Graph/Node Factory with some Context.
 /// </summary>
 /// <param name="subj">Subject of the Triple.</param>
 /// <param name="pred">Predicate of the Triple.</param>
 /// <param name="obj">Object of the Triple.</param>
 /// <param name="context">Context Information for the Triple.</param>
 /// <param name="graphUri">Graph URI.</param>
 /// <remarks>Will throw an RdfException if the Nodes don't belong to the same Graph/Node Factory.</remarks>
 /// <exception cref="RdfException">Thrown if the Nodes aren't all from the same Graph/Node Factory.</exception>
 public Triple(INode subj, INode pred, INode obj, ITripleContext context, Uri graphUri)
     : this(subj, pred, obj, graphUri)
 {
     _context = context;
 }
Esempio n. 2
0
 /// <summary>
 /// Constructs a Triple from Nodes that belong to the same Graph/Node Factory with some Context.
 /// </summary>
 /// <param name="subj">Subject of the Triple.</param>
 /// <param name="pred">Predicate of the Triple.</param>
 /// <param name="obj">Object of the Triple.</param>
 /// <param name="context">Context Information for the Triple.</param>
 /// <remarks>Will throw an RdfException if the Nodes don't belong to the same Graph/Node Factory.</remarks>
 /// <exception cref="RdfException">Thrown if the Nodes aren't all from the same Graph/Node Factory.</exception>
 public Triple(INode subj, INode pred, INode obj, ITripleContext context)
     : this(subj, pred, obj)
 {
     _context = context;
 }