Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

StructureMap not recognising TheCallingAssembly

am kinnda new to IOC and StructureMap. WHen i am trying to call the TheCallingAssembly() method, its not recognising it.

Someone please help

ObjectFactory.Configure(x => 
            {
                x.Scan(y =>
                {
                   // y.TheCallingAssembly();
                    y.LookForRegistries();
                });
            });
like image 455
kayze Avatar asked Apr 19 '14 04:04

kayze


1 Answers

In version 3, this has been moved to the StructureMap.Graph namespace.

Simply add using StructureMap.Graph to your project.

like image 86
wechel Avatar answered Nov 14 '22 08:11

wechel