public FluentXpoUrlGenerator(IXpoUrlGenerator generator, XpoUrlRequest request) { if (generator == null) { throw new ArgumentNullException("generator"); } if (request == null) { throw new ArgumentNullException("request"); } this.generator = generator; this.request = request; }
public IFluentXpoUrlGenerator CreateFluentUrlGenerator(IXpoUrlGenerator generator, FluentXpoUrlType urlType) { return new FluentXpoUrlGenerator(generator, GetUrlRequest(urlType)); }
public IFluentXpoUrlGenerator CreateFluentUrlGenerator(IXpoUrlGenerator generator, FluentXpoUrlType urlType) { return(new FluentXpoUrlGenerator(generator, GetUrlRequest(urlType))); }
public FluentXpoUrlGenerator(IXpoUrlGenerator generator) : this(generator, new XpoUrlRequest()) { }