JasperFx / lamar

Fast Inversion of Control Tool and Successor to StructureMap
https://jasperfx.github.io/lamar
MIT License
563 stars 118 forks source link

AddInstances() is referenced in docs but not available to ServiceRegistry #341

Open rtorres-olo opened 2 years ago

rtorres-olo commented 2 years ago

Has this been removed in newer versions? Are docs stale? https://jasperfx.github.io/lamar/guide/ioc/registration/registry-dsl.html#add-many-registrations-with-for-addinstances

rtorres-olo commented 2 years ago

not user error, I cannot seem to find this function

rtorres-olo commented 2 years ago

Am I supposed to use StructureMap in conjunction with Lamar for something like this?

jeremydmiller commented 2 years ago

@rtorres-olo No, it's an accident. There's some old StructureMap code in there for testing, and the docs are reading that old code. That method does not exist in Lamar.