Show / Hide Table of Contents

Class SetExtensions

Additional utility methods for ISet.

Inheritance
System.Object
SetExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VDS.RDF.Query.Algebra
Assembly: dotNetRdf.dll
Syntax
public static class SetExtensions

Methods

| Improve this Doc View Source

AsSparqlResult(ISet, IEnumerable<string>)

Creates a SparqlResult instance that contains the bindings for the specified variables in the set.

Declaration
public static SparqlResult AsSparqlResult(this ISet set, IEnumerable<string> variables)
Parameters
Type Name Description
ISet set

The set containing the bindings to be added to the SPARQL result.

System.Collections.Generic.IEnumerable<T><string> variables

The names of the variables to be included in the SPARQL result.

Returns
Type Description
SparqlResult
| Improve this Doc View Source

AsSparqlResult(ISet)

Creates a SparqlResult instance that contains all of the variables in this set.

Declaration
public static SparqlResult AsSparqlResult(this ISet set)
Parameters
Type Name Description
ISet set
Returns
Type Description
SparqlResult
  • Improve this Doc
  • View Source
In This Article
  • Methods
    • AsSparqlResult(ISet, IEnumerable<string>)
    • AsSparqlResult(ISet)
Back to top Generated by DocFX