Вопрос

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();
                });
            });
Это было полезно?

Решение

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

Simply add using StructureMap.Graph to your project.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top