Class ActivatedAccountsState
[Serializable]
public class ActivatedAccountsState : State, IState, ISerializable
- Inheritance
-
ActivatedAccountsState
- Implements
- Inherited Members
Constructors
ActivatedAccountsState()
public ActivatedAccountsState()
ActivatedAccountsState(Dictionary)
public ActivatedAccountsState(Dictionary serialized)
Parameters
serializedDictionary
ActivatedAccountsState(IImmutableSet<Address>)
public ActivatedAccountsState(IImmutableSet<Address> accounts)
Parameters
accountsIImmutableSet<Address>
ActivatedAccountsState(SerializationInfo, StreamingContext)
protected ActivatedAccountsState(SerializationInfo info, StreamingContext context)
Parameters
infoSerializationInfocontextStreamingContext
Fields
Address
public static readonly Address Address
Field Value
- Address
Properties
Accounts
public IImmutableSet<Address> Accounts { get; }
Property Value
- IImmutableSet<Address>
Methods
AddAccount(Address)
public ActivatedAccountsState AddAccount(Address account)
Parameters
accountAddress
Returns
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.
Remove(Address)
public void Remove(Address account)
Parameters
accountAddress
Serialize()
public override IValue Serialize()
Returns
- IValue