C#C
C#3y ago
CrosRoad95

❔ Service provider, IDisposable

if i do:
Services.AddScoped/Transient<MyDisposableClass>();
class MyDisposableClass : IDisposable { ... }

will dispose method called when service goes out of scope?
Was this page helpful?