C# 클래스 Canonicalize.CanonicalizeRouteBuilderExtensions

파일 보기 프로젝트 열기: schourode/canonicalize

공개 메소드들

메소드 설명
Custom ( this builder, Action action ) : CanonicalizeRouteBuilder

Adds a Strategies.CustomStrategy to the strategy collection.

Host ( this builder, string host ) : CanonicalizeRouteBuilder

Adds Strategies.HostStrategy to the strategy collection.

Lowercase ( this builder ) : CanonicalizeRouteBuilder

Adds Strategies.LowercaseStrategy to the strategy collection.

Map ( this builder, string>.IDictionary dictionary ) : CanonicalizeRouteBuilder

Adds Strategies.MapStrategy to the strategy collection.

NoTrailingSlash ( this builder ) : CanonicalizeRouteBuilder

Adds Strategies.NoTrailingSlashStrategy to the strategy collection.

NoWww ( this builder ) : CanonicalizeRouteBuilder

Adds Strategies.NoWwwStrategy to the strategy collection.

Pattern ( this builder, string regex, string replacement ) : CanonicalizeRouteBuilder

Adds Strategies.PatternStrategy to the strategy collection.

TrailingSlash ( this builder ) : CanonicalizeRouteBuilder

Adds Strategies.TrailingSlashStrategy to the strategy collection.

Www ( this builder ) : CanonicalizeRouteBuilder

Adds Strategies.NoWwwStrategy to the strategy collection.

메소드 상세

Custom() 공개 정적인 메소드

Adds a Strategies.CustomStrategy to the strategy collection.
public static Custom ( this builder, Action action ) : CanonicalizeRouteBuilder
builder this Reponsible for building the .
action Action The canonicalization action to be applied to the URL.
리턴 CanonicalizeRouteBuilder

Host() 공개 정적인 메소드

Adds Strategies.HostStrategy to the strategy collection.
public static Host ( this builder, string host ) : CanonicalizeRouteBuilder
builder this Reponsible for building the .
host string Canonical DNS host name or IP address.
리턴 CanonicalizeRouteBuilder

Lowercase() 공개 정적인 메소드

Adds Strategies.LowercaseStrategy to the strategy collection.
public static Lowercase ( this builder ) : CanonicalizeRouteBuilder
builder this Reponsible for building the .
리턴 CanonicalizeRouteBuilder

Map() 공개 정적인 메소드

Adds Strategies.MapStrategy to the strategy collection.
public static Map ( this builder, string>.IDictionary dictionary ) : CanonicalizeRouteBuilder
builder this Reponsible for building the .
dictionary string>.IDictionary Mapping between old paths (keys) and new paths (values).
리턴 CanonicalizeRouteBuilder

NoTrailingSlash() 공개 정적인 메소드

Adds Strategies.NoTrailingSlashStrategy to the strategy collection.
public static NoTrailingSlash ( this builder ) : CanonicalizeRouteBuilder
builder this Reponsible for building the .
리턴 CanonicalizeRouteBuilder

NoWww() 공개 정적인 메소드

Adds Strategies.NoWwwStrategy to the strategy collection.
public static NoWww ( this builder ) : CanonicalizeRouteBuilder
builder this Reponsible for building the .
리턴 CanonicalizeRouteBuilder

Pattern() 공개 정적인 메소드

Adds Strategies.PatternStrategy to the strategy collection.
public static Pattern ( this builder, string regex, string replacement ) : CanonicalizeRouteBuilder
builder this Reponsible for building the .
regex string The regular expression applied to the path.
replacement string Replacement string applied on match.
리턴 CanonicalizeRouteBuilder

TrailingSlash() 공개 정적인 메소드

Adds Strategies.TrailingSlashStrategy to the strategy collection.
public static TrailingSlash ( this builder ) : CanonicalizeRouteBuilder
builder this Reponsible for building the .
리턴 CanonicalizeRouteBuilder

Www() 공개 정적인 메소드

Adds Strategies.NoWwwStrategy to the strategy collection.
public static Www ( this builder ) : CanonicalizeRouteBuilder
builder this Reponsible for building the .
리턴 CanonicalizeRouteBuilder