How can I use my Windsor container to check if an instance (not just a component) has been registered?
ie. container.ContainsInstance(typeof(MyType))
[EDIT]
Another way of writing this might be
Kernel.GetAssignableHandlers(typeof(object))
.Where(handler => handler.Service == typeof(MyType) || handler.ComponentModel.Implementation == typeof(MyType))
.Any(handler => handler.***Instance*** != null)
Note that the property Instance doesn't exist in the API.
Thanks.