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. |
bencoded |
TxActionList(IEnumerable<IValue>)
Creates a new Txactions
.
Declaration
public TxActionList(IEnumerable<IValue> actions)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<Bencodex. |
actions | The list of |
Fields
| Improve this Doc View SourceEmpty
An empty Tx
Declaration
public static readonly TxActionList Empty
Field Value
Type | Description |
---|---|
Tx |
Properties
| Improve this Doc View SourceActions
The list of
Declaration
[Pure]
public IImmutableList<IValue> Actions { get; }
Property Value
Type | Description |
---|---|
IImmutable |
Bencoded
A list of
Declaration
public IValue Bencoded { get; }
Property Value
Type | Description |
---|---|
Bencodex. |
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. |
Exceptions
Type | Condition |
---|---|
Argument |
Thrown when the given
|
Index |
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 |
---|---|---|
Tx |
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. |
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