Struct TransactionGroup
A group of transactions used to generate a group id for atomic transactions.
Assembly: cs.temp.dll.dll
Syntax
public struct TransactionGroup : IEquatable<TransactionGroup>
Fields
IdPrefix
The prefix to use when converting this group of transactions to bytes.
Declaration
public static readonly byte[] IdPrefix
Field Value
MaxSize
Max number of allowed transactions in an atomic transaction.
Declaration
public const int MaxSize = 16
Field Value
Txns
The list of transaction ids belonging to this group.
Declaration
public TransactionId[] Txns
Field Value
Methods
Equals(TransactionGroup)
Declaration
public bool Equals(TransactionGroup other)
Parameters
Returns
GetId()
Hash the transaction ids contained in this group.
Declaration
public TransactionId GetId()
Returns
Of(TransactionId[])
Get a transaction group using the transaction ids given.
Declaration
public static TransactionGroup Of(params TransactionId[] txns)
Parameters
Type |
Name |
Description |
TransactionId[] |
txns |
The transaction ids of the transactions in the group.
|
Returns
Type |
Description |
TransactionGroup |
A transaction group that can be used to generate a group id.
|
Of<T0>(T0)
Declaration
public static TransactionGroup Of<T0>(in T0 txn0)
where T0 : IEquatable<T0>, ITransaction
Parameters
Type |
Name |
Description |
T0 |
txn0 |
|
Returns
Type Parameters
Of<T>(T[])
Generate a TransactionGroup with the given transactions that can be used to generate a GroupId.
Declaration
public static TransactionGroup Of<T>(params T[] txns)
where T : ITransaction, IEquatable<T>
Parameters
Type |
Name |
Description |
T[] |
txns |
The transactions to use.
|
Returns
Type Parameters
Name |
Description |
T |
The type of the transactions.
|
Of<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)
Declaration
public static TransactionGroup Of<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>(in T0 txn0, in T1 txn1, in T2 txn2, in T3 txn3, in T4 txn4, in T5 txn5, in T6 txn6, in T7 txn7, in T8 txn8, in T9 txn9)
where T0 : IEquatable<T0>, ITransaction where T1 : IEquatable<T1>, ITransaction where T2 : IEquatable<T2>, ITransaction where T3 : IEquatable<T3>, ITransaction where T4 : IEquatable<T4>, ITransaction where T5 : IEquatable<T5>, ITransaction where T6 : IEquatable<T6>, ITransaction where T7 : IEquatable<T7>, ITransaction where T8 : IEquatable<T8>, ITransaction where T9 : IEquatable<T9>, ITransaction
Parameters
Type |
Name |
Description |
T0 |
txn0 |
|
T1 |
txn1 |
|
T2 |
txn2 |
|
T3 |
txn3 |
|
T4 |
txn4 |
|
T5 |
txn5 |
|
T6 |
txn6 |
|
T7 |
txn7 |
|
T8 |
txn8 |
|
T9 |
txn9 |
|
Returns
Type Parameters
Name |
Description |
T0 |
|
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
Of<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)
Declaration
public static TransactionGroup Of<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(in T0 txn0, in T1 txn1, in T2 txn2, in T3 txn3, in T4 txn4, in T5 txn5, in T6 txn6, in T7 txn7, in T8 txn8, in T9 txn9, in T10 txn10)
where T0 : IEquatable<T0>, ITransaction where T1 : IEquatable<T1>, ITransaction where T2 : IEquatable<T2>, ITransaction where T3 : IEquatable<T3>, ITransaction where T4 : IEquatable<T4>, ITransaction where T5 : IEquatable<T5>, ITransaction where T6 : IEquatable<T6>, ITransaction where T7 : IEquatable<T7>, ITransaction where T8 : IEquatable<T8>, ITransaction where T9 : IEquatable<T9>, ITransaction where T10 : IEquatable<T10>, ITransaction
Parameters
Type |
Name |
Description |
T0 |
txn0 |
|
T1 |
txn1 |
|
T2 |
txn2 |
|
T3 |
txn3 |
|
T4 |
txn4 |
|
T5 |
txn5 |
|
T6 |
txn6 |
|
T7 |
txn7 |
|
T8 |
txn8 |
|
T9 |
txn9 |
|
T10 |
txn10 |
|
Returns
Type Parameters
Name |
Description |
T0 |
|
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
T10 |
|
Of<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
Declaration
public static TransactionGroup Of<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(in T0 txn0, in T1 txn1, in T2 txn2, in T3 txn3, in T4 txn4, in T5 txn5, in T6 txn6, in T7 txn7, in T8 txn8, in T9 txn9, in T10 txn10, in T11 txn11)
where T0 : IEquatable<T0>, ITransaction where T1 : IEquatable<T1>, ITransaction where T2 : IEquatable<T2>, ITransaction where T3 : IEquatable<T3>, ITransaction where T4 : IEquatable<T4>, ITransaction where T5 : IEquatable<T5>, ITransaction where T6 : IEquatable<T6>, ITransaction where T7 : IEquatable<T7>, ITransaction where T8 : IEquatable<T8>, ITransaction where T9 : IEquatable<T9>, ITransaction where T10 : IEquatable<T10>, ITransaction where T11 : IEquatable<T11>, ITransaction
Parameters
Type |
Name |
Description |
T0 |
txn0 |
|
T1 |
txn1 |
|
T2 |
txn2 |
|
T3 |
txn3 |
|
T4 |
txn4 |
|
T5 |
txn5 |
|
T6 |
txn6 |
|
T7 |
txn7 |
|
T8 |
txn8 |
|
T9 |
txn9 |
|
T10 |
txn10 |
|
T11 |
txn11 |
|
Returns
Type Parameters
Name |
Description |
T0 |
|
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
T10 |
|
T11 |
|
Of<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)
Declaration
public static TransactionGroup Of<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(in T0 txn0, in T1 txn1, in T2 txn2, in T3 txn3, in T4 txn4, in T5 txn5, in T6 txn6, in T7 txn7, in T8 txn8, in T9 txn9, in T10 txn10, in T11 txn11, in T12 txn12)
where T0 : IEquatable<T0>, ITransaction where T1 : IEquatable<T1>, ITransaction where T2 : IEquatable<T2>, ITransaction where T3 : IEquatable<T3>, ITransaction where T4 : IEquatable<T4>, ITransaction where T5 : IEquatable<T5>, ITransaction where T6 : IEquatable<T6>, ITransaction where T7 : IEquatable<T7>, ITransaction where T8 : IEquatable<T8>, ITransaction where T9 : IEquatable<T9>, ITransaction where T10 : IEquatable<T10>, ITransaction where T11 : IEquatable<T11>, ITransaction where T12 : IEquatable<T12>, ITransaction
Parameters
Type |
Name |
Description |
T0 |
txn0 |
|
T1 |
txn1 |
|
T2 |
txn2 |
|
T3 |
txn3 |
|
T4 |
txn4 |
|
T5 |
txn5 |
|
T6 |
txn6 |
|
T7 |
txn7 |
|
T8 |
txn8 |
|
T9 |
txn9 |
|
T10 |
txn10 |
|
T11 |
txn11 |
|
T12 |
txn12 |
|
Returns
Type Parameters
Name |
Description |
T0 |
|
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
T10 |
|
T11 |
|
T12 |
|
Of<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)
Declaration
public static TransactionGroup Of<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(in T0 txn0, in T1 txn1, in T2 txn2, in T3 txn3, in T4 txn4, in T5 txn5, in T6 txn6, in T7 txn7, in T8 txn8, in T9 txn9, in T10 txn10, in T11 txn11, in T12 txn12, in T13 txn13)
where T0 : IEquatable<T0>, ITransaction where T1 : IEquatable<T1>, ITransaction where T2 : IEquatable<T2>, ITransaction where T3 : IEquatable<T3>, ITransaction where T4 : IEquatable<T4>, ITransaction where T5 : IEquatable<T5>, ITransaction where T6 : IEquatable<T6>, ITransaction where T7 : IEquatable<T7>, ITransaction where T8 : IEquatable<T8>, ITransaction where T9 : IEquatable<T9>, ITransaction where T10 : IEquatable<T10>, ITransaction where T11 : IEquatable<T11>, ITransaction where T12 : IEquatable<T12>, ITransaction where T13 : IEquatable<T13>, ITransaction
Parameters
Type |
Name |
Description |
T0 |
txn0 |
|
T1 |
txn1 |
|
T2 |
txn2 |
|
T3 |
txn3 |
|
T4 |
txn4 |
|
T5 |
txn5 |
|
T6 |
txn6 |
|
T7 |
txn7 |
|
T8 |
txn8 |
|
T9 |
txn9 |
|
T10 |
txn10 |
|
T11 |
txn11 |
|
T12 |
txn12 |
|
T13 |
txn13 |
|
Returns
Type Parameters
Name |
Description |
T0 |
|
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
T10 |
|
T11 |
|
T12 |
|
T13 |
|
Of<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)
Declaration
public static TransactionGroup Of<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(in T0 txn0, in T1 txn1, in T2 txn2, in T3 txn3, in T4 txn4, in T5 txn5, in T6 txn6, in T7 txn7, in T8 txn8, in T9 txn9, in T10 txn10, in T11 txn11, in T12 txn12, in T13 txn13, in T14 txn14)
where T0 : IEquatable<T0>, ITransaction where T1 : IEquatable<T1>, ITransaction where T2 : IEquatable<T2>, ITransaction where T3 : IEquatable<T3>, ITransaction where T4 : IEquatable<T4>, ITransaction where T5 : IEquatable<T5>, ITransaction where T6 : IEquatable<T6>, ITransaction where T7 : IEquatable<T7>, ITransaction where T8 : IEquatable<T8>, ITransaction where T9 : IEquatable<T9>, ITransaction where T10 : IEquatable<T10>, ITransaction where T11 : IEquatable<T11>, ITransaction where T12 : IEquatable<T12>, ITransaction where T13 : IEquatable<T13>, ITransaction where T14 : IEquatable<T14>, ITransaction
Parameters
Type |
Name |
Description |
T0 |
txn0 |
|
T1 |
txn1 |
|
T2 |
txn2 |
|
T3 |
txn3 |
|
T4 |
txn4 |
|
T5 |
txn5 |
|
T6 |
txn6 |
|
T7 |
txn7 |
|
T8 |
txn8 |
|
T9 |
txn9 |
|
T10 |
txn10 |
|
T11 |
txn11 |
|
T12 |
txn12 |
|
T13 |
txn13 |
|
T14 |
txn14 |
|
Returns
Type Parameters
Name |
Description |
T0 |
|
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
T10 |
|
T11 |
|
T12 |
|
T13 |
|
T14 |
|
Of<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)
Declaration
public static TransactionGroup Of<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(in T0 txn0, in T1 txn1, in T2 txn2, in T3 txn3, in T4 txn4, in T5 txn5, in T6 txn6, in T7 txn7, in T8 txn8, in T9 txn9, in T10 txn10, in T11 txn11, in T12 txn12, in T13 txn13, in T14 txn14, in T15 txn15)
where T0 : IEquatable<T0>, ITransaction where T1 : IEquatable<T1>, ITransaction where T2 : IEquatable<T2>, ITransaction where T3 : IEquatable<T3>, ITransaction where T4 : IEquatable<T4>, ITransaction where T5 : IEquatable<T5>, ITransaction where T6 : IEquatable<T6>, ITransaction where T7 : IEquatable<T7>, ITransaction where T8 : IEquatable<T8>, ITransaction where T9 : IEquatable<T9>, ITransaction where T10 : IEquatable<T10>, ITransaction where T11 : IEquatable<T11>, ITransaction where T12 : IEquatable<T12>, ITransaction where T13 : IEquatable<T13>, ITransaction where T14 : IEquatable<T14>, ITransaction where T15 : IEquatable<T15>, ITransaction
Parameters
Type |
Name |
Description |
T0 |
txn0 |
|
T1 |
txn1 |
|
T2 |
txn2 |
|
T3 |
txn3 |
|
T4 |
txn4 |
|
T5 |
txn5 |
|
T6 |
txn6 |
|
T7 |
txn7 |
|
T8 |
txn8 |
|
T9 |
txn9 |
|
T10 |
txn10 |
|
T11 |
txn11 |
|
T12 |
txn12 |
|
T13 |
txn13 |
|
T14 |
txn14 |
|
T15 |
txn15 |
|
Returns
Type Parameters
Name |
Description |
T0 |
|
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
T10 |
|
T11 |
|
T12 |
|
T13 |
|
T14 |
|
T15 |
|
Of<T0, T1>(T0, T1)
Declaration
public static TransactionGroup Of<T0, T1>(in T0 txn0, in T1 txn1)
where T0 : IEquatable<T0>, ITransaction where T1 : IEquatable<T1>, ITransaction
Parameters
Type |
Name |
Description |
T0 |
txn0 |
|
T1 |
txn1 |
|
Returns
Type Parameters
Of<T0, T1, T2>(T0, T1, T2)
Declaration
public static TransactionGroup Of<T0, T1, T2>(in T0 txn0, in T1 txn1, in T2 txn2)
where T0 : IEquatable<T0>, ITransaction where T1 : IEquatable<T1>, ITransaction where T2 : IEquatable<T2>, ITransaction
Parameters
Type |
Name |
Description |
T0 |
txn0 |
|
T1 |
txn1 |
|
T2 |
txn2 |
|
Returns
Type Parameters
Name |
Description |
T0 |
|
T1 |
|
T2 |
|
Of<T0, T1, T2, T3>(T0, T1, T2, T3)
Declaration
public static TransactionGroup Of<T0, T1, T2, T3>(in T0 txn0, in T1 txn1, in T2 txn2, in T3 txn3)
where T0 : IEquatable<T0>, ITransaction where T1 : IEquatable<T1>, ITransaction where T2 : IEquatable<T2>, ITransaction where T3 : IEquatable<T3>, ITransaction
Parameters
Type |
Name |
Description |
T0 |
txn0 |
|
T1 |
txn1 |
|
T2 |
txn2 |
|
T3 |
txn3 |
|
Returns
Type Parameters
Name |
Description |
T0 |
|
T1 |
|
T2 |
|
T3 |
|
Of<T0, T1, T2, T3, T4>(T0, T1, T2, T3, T4)
Declaration
public static TransactionGroup Of<T0, T1, T2, T3, T4>(in T0 txn0, in T1 txn1, in T2 txn2, in T3 txn3, in T4 txn4)
where T0 : IEquatable<T0>, ITransaction where T1 : IEquatable<T1>, ITransaction where T2 : IEquatable<T2>, ITransaction where T3 : IEquatable<T3>, ITransaction where T4 : IEquatable<T4>, ITransaction
Parameters
Type |
Name |
Description |
T0 |
txn0 |
|
T1 |
txn1 |
|
T2 |
txn2 |
|
T3 |
txn3 |
|
T4 |
txn4 |
|
Returns
Type Parameters
Name |
Description |
T0 |
|
T1 |
|
T2 |
|
T3 |
|
T4 |
|
Of<T0, T1, T2, T3, T4, T5>(T0, T1, T2, T3, T4, T5)
Declaration
public static TransactionGroup Of<T0, T1, T2, T3, T4, T5>(in T0 txn0, in T1 txn1, in T2 txn2, in T3 txn3, in T4 txn4, in T5 txn5)
where T0 : IEquatable<T0>, ITransaction where T1 : IEquatable<T1>, ITransaction where T2 : IEquatable<T2>, ITransaction where T3 : IEquatable<T3>, ITransaction where T4 : IEquatable<T4>, ITransaction where T5 : IEquatable<T5>, ITransaction
Parameters
Type |
Name |
Description |
T0 |
txn0 |
|
T1 |
txn1 |
|
T2 |
txn2 |
|
T3 |
txn3 |
|
T4 |
txn4 |
|
T5 |
txn5 |
|
Returns
Type Parameters
Name |
Description |
T0 |
|
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
Of<T0, T1, T2, T3, T4, T5, T6>(T0, T1, T2, T3, T4, T5, T6)
Declaration
public static TransactionGroup Of<T0, T1, T2, T3, T4, T5, T6>(in T0 txn0, in T1 txn1, in T2 txn2, in T3 txn3, in T4 txn4, in T5 txn5, in T6 txn6)
where T0 : IEquatable<T0>, ITransaction where T1 : IEquatable<T1>, ITransaction where T2 : IEquatable<T2>, ITransaction where T3 : IEquatable<T3>, ITransaction where T4 : IEquatable<T4>, ITransaction where T5 : IEquatable<T5>, ITransaction where T6 : IEquatable<T6>, ITransaction
Parameters
Type |
Name |
Description |
T0 |
txn0 |
|
T1 |
txn1 |
|
T2 |
txn2 |
|
T3 |
txn3 |
|
T4 |
txn4 |
|
T5 |
txn5 |
|
T6 |
txn6 |
|
Returns
Type Parameters
Name |
Description |
T0 |
|
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
Of<T0, T1, T2, T3, T4, T5, T6, T7>(T0, T1, T2, T3, T4, T5, T6, T7)
Declaration
public static TransactionGroup Of<T0, T1, T2, T3, T4, T5, T6, T7>(in T0 txn0, in T1 txn1, in T2 txn2, in T3 txn3, in T4 txn4, in T5 txn5, in T6 txn6, in T7 txn7)
where T0 : IEquatable<T0>, ITransaction where T1 : IEquatable<T1>, ITransaction where T2 : IEquatable<T2>, ITransaction where T3 : IEquatable<T3>, ITransaction where T4 : IEquatable<T4>, ITransaction where T5 : IEquatable<T5>, ITransaction where T6 : IEquatable<T6>, ITransaction where T7 : IEquatable<T7>, ITransaction
Parameters
Type |
Name |
Description |
T0 |
txn0 |
|
T1 |
txn1 |
|
T2 |
txn2 |
|
T3 |
txn3 |
|
T4 |
txn4 |
|
T5 |
txn5 |
|
T6 |
txn6 |
|
T7 |
txn7 |
|
Returns
Type Parameters
Name |
Description |
T0 |
|
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
Of<T0, T1, T2, T3, T4, T5, T6, T7, T8>(T0, T1, T2, T3, T4, T5, T6, T7, T8)
Declaration
public static TransactionGroup Of<T0, T1, T2, T3, T4, T5, T6, T7, T8>(in T0 txn0, in T1 txn1, in T2 txn2, in T3 txn3, in T4 txn4, in T5 txn5, in T6 txn6, in T7 txn7, in T8 txn8)
where T0 : IEquatable<T0>, ITransaction where T1 : IEquatable<T1>, ITransaction where T2 : IEquatable<T2>, ITransaction where T3 : IEquatable<T3>, ITransaction where T4 : IEquatable<T4>, ITransaction where T5 : IEquatable<T5>, ITransaction where T6 : IEquatable<T6>, ITransaction where T7 : IEquatable<T7>, ITransaction where T8 : IEquatable<T8>, ITransaction
Parameters
Type |
Name |
Description |
T0 |
txn0 |
|
T1 |
txn1 |
|
T2 |
txn2 |
|
T3 |
txn3 |
|
T4 |
txn4 |
|
T5 |
txn5 |
|
T6 |
txn6 |
|
T7 |
txn7 |
|
T8 |
txn8 |
|
Returns
Type Parameters
Name |
Description |
T0 |
|
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|