private static PSObject ConvertToPSObject(GetAWSServiceCmdlet.ServiceInfo service, CmdletInfo cmdlet)
        {
            var result = new PSObject();

            result.Properties.Add(new PSNoteProperty("CmdletName", cmdlet.Name));
            result.Properties.Add(new PSNoteProperty("ServiceOperation", string.Join(";", cmdlet.Operations)));
            result.Properties.Add(new PSNoteProperty("ServiceName", service.Description));
#if MODULAR
            result.Properties.Add(new PSNoteProperty("ModuleName", service.ModuleName));
#endif
            return(result);
        }
 private static IEnumerable <CmdletInfo> GetCmdlets(GetAWSServiceCmdlet.ServiceInfo service)
 {
     foreach (var cmdlet in service.XmlElement.Elements("Cmdlet"))
     {
         var cmdletName = cmdlet.Attribute("Name");
         yield return(new CmdletInfo
         {
             Name = cmdlet.Attribute("Name").Value,
             Operations = cmdlet.Attribute("Operations").Value.Split(',')
         });
     }
 }