C# 클래스 URSA.Web.Http.HttpUrl

Represents an HTTP/HTTPS url.
상속: IpUrl
파일 보기 프로젝트 열기: alien-mcl/URSA 1 사용 예제들

공개 메소드들

메소드 설명
Equals ( object obj ) : bool
GetHashCode ( ) : int
ToString ( ) : string
WithFragment ( string fragment, ExistingFragment handledAs = ExistingFragment.Throw ) : HttpUrl

Withes the fragment.

Depending on the existing fragment and the fragment being set, output may differ. Setting a null value will remove the fragment regardless the handledAs setting.

operator ( ) : HttpUrl

Adds two URLs.

One of the operands should be a relative URL.

보호된 메소드들

메소드 설명
CreateInstance ( IEnumerable segments, bool requiresParameters = false ) : IpUrl

비공개 메소드들

메소드 설명
HttpUrl ( bool isAbsolute, string url, string scheme, string host, ushort port, string path, ParametersCollection query, string fragment ) : System
ToAbsoluteString ( string scheme, string host, ushort port, string path = null, ParametersCollection query = null, string fragment = null ) : string
ToRelativeString ( string path, ParametersCollection query = null, string fragment = null ) : string

메소드 상세

CreateInstance() 보호된 메소드

protected CreateInstance ( IEnumerable segments, bool requiresParameters = false ) : IpUrl
segments IEnumerable
requiresParameters bool
리턴 IpUrl

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

WithFragment() 공개 메소드

Withes the fragment.
Depending on the existing fragment and the fragment being set, output may differ. Setting a null value will remove the fragment regardless the handledAs setting.
public WithFragment ( string fragment, ExistingFragment handledAs = ExistingFragment.Throw ) : HttpUrl
fragment string The fragment.
handledAs ExistingFragment Instructs on how to behave when an URL has already a fragment.
리턴 HttpUrl

operator() 공개 정적인 메소드

Adds two URLs.
One of the operands should be a relative URL.
public static operator ( ) : HttpUrl
리턴 HttpUrl