public SirenConverter(IHypermediaRouteResolver routeResolver, IQueryStringBuilder queryStringBuilder, ISirenConverterConfiguration configuration = null)
        {
            this.queryStringBuilder = queryStringBuilder;
            this.routeResolver      = routeResolver;

            this.configuration = configuration ?? defaultConfiguration;
        }
 public SirenHypermediaConverterFactory(IQueryStringBuilder queryStringBuilder, ISirenConverterConfiguration sirenConverterConfiguration = null)
 {
     this.queryStringBuilder          = queryStringBuilder;
     this.sirenConverterConfiguration = sirenConverterConfiguration;
 }
Esempio n. 3
0
 protected SirenConverter CreateSirenConverter(ISirenConverterConfiguration configuration = null)
 {
     return(new SirenConverter(RouteResolver, QueryStringBuilder, configuration));
 }