Class AlternativePath
Represents Alternative Paths.
Implements
Inherited Members
Namespace: VDS.RDF.Query.Paths
Assembly: dotNetRdf.dll
Syntax
public class AlternativePath : BaseBinaryPath, ISparqlPath
Constructors
| Edit this page View SourceAlternativePath(ISparqlPath, ISparqlPath)
Creates a new Alternative Path.
Declaration
public AlternativePath(ISparqlPath lhs, ISparqlPath rhs)
Parameters
| Type | Name | Description |
|---|---|---|
| ISparqlPath | lhs | LHS Path. |
| ISparqlPath | rhs | RHS Path. |
Methods
| Edit this page View SourceToAlgebra(PathTransformContext)
Converts a Path into its Algebra Form.
Declaration
public override ISparqlAlgebra ToAlgebra(PathTransformContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| PathTransformContext | context | Path Transformation Context. |
Returns
| Type | Description |
|---|---|
| ISparqlAlgebra |
Overrides
| Edit this page View SourceToString()
Gets the String representation of the Path.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string |