Show / Hide Table of Contents

Class NToM

Represents a N to M cardinality restriction on a Path.

Inheritance
object
BaseUnaryPath
Cardinality
NToM
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 NToM : Cardinality, ISparqlPath

Constructors

| Edit this page View Source

NToM(ISparqlPath, int, int)

Creates a new N to M cardinality restriction.

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

Path.

int n

Minimum Cardinality.

int m

Maximum 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
    • NToM(ISparqlPath, int, int)
  • Properties
    • MaxCardinality
    • MinCardinality
  • Methods
    • ToAlgebra(PathTransformContext)
    • ToString()
  • Implements
  • Extension Methods
Back to top Generated by DocFX