Пример #1
0
 public static SharedGallery GetSharedGallery(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetClient(() =>
     {
         SharedGallery.ValidateResourceId(id);
         return new SharedGallery(client, id);
     }
                             ));
 }
 public static SharedGallery GetSharedGallery(this ArmClient armClient, ResourceIdentifier id)
 {
     SharedGallery.ValidateResourceId(id);
     return(new SharedGallery(armClient, id));
 }
 public static SharedGallery GetSharedGallery(this ArmClient armClient, ResourceIdentifier id)
 {
     SharedGallery.ValidateResourceId(id);
     return(armClient.UseClientContext((uri, credential, clientOptions, pipeline) => new SharedGallery(clientOptions, credential, uri, pipeline, id)));
 }