Beispiel #1
0
 protected void WriteHealthcareApisAccount(ServicesDescription healthcareApisAccount)
 {
     if (healthcareApisAccount != null)
     {
         WriteObject(PSHealthcareApisService.Create(healthcareApisAccount));
     }
 }
Beispiel #2
0
        protected void WriteHealthcareApisAccountList(
            IEnumerable <ServicesDescription> healthcareApisAccounts)
        {
            List <PSHealthcareApisService> output = new List <PSHealthcareApisService>();

            if (healthcareApisAccounts != null)
            {
                healthcareApisAccounts.ForEach(
                    healthcareApisAccount => output.Add(PSHealthcareApisService.Create(healthcareApisAccount)));
            }

            WriteObject(output, true);
        }