getScoped<T> method
T
getScoped<T>()
Gets a service, but each service in the object mesh will have only one instance. If you want to get multiple scoped objects, call scoped to get a reusable IocContainer and then call get on that.
Implementation
T getScoped<T>() => scoped().get<T>();