Class RankingState0
[Serializable]
public class RankingState0 : State, IState, ISerializable
- Inheritance
-
RankingState0
- Implements
- Inherited Members
Constructors
RankingState0()
public RankingState0()
RankingState0(Dictionary)
public RankingState0(Dictionary serialized)
Parameters
serialized
Dictionary
RankingState0(SerializationInfo, StreamingContext)
public RankingState0(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfocontext
StreamingContext
Fields
Address
public static readonly Address Address
Field Value
- Address
RankingMapCapacity
public const int RankingMapCapacity = 100
Field Value
Properties
RankingMap
public Dictionary<Address, ImmutableHashSet<Address>> RankingMap { get; }
Property Value
- Dictionary<Address, ImmutableHashSet<Address>>
Methods
Derive(int)
public static Address Derive(int index)
Parameters
index
int
Returns
- Address
GetObjectData(SerializationInfo, StreamingContext)
Populates a SerializationInfo with the data needed to serialize the target object.
public void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfoThe SerializationInfo to populate with data.
context
StreamingContextThe destination (see StreamingContext) for this serialization.
Exceptions
- SecurityException
The caller does not have the required permission.
Serialize()
public override IValue Serialize()
Returns
- IValue
UpdateRankingMap(Address)
public Address UpdateRankingMap(Address avatarAddress)
Parameters
avatarAddress
Address
Returns
- Address