static IDictionary<Type, string> CreateRoutingTable(IEnumerable<EndpointBehavior> behaviorDescriptors)
{
var routingTable = new Dictionary<Type, string>();
foreach (var behaviorDescriptor in behaviorDescriptors)
{
routingTable[behaviorDescriptor.EndpointBuilderType] = GetEndpointNameForRun(behaviorDescriptor);
}
return routingTable;
}