public static IFileCabinetConfigConverterFactory RegisterAmazonS3ConfigConverter(this IFileCabinetConfigConverterFactory factory) { var credentialsFactory = new AWSCredentialsFactory(); factory.RegisterProvider(AmazonS3CabinetConfig.ProviderType, new AmazonS3ConfigConverter(credentialsFactory)); return factory; }
public AWSCredentialsFactoryFacts() { this.factory = new AWSCredentialsFactory(); }