C# Class Microsoft.VisualStudio.Package.Url

This class wraps the Uri class and provides an unescaped "LocalPath" for file URL's and an unescaped AbsoluteUri for other schemes, plus it also returned an un-hex-escaped result from MakeRelative so it can be presented to the user.
Afficher le fichier Open project: mimura1133/vstex

Méthodes publiques

Méthode Description
GetPartial ( int i ) : string
GetRemainder ( int i ) : string
GetSegments ( ) : string[]
JoinSegments ( int i, int j ) : string
MakeRelative ( Url url ) : string
Move ( Url oldBase, Url newBase ) : Url
Unescape ( string escaped, bool isFile ) : string
Url ( Url baseUrl, string relpath ) : System
Url ( string path ) : System

Private Methods

Méthode Description
CheckIsFile ( ) : void
EscapedAscii ( char digit, char next ) : char
Init ( string path ) : void

Method Details

GetPartial() public méthode

public GetPartial ( int i ) : string
i int
Résultat string

GetRemainder() public méthode

public GetRemainder ( int i ) : string
i int
Résultat string

GetSegments() public méthode

public GetSegments ( ) : string[]
Résultat string[]

JoinSegments() public méthode

public JoinSegments ( int i, int j ) : string
i int
j int
Résultat string

MakeRelative() public méthode

public MakeRelative ( Url url ) : string
url Url
Résultat string

Move() public méthode

public Move ( Url oldBase, Url newBase ) : Url
oldBase Url
newBase Url
Résultat Url

Unescape() public static méthode

public static Unescape ( string escaped, bool isFile ) : string
escaped string
isFile bool
Résultat string

Url() public méthode

public Url ( Url baseUrl, string relpath ) : System
baseUrl Url
relpath string
Résultat System

Url() public méthode

public Url ( string path ) : System
path string
Résultat System