Replies: 2 comments
-
https://www.reactiveui.net/docs/handbook/dependency-inversion/ |
Beta Was this translation helpful? Give feedback.
-
I use the Splat.Microsoft.Extensions.DependencyInjection to help create scoped registrations. However, this appoach has a bug if you resolve the service using Locater.Current.GetService for an IDisposable service. It can't detect it is IDisposable so it would not call Dispose method after the scope is disposed. |
Beta Was this translation helpful? Give feedback.
-
Hi, could someone point me in the direction on how to work with scoped registrations? I see how to register transient and singletons... but cannot find any details on how to register scoped services.
Beta Was this translation helpful? Give feedback.
All reactions