/// <summary>
 /// Creates a new instance of the StorageServiceRestClient class.
 /// </summary>
 /// <param name="context">The current storage service context to use.</param>
 /// <param name="serviceLocator">A service locator to be used to locate/inject dependent services.</param>
 internal StorageServiceRestClient(ServiceClientContext context, IServiceLocator serviceLocator)
     : base(context, serviceLocator)
 {
     this.StorageContainerNameValidator = this.ServiceLocator.Locate<IStorageContainerNameValidator>();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Creates a new instance of the StorageServiceRestClient class.
 /// </summary>
 /// <param name="context">The current storage service context to use.</param>
 /// <param name="serviceLocator">A service locator to be used to locate/inject dependent services.</param>
 internal StorageServiceRestClient(ServiceClientContext context, IServiceLocator serviceLocator)
     : base(context, serviceLocator)
 {
     this.StorageContainerNameValidator = this.ServiceLocator.Locate <IStorageContainerNameValidator>();
 }