Skip to content

Commit

Permalink
doc(service-client): Added extra comments to clarify true and false i…
Browse files Browse the repository at this point in the history
…n dispose (#1805)
  • Loading branch information
vinagesh committed Mar 22, 2021
1 parent a6d21e6 commit 9a9140c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion iothub/device/src/DeviceClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,8 @@ public void Dispose()
/// Releases the unmanaged resources used by the DeviceClient and allows for any derived class to override and
/// provide custom implementation.
/// </summary>
/// <param name="disposing">Setting to true will release both managed and unmanaged resources.</param>
/// <param name="disposing">Setting to true will release both managed and unmanaged resources. Setting to
/// false will only release the unmanaged resources.</param>
protected virtual void Dispose(bool disposing)
{
if (disposing)
Expand Down
3 changes: 2 additions & 1 deletion iothub/device/src/ModuleClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,8 @@ public void Dispose()
/// Releases the unmanaged resources used by the ModuleClient and allows for any derived class to override and
/// provide custom implementation.
/// </summary>
/// <param name="disposing">Setting to true will release both managed and unmanaged resources.</param>
/// <param name="disposing">Setting to true will release both managed and unmanaged resources. Setting to
/// false will only release the unmanaged resources.</param>
protected virtual void Dispose(bool disposing)
{
if (disposing)
Expand Down

0 comments on commit 9a9140c

Please sign in to comment.