/// <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>(); }
/// <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>(); }