示例#1
0
 protected override async Task ProcessRecordAsync()
 {
     foreach (var id in ParameterResolvers.GetNetworkIds(Network, Id))
     {
         await DkrClient.Networks.DeleteNetworkAsync(id);
     }
 }
        protected override async Task ProcessRecordAsync()
        {
            foreach (var id in ParameterResolvers.GetNetworkIds(Network, Id))
            {
                var n = await DkrClient.Networks.InspectNetworkAsync(id);

                this.WriteObject(n);
            }
        }