Пример #1
0
        public SimulatedAccount(NetworkSimulation simulation, SimulatedIdentity manager, decimal balance) : base(simulation)
        {
            Balance = balance;
            Name    = AccountID = $"Account {NextID++}";

            Manager = manager;
        }
Пример #2
0
        public SimulatedIdentity(NetworkSimulation simulation, string accountID) : base(simulation)
        {
            Name = AccountID = accountID;

            Manager = this;
        }
Пример #3
0
 public SimulatedTokenStore(NetworkSimulation simulation)
 {
     this.simulation = simulation;
 }