autofac / Documentation

Usage and API documentation for Autofac and integration libraries
http://autofac.readthedocs.org
MIT License
71 stars 121 forks source link

Update overview docs on lifetime scopes #141

Closed tillig closed 3 years ago

tillig commented 3 years ago

Resolves #89

This updates the main lifetime scope doc to have a deeper dive into how scopes are hierarchical and how dependencies are located. Diagrams are updated and more code snippets are added as analogies to help solidify the concepts.

As part of this I also added some Node.js bits that will auto-generate PlantUML diagrams. This allows us to insert more robust diagrams without contributors requiring any real software install (just npm install and npm watch); and makes for easier updates of existing diagrams since source is maintained in the fairly common PlantUML format.

tillig commented 3 years ago

Here's a trimmed down zip file with the rendered doc that may be easier to review.

tillig commented 3 years ago

I think I got all the suggestions addressed - thanks for the thoughtful review. Let me know if you want me to render a new version for easier reading.