How to check a service created before in current scope in DryIoC?
I want to prevent create a service, if already isn't created using dryioc.
I want a function like IsResolved in this example:
container.Register<S>();
if (container.IsResolved<S>()==true){ //always false
//Do any thing
}
var s = container.Resolve<S>();
if (container.IsResolved<S>()==true){ //always true
//Do any thing
}
Note: IsResolved not found in DryIoC