public static void ListAssigningAuthority(ListAssigningAuthorityParams parms) { IEnumerable <AssigningAuthority> auths = null; if (!String.IsNullOrEmpty(parms.Name)) { auths = m_amiClient.GetAssigningAuthorities(o => o.Name.Contains(parms.Name)).CollectionItem.OfType <AssigningAuthority>(); } else if (!String.IsNullOrEmpty(parms.Oid)) { auths = m_amiClient.GetAssigningAuthorities(o => o.Oid == parms.Oid).CollectionItem.OfType <AssigningAuthority>(); } else if (!String.IsNullOrEmpty(parms.Url)) { auths = m_amiClient.GetAssigningAuthorities(o => o.Url == parms.Url).CollectionItem.OfType <AssigningAuthority>(); } else { auths = m_amiClient.GetAssigningAuthorities(o => o.CreationTime != null).CollectionItem.OfType <AssigningAuthority>(); } DisplayUtil.TablePrint(auths, o => o.DomainName, o => o.Name, o => o.Url, o => o.IsUnique); }