public object GetKeyedService(Type serviceType, object keyed)
        {
            var serviceKey = new KeyedServiceKey(serviceType, keyed);

            return(GetService(serviceKey));
        }
 public bool Equals(KeyedServiceKey other)
 {
     return(ServiceType == other.ServiceType && Equals(Keyed, other.Keyed));
 }