Class CardinalityValue
Holds a property value with the associated Cardinality.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Gremlin.Net.Process.Traversal
Assembly: cs.temp.dll.dll
Syntax
public class CardinalityValue : Bytecode
Constructors
CardinalityValue(Cardinality, Object)
Initializes a new instance of the CardinalityValue class.
Declaration
public CardinalityValue(Cardinality card, object val)
Parameters
Type | Name | Description |
---|---|---|
Cardinality | card | |
System.Object | val |
Properties
Cardinality
Gets the Cardinality for the value.
Declaration
public Cardinality Cardinality { get; }
Property Value
Type | Description |
---|---|
Cardinality |
Value
Gets the value.
Declaration
public object Value { get; }
Property Value
Type | Description |
---|---|
System.Object |
Methods
List(Object)
Creates a new CardinalityValue with a particular value and List Cardinality.
Declaration
public static CardinalityValue List(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value |
Returns
Type | Description |
---|---|
CardinalityValue |
Set(Object)
Creates a new CardinalityValue with a particular value and Set Cardinality.
Declaration
public static CardinalityValue Set(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value |
Returns
Type | Description |
---|---|
CardinalityValue |
Single(Object)
Creates a new CardinalityValue with a particular value and Single Cardinality.
Declaration
public static CardinalityValue Single(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value |
Returns
Type | Description |
---|---|
CardinalityValue |