C# Class CalDavSynchronizer.DataAccess.WebDavDataAccess.UriHelper

Since Uri.Compare() cannot compare relative Uris and ignoring escapes, all Uris have to be unescaped when entering CalDavSynchronizer
Mostrar archivo Open project: aluxnimm/outlookcaldavsynchronizer

Public Methods

Method Description
AlignServerUrl ( Uri configuredServerUrl, WebResourceName referenceResourceNameOrNull ) : Uri
DecodeUrlString ( string url ) : string
UnescapeRelativeUri ( Uri baseUri, string relativeUriString ) : Uri

Method Details

AlignServerUrl() public static method

public static AlignServerUrl ( Uri configuredServerUrl, WebResourceName referenceResourceNameOrNull ) : Uri
configuredServerUrl System.Uri
referenceResourceNameOrNull WebResourceName
return System.Uri

DecodeUrlString() public static method

public static DecodeUrlString ( string url ) : string
url string
return string

UnescapeRelativeUri() public static method

public static UnescapeRelativeUri ( Uri baseUri, string relativeUriString ) : Uri
baseUri System.Uri
relativeUriString string
return System.Uri