Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我见过的所有 StructureMap 示例都使用静态 ObjectFactory 类来初始化和解析对象。但是,我想传递对我的容器的引用。我假设 ObjectFactory 只是一个非静态对象的单例包装器。但它在哪里?