C# Class Microsoft.Alm.Authentication.TargetUri

Represents a potentially proxied Uri.
Show file Open project: Microsoft/Git-Credential-Manager-for-Windows Class Usage Examples

Public Properties

Property Type Description
ActualUri System.Uri
ProxyUri System.Uri
QueryUri System.Uri

Public Methods

Method Description
IsBaseOf ( TargetUri targetUri ) : bool

Determines whether the QueryUri is a base of the specified targetUri.

IsBaseOf ( Uri uri ) : bool

Determines whether the QueryUri is a base of the specified Uri.

TargetUri ( Uri target ) : System
TargetUri ( Uri actualUri, Uri queryUri, Uri proxyUri ) : System
TargetUri ( string targetUrl ) : System
TargetUri ( string actualUrl, string queryUrl, string proxyUrl ) : System
ToString ( ) : string

Gets a canonical string representation for the QueryUri.

Method Details

IsBaseOf() public method

Determines whether the QueryUri is a base of the specified targetUri.
public IsBaseOf ( TargetUri targetUri ) : bool
targetUri TargetUri The to test.
return bool

IsBaseOf() public method

Determines whether the QueryUri is a base of the specified Uri.
public IsBaseOf ( Uri uri ) : bool
uri System.Uri The to test.
return bool

TargetUri() public method

public TargetUri ( Uri target ) : System
target System.Uri
return System

TargetUri() public method

public TargetUri ( Uri actualUri, Uri queryUri, Uri proxyUri ) : System
actualUri System.Uri
queryUri System.Uri
proxyUri System.Uri
return System

TargetUri() public method

public TargetUri ( string targetUrl ) : System
targetUrl string
return System

TargetUri() public method

public TargetUri ( string actualUrl, string queryUrl, string proxyUrl ) : System
actualUrl string
queryUrl string
proxyUrl string
return System

ToString() public method

Gets a canonical string representation for the QueryUri.
public ToString ( ) : string
return string

Property Details

ActualUri public property

The actual Uri of the target.
public Uri,System ActualUri
return System.Uri

ProxyUri public property

The proxy Uri of the target if it exists; otherwise .
public Uri,System ProxyUri
return System.Uri

QueryUri public property

Gets the Uri that should be used for all queries.
public Uri,System QueryUri
return System.Uri