Show / Hide Table of Contents

Class SetExtensions

Additional utility methods for ISet.

Inheritance
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

| Edit this page View Source

AsSparqlResult(ISet)

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

Declaration
[Obsolete("Replaced by the ISparqlResultFactory interface and its implementation.")]
public static SparqlResult AsSparqlResult(this ISet set)
Parameters
Type Name Description
ISet set
Returns
Type Description
SparqlResult
| Edit this page 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.

IEnumerable<string> variables

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

Returns
Type Description
SparqlResult
  • Edit this page
  • View Source
In this article
  • Methods
    • AsSparqlResult(ISet)
    • AsSparqlResult(ISet, IEnumerable<string>)
Back to top Generated by DocFX