C# Class Cucumber.SimpleDb.SimpleDbContext

Provides a factory for standard ISimpleDbContext implementations.
Mostra file Open project: rexm/SimpleDb.Net

Public Methods

Method Description
Create ( ISimpleDbService service ) : ISimpleDbContext

Creates a new Cucumber.SimpleDb.ISimpleDbContext instance with the specified Cucumber.SimpleDb.ISimpleDbService configuration.

Create ( string publicKey, string privateKey, string endpoint = "sdb.amazonaws.com" ) : ISimpleDbContext

Creates a new Cucumber.SimpleDb.ISimpleDbContext instance with the default Cucumber.SimpleDb.ISimpleDbService configuration.

Method Details

Create() public static method

Creates a new Cucumber.SimpleDb.ISimpleDbContext instance with the specified Cucumber.SimpleDb.ISimpleDbService configuration.
Thrown when is null.
public static Create ( ISimpleDbService service ) : ISimpleDbContext
service ISimpleDbService The Cucumber.SimpleDb.ISimpleDbService implementation to use.
return ISimpleDbContext

Create() public static method

Creates a new Cucumber.SimpleDb.ISimpleDbContext instance with the default Cucumber.SimpleDb.ISimpleDbService configuration.
Thrown when or is null or empty.
public static Create ( string publicKey, string privateKey, string endpoint = "sdb.amazonaws.com" ) : ISimpleDbContext
publicKey string The AWS public key to use.
privateKey string The AWS private key to use.
endpoint string The SimpleDB endpoint to be used. Default is 'sdb.amazonaws.com'. See full list at http://docs.aws.amazon.com/general/latest/gr/rande.html#sdb_region
return ISimpleDbContext