IServiceContainer.RegisterService Method

Name Parameters Description
RegisterService(Object, Boolean) service, yieldToParent Registers the specified service.
RegisterService(String, Object, Boolean) key, service, yieldToParent Registers the specified service.