Esempio n. 1
0
        /// <summary>
        /// ReadACLToken
        /// </summary>
        private static void ReadACLToken()
        {
            var aclGovern = new ACLGovern();
            var result    = aclGovern.ReadACLToken("a0e4a748-2192-161a-0510-9bf59fe950bd").GetAwaiter().GetResult();

            Console.WriteLine($"back content={EntityToString(result)}");
        }
Esempio n. 2
0
 static void ReadACLToken()
 {
     try
     {
         var acl    = new ACLGovern();
         var result = acl.ReadACLToken("0f738123-28ee-4a6d-bd22-8648f99ffdc5").GetAwaiter().GetResult();
         foreach (var aclresult in result)
         {
             Console.WriteLine(EntityToString(aclresult));
         }
     }
     catch (Exception exc)
     {
         Console.WriteLine($"错误:{exc.Message}");
     }
 }