Ejemplo n.º 1
0
        /// <summary>
        /// 查询成员
        /// </summary>
        private static void QueryMembers()
        {
            var agentGovern = new AgentGovern();

            foreach (var member in agentGovern.CatalogNodes().GetAwaiter().GetResult())
            {
                Console.WriteLine($"Name:{member.Name} 地址:{member.Addr}:{member.Port}");
            }
        }