Are there facilities in StructureMap that will allow me to load services from other modules (assemblies) on demand like it's done in Unity?
A:
Like This?
Assembly ass = Assembly.GetCallingAssembly();
Container.Configure(x => x.Scan(scan =>
{
scan.Assembly(ass);
scan.LookForRegistries();
}));
ozczecho
2010-05-18 05:44:25