Shadowing ServiceA with ServiceB: Dependency Redirection

Is there a way to define a ServiceB that depends on ServiceA, and shadows that service, so anything else depending on ServiceA gets ServiceB?
Was this page helpful?