ISubDependencyResolver
Implementors should use a strategy to obtain
valid references to properties and/or services
requested in the dependency model.
bool CanResolve(CreationContext context, ISubDependencyResolver contextHandlerResolver, ComponentModel model, DependencyModel dependency)
Returns true if the resolver is able to satisfy this dependency.
object Resolve(CreationContext context, ISubDependencyResolver contextHandlerResolver, ComponentModel model, DependencyModel dependency)
Should return an instance of a service or property values as
specified by the dependency model instance.
It is also the responsibility of IDependencyResolver
to throw an exception in the case a non-optional dependency
could not be resolved.