I'm using the built-in container like so:
invocationContext.BindingContext.AddService(x => new ParentService());
invocationContext.BindingContext.AddService(x => new ChildService(x.GetRequiredService<ParentService>()));
invocationContext.BindingContext.AddService(x => new OtherService());
// etc.
An IoC container typically handles disposal. I looked at BindingContext and didn't see anything to this effect, but maybe I'm looking in the wrong place.
Does this library's container dispose services that implement IDisposable?
I'm using the built-in container like so:
An IoC container typically handles disposal. I looked at
BindingContextand didn't see anything to this effect, but maybe I'm looking in the wrong place.Does this library's container dispose services that implement
IDisposable?