Class TxActionList
A list of
Implements
IReadOnlyList<Bencodex.Types.IValue>
IReadOnlyCollection<Bencodex.Types.IValue>
IEnumerable<Bencodex.Types.IValue>
Bencodex.IBencodable
Inherited Members
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 |
---|---|
Int32 |
Item[Int32]
A list of
Declaration
[Pure]
public IValue this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
Int32 | index |
Property Value
Type | Description |
---|---|
Bencodex.Types.IValue |
Exceptions
Type | Condition |
---|---|
ArgumentOutOfRangeException | Thrown when the given
|
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 |
---|---|
Int32 |
Overrides
Explicit Interface Implementations
| Improve this Doc View SourceIEnumerable.GetEnumerator()
A list of
Declaration
[Pure]
IEnumerator IEnumerable.GetEnumerator()
Returns
Type | Description |
---|---|
IEnumerator |
Implements
Bencodex.IBencodable