This repository has been archived by the owner on Nov 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 225
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(gh-pages): Fixing scrip to conditionally generate docs (#173)
- Loading branch information
Showing
6 changed files
with
59 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
iot-hub/Samples/service/DeviceStreamingSample/Parameters.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
using CommandLine; | ||
using Microsoft.Azure.Devices; | ||
|
||
namespace ServiceClientStreamingSample | ||
{ | ||
/// <summary> | ||
/// Parameters for the application. | ||
/// </summary> | ||
internal class Parameters | ||
{ | ||
[Option( | ||
'c', | ||
"HubConnectionString", | ||
Required = true, | ||
HelpText = "The connection string of the IoT Hub instance to connect to.")] | ||
public string HubConnectionString { get; set; } | ||
|
||
[Option( | ||
'd', | ||
"DeviceId", | ||
Required = true, | ||
HelpText = "The Id of the device to connect to.")] | ||
public string DeviceId { get; set; } | ||
|
||
[Option( | ||
't', | ||
"TransportType", | ||
Default = TransportType.Amqp, | ||
Required = false, | ||
HelpText = "The transport to use to communicate with the IoT Hub. Possible values include Amqp and Amqp_WebSocket_Only.")] | ||
public TransportType TransportType { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters