public static IFileCabinetFactory RegisterS3Provider(this IFileCabinetFactory factory) { var clientFactory = new AmazonS3ClientFactory(); var provider = new AmazonS3StorageProvider(clientFactory); factory.RegisterProvider(provider); return(factory); }
public S3ClientFactoryFacts() { this.factory = new AmazonS3ClientFactory(); }
public static IFileCabinetFactory RegisterS3Provider(this IFileCabinetFactory factory) { var clientFactory = new AmazonS3ClientFactory(); var provider = new AmazonS3StorageProvider(clientFactory); factory.RegisterProvider(provider); return factory; }