StructureMap not recognising TheCallingAssembly
Asked Answered
A

1

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();
                });
            });
Adviser answered 19/4, 2014 at 4:19 Comment(0)
V
27

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

Simply add using StructureMap.Graph to your project.

Vimen answered 19/4, 2014 at 20:24 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.