public void GetRoot() { CrestRoot root = crest.GetRoot(); Debug.WriteLine(root.UserCounts.Dust); Debug.WriteLine(root.ServerName); }
/// <summary> /// Returns the CREST root /// </summary> /// <returns>Task<CrestRoot>.</returns> public async Task <CrestRoot> GetRootAsync() { if (_root == null || !EnableRootCache) { _root = await getAsync <CrestRoot>(Host).ConfigureAwait(false); } return(_root); }
public void GetRoot() { CrestRoot root = crest.GetRoot(); Debug.WriteLine(root.UserCounts.Dust); Debug.WriteLine(root.ServerName); //Debug.WriteLine(root.Regions.Uri); //var regionsData = crest.GetRoot().Query(f => f.Regions).Query(regions => regions.Items); }
/// <summary> /// Returns the CREST root /// </summary> /// <returns>Task<CrestRoot>.</returns> public async Task <CrestRoot> GetRootAsync() { const string relPath = ""; if (_root == null || !EnableRootCache) { _root = await requestAsync <CrestRoot>(relPath).ConfigureAwait(false); } return(_root); }
public void GetRoot() { CrestRoot root = crest.GetRoot(); Assert.AreEqual(EveCrest.DefaultAuthHost, root.CrestEndpoint.Uri); }
public async Task CrestEndpoint() { CrestRoot result = await crest.GetRootAsync(); }