WindowsDevicePortalWrapper  0.9.0.0
A client library that wraps the Windows Device Portal REST APIs.
Public Member Functions | Properties | List of all members
Microsoft.Tools.WindowsDevicePortal.Tests.MockDevicePortalConnection Class Reference

Mock implementation of IDevicePortalConnection More...

Inheritance diagram for Microsoft.Tools.WindowsDevicePortal.Tests.MockDevicePortalConnection:
Microsoft.Tools.WindowsDevicePortal.IDevicePortalConnection

Public Member Functions

 MockDevicePortalConnection ()
 Initializes a new instance of the MockDevicePortalConnection class. More...
 
void UpdateConnection (bool requiresHttps)
 The Mock will never update the connection. More...
 
void UpdateConnection (IpConfiguration ipConfig, bool requiresHttps)
 The Mock will never update the connection. More...
 

Properties

Uri Connection [get]
 Gets Connection property More...
 
Uri WebSocketConnection [get]
 Gets Web Socket Connection property More...
 
NetworkCredential Credentials [get]
 Gets Credentials property More...
 
string Family [get, set]
 Gets or sets device family More...
 
OperatingSystemInformation OsInfo [get, set]
 Gets or sets device OS Info More...
 
- Properties inherited from Microsoft.Tools.WindowsDevicePortal.IDevicePortalConnection
Uri Connection [get]
 Gets the base uri (ex: http://localhost) used to communicate with the device. More...
 
Uri WebSocketConnection [get]
 Gets the base uri (ex: ws://localhost) used to communicate with web sockets on the device. More...
 
NetworkCredential Credentials [get]
 Gets the credentials used when communicating with the device. More...
 
string Family [get, set]
 Gets or sets the family of the device (ex: Windows.Holographic). More...
 
OperatingSystemInformation OsInfo [get, set]
 Gets or sets information describing the operating system installed on the device. More...
 

Detailed Description

Mock implementation of IDevicePortalConnection

Constructor & Destructor Documentation

Microsoft.Tools.WindowsDevicePortal.Tests.MockDevicePortalConnection.MockDevicePortalConnection ( )
inline

Initializes a new instance of the MockDevicePortalConnection class.

Member Function Documentation

void Microsoft.Tools.WindowsDevicePortal.Tests.MockDevicePortalConnection.UpdateConnection ( bool  requiresHttps)
inline

The Mock will never update the connection.

Parameters
requiresHttpshttps required

Implements Microsoft.Tools.WindowsDevicePortal.IDevicePortalConnection.

void Microsoft.Tools.WindowsDevicePortal.Tests.MockDevicePortalConnection.UpdateConnection ( IpConfiguration  ipConfig,
bool  requiresHttps 
)
inline

The Mock will never update the connection.

Parameters
ipConfigIP info
requiresHttpshttps required

Implements Microsoft.Tools.WindowsDevicePortal.IDevicePortalConnection.

Property Documentation

Uri Microsoft.Tools.WindowsDevicePortal.Tests.MockDevicePortalConnection.Connection
get

Gets Connection property

NetworkCredential Microsoft.Tools.WindowsDevicePortal.Tests.MockDevicePortalConnection.Credentials
get

Gets Credentials property

string Microsoft.Tools.WindowsDevicePortal.Tests.MockDevicePortalConnection.Family
getset

Gets or sets device family

OperatingSystemInformation Microsoft.Tools.WindowsDevicePortal.Tests.MockDevicePortalConnection.OsInfo
getset

Gets or sets device OS Info

Uri Microsoft.Tools.WindowsDevicePortal.Tests.MockDevicePortalConnection.WebSocketConnection
get

Gets Web Socket Connection property


The documentation for this class was generated from the following file: