Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using StructureMap;
- using StructureMap.Configuration.DSL;
- using StructureMap.Configuration;
- using StructureMap.Pipeline;
- namespace SupplierManual.Data.config
- {
- public class DataRegistry : Registry
- {
- protected override void configure()
- {
- ForRequestedType<IRepository>()
- .TheDefaultIsConcreteType<Repository>();
- }
- }
- }
Add Comment
Please, Sign In to add comment