8000 Fix spelling in XML docs (#15939) · PowerShell/PowerShell@55855fb · GitHub
[go: up one dir, main page]

Skip to content

Commit 55855fb

Browse files
authored
Fix spelling in XML docs (#15939)
1 parent a162856 commit 55855fb

File tree

26 files changed

+48
-48
lines changed
< 8000 /div>

26 files changed

+48
-48
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -690,7 +690,7 @@ private static void FormatMethodData(PSObject member, string name, out string me
690690
{
691691
parameterType = GetPropertyString(parameterTypeData, "name");
692692

693-
// If there is no type for the paramter, we expect it is System.Object
693+
// If there is no type for the parameter, we expect it is System.Object
694694
if (string.IsNullOrEmpty(parameterType))
695695
{
696696
parameterType = "object";

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

Lines changed: 2 additions & 2 deletions
< 27B5 tbody>
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ internal void BuildParagraph()
128128
}
129129

130130
/// <summary>
131-
/// Highlights all ocurrences of <paramref name="search"/>.
131+
/// Highlights all occurrences of <paramref name="search"/>.
132132
/// This is called after all calls to AddText have been made.
133133
/// </summary>
134134
/// <param name="search">Search string.</param>
@@ -249,7 +249,7 @@ private static void AddInline(Paragraph currentParagraph, bool currentBold, bool
249249
/// </summary>
250250
/// <param name="currentSpanIndex">Current index within <paramref name="allSpans"/>.</param>
251251
/// <param name="currentSpan">Current span within <paramref name="allSpans"/>.</param>
252-
/// <param name="caracterPosition">Caracter position. This comes from a position within this.textBuilder.</param>
252+
/// <param name="caracterPosition">Character position. This comes from a position within this.textBuilder.</param>
253253
/// <param name="allSpans">The collection of spans. This is either this.boldSpans or this.highlightedSpans.</param>
254254
private static void MoveSpanToPosition(ref int currentSpanIndex, ref TextSpan? currentSpan, int caracterPosition, List<TextSpan> allSpans)
255255
{

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ internal Run MoveAndHighlightNextNextMatch(bool forward, TextPointer caretPositi
5656
}
5757

5858
// If the caret is in the end of a highlight we move to the adjacent run
59-
// It has to be in the end because if there is a match at the begining of the file
59+
// It has to be in the end because if there is a match at the beginning of the file
6060
// and the caret has not been touched (so it is in the beginning of the file too)
6161
// we want to highlight this first match.
6262
// Considering the caller allways set the caret to the end of the highlight

src/Microsoft.Management.UI.Internal/ManagementList/FilterCore/FilterEvaluator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
namespace Microsoft.Management.UI.Internal
1010
{
1111
/// <summary>
12-
/// The FilterEvaluator class is responsible for allowing the registeration of
12+
/// The FilterEvaluator class is responsible for allowing the registration of
1313
/// the FilterExpressionProviders and producing a FilterExpression composed of
1414
/// the FilterExpression returned from the providers.
1515
/// </summary>

src/Microsoft.Management.UI.Internal/ManagementList/FilterCore/IEvaluate.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public interface IEvaluate
1313
{
1414
/// <summary>
1515
/// Gets a values indicating whether the supplied item has meet the
16-
/// criteria rule specificed by the rule.
16+
/// criteria rule specified by the rule.
1717
/// </summary>
1818
/// <param name="item">
1919
/// The item to evaluate.

src/Microsoft.Management.UI.Internal/ManagementList/FilterProviders/FilterRulePanelItem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public FilterRule Rule
2525
}
2626

2727
/// <summary>
28-
/// Gets a string that indentifies which group this
28+
/// Gets a string that identifies which group this
2929
/// item belongs to.
3030
/// </summary>
3131
public string GroupId

src/Microsoft.Management.UI.Internal/ManagementList/ManagementList/Innerlist.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ protected override void OnItemsSourceChanged(System.Collections.IEnumerable oldV
296296

297297
this.itemsSourceIsEmpty = this.ItemsSource != null && this.ItemsSource.GetEnumerator().MoveNext() == false;
298298

299-
// A view can be created if there is data to auto-generate columns, or columns are added programatically \\
299+
// A view can be created if there is data to auto-generate columns, or columns are added programmatically \\
300300
bool canCreateView = (this.ItemsSource != null) &&
301301
(this.itemsSourceIsEmpty == false || this.AutoGenerateColumns == false);
302302

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ public void OpenHelpWindow()
465465
}
466466

467467
/// <summary>
468-
/// Determins whether current command name and a specifed ParameterSetName have same name.
468+
/// Determines whether current command name and a specified ParameterSetName have same name.
469469
/// </summary>
470470
/// <param name="name">The name of ShareParameterSet.</param>
471471
/// <returns>Return true is ShareParameterSet. Else return false.</returns>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ internal void RefreshFilteredCommands(string filter)
373373
}
374374

375375
/// <summary>
376-
/// Callled in response to a GUI event that requires the command to be run.
376+
/// Called in response to a GUI event that requires the command to be run.
377377
/// </summary>
378378
internal void OnRunSelectedCommand()
379379
{

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public class ParameterSetViewModel : INotifyPropertyChanged
3939
/// Initializes a new instance of the ParameterSetViewModel class.
4040
/// </summary>
4141
/// <param name="name">The name of the parameterSet.</param>
42-
/// <param name="parameters">The array parametes of the parameterSet.</param>
42+
/// <param name="parameters">The array parameters of the parameterSet.</param>
4343
[SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Justification = "this type is internal, made public only for WPF Binding")]
4444
public ParameterSetViewModel(
4545
string name,

0 commit comments

Comments
 (0)
0