示例#1
0
        private static void StartUserSimulation(User user)
        {
            ClientSimulator clientSimulator = new ClientSimulator(user);
            Thread          thread          = new Thread(clientSimulator.Main)
            {
                Name = string.Format("Simulation for user {0} ", user)
            };

            thread.Start();
        }
        private static void StartUserSimulation( User user )
        {
            ClientSimulator clientSimulator = new ClientSimulator( user );
            Thread thread = new Thread( clientSimulator.Main )
            {
                Name = string.Format( "Simulation for user {0} ", user )
            };

            thread.Start();
        }