Show / Hide Table of Contents

Class TxActionList

A list of s to be executed in a transaction.

Inheritance
Object
TxActionList
Implements
IReadOnlyList<Bencodex.Types.IValue>
IReadOnlyCollection<Bencodex.Types.IValue>
IEnumerable<Bencodex.Types.IValue>
IEnumerable
IEquatable<TxActionList>
Bencodex.IBencodable
Inherited Members
Object.Equals(Object, Object)
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
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 Source

TxActionList(IValue)

A list of s to be executed in a transaction.

Declaration
public TxActionList(IValue bencoded)
Parameters
Type Name Description
Bencodex.Types.IValue bencoded
| Improve this Doc View Source

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 s to be executed in a transaction.

Fields

| Improve this Doc View Source

Empty

An empty TxActionList.

Declaration
public static readonly TxActionList Empty
Field Value
Type Description
TxActionList

Properties

| Improve this Doc View Source

Actions

The list of s to be executed in a transaction.

Declaration
[Pure]
public IImmutableList<IValue> Actions { get; }
Property Value
Type Description
IImmutableList<Bencodex.Types.IValue>
| Improve this Doc View Source

Bencoded

A list of s to be executed in a transaction.

Declaration
public IValue Bencoded { get; }
Property Value
Type Description
Bencodex.Types.IValue
| Improve this Doc View Source

Count

A list of s to be executed in a transaction.

Declaration
[Pure]
public int Count { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

Item[Int32]

A list of s to be executed in a transaction.

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 index is less than zero.

IndexOutOfRangeException

Thrown when the given index is greater than or equal to Count.

Methods

| Improve this Doc View Source

Equals(TxActionList)

A list of s to be executed in a transaction.

Declaration
[Pure]
public bool Equals(TxActionList other)
Parameters
Type Name Description
TxActionList other
Returns
Type Description
Boolean
| Improve this Doc View Source

Equals(Object)

A list of s to be executed in a transaction.

Declaration
[Pure]
public override bool Equals(object obj)
Parameters
Type Name Description
Object obj
Returns
Type Description
Boolean
Overrides
Object.Equals(Object)
| Improve this Doc View Source

GetEnumerator()

A list of s to be executed in a transaction.

Declaration
[Pure]
public IEnumerator<IValue> GetEnumerator()
Returns
Type Description
IEnumerator<Bencodex.Types.IValue>
| Improve this Doc View Source

GetHashCode()

A list of s to be executed in a transaction.

Declaration
[Pure]
public override int GetHashCode()
Returns
Type Description
Int32
Overrides
Object.GetHashCode()

Explicit Interface Implementations

| Improve this Doc View Source

IEnumerable.GetEnumerator()

A list of s to be executed in a transaction.

Declaration
[Pure]
IEnumerator IEnumerable.GetEnumerator()
Returns
Type Description
IEnumerator

Implements

System.Collections.Generic.IReadOnlyList<T>
System.Collections.Generic.IReadOnlyCollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
System.IEquatable<T>
Bencodex.IBencodable
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2023 Planetarium