protected override object GetElementKey(ConfigurationElement element)
{
ObjectFactoryConfigurationElement serviceElement = (ObjectFactoryConfigurationElement)element;
return new TypeAndName(serviceElement.ServiceInterfaceType, serviceElement.InstanceName);
}