change to list interface

This commit is contained in:
Tommy Parnell
2015-07-05 21:37:58 -04:00
parent 4e8dac1a73
commit bd09157978

View File

@@ -32,7 +32,7 @@ namespace XIVSync.Net
return response.StatusCode != HttpStatusCode.OK ? null : JsonConvert.DeserializeObject<LodestoneCharacter>(response.Content); return response.StatusCode != HttpStatusCode.OK ? null : JsonConvert.DeserializeObject<LodestoneCharacter>(response.Content);
} }
public IEnumerable<Server> GetServers(double timeoutSeconds = 90) public IList<Server> GetServers(double timeoutSeconds = 90)
{ {
var dom = CQ.CreateFromUrl("http://na.finalfantasyxiv.com/lodestone/worldstatus/", new ServerConfig() {TimeoutSeconds = timeoutSeconds}); var dom = CQ.CreateFromUrl("http://na.finalfantasyxiv.com/lodestone/worldstatus/", new ServerConfig() {TimeoutSeconds = timeoutSeconds});
var servers = new List<Server>(); var servers = new List<Server>();