public Server(string ipAddress, int port) { _ipAddress = ipAddress; _port = port; _queryClient = new ServerQueryClient(this, ipAddress, port); Settings = new SortedDictionary<string, string>(); Players = new ObservableCollection<Player>(); Info = new ServerInfo(null, null); }
public void TestFixtureSetUp() { var parameters = GetServerInfoTestParameters(); ServerInfo = new ServerInfo(parameters.Difficulty, parameters.ServerName); }