public void CollectionPaging_Manual_NullReference() { AllianceCollection allianceLinks = crest.GetRoot().Query(r => r.Alliances); AllianceCollection.Alliance alliance = allianceLinks.Items.SingleOrDefault(f => f.Id == 99000738); alliance = null; allianceLinks.Query(f => alliance); }
public void CollectionPaging_Manual() { AllianceCollection allianceLinks = crest.GetRoot().Query(r => r.Alliances); AllianceCollection.Alliance alliance = allianceLinks.Items.SingleOrDefault(f => f.Id == 99000738); while (alliance == null && allianceLinks.Next != null) { allianceLinks = allianceLinks.Query(f => f.Next); alliance = allianceLinks.Items.SingleOrDefault(f => f.Id == 99000738); } Debug.WriteLine(allianceLinks.Query(f => alliance).Name); }
public async Task Alliances() { AllianceCollection response = await crest.GetRoot().QueryAsync(r => r.Alliances); }
public void GetAlliances_NoErrors() { AllianceCollection response = crest.GetRoot().Query(r => r.Alliances); Console.WriteLine(response); }
public void GetAlliances_NoErrors() { AllianceCollection response = crest.GetRoot().Query(r => r.Alliances); }