Exemple #1
0
 internal TriplePatternObjectPart(TriplePatternBuilder triplePatternBuilder, PatternItem subjectPatternItem, PatternItem predicatePatternItem, INamespaceMapper prefixes)
 {
     _subjectPatternItem   = subjectPatternItem;
     _predicatePatternItem = predicatePatternItem;
     _prefixes             = prefixes;
     _triplePatternBuilder = triplePatternBuilder;
 }
 /// <inheritdoc />
 public IGraphPatternBuilder Where(Action <ITriplePatternBuilder> buildTriplePatterns)
 {
     return(Where(prefixes =>
     {
         var builder = new TriplePatternBuilder(prefixes);
         buildTriplePatterns(builder);
         return builder.Patterns;
     }));
 }
 public TriplePatternBuilderTests()
 {
     _namespaceMapper = new Mock <INamespaceMapper>(MockBehavior.Strict);
     _builder         = new TriplePatternBuilder(_namespaceMapper.Object);
 }