public void Map(IEndpointBuilder <TContext> endpointBuilder)
        {
            // persist a copy of the current predicate stack in endpoint builder
            endpointBuilder.Requires(_predicateStack.ToArray());

            _endpointRoutes.Add(new EndpointRoute <TContext>(Array.Empty <Predicate <TContext> >(), endpointBuilder));
        }