Show / Hide Table of Contents

Class NOrMore

Represents a N or More cardinality restriction on a Path.

Inheritance
object
BaseUnaryPath
Cardinality
NOrMore
Implements
ISparqlPath
Inherited Members
BaseUnaryPath._path
BaseUnaryPath.Path
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 NOrMore : Cardinality, ISparqlPath

Constructors

| Edit this page View Source

NOrMore(ISparqlPath, int)

Creates a new N or More cardinality restriction.

Declaration
public NOrMore(ISparqlPath path, int n)
Parameters
Type Name Description
ISparqlPath path

Path.

int n

Minimum Cardinality.

Properties

| Edit this page View Source

MaxCardinality

Gets the Maximum Cardinality of the Path.

Declaration
public override int MaxCardinality { get; }
Property Value
Type Description
int
Overrides
Cardinality.MaxCardinality
| Edit this page View Source

MinCardinality

Gets the Minimum Cardinality of the Path.

Declaration
public override int MinCardinality { get; }
Property Value
Type Description
int
Overrides
Cardinality.MinCardinality

Methods

| Edit this page View Source

ToAlgebra(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
BaseUnaryPath.ToAlgebra(PathTransformContext)
| Edit this page View Source

ToString()

Gets the String representation of the Path.

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

Implements

ISparqlPath

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Constructors
    • NOrMore(ISparqlPath, int)
  • Properties
    • MaxCardinality
    • MinCardinality
  • Methods
    • ToAlgebra(PathTransformContext)
    • ToString()
  • Implements
  • Extension Methods
Back to top Generated by DocFX