public RouteCollection(bool allowDuplicateRouteNames = false) { _allowDuplicateRouteNames = allowDuplicateRouteNames; }