Class Property
Inheritance
System.Object
Property
Implements
System.IEquatable<Property>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Gremlin.Net.Structure
Assembly: cs.temp.dll.dll
Syntax
public class Property : IEquatable<Property>
Constructors
Property(String, Object, Element)
Initializes a new instance of the Property class.
Declaration
public Property(string key, dynamic value, Element element = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key of the property. |
System.Object | value | The value of the property. |
Element | element | The (optional) element that the property is associated with. |
Properties
Element
Gets the element that this property is associated with.
Declaration
public Element Element { get; }
Property Value
Type | Description |
---|---|
Element |
Key
Gets the key of the property.
Declaration
public string Key { get; }
Property Value
Type | Description |
---|---|
System.String |
Value
Gets the value of the property.
Declaration
public dynamic Value { get; }
Property Value
Type | Description |
---|---|
System.Object |
Methods
Equals(Property)
Declaration
public bool Equals(Property other)
Parameters
Type | Name | Description |
---|---|---|
Property | other |
Returns
Type | Description |
---|---|
System.Boolean |
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Object.GetHashCode()
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()
Implements
System.IEquatable<T>