C# Класс Canonicalize.Strategies.TrailingSlashStrategy

URL canonicalization strategy ensuring a slash as the last character of the path for non-file URLs.
Наследование: IUrlStrategy
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Apply ( UriBuilder uri ) : void

Adds a forward slash (/) to the end of the part segment of the URL, if not already present. No slash is added if the URL contains a period (.) indicating a file extension.

Описание методов

Apply() публичный Метод

Adds a forward slash (/) to the end of the part segment of the URL, if not already present. No slash is added if the URL contains a period (.) indicating a file extension.
public Apply ( UriBuilder uri ) : void
uri System.UriBuilder The URL to be canonicalized.
Результат void