14

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();
                });
            });
kayze
  • 738
  • 8
  • 19
  • 33

1 Answers1

27

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

Simply add using StructureMap.Graph to your project.

wechel
  • 585
  • 7
  • 7