Show / Hide Table of Contents

Class BaseSet

Abstract Base Class for implementations of the ISet interface.
Inheritance
System.Object
BaseSet
Set
Implements
ISet
System.IEquatable<ISet>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: VDS.RDF.Query.Algebra
Assembly: dotNetRDF.dll
Syntax
public abstract class BaseSet : ISet, IEquatable<ISet>

Properties

| Improve this Doc View Source

ID

Gets/Sets the ID of the Set.
Declaration
public int ID { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Item[String]

Retrieves the Value in this set for the given Variable.
Declaration
public abstract INode this[string variable] { get; }
Parameters
Type Name Description
System.String variable Variable.
Property Value
Type Description
INode Either a Node or a null.
| Improve this Doc View Source

Values

Gets the Values in the Set.
Declaration
public abstract IEnumerable<INode> Values { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<INode>
| Improve this Doc View Source

Variables

Gets the Variables in the Set.
Declaration
public abstract IEnumerable<string> Variables { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<System.String>

Methods

| Improve this Doc View Source

Add(String, INode)

Adds a Value for a Variable to the Set.
Declaration
public abstract void Add(string variable, INode value)
Parameters
Type Name Description
System.String variable Variable.
INode value Value.
| Improve this Doc View Source

ContainsVariable(String)

Checks whether the Set contains a given Variable.
Declaration
public abstract bool ContainsVariable(string variable)
Parameters
Type Name Description
System.String variable Variable.
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Copy()

Copies the Set.
Declaration
public abstract ISet Copy()
Returns
Type Description
ISet
| Improve this Doc View Source

Equals(Object)

Gets whether the Set is equal to another object.
Declaration
public sealed override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj Object to compare with.
Returns
Type Description
System.Boolean
Overrides
System.Object.Equals(System.Object)
| Improve this Doc View Source

Equals(ISet)

Gets whether the Set is equal to another set.
Declaration
public bool Equals(ISet other)
Parameters
Type Name Description
ISet other Set to compare with.
Returns
Type Description
System.Boolean
| Improve this Doc View Source

GetHashCode()

Gets the Hash Code of the Set.
Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32
Overrides
System.Object.GetHashCode()
| Improve this Doc View Source

IsCompatibleWith(ISet, IEnumerable<String>)

Gets whether the Set is compatible with a given set based on the given variables.
Declaration
public abstract bool IsCompatibleWith(ISet s, IEnumerable<string> vars)
Parameters
Type Name Description
ISet s Set.
System.Collections.Generic.IEnumerable<System.String> vars Variables.
Returns
Type Description
System.Boolean
| Improve this Doc View Source

IsMinusCompatibleWith(ISet, IEnumerable<String>)

Gets whether the Set is minus compatible with a given set based on the given variables.
Declaration
public abstract bool IsMinusCompatibleWith(ISet s, IEnumerable<string> vars)
Parameters
Type Name Description
ISet s Set.
System.Collections.Generic.IEnumerable<System.String> vars Variables.
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Join(ISet)

Joins the set to another set.
Declaration
public abstract ISet Join(ISet other)
Parameters
Type Name Description
ISet other Other Set.
Returns
Type Description
ISet
| Improve this Doc View Source

Remove(String)

Removes a Value for a Variable from the Set.
Declaration
public abstract void Remove(string variable)
Parameters
Type Name Description
System.String variable Variable.
| Improve this Doc View Source

ToString()

Gets the String representation of the Set.
Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
System.Object.ToString()

Implements

ISet
System.IEquatable<T>

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Properties
    • ID
    • Item[String]
    • Values
    • Variables
  • Methods
    • Add(String, INode)
    • ContainsVariable(String)
    • Copy()
    • Equals(Object)
    • Equals(ISet)
    • GetHashCode()
    • IsCompatibleWith(ISet, IEnumerable<String>)
    • IsMinusCompatibleWith(ISet, IEnumerable<String>)
    • Join(ISet)
    • Remove(String)
    • ToString()
  • Implements
  • Extension Methods
Back to top Generated by DocFX