/// <summary>
 /// Creates a new instance of the PerDependencyClientAccessor.
 /// In the constructor, a new instance of IClient is
 /// requested from the IClientFactory.
 /// </summary>
 /// <param name="clientFactory"></param>
 public PerDependencyClientAccessor(IClientFactory clientFactory)
 {
     Client = clientFactory.CreateAsync().Result;
 }
 /// <summary>
 /// Create client
 /// </summary>
 /// <returns></returns>
 public static Task <IClient> CreateAsync(this IClientFactory factory) =>
 factory.CreateAsync("Module");
 /// <summary>
 /// Create client
 /// </summary>
 /// <returns></returns>
 public static Task <IClient> CreateAsync(this IClientFactory factory)
 {
     return(factory.CreateAsync("Module"));
 }