public void Unsupply(Type injectionType, Type targetType) { IInjectionBinding binding = GetSupplier(injectionType, targetType); if (binding != null) { suppliers [targetType].Remove(injectionType); binding.Unsupply(targetType); } }