We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 283a4d3 commit 76ea395Copy full SHA for 76ea395
RDFSharp/Model/RDFGraphIndex.cs
@@ -137,9 +137,12 @@ private void Dispose(bool disposing)
137
/// </summary>
138
internal RDFGraphIndex Add(RDFTriple triple)
139
{
140
- //Triple (Hash)
+ #region Guards
141
if (Hashes.ContainsKey(triple.TripleID))
142
return this;
143
+ #endregion
144
+
145
+ //Triple (Hash)
146
Hashes.Add(triple.TripleID, new RDFHashedTriple(triple));
147
148
//Subject (Register)
0 commit comments