Skip to content

Commit

Permalink
Fix Az.IotHub XML Comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ziyuezh576 committed Jun 10, 2022
1 parent 80ea23c commit 2ec6281
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 7 deletions.
9 changes: 9 additions & 0 deletions src/IotHub/IotHub/IotHub.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@

<PropertyGroup>
<RootNamespace>Commands.$(PsModuleName)</RootNamespace>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<NoWarn>1701;1702;1591</NoWarn>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<NoWarn>1701;1702;1591</NoWarn>
</PropertyGroup>

<ItemGroup>
Expand Down
8 changes: 4 additions & 4 deletions src/IotHub/IotHub/IotHub/DataPlane/Models/PSDevice.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,25 +50,25 @@ public class PSDevice
public PSDeviceStatus Status { get; set; }

/// <summary>
/// Reason, if any, for the Device to be in specified <see cref="StatusReason"/>
/// Reason, if any, for the Device to be in specified <see cref="Status"/>
/// </summary>
[JsonProperty(PropertyName = "statusReason")]
public string StatusReason { get; set; }

/// <summary>
/// Time when the <see cref="ConnectionStateUpdatedTime"/> was last updated
/// Time when the <see cref="ConnectionState"/> was last updated
/// </summary>
[JsonProperty(PropertyName = "connectionStateUpdatedTime")]
public DateTime ConnectionStateUpdatedTime { get; set; }

/// <summary>
/// Time when the <see cref="StatusUpdatedTime"/> was last updated
/// Time when the <see cref="Status"/> was last updated
/// </summary>
[JsonProperty(PropertyName = "statusUpdatedTime")]
public DateTime StatusUpdatedTime { get; set; }

/// <summary>
/// Time when the <see cref="LastActivityTime"/> was last active
/// Time when the <see cref="PSDevice"/> was last active
/// </summary>
[JsonProperty(PropertyName = "lastActivityTime")]
public DateTime LastActivityTime { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion src/IotHub/IotHub/IotHub/DataPlane/Models/PSDeviceTwin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public class PSDeviceTwin
public DateTime StatusUpdatedTime { get; set; }

/// <summary>
/// Time when the <see cref="LastActivityTime"/> was last active.
/// Time when the <see cref="PSDevice"/> was last active.
/// </summary>
[JsonProperty(DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate)]
public DateTime LastActivityTime { get; set; }
Expand Down
4 changes: 2 additions & 2 deletions src/IotHub/IotHub/IotHub/DataPlane/Models/PSModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ public class PSModule
public PSDeviceConnectionState ConnectionState { get; set; }

/// <summary>
/// Time when the <see cref="ConnectionStateUpdatedTime"/> was last updated
/// Time when the <see cref="ConnectionState"/> was last updated
/// </summary>
[JsonProperty(PropertyName = "connectionStateUpdatedTime")]
public DateTime ConnectionStateUpdatedTime { get; set; }

/// <summary>
/// Time when the <see cref="LastActivityTime"/> was last active
/// Time when the <see cref="PSDevice"/> was last active
/// </summary>
[JsonProperty(PropertyName = "lastActivityTime")]
public DateTime LastActivityTime { get; set; }
Expand Down

0 comments on commit 2ec6281

Please sign in to comment.