Nic Strong
Nic Strong

Reputation: 6592

Dump the container configuration in StructureMap

I have a ever growing project using StructureMap as the IOC container. I am trying to reduce the amount of code in the StructureMap registries by using the auto-registration with Scan(). As I make changes is there an easy way to dump the current container to the console so i can see if the changes have done what I expected?

Upvotes: 1

Views: 210

Answers (1)

ozczecho
ozczecho

Reputation: 8849

From memory I think this will do it:

ObjectFactory.WhatDoIHave

Upvotes: 3

Related Questions