C# Class Canonicalize.Strategies.CustomStrategy

Allows for custom URL canonicalization strategies defined using an Action<UrlBuilder>.
Inheritance: IUrlStrategy
Afficher le fichier Open project: schourode/canonicalize

Méthodes publiques

Méthode Description
Apply ( UriBuilder uri ) : void

Applies the custom URL canonicalization action to the URL.

CustomStrategy ( Action action ) : System

Initializes a CustomStrategy as defined in an Action<UrlBuilder>.

Method Details

Apply() public méthode

Applies the custom URL canonicalization action to the URL.
public Apply ( UriBuilder uri ) : void
uri System.UriBuilder
Résultat void

CustomStrategy() public méthode

Initializes a CustomStrategy as defined in an Action<UrlBuilder>.
public CustomStrategy ( Action action ) : System
action Action The canonicalization action to be applied to the URL.
Résultat System