public void GetRoot()
        {
            CrestRoot root = crest.GetRoot();

            Debug.WriteLine(root.UserCounts.Dust);
            Debug.WriteLine(root.ServerName);
        }
Exemple #2
0
 /// <summary>
 /// Returns the CREST root
 /// </summary>
 /// <returns>Task&lt;CrestRoot&gt;.</returns>
 public async Task <CrestRoot> GetRootAsync()
 {
     if (_root == null || !EnableRootCache)
     {
         _root = await getAsync <CrestRoot>(Host).ConfigureAwait(false);
     }
     return(_root);
 }
Exemple #3
0
        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);
        }
Exemple #4
0
        /// <summary>
        ///     Returns the CREST root
        /// </summary>
        /// <returns>Task&lt;CrestRoot&gt;.</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();
 }