Exemplo n.º 1
0
 void Print(DnsRecord[] records)
 {
     foreach (DnsRecord record in records)
     {
         Print(record);
         CommandUI.PrintDivider();
     }
 }
Exemplo n.º 2
0
 public void Print(List <CertPolicyGroupDomainMap> maps)
 {
     if (!maps.Any())
     {
         WriteLine("Group has no owners associated with it.");
         return;
     }
     CommandUI.Print("GroupName", maps.First().CertPolicyGroup.Name);
     CommandUI.Print("Description", maps.First().CertPolicyGroup.Description);
     foreach (CertPolicyGroupDomainMap map in maps)
     {
         CommandUI.Print(" \t Owner   \t ", map.Owner);
         CommandUI.Print(" \t CreateDate \t ", map.CreateDate);
         CommandUI.PrintDivider();
     }
 }
Exemplo n.º 3
0
 public void Print(List <CertPolicyGroupMap> maps)
 {
     if (!maps.Any())
     {
         WriteLine("Group has no policies associated with it.");
         return;
     }
     CommandUI.Print("GroupName", maps.First().CertPolicyGroup.Name);
     CommandUI.Print("Description", maps.First().CertPolicyGroup.Description);
     foreach (CertPolicyGroupMap map in maps)
     {
         CommandUI.Print(" \t PolicyName \t ", map.CertPolicy.Name);
         CommandUI.Print(" \t Description \t ", map.CertPolicy.Description);
         CommandUI.Print(" \t MapId (link) \t ", map.ID);
         CommandUI.Print(" \t PolicyUse \t ", map.Use);
         CommandUI.Print(" \t ForIncoming \t ", map.ForIncoming);
         CommandUI.Print(" \t ForOutgoing \t ", map.ForOutgoing);
         CommandUI.Print(" \t CreateDate \t ", map.CreateDate);
         CommandUI.PrintDivider();
     }
 }