Class TxActionList
A list of
Inheritance
System.Object
TxActionList
Namespace: Libplanet.Types.Tx
Assembly: Libplanet.Types.dll
Syntax
public sealed class TxActionList : IReadOnlyList<IValue>
Constructors
| Improve this Doc View SourceTxActionList(IEnumerable<IValue>)
Creates a new TxActionList instance with given
actions.
Declaration
public TxActionList(IEnumerable<IValue> actions)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<IValue> | actions | The list of |
TxActionList(IValue)
A list of
Declaration
public TxActionList(IValue bencoded)
Parameters
| Type | Name | Description |
|---|---|---|
| IValue | bencoded |
Fields
| Improve this Doc View SourceEmpty
An empty TxActionList.
Declaration
public static readonly TxActionList Empty
Field Value
| Type | Description |
|---|---|
| TxActionList |
Properties
| Improve this Doc View SourceActions
The list of
Declaration
public IImmutableList<IValue> Actions { get; }
Property Value
| Type | Description |
|---|---|
| IImmutableList<IValue> |
Bencoded
A list of
Declaration
public IValue Bencoded { get; }
Property Value
| Type | Description |
|---|---|
| IValue |
Count
A list of
Declaration
public int Count { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Item[Int32]
A list of
Declaration
public IValue this[int index] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | index |
Property Value
| Type | Description |
|---|---|
| IValue |
Methods
| Improve this Doc View SourceEquals(TxActionList)
A list of
Declaration
public bool Equals(TxActionList other)
Parameters
| Type | Name | Description |
|---|---|---|
| TxActionList | other |
Returns
| Type | Description |
|---|---|
| System.Boolean |
Equals(Nullable<Object>)
A list of
Declaration
public override bool Equals(object? obj)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Nullable<System.Object> | obj |
Returns
| Type | Description |
|---|---|
| System.Boolean |
GetEnumerator()
A list of
Declaration
public IEnumerator<IValue> GetEnumerator()
Returns
| Type | Description |
|---|---|
| IEnumerator<IValue> |
GetHashCode()
A list of
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| System.Int32 |
Implements
IEquatable<>
IBencodable