C# Class Canonicalize.CanonicalizeRouteBuilder

Exposes a fluent API with chainable methods for configuring a CanonicalizeRoute.
Datei anzeigen Open project: schourode/canonicalize Class Usage Examples

Public Methods

Method Description
CanonicalizeRouteBuilder ( CanonicalizeRoute route )

Initializes a CanonicalizeRouteBuilder for configuration of a specific CanonicalizeRoute.

Strategy ( IUrlStrategy strategy ) : CanonicalizeRouteBuilder

Adds a new canonicalization strategy to the CanonicalizeRoute.

Method Details

CanonicalizeRouteBuilder() public method

Initializes a CanonicalizeRouteBuilder for configuration of a specific CanonicalizeRoute.
public CanonicalizeRouteBuilder ( CanonicalizeRoute route )
route CanonicalizeRoute The route to be configured using the fluent API.

Strategy() public method

Adds a new canonicalization strategy to the CanonicalizeRoute.
public Strategy ( IUrlStrategy strategy ) : CanonicalizeRouteBuilder
strategy IUrlStrategy The canonicalization strategy to be added.
return CanonicalizeRouteBuilder