Class ValueNode
Wrapper class.
Inheritance
System.Object
ValueNode
Namespace: Libplanet.Store.Trie.Nodes
Assembly: Libplanet.Store.dll
Syntax
public class ValueNode : object, INode
Constructors
| Improve this Doc View SourceValueNode(IValue)
Wrapper class.
Declaration
public ValueNode(IValue value)
Parameters
Type | Name | Description |
---|---|---|
IValue | value |
Properties
| Improve this Doc View SourceValue
Wrapper class.
Declaration
public IValue Value { get; }
Property Value
Type | Description |
---|---|
IValue |
Methods
| Improve this Doc View SourceEquals(ValueNode)
Wrapper class.
Declaration
public bool Equals(ValueNode other)
Parameters
Type | Name | Description |
---|---|---|
ValueNode | other |
Returns
Type | Description |
---|---|
System.Boolean |
Equals(Nullable<Object>)
Wrapper class.
Declaration
public override bool Equals(object? obj)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.Object> | obj |
Returns
Type | Description |
---|---|
System.Boolean |
GetHashCode()
Wrapper class.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
ToBencodex()
Wrapper class.
Declaration
public IValue ToBencodex()
Returns
Type | Description |
---|---|
IValue |
Operators
| Improve this Doc View SourceEquality(ValueNode, ValueNode)
Wrapper class.
Declaration
public static bool operator ==(ValueNode left, ValueNode right)
Parameters
Type | Name | Description |
---|---|---|
ValueNode | left | |
ValueNode | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(ValueNode, ValueNode)
Wrapper class.
Declaration
public static bool operator !=(ValueNode left, ValueNode right)
Parameters
Type | Name | Description |
---|---|---|
ValueNode | left | |
ValueNode | right |
Returns
Type | Description |
---|---|
System.Boolean |
Implements
IEquatable<>