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
serializedDictionary
RankingState0(SerializationInfo, StreamingContext)
public RankingState0(SerializationInfo info, StreamingContext context)
Parameters
infoSerializationInfocontextStreamingContext
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
indexint
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
infoSerializationInfoThe SerializationInfo to populate with data.
contextStreamingContextThe 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
avatarAddressAddress
Returns
- Address