Behaviour:
Currently, destroying a scope simply means that the ServiceProvider can reuse a small amount of memory
whenever a new scope is created.
In the future I'd like to add more functionality, such as detecting scoped services that implement specific
interfaces for things such as IDisposableService, IReusableService, etc.
Destroys a scope.
Behaviour: Currently, destroying a scope simply means that the ServiceProvider can reuse a small amount of memory whenever a new scope is created.
In the future I'd like to add more functionality, such as detecting scoped services that implement specific interfaces for things such as IDisposableService, IReusableService, etc.