public BaseUrlPattern CreateBaseUrlPattern(List <string> serverHosts)
        {
            var urlRegexBuilder = new BaseUrlRegexBuilder()
                                  .SetDomains(serverHosts);

            return(new BaseUrlPattern(urlRegexBuilder.Build(), true));
        }
Beispiel #2
0
        public BaseUrlPattern createBaseUrlPattern()
        {
            var urlRegexBuilder = new BaseUrlRegexBuilder(new List <string> {
                DEV_DOMAIN
            });

            return(new BaseUrlPattern(urlRegexBuilder.Build()));
        }