Show / Hide Table of Contents

Class BindingTuple

Represents a Tuple in a BINDINGS clause.
Inheritance
System.Object
BindingTuple
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: VDS.RDF.Query.Patterns
Assembly: dotNetRDF.dll
Syntax
public class BindingTuple

Constructors

| Improve this Doc View Source

BindingTuple(List<String>, List<PatternItem>)

Creates a new Binding Tuple.
Declaration
public BindingTuple(List<string> variables, List<PatternItem> values)
Parameters
Type Name Description
System.Collections.Generic.List<System.String> variables Variables.
System.Collections.Generic.List<PatternItem> values Values.

Properties

| Improve this Doc View Source

IsComplete

Gets whether the Tuple is complete i.e. has no undefined entries.
Declaration
public bool IsComplete { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsEmpty

Gets whether this is an empty tuple.
Declaration
public bool IsEmpty { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Item[String]

Gets the Value for a Variable.
Declaration
public INode this[string var] { get; }
Parameters
Type Name Description
System.String var Variable.
Property Value
Type Description
INode
| Improve this Doc View Source

Values

Gets the enumeration of Variable-Value pairs.
Declaration
public IEnumerable<KeyValuePair<string, PatternItem>> Values { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, PatternItem>>

Methods

| Improve this Doc View Source

IsBound(String)

Gets whether the given variable is bound for this tuple i.e. is not UNDEF.
Declaration
public bool IsBound(string var)
Parameters
Type Name Description
System.String var Variable.
Returns
Type Description
System.Boolean True if the variable exists in the tuple and is bound, false otherwise.
| Improve this Doc View Source

ToString()

Gets the String representation of the Tuple.
Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
System.Object.ToString()

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • BindingTuple(List<String>, List<PatternItem>)
  • Properties
    • IsComplete
    • IsEmpty
    • Item[String]
    • Values
  • Methods
    • IsBound(String)
    • ToString()
  • Extension Methods
Back to top Generated by DocFX