Skip to content

Commit b5fc2f3

Browse files
authored
Use xml documentation child blocks correctly (#14249)
1 parent 17b3375 commit b5fc2f3

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

src/Microsoft.Management.Infrastructure.CimCmdlets/CimSessionProxy.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,20 +91,20 @@ internal InvocationContext(string computerName, CimInstance targetCimInstance)
9191
/// <para>
9292
/// ComputerName of the session
9393
/// </para>
94+
/// </summary>
9495
/// <remarks>
9596
/// return value could be null
9697
/// </remarks>
97-
/// </summary>
9898
internal virtual string ComputerName { get; }
9999

100100
/// <summary>
101101
/// <para>
102102
/// CimInstance on which the current operation against.
103103
/// </para>
104+
/// </summary>
104105
/// <remarks>
105106
/// return value could be null
106107
/// </remarks>
107-
/// </summary>
108108
internal virtual CimInstance TargetCimInstance { get; }
109109
}
110110
#endregion

src/Microsoft.Management.Infrastructure.CimCmdlets/NewCimSessionCommand.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public PasswordAuthenticationMechanism Authentication
9797
/// </para>
9898
/// <para>
9999
/// The unit is Second.
100-
/// <para>
100+
/// </para>
101101
/// </summary>
102102
[Alias(AliasOT)]
103103
[Parameter(ValueFromPipelineByPropertyName = true)]
@@ -153,9 +153,11 @@ public UInt32 Port
153153
/// If the argument is not given, a default SessionOption will be created for
154154
/// the session in .NET API layer.
155155
/// </para>
156+
/// <para>
156157
/// If a <see cref="DCOMSessionOption"/> object is passed, then
157158
/// connection is made using DCOM. If a <see cref="WsManSessionOption"/>
158159
/// object is passed, then connection is made using WsMan.
160+
/// </para>
159161
/// </summary>
160162
[Parameter(ValueFromPipelineByPropertyName = true)]
161163
public Microsoft.Management.Infrastructure.Options.CimSessionOptions SessionOption { get; set; }

src/Microsoft.Management.Infrastructure.CimCmdlets/SetCimInstanceCommand.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,10 @@ public IDictionary Property
256256
private IDictionary property;
257257

258258
/// <summary>
259+
/// <para>
259260
/// The following is the definition of the input parameter "PassThru",
260261
/// indicate whether Set-CimInstance should output modified result instance or not.
262+
/// </para>
261263
/// <para>
262264
/// True indicates output the result instance, otherwise output nothing as by default
263265
/// behavior.

src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/ConvertToJsonCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public int Depth
7272
/// <summary>
7373
/// Specifies how strings are escaped when writing JSON text.
7474
/// If the EscapeHandling property is set to EscapeHtml, the result JSON string will
75-
/// be returned with HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped.
75+
/// be returned with HTML (&lt;, &gt;, &amp;, ', ") and control characters (e.g. newline) are escaped.
7676
/// </summary>
7777
[Parameter]
7878
public StringEscapeHandling EscapeHandling { get; set; } = StringEscapeHandling.Default;

0 commit comments

Comments
 (0)