Class OneOrMore
Represents a One or More cardinality restriction on a Path.
Implements
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: VDS.RDF.Query.Paths
Assembly: dotNetRdf.dll
Syntax
public class OneOrMore : Cardinality, ISparqlPath
Constructors
| Improve this Doc View SourceOneOrMore(ISparqlPath)
Creates a new One or More cardinality restriction.
Declaration
public OneOrMore(ISparqlPath path)
Parameters
Type | Name | Description |
---|---|---|
ISparqlPath | path | Path. |
Properties
| Improve this Doc View SourceMaxCardinality
Gets the Maximum Cardinality of the Path.
Declaration
public override int MaxCardinality { get; }
Property Value
Type | Description |
---|---|
int |
Overrides
| Improve this Doc View SourceMinCardinality
Gets the Minimum Cardinality of the Path.
Declaration
public override int MinCardinality { get; }
Property Value
Type | Description |
---|---|
int |
Overrides
Methods
| Improve this Doc 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
| Improve this Doc View SourceToString()
Gets the String representation of the Path.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |