Show / Hide Table of Contents

Class BindingTuple

Represents a Tuple in a BINDINGS clause.

Inheritance
object
BindingTuple
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: VDS.RDF.Query.Patterns
Assembly: dotNetRdf.dll
Syntax
public class BindingTuple

Constructors

| Edit this page 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
List<string> variables

Variables.

List<PatternItem> values

Values.

Properties

| Edit this page View Source

IsComplete

Gets whether the Tuple is complete i.e. has no undefined entries.

Declaration
public bool IsComplete { get; }
Property Value
Type Description
bool
| Edit this page View Source

IsEmpty

Gets whether this is an empty tuple.

Declaration
public bool IsEmpty { get; }
Property Value
Type Description
bool
| Edit this page View Source

this[string]

Gets the Value for a Variable.

Declaration
public INode this[string var] { get; }
Parameters
Type Name Description
string var

Variable.

Property Value
Type Description
INode
| Edit this page View Source

Values

Gets the enumeration of Variable-Value pairs.

Declaration
public IEnumerable<KeyValuePair<string, PatternItem>> Values { get; }
Property Value
Type Description
IEnumerable<KeyValuePair<string, PatternItem>>

Methods

| Edit this page 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
string var

Variable.

Returns
Type Description
bool

True if the variable exists in the tuple and is bound, false otherwise.

| Edit this page View Source

ToString()

Gets the String representation of the Tuple.

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Constructors
    • BindingTuple(List<string>, List<PatternItem>)
  • Properties
    • IsComplete
    • IsEmpty
    • this[string]
    • Values
  • Methods
    • IsBound(string)
    • ToString()
  • Extension Methods
Back to top Generated by DocFX