C# Class Hyena.SafeUri

Exibir arquivo Open project: GNOME/hyena Class Usage Examples

Public Methods

Method Description
Equals ( object o ) : bool
FilenameToUri ( string localPath ) : string
GetHashCode ( ) : int
SafeUri ( Uri uri ) : System
SafeUri ( string uri ) : System
SafeUri ( string uriOrFilename, bool isUri ) : System
ToString ( ) : string
UriToFilename ( SafeUri uri ) : string
UriToFilename ( string uri ) : string

Private Methods

Method Description
g_filename_from_uri ( IntPtr uri, IntPtr hostname, IntPtr error ) : IntPtr
g_filename_from_uri_utf8 ( IntPtr uri, IntPtr hostname, IntPtr error ) : IntPtr
g_filename_to_uri ( IntPtr filename, IntPtr hostname, IntPtr error ) : IntPtr
g_filename_to_uri_utf8 ( IntPtr filename, IntPtr hostname, IntPtr error ) : IntPtr

Method Details

Equals() public method

public Equals ( object o ) : bool
o object
return bool

FilenameToUri() public static method

public static FilenameToUri ( string localPath ) : string
localPath string
return string

GetHashCode() public method

public GetHashCode ( ) : int
return int

SafeUri() public method

public SafeUri ( Uri uri ) : System
uri System.Uri
return System

SafeUri() public method

public SafeUri ( string uri ) : System
uri string
return System

SafeUri() public method

public SafeUri ( string uriOrFilename, bool isUri ) : System
uriOrFilename string
isUri bool
return System

ToString() public method

public ToString ( ) : string
return string

UriToFilename() public static method

public static UriToFilename ( SafeUri uri ) : string
uri SafeUri
return string

UriToFilename() public static method

public static UriToFilename ( string uri ) : string
uri string
return string