C# Class D2L.Extensibility.AuthSdk.HostSpec

Provides a convenient way of storing and passing server connection information to the library
显示文件 Open project: Brightspace/valence-sdk-dotnet Class Usage Examples

Public Methods

Method Description
HostSpec ( string scheme, string host, int port ) : System

Constructs a HostSpec with the provided parameters

ToUriBuilder ( ) : UriBuilder

Returns a UriBuilder for the HostSpec

Method Details

HostSpec() public method

Constructs a HostSpec with the provided parameters
public HostSpec ( string scheme, string host, int port ) : System
scheme string The scheme used for communicating with the server (http, https, etc.)
host string The host name of the server
port int The port to communicate with the server on
return System

ToUriBuilder() public method

Returns a UriBuilder for the HostSpec
public ToUriBuilder ( ) : UriBuilder
return System.UriBuilder