C# Class withSIX.Sync.Core.Legacy.HostChecker

Inheritance: IHostChecker
Datei anzeigen Open project: SIXNetworks/withSIX.Desktop

Public Methods

Method Description
GetHostType ( Uri host ) : HostType
HostChecker ( Func protocolPreference ) : System
SortAndValidateHosts ( IEnumerable hosts ) : IEnumerable
ValidateHost ( Uri host ) : bool

Protected Methods

Method Description
SortHosts ( IEnumerable hosts ) : IOrderedEnumerable

Private Methods

Method Description
OrderByRsync ( IEnumerable hosts ) : IOrderedEnumerable
OrderByZsync ( IEnumerable hosts ) : IOrderedEnumerable
SortHostsInternal ( IEnumerable hosts ) : IOrderedEnumerable
ValidateHosts ( IEnumerable hosts ) : IEnumerable

Method Details

GetHostType() public method

public GetHostType ( Uri host ) : HostType
host System.Uri
return HostType

HostChecker() public method

public HostChecker ( Func protocolPreference ) : System
protocolPreference Func
return System

SortAndValidateHosts() public method

public SortAndValidateHosts ( IEnumerable hosts ) : IEnumerable
hosts IEnumerable
return IEnumerable

SortHosts() protected method

protected SortHosts ( IEnumerable hosts ) : IOrderedEnumerable
hosts IEnumerable
return IOrderedEnumerable

ValidateHost() public method

public ValidateHost ( Uri host ) : bool
host System.Uri
return bool