public void Initialize() { // // Generate the client manager and add a number of clients to the server. // clientManager = ClientManager.GetInstance(); for (int i = 0; i < k_clientCount; i++) { var newClient = new Client(null); newClient.UserInfo.EmailAddress = "TestUser" + i.ToString(); clientManager.AddClient(newClient); } }
public static ClientManager GetInstance() { return _instance ?? (_instance = new ClientManager()); }