/// <summary> /// Gets the server data at the specified key if it exists /// </summary> /// <param name="key">Key of the entry you are wanting to get</param> /// <param name="defaultValue"></param> /// <returns></returns> public T GetServerData <T>(string key, T defaultValue = default(T)) => ServerData.ContainsKey(key) ? (T)ServerData[key] : defaultValue;