Skip to content

Commit d29f34b

Browse files
authored
1 parent f8cbf90 commit d29f34b

File tree

55 files changed

+88
-88
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+88
-88
lines changed

src/Microsoft.Management.UI.Internal/HelpWindow/HelpParagraphBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ private static PSPropertyInfo GetProperty(PSObject psObj, string propertyName)
147147
/// </summary>
148148
/// <param name="psObj">PSObject that contains another PSObject as a property.</param>
149149
/// <param name="psObjectName">Property name that contains the PSObject.</param>
150-
/// <param name="propertyName">Property name in thye inner PSObject.</param>
150+
/// <param name="propertyName">Property name in the inner PSObject.</param>
151151
/// <returns>The string from the inner psObject property or null if it could not be retrieved.</returns>
152152
private static string GetInnerPSObjectPropertyString(PSObject psObj, string psObjectName, string propertyName)
153153
{

src/Microsoft.Management.UI.Internal/HelpWindow/HelpViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ private void SetMatchesLabel()
268268
}
269269

270270
/// <summary>
271-
/// Called internally to notify when a proiperty changed.
271+
/// Called internally to notify when a property changed.
272272
/// </summary>
273273
/// <param name="propertyName">Property name.</param>
274274
private void OnNotifyPropertyChanged(string propertyName)

src/Microsoft.Management.UI.Internal/HelpWindow/ParagraphBuilder.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,12 @@ internal Paragraph Paragraph
7777
/// <summary>
7878
/// Called after all the AddText calls have been made to build the paragraph
7979
/// based on the current text.
80-
/// This method goes over 3 collections simultaneouslly:
80+
/// This method goes over 3 collections simultaneously:
8181
/// 1) characters in this.textBuilder
8282
/// 2) spans in this.boldSpans
8383
/// 3) spans in this.highlightedSpans
8484
/// And adds the minimal number of Inlines to the paragraph so that all
85-
/// characters that should be bold and/or highlighed are.
85+
/// characters that should be bold and/or highlighted are.
8686
/// </summary>
8787
internal void BuildParagraph()
8888
{
@@ -234,11 +234,11 @@ private static void AddInline(Paragraph currentParagraph, bool currentBold, bool
234234
}
235235

236236
/// <summary>
237-
/// This is an auxiliar method in BuildParagraph to move the current bold or highlighed spans
237+
/// This is an auxiliar method in BuildParagraph to move the current bold or highlighted spans
238238
/// according to the <paramref name="caracterPosition"/>
239-
/// The current bold and higlighed span should be ending ahead of the current position.
239+
/// The current bold and highlighted span should be ending ahead of the current position.
240240
/// Moves <paramref name="currentSpanIndex"/> and <paramref name="currentSpan"/> to the
241-
/// propper span in <paramref name="allSpans"/> according to the <paramref name="caracterPosition"/>
241+
/// proper span in <paramref name="allSpans"/> according to the <paramref name="caracterPosition"/>
242242
/// This is an auxiliar method in BuildParagraph.
243243
/// </summary>
244244
/// <param name="currentSpanIndex">Current index within <paramref name="allSpans"/>.</param>
@@ -290,7 +290,7 @@ private void AddHighlight(int start, int length)
290290
}
291291

292292
/// <summary>
293-
/// Called internally to notify when a proiperty changed.
293+
/// Called internally to notify when a property changed.
294294
/// </summary>
295295
/// <param name="propertyName">Property name.</param>
296296
private void OnNotifyPropertyChanged(string propertyName)
@@ -303,7 +303,7 @@ private void OnNotifyPropertyChanged(string propertyName)
303303
}
304304

305305
/// <summary>
306-
/// A text span used to mark bold and highlighed segments.
306+
/// A text span used to mark bold and highlighted segments.
307307
/// </summary>
308308
internal struct TextSpan
309309
{

src/Microsoft.Management.UI.Internal/HelpWindow/ParagraphSearcher.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,10 +202,10 @@ private static Paragraph GetParagraph(Run run)
202202
}
203203

204204
/// <summary>
205-
/// Returns true if the run is the fiorst run of the paragraph.
205+
/// Returns true if the run is the first run of the paragraph.
206206
/// </summary>
207207
/// <param name="run">Run to check.</param>
208-
/// <returns>True if the run is the fiorst run of the paragraph.</returns>
208+
/// <returns>True if the run is the first run of the paragraph.</returns>
209209
private static bool IsFirstRun(Run run)
210210
{
211211
Paragraph paragraph = GetParagraph(run);

src/Microsoft.Management.UI.Internal/ManagementList/Common/DataRoutedEventArgs.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace Microsoft.Management.UI.Internal
1111
{
1212
/// <summary>
1313
/// Routed event args which provide the ability to attach an
14-
/// arbitrary peice of data.
14+
/// arbitrary piece of data.
1515
/// </summary>
1616
/// <typeparam name="T">There are no restrictions on type T.</typeparam>
1717
[SuppressMessage("Microsoft.MSInternal", "CA903:InternalNamespaceShouldNotContainPublicTypes")]

src/Microsoft.Management.UI.Internal/ManagementList/Common/DismissiblePopup.Generated.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace Microsoft.Management.UI.Internal
1111
{
1212

1313
/// <summary>
14-
/// A popup which child controls can signal to be dimissed.
14+
/// A popup which child controls can signal to be dismissed.
1515
/// </summary>
1616
/// <remarks>
1717
/// If a control wants to dismiss the popup then they should execute the DismissPopupCommand on a target in the popup window.

src/Microsoft.Management.UI.Internal/ShowCommand/Controls/ParameterSetControl.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ private void AddControlToMainGrid(UIElement uiControl)
363363
}
364364

365365
/// <summary>
366-
/// Creates a Lable control and add it to MainGrid.
366+
/// Creates a Label control and add it to MainGrid.
367367
/// </summary>
368368
/// <param name="parameterViewModel">DataContext object.</param>
369369
/// <param name="rowNumber">Row number.</param>

src/Microsoft.Management.UI.Internal/ShowCommand/ViewModel/CommandViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ public string GetScript()
457457
}
458458

459459
/// <summary>
460-
/// Showing help information for current actived cmdlet.
460+
/// Showing help information for current active cmdlet.
461461
/// </summary>
462462
public void OpenHelpWindow()
463463
{

src/Microsoft.Management.UI.Internal/ShowCommand/ViewModel/ParameterSetViewModel.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,12 +226,12 @@ internal static int Compare(ParameterViewModel source, ParameterViewModel target
226226
#endregion
227227

228228
/// <summary>
229-
/// Gets the delimited poarameter if it needs delimitation and is not delimited.
229+
/// Gets the delimited parameter if it needs delimitation and is not delimited.
230230
/// </summary>
231231
/// <param name="parameterValue">Value needing delimitation.</param>
232232
/// <param name="openDelimiter">Open delimitation.</param>
233233
/// <param name="closeDelimiter">Close delimitation.</param>
234-
/// <returns>The delimited poarameter if it needs delimitation and is not delimited.</returns>
234+
/// <returns>The delimited parameter if it needs delimitation and is not delimited.</returns>
235235
private static string GetDelimitedParameter(string parameterValue, string openDelimiter, string closeDelimiter)
236236
{
237237
string parameterValueTrimmed = parameterValue.Trim();

src/Microsoft.Management.UI.Internal/commandHelpers/HelpWindowHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
namespace Microsoft.PowerShell.Commands.Internal
1414
{
1515
/// <summary>
16-
/// Implements thw WPF window part of the ShowWindow option of get-help.
16+
/// Implements the WPF window part of the ShowWindow option of get-help.
1717
/// </summary>
1818
internal static class HelpWindowHelper
1919
{

0 commit comments

Comments
 (0)