public S3BlobAdapter(IAmazonS3 client, IS3BlobAdapterConfig config) { this.client = client; this.config = config; }
public static IServiceCollection AddLfsS3Adapter(this IServiceCollection services, IS3BlobAdapterConfig config, IAmazonS3 amazonS3) { return(services.AddSingleton <IBlobAdapter, S3BlobAdapter>().AddSingleton(amazonS3).AddSingleton(config)); }