protected void Initialize(IObjectClient objectClient, IBucketClient bucketClient, IMultipartClient multipartClient, IMultipartTransfer multipartTransfer, ITransfer transfer, ISignedObjectClient signedObjectClient) { _objectClient = objectClient; _bucketClient = bucketClient; _multipartClient = multipartClient; _multipartTransfer = multipartTransfer; _transfer = transfer; _signedObjectClient = signedObjectClient; }
private void Build(IServiceCollection services) { _serviceProvider = services.BuildServiceProvider(); IObjectClient objectClient = _serviceProvider.GetRequiredService <IObjectClient>(); IBucketClient bucketClient = _serviceProvider.GetRequiredService <IBucketClient>(); IMultipartClient multipartClient = _serviceProvider.GetRequiredService <IMultipartClient>(); IMultipartTransfer multipartTransfer = _serviceProvider.GetRequiredService <IMultipartTransfer>(); ITransfer transfer = _serviceProvider.GetRequiredService <ITransfer>(); ISignedObjectClient signedObjectClient = _serviceProvider.GetRequiredService <ISignedObjectClient>(); Client = new SimpleClient(objectClient, bucketClient, multipartClient, multipartTransfer, transfer, signedObjectClient); }
internal AmazonS3Client(IObjectClient objectClient, IBucketClient bucketClient, IMultipartClient multipartClient, IMultipartTransfer multipartTransfer, ITransfer transfer, ISignedObjectClient signedObjectClient) : base(objectClient, bucketClient, multipartClient, multipartTransfer, transfer, signedObjectClient) { }
internal GoogleCloudStorageClient(IObjectClient objectClient, IBucketClient bucketClient, IMultipartClient multipartClient, IMultipartTransfer multipartTransfer, ITransfer transfer, ISignedObjectClient signedObjectClient) : base(objectClient, bucketClient, multipartClient, multipartTransfer, transfer, signedObjectClient) { }
protected internal ClientBase(IObjectClient objectClient, IBucketClient bucketClient, IMultipartClient multipartClient, IMultipartTransfer multipartTransfer, ITransfer transfer, ISignedObjectClient signedObjectClient) { Client = new SimpleClient(objectClient, bucketClient, multipartClient, multipartTransfer, transfer, signedObjectClient); }
public SimpleClient(IObjectClient objectClient, IBucketClient bucketClient, IMultipartClient multipartClient, IMultipartTransfer multipartTransfer, ITransfer transfer, ISignedObjectClient signedObject) { Initialize(objectClient, bucketClient, multipartClient, multipartTransfer, transfer, signedObject); }