Ejemplo n.º 1
0
 /// <summary>
 ///    Gets the client for specific azure resource types.
 /// </summary>
 /// <typeparam name="T"> The type of the operations class for a specific resource. </typeparam>
 /// <param name="creator"> The client creation function. </param>
 /// <returns> An instance of client for a given resource type. </returns>
 public T GetClient <T>(Func <Uri, TokenCredential, T> creator)
 {
     // TODO: Anyway to make this protected internal? It is used in Extensions
     return(ClientOptions.GetClient(creator));
 }