mikeobrien / WebApi.StructureMap

Web API StructureMap Integration
MIT License
12 stars 5 forks source link

Access to container.WhatDoIHave(); #3

Closed TonyBurnettSchoola closed 7 years ago

TonyBurnettSchoola commented 7 years ago

After I call...

GlobalConfiguration.Configuration.UseStructureMap<MyRegistry>();

...how can I access the container so I can call WhatDoIHave()?

mikeobrien commented 7 years ago

You can create the container and pass it in, then you'd have full access to it. There is an overload that takes a container.

On Fri, Jul 21, 2017 at 7:46 PM TonyBurnettSchoola notifications@github.com wrote:

After I call...

GlobalConfiguration.Configuration.UseStructureMap();

...how can I access the container so I can call WhatDoIHave()?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mikeobrien/WebApi.StructureMap/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/AALdqRN8g_9r5NIQk3tVFpRm2Cog4SqEks5sQThrgaJpZM4Of_w8 .

TonyBurnettSchoola commented 7 years ago

Got it, thanks.

mikeobrien commented 7 years ago

👍