ipjohnson / Grace

Grace is a feature rich dependency injection container library
MIT License
336 stars 33 forks source link

Change support for custom begin scope #209

Closed ipjohnson closed 5 years ago

ipjohnson commented 5 years ago

Currently lifetime scope creation logic could be overridden by providing a ILifetimeScopeProvider. This introduces some extra over head for a very niche case.

To still support this I'm going to mark the BeginLifetimeScope method as virtual and you can override it if this is something that is needed.

ipjohnson commented 5 years ago

This is implemented and will be part of 7.0