Esempio n. 1
0
 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;
 }
Esempio n. 2
0
    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);
    }
Esempio n. 3
0
 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)
 {
 }
Esempio n. 5
0
 protected internal ClientBase(IObjectClient objectClient, IBucketClient bucketClient, IMultipartClient multipartClient, IMultipartTransfer multipartTransfer, ITransfer transfer, ISignedObjectClient signedObjectClient)
 {
     Client = new SimpleClient(objectClient, bucketClient, multipartClient, multipartTransfer, transfer, signedObjectClient);
 }
Esempio n. 6
0
 public SimpleClient(IObjectClient objectClient, IBucketClient bucketClient, IMultipartClient multipartClient, IMultipartTransfer multipartTransfer, ITransfer transfer, ISignedObjectClient signedObject)
 {
     Initialize(objectClient, bucketClient, multipartClient, multipartTransfer, transfer, signedObject);
 }