C# 클래스 Discuz.Api.StringHelper

파일 보기 프로젝트 열기: gruan01/Discuz.Mobi

공개 메소드들

메소드 설명
FixUrl ( this url ) : string

修正URL

FixUrl ( this url, string defaultPrefix ) : string

修正URL

ParseErrorType ( this str ) : ErrorTypes
ParseString ( this s, bool ignoreCase ) : string>.Dictionary

從URL中取 Key / Value

SetUrlKeyValue ( this url, string key, string value, Encoding encode = null ) : string

設置 URL中的 key

메소드 상세

FixUrl() 공개 정적인 메소드

修正URL
public static FixUrl ( this url ) : string
url this
리턴 string

FixUrl() 공개 정적인 메소드

修正URL
public static FixUrl ( this url, string defaultPrefix ) : string
url this
defaultPrefix string
리턴 string

ParseErrorType() 공개 정적인 메소드

public static ParseErrorType ( this str ) : ErrorTypes
str this
리턴 ErrorTypes

ParseString() 공개 정적인 메소드

從URL中取 Key / Value
public static ParseString ( this s, bool ignoreCase ) : string>.Dictionary
s this
ignoreCase bool
리턴 string>.Dictionary

SetUrlKeyValue() 공개 정적인 메소드

設置 URL中的 key
public static SetUrlKeyValue ( this url, string key, string value, Encoding encode = null ) : string
url this
key string
value string
encode System.Text.Encoding
리턴 string