Пример #1
0
 protected override void ExecuteCmdlet()
 {
     if (ParameterSpecified(nameof(Identity)))
     {
         var app = Identity.GetApp(HttpClient, AccessToken);
         if (app != null)
         {
             WriteObject(app);
         }
     }
     else
     {
         WriteObject(TeamsUtility.GetApps(AccessToken, HttpClient), true);
     }
 }