Esempio n. 1
0
        public SimulatedAccount(NetworkSimulation simulation, SimulatedIdentity manager, decimal balance) : base(simulation)
        {
            Balance = balance;
            Name    = AccountID = $"Account {NextID++}";

            Manager = manager;
        }
Esempio n. 2
0
        public SimulatedIdentity(NetworkSimulation simulation, string accountID) : base(simulation)
        {
            Name = AccountID = accountID;

            Manager = this;
        }
Esempio n. 3
0
 public SimulatedTokenStore(NetworkSimulation simulation)
 {
     this.simulation = simulation;
 }