public static Func<object, MetadataBase, Uri, Uri> GetDelegateForIdpLocation(Type descriptorType)
 {
     return IdpMetadataHandlerFactory._cache.GetOrAdd(descriptorType, t => IdpMetadataHandlerFactory.BuildDelegate(t));
 }
 public static Func <object, MetadataBase, IEnumerable <SingleSignOnDescriptor> > GetDelegateForIdpDescriptors(Type metadataType, Type descriptorType)
 {
     return(IdpMetadataHandlerFactory._cache1.GetOrAdd(metadataType, t => IdpMetadataHandlerFactory.BuildDelegate(t, descriptorType)));
 }