C# 클래스 Canonicalize.Strategies.TrailingSlashStrategy

URL canonicalization strategy ensuring a slash as the last character of the path for non-file URLs.
상속: IUrlStrategy
파일 보기 프로젝트 열기: schourode/canonicalize 1 사용 예제들

공개 메소드들

메소드 설명
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