Exemplo n.º 1
0
 /// <summary>
 /// Gets whether the collection contains the given Graph.
 /// </summary>
 /// <param name="graphUri"></param>
 /// <returns></returns>
 public override bool Contains(Uri graphUri)
 {
     return(_graphs.Contains(graphUri));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Checks whether a Graph with the given Base Uri exists in the Triple Store.
 /// </summary>
 /// <param name="graphUri">Graph Uri.</param>
 /// <returns>True if the Graph exists in the Triple Store.</returns>
 public bool HasGraph(Uri graphUri)
 {
     return(_graphs.Contains(graphUri));
 }