Class RankingState1
[Serializable]
public class RankingState1 : State, IState, ISerializable
- Inheritance
-
RankingState1
- Implements
- Inherited Members
Constructors
RankingState1()
public RankingState1()
RankingState1(Dictionary)
public RankingState1(Dictionary serialized)
Parameters
serialized
Dictionary
RankingState1(SerializationInfo, StreamingContext)
public RankingState1(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfocontext
StreamingContext
Fields
Address
public static readonly Address Address
Field Value
- Address
RankingMapCapacity
public const int RankingMapCapacity = 150
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