public UploadAwsS3Convention(ICalamariFileSystem fileSystem, IAwsEnvironmentGeneration awsEnvironmentGeneration, string bucket, S3TargetMode targetMode, IProvideS3TargetOptions optionsProvider, IFileSubstituter fileSubstituter ) { this.fileSystem = fileSystem; this.awsEnvironmentGeneration = awsEnvironmentGeneration; this.bucket = bucket; this.targetMode = targetMode; this.optionsProvider = optionsProvider; this.fileSubstituter = fileSubstituter; this.md5HashSupported = HashCalculator.IsAvailableHashingAlgorithm(MD5.Create); }
public UploadAwsS3Convention( ILog log, ICalamariFileSystem fileSystem, AwsEnvironmentGeneration awsEnvironmentGeneration, string bucket, S3TargetMode targetMode, IProvideS3TargetOptions optionsProvider, IBucketKeyProvider bucketKeyProvider, ISubstituteInFiles substituteInFiles ) { this.log = log; this.fileSystem = fileSystem; this.awsEnvironmentGeneration = awsEnvironmentGeneration; this.bucket = bucket; this.targetMode = targetMode; this.optionsProvider = optionsProvider; this.bucketKeyProvider = bucketKeyProvider; this.substituteInFiles = substituteInFiles; this.md5HashSupported = HashCalculator.IsAvailableHashingAlgorithm(MD5.Create); }