Class TxActionList
A list of
Implements
IReadOnlyList<Bencodex.Types.IValue>
IReadOnlyCollection<Bencodex.Types.IValue>
IEnumerable<Bencodex.Types.IValue>
System.Collections.IEnumerable
Bencodex.IBencodable
Inherited Members
System.Object.GetType()
Namespace: Libplanet.Types.Tx
Assembly: Libplanet.Types.dll
Syntax
[JsonConverter(typeof(TxActionListJsonConverter))]
public sealed class TxActionList : IReadOnlyList<IValue>, IReadOnlyCollection<IValue>, IEnumerable<IValue>, IEnumerable, IEquatable<TxActionList>, IBencodable
Constructors
| Improve this Doc View SourceTxActionList(IValue)
A list of
Declaration
public TxActionList(IValue bencoded)
Parameters
| Type | Name | Description |
|---|---|---|
| Bencodex.Types.IValue | bencoded |
TxActionList(IEnumerable<IValue>)
Creates a new TxActionList instance with given
actions.
Declaration
public TxActionList(IEnumerable<IValue> actions)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<Bencodex.Types.IValue> | actions | The list of |
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
[Pure]
public IImmutableList<IValue> Actions { get; }
Property Value
| Type | Description |
|---|---|
| IImmutableList<Bencodex.Types.IValue> |
Bencoded
A list of
Declaration
public IValue Bencoded { get; }
Property Value
| Type | Description |
|---|---|
| Bencodex.Types.IValue |
Count
A list of
Declaration
[Pure]
public int Count { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Item[Int32]
A list of
Declaration
[Pure]
public IValue this[int index] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | index |
Property Value
| Type | Description |
|---|---|
| Bencodex.Types.IValue |
Exceptions
| Type | Condition |
|---|---|
| ArgumentOutOfRangeException | Thrown when the given
|
| System.IndexOutOfRangeException | Thrown when the given
|
Methods
| Improve this Doc View SourceEquals(TxActionList)
A list of
Declaration
[Pure]
public bool Equals(TxActionList other)
Parameters
| Type | Name | Description |
|---|---|---|
| TxActionList | other |
Returns
| Type | Description |
|---|---|
| Boolean |
Equals(Object)
A list of
Declaration
[Pure]
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| Object | obj |
Returns
| Type | Description |
|---|---|
| Boolean |
Overrides
| Improve this Doc View SourceGetEnumerator()
A list of
Declaration
[Pure]
public IEnumerator<IValue> GetEnumerator()
Returns
| Type | Description |
|---|---|
| IEnumerator<Bencodex.Types.IValue> |
GetHashCode()
A list of
Declaration
[Pure]
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| System.Int32 |
Overrides
System.Object.GetHashCode()
Explicit Interface Implementations
| Improve this Doc View SourceIEnumerable.GetEnumerator()
A list of
Declaration
[Pure]
IEnumerator IEnumerable.GetEnumerator()
Returns
| Type | Description |
|---|---|
| System.Collections.IEnumerator |
Implements
System.Collections.IEnumerable
Bencodex.IBencodable