C# Class BlueCollar.ConfigurationRepositoryFactory

Implements IRepositoryFactory to use the Blue Collar configuration section.
Inheritance: IRepositoryFactory
Exibir arquivo Open project: ChadBurggraf/blue-collar Class Usage Examples

Public Methods

Method Description
ConfigurationRepositoryFactory ( ) : System

Initializes a new instance of the ConfigurationRepositoryFactory class.

ConfigurationRepositoryFactory ( string repositoryType, string connectionStringName ) : System

Initializes a new instance of the ConfigurationRepositoryFactory class.

Protected Methods

Method Description
ResolvePath ( string path ) : string

Resolves the given path to a fully qualified path.

Private Methods

Method Description
Create ( ) : IRepository
EnsureInitialized ( ) : void

Method Details

ConfigurationRepositoryFactory() public method

Initializes a new instance of the ConfigurationRepositoryFactory class.
public ConfigurationRepositoryFactory ( ) : System
return System

ConfigurationRepositoryFactory() public method

Initializes a new instance of the ConfigurationRepositoryFactory class.
public ConfigurationRepositoryFactory ( string repositoryType, string connectionStringName ) : System
repositoryType string The type name of the repository use use from the configuration.
connectionStringName string The name of the connection string to use when initializing the repository from the configuration.
return System

ResolvePath() protected method

Resolves the given path to a fully qualified path.
protected ResolvePath ( string path ) : string
path string The path to resolve.
return string