public IEndpointConventionBuilder AddEndpointModel(EndpointModel endpointModel)
        {
            var builder = new EndpointConventionBuilder(endpointModel);

            _endpointConventionBuilders.Add(builder);

            return(builder);
        }
 public EndpointConventionBuilder(EndpointModel endpointModel)
 {
     EndpointModel = endpointModel;
     _conventions  = new List <Action <EndpointModel> >();
 }