mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Spelling comments (#2066)
* spelling: comments in src/Microsoft.Management.Infrastructure.CimCmdlets * spelling: comments in src/Microsoft.PackageManagement.ArchiverProviders * spelling: comments in src/Microsoft.PackageManagement.CoreProviders * spelling: comments in src/Microsoft.PackageManagement.MetaProvider.PowerShell * spelling: comments in src/Microsoft.PackageManagement.MsiProvider * spelling: comments in src/Microsoft.PackageManagement.MsuProvider * spelling: comments in src/Microsoft.PackageManagement.NuGetProvider * spelling: comments in src/Microsoft.PackageManagement.PackageSourceListProvider * spelling: comments in src/Microsoft.PackageManagement * spelling: comments in src/Microsoft.PowerShell.Activities * spelling: comments in src/Microsoft.PowerShell.Commands.Diagnostics * spelling: comments in src/Microsoft.PowerShell.Commands.Management * spelling: comments in src/Microsoft.PowerShell.Commands.Utility * spelling: comments in src/Microsoft.PowerShell.ConsoleHost * spelling: comments in src/Microsoft.PowerShell.Core.Activities * spelling: comments in src/Microsoft.PowerShell.CoreCLR.AssemblyLoadContext * spelling: comments in src/Microsoft.PowerShell.CoreCLR.Eventing * spelling: comments in src/Microsoft.PowerShell.Diagnostics.Activities * spelling: comments in src/Microsoft.PowerShell.GraphicalHost * spelling: comments in src/Microsoft.PowerShell.LocalAccounts * spelling: comments in src/Microsoft.PowerShell.Management.Activities * spelling: comments in src/Microsoft.PowerShell.PSReadLine * spelling: comments in src/Microsoft.PowerShell.PackageManagement * spelling: comments in src/Microsoft.PowerShell.ScheduledJob * spelling: comments in src/Microsoft.PowerShell.Security.Activities * spelling: comments in src/Microsoft.PowerShell.Security * spelling: comments in src/Microsoft.PowerShell.Utility.Activities * spelling: comments in src/Microsoft.PowerShell.Workflow.ServiceCore * spelling: comments in src/Microsoft.WSMan.Management.Activities * spelling: comments in src/Modules * spelling: comments in src/Schemas * spelling: comments in src/libpsl-native * spelling: comments in src/powershell-native * spelling: comments in build.psm1 * spelling: comments in src/System.Management.Automation/CoreCLR * spelling: comments in src/System.Management.Automation/DscSupport * spelling: comments in src/System.Management.Automation/cimSupport * spelling: comments in src/System.Management.Automation/commands * spelling: comments in src/System.Management.Automation/engine/Modules
This commit is contained in:
1 parent
e4f3f8fd69
commit
eb3fd7ae6c
532 files changed
+1091
-1091
No files matched your search
@@ -148,7 +148,7 @@ namespace Microsoft.Management.UI.Internal
|
||||
/// </summary>
|
||||
/// <param name="psObj">PSObject that contains another PSObject as a property</param>
|
||||
/// <param name="psObjectName">property name that contains the PSObject</param>
|
||||
/// <param name="propertyName">property name in thye inner PSObject</param>
|
||||
/// <param name="propertyName">property name in the inner PSObject</param>
|
||||
/// <returns>the string from the inner psObject property or null if it could not be retrieved</returns>
|
||||
private static string GetInnerPSObjectPropertyString(PSObject psObj, string psObjectName, string propertyName)
|
||||
{
|
||||
@@ -200,7 +200,7 @@ namespace Microsoft.Management.UI.Internal
|
||||
/// <summary>
|
||||
/// Gets the text from a property of type PSObject[] where the first object has a text property
|
||||
/// </summary>
|
||||
/// <param name="psObj">objhect to get text from</param>
|
||||
/// <param name="psObj">object to get text from</param>
|
||||
/// <param name="propertyText">property with PSObject[] containing text</param>
|
||||
/// <returns>the text from a property of type PSObject[] where the first object has a text property</returns>
|
||||
private static string GetTextFromArray(PSObject psObj, string propertyText)
|
||||
@@ -683,7 +683,7 @@ namespace Microsoft.Management.UI.Internal
|
||||
{
|
||||
parameterType = GetPropertyString(parameterTypeData, "name");
|
||||
|
||||
//If there is no type for the paramter, we expect it is System.Object
|
||||
//If there is no type for the parameter, we expect it is System.Object
|
||||
if (String.IsNullOrEmpty(parameterType))
|
||||
parameterType = "object";
|
||||
}
|
||||
@@ -900,7 +900,7 @@ namespace Microsoft.Management.UI.Internal
|
||||
/// </summary>
|
||||
/// <param name="setting">true if it should add the segment</param>
|
||||
/// <param name="sectionTitle">title of the section</param>
|
||||
/// <param name="inputOrOutputProperty">property with the outter object</param>
|
||||
/// <param name="inputOrOutputProperty">property with the outer object</param>
|
||||
/// <param name="inputOrOutputInnerProperty">property with the inner object</param>
|
||||
private void AddInputOrOutputEntries(bool setting, string sectionTitle, string inputOrOutputProperty, string inputOrOutputInnerProperty)
|
||||
{
|
||||
|
||||
@@ -274,7 +274,7 @@ namespace Microsoft.Management.UI.Internal
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called internally to notify when a proiperty changed
|
||||
/// Called internally to notify when a property changed
|
||||
/// </summary>
|
||||
/// <param name="propertyName">property name</param>
|
||||
private void OnNotifyPropertyChanged(string propertyName)
|
||||
|
||||
@@ -92,7 +92,7 @@ namespace Microsoft.Management.UI
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Handles key down to fix the Page/Douwn going to end of help issue
|
||||
/// Handles key down to fix the Page/Down going to end of help issue
|
||||
/// And to implement some additional shortcuts like Ctrl+F and ZoomIn/ZoomOut
|
||||
/// </summary>
|
||||
/// <param name="e">event arguments</param>
|
||||
|
||||
@@ -86,12 +86,12 @@ namespace Microsoft.Management.UI.Internal
|
||||
/// <summary>
|
||||
/// Called after all the AddText calls have been made to build the paragraph
|
||||
/// based on the current text.
|
||||
/// This method goes over 3 collections simultaneouslly:
|
||||
/// This method goes over 3 collections simultaneously:
|
||||
/// 1) characters in this.textBuilder
|
||||
/// 2) spans in this.boldSpans
|
||||
/// 3) spans in this.highlightedSpans
|
||||
/// And adds the minimal number of Inlines to the paragraph so that all
|
||||
/// characters that should be bold and/or highlighed are.
|
||||
/// characters that should be bold and/or highlighted are.
|
||||
/// </summary>
|
||||
internal void BuildParagraph()
|
||||
{
|
||||
@@ -134,7 +134,7 @@ namespace Microsoft.Management.UI.Internal
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Highlights all ocurrences of <paramref name="search"/>.
|
||||
/// Highlights all occurrences of <paramref name="search"/>.
|
||||
/// This is called after all calls to AddText have been made
|
||||
/// </summary>
|
||||
/// <param name="search">search string</param>
|
||||
@@ -246,9 +246,9 @@ namespace Microsoft.Management.UI.Internal
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// This is an auxiliar method in BuildParagraph to move the current bold or highlighed spans
|
||||
/// This is an auxiliar method in BuildParagraph to move the current bold or highlighted spans
|
||||
/// according to the <paramref name="caracterPosition"/>
|
||||
/// The current bold and higlighed span should be ending ahead of the current position.
|
||||
/// The current bold and highlighted span should be ending ahead of the current position.
|
||||
/// Moves <paramref name="currentSpanIndex"/> and <paramref name="currentSpan"/> to the
|
||||
/// propper span in <paramref name="allSpans"/> according to the <paramref name="caracterPosition"/>
|
||||
/// This is an auxiliar method in BuildParagraph.
|
||||
@@ -276,7 +276,7 @@ namespace Microsoft.Management.UI.Internal
|
||||
}
|
||||
|
||||
// there is no span ending ahead of current position, so
|
||||
// we set the current span to null to prevent unecessary comparisons against the currentSpan
|
||||
// we set the current span to null to prevent unnecessary comparisons against the currentSpan
|
||||
currentSpan = null;
|
||||
}
|
||||
|
||||
@@ -302,7 +302,7 @@ namespace Microsoft.Management.UI.Internal
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called internally to notify when a proiperty changed
|
||||
/// Called internally to notify when a property changed
|
||||
/// </summary>
|
||||
/// <param name="propertyName">property name</param>
|
||||
private void OnNotifyPropertyChanged(string propertyName)
|
||||
@@ -315,7 +315,7 @@ namespace Microsoft.Management.UI.Internal
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// A text span used to mark bold and highlighed segments
|
||||
/// A text span used to mark bold and highlighted segments
|
||||
/// </summary>
|
||||
internal struct TextSpan
|
||||
{
|
||||
|
||||
@@ -57,15 +57,15 @@ namespace Microsoft.Management.UI.Internal
|
||||
|
||||
if (this.currentHighlightedMatch != null)
|
||||
{
|
||||
// restore the curent highlighted background to plain highlighted
|
||||
// restore the current highlighted background to plain highlighted
|
||||
this.currentHighlightedMatch.Background = ParagraphSearcher.HighlightBrush;
|
||||
}
|
||||
|
||||
// If the caret is in the end of a highlight we move to the adjacent run
|
||||
// It has to be in the end because if there is a match at the begining of the file
|
||||
// It has to be in the end because if there is a match at the beginning of the file
|
||||
// and the caret has not been touched (so it is in the beginning of the file too)
|
||||
// we want to highlight this first match.
|
||||
// Considering the caller allways set the caret to the end of the highlight
|
||||
// Considering the caller always set the caret to the end of the highlight
|
||||
// The condition below works well for successive searchs
|
||||
// We also need to move to the adjacent run if the caret is at the first run and we
|
||||
// are moving backwards so that a search backwards when the first run is highlighted
|
||||
@@ -92,7 +92,7 @@ namespace Microsoft.Management.UI.Internal
|
||||
this.currentHighlightedMatch = currentRun;
|
||||
if (this.currentHighlightedMatch != null)
|
||||
{
|
||||
// restore the curent highligthed background to current highlighted
|
||||
// restore the current highlighted background to current highlighted
|
||||
this.currentHighlightedMatch.Background = ParagraphSearcher.CurrentHighlightBrush;
|
||||
}
|
||||
|
||||
@@ -153,7 +153,7 @@ namespace Microsoft.Management.UI.Internal
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the run of an inline. Inlines in a ParagrahBuilder are either a Run or a Bold
|
||||
/// Gets the run of an inline. Inlines in a ParagraphBuilder are either a Run or a Bold
|
||||
/// which contains a Run
|
||||
/// </summary>
|
||||
/// <param name="inline">inline to get the run from</param>
|
||||
@@ -208,10 +208,10 @@ namespace Microsoft.Management.UI.Internal
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns true if the run is the fiorst run of the paragraph
|
||||
/// Returns true if the run is the first run of the paragraph
|
||||
/// </summary>
|
||||
/// <param name="run">run to check</param>
|
||||
/// <returns>true if the run is the fiorst run of the paragraph</returns>
|
||||
/// <returns>true if the run is the first run of the paragraph</returns>
|
||||
private static bool IsFirstRun(Run run)
|
||||
{
|
||||
Paragraph paragraph = GetParagraph(run);
|
||||
|
||||
@@ -34,7 +34,7 @@ namespace Microsoft.Management.UI.Internal
|
||||
|
||||
#endregion
|
||||
|
||||
#region Overides
|
||||
#region Overrides
|
||||
|
||||
/// <summary>
|
||||
/// Returns the <see cref="System.Windows.Automation.Peers.AutomationPeer"/> implementations for this control.
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Microsoft.Management.UI.Internal
|
||||
|
||||
/// <summary>
|
||||
/// Routed event args which provide the ability to attach an
|
||||
/// arbitrary peice of data.
|
||||
/// arbitrary piece of data.
|
||||
/// </summary>
|
||||
/// <typeparam name="T">There are no restrictions on type T.</typeparam>
|
||||
[SuppressMessage("Microsoft.MSInternal", "CA903:InternalNamespaceShouldNotContainPublicTypes")]
|
||||
|
||||
+1
-1
@@ -21,7 +21,7 @@ namespace Microsoft.Management.UI.Internal
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// A popup which child controls can signal to be dimissed.
|
||||
/// A popup which child controls can signal to be dismissed.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// If a control wants to dismiss the popup then they should execute the DismissPopupCommand on a target in the popup window.
|
||||
|
||||
@@ -169,8 +169,8 @@ namespace Microsoft.Management.UI.Internal
|
||||
/// <remarks>
|
||||
/// Parameter <paramref name="sorted"/> is not generic to type T
|
||||
/// since it may be a collection of a subclass of type T,
|
||||
/// and IEnumerable'subclass is not compatible with
|
||||
/// IEnumerable'baseclass.
|
||||
/// and IEnumerable's subclass is not compatible with
|
||||
/// IEnumerable's baseclass.
|
||||
/// </remarks>
|
||||
public static void ResortObservableCollection<T>(
|
||||
ObservableCollection<T> modify,
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace Microsoft.Management.UI.Internal
|
||||
using System.Diagnostics;
|
||||
|
||||
/// <summary>
|
||||
/// The FilterEvaluator class is responsible for allowing the registeration of
|
||||
/// The FilterEvaluator class is responsible for allowing the registration of
|
||||
/// the FilterExpressionProviders and producing a FilterExpression composed of
|
||||
/// the FilterExpression returned from the providers.
|
||||
/// </summary>
|
||||
|
||||
+1
-1
@@ -27,7 +27,7 @@ namespace Microsoft.Management.UI.Internal
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a string that indentifies which group this
|
||||
/// Gets a string that identifies which group this
|
||||
/// item belongs to.
|
||||
/// </summary>
|
||||
public string GroupId
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@ namespace Microsoft.Management.UI.Internal
|
||||
using System.Globalization;
|
||||
|
||||
/// <summary>
|
||||
/// The InputFieldBackgroundTextConverter is responsible for determing the
|
||||
/// The InputFieldBackgroundTextConverter is responsible for determining the
|
||||
/// correct background text to display for a particular type of data.
|
||||
/// </summary>
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.MSInternal", "CA903:InternalNamespaceShouldNotContainPublicTypes")]
|
||||
|
||||
+2
-2
@@ -39,7 +39,7 @@ namespace Microsoft.Management.UI.Internal
|
||||
private bool canChangeColumns = false;
|
||||
|
||||
/// <summary>
|
||||
/// Instanctiates a new object of this class.
|
||||
/// Instantiates a new object of this class.
|
||||
/// </summary>
|
||||
public InnerListGridView()
|
||||
: this(new ObservableCollection<InnerListColumn>())
|
||||
@@ -257,7 +257,7 @@ namespace Microsoft.Management.UI.Internal
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Syncronizes AvailableColumns and Columns preserving the order from Columns that
|
||||
/// Synchronizes AvailableColumns and Columns preserving the order from Columns that
|
||||
/// comes from the user moving Columns around.
|
||||
/// </summary>
|
||||
private void SynchronizeColumns()
|
||||
|
||||
@@ -303,7 +303,7 @@ namespace Microsoft.Management.UI.Internal
|
||||
|
||||
this.itemsSourceIsEmpty = (null != this.ItemsSource && false == this.ItemsSource.GetEnumerator().MoveNext());
|
||||
|
||||
// A view can be created if there is data to auto-generate columns, or columns are added programatically \\
|
||||
// A view can be created if there is data to auto-generate columns, or columns are added programmatically \\
|
||||
bool canCreateView = (null != this.ItemsSource) &&
|
||||
(false == this.itemsSourceIsEmpty || false == this.AutoGenerateColumns);
|
||||
|
||||
|
||||
+1
-1
@@ -339,7 +339,7 @@ namespace Microsoft.PowerShell.Commands.ShowCommandInternal
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates a Lable control and add it to MainGrid
|
||||
/// Creates a Label control and add it to MainGrid
|
||||
/// </summary>
|
||||
/// <param name="parameterViewModel">DataContext object</param>
|
||||
/// <param name="rowNumber">Row number</param>
|
||||
|
||||
+2
-2
@@ -11,7 +11,7 @@ namespace Microsoft.PowerShell.Commands.ShowCommandInternal
|
||||
using System.Windows.Input;
|
||||
|
||||
/// <summary>
|
||||
/// Control taht shows cmdlets in a module and details for a selected cmdlet
|
||||
/// Control that shows cmdlets in a module and details for a selected cmdlet
|
||||
/// </summary>
|
||||
public partial class ShowModuleControl : UserControl
|
||||
{
|
||||
@@ -50,7 +50,7 @@ namespace Microsoft.PowerShell.Commands.ShowCommandInternal
|
||||
/// (if the list supported drag and drop, the mouse action would be the same as dragging) it
|
||||
/// will select other list items.
|
||||
/// If the first selection change causes details for the item to be displayed and resizes the list
|
||||
/// the selection can skip to another list item it happend to be over as the list got resized.
|
||||
/// the selection can skip to another list item it happened to be over as the list got resized.
|
||||
/// In summary, resizing the list on selection can cause a selection bug. If the user selects an
|
||||
/// item in the end of the list the next item downwards can be selected.
|
||||
/// The WPF drag-and-select feature is not a standard win32 list behavior, and we can do without it
|
||||
|
||||
@@ -531,7 +531,7 @@ namespace Microsoft.PowerShell.Commands.ShowCommandInternal
|
||||
return;
|
||||
}
|
||||
|
||||
// If there are more modules, create an additional module to agregate all commands
|
||||
// If there are more modules, create an additional module to aggregate all commands
|
||||
ModuleViewModel allCommandsModule = new ModuleViewModel(ShowCommandResources.All, null);
|
||||
this.modules.Add(allCommandsModule);
|
||||
allCommandsModule.SetAllModules(this);
|
||||
|
||||
@@ -457,7 +457,7 @@ namespace Microsoft.PowerShell.Commands.ShowCommandInternal
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Showing help information for current actived cmdlet.
|
||||
/// Showing help information for current active cmdlet.
|
||||
/// </summary>
|
||||
public void OpenHelpWindow()
|
||||
{
|
||||
@@ -465,7 +465,7 @@ namespace Microsoft.PowerShell.Commands.ShowCommandInternal
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Determins whether current command name and a specifed ParameterSetName have same name.
|
||||
/// Determines whether current command name and a specified ParameterSetName have same name.
|
||||
/// </summary>
|
||||
/// <param name="name">The name of ShareParameterSet</param>
|
||||
/// <returns>Return true is ShareParameterSet. Else return false.</returns>
|
||||
@@ -479,7 +479,7 @@ namespace Microsoft.PowerShell.Commands.ShowCommandInternal
|
||||
/// </summary>
|
||||
/// <param name="module">Module to which the CommandViewModel will belong to</param>
|
||||
/// <param name="commandInfo">Will showing command</param>
|
||||
/// <param name="noCommonParameters">true to ommit displaying common parameter</param>
|
||||
/// <param name="noCommonParameters">true to omit displaying common parameter</param>
|
||||
/// <exception cref="ArgumentNullException">If commandInfo is null</exception>
|
||||
/// <exception cref="RuntimeException">
|
||||
/// If could not create the CommandViewModel. For instance the ShowCommandCommandInfo corresponding to
|
||||
@@ -592,7 +592,7 @@ namespace Microsoft.PowerShell.Commands.ShowCommandInternal
|
||||
/// <summary>
|
||||
/// Compares source and target by being the default parameter set and then by name
|
||||
/// </summary>
|
||||
/// <param name="source">source paremeterset</param>
|
||||
/// <param name="source">source parameterset</param>
|
||||
/// <param name="target">target parameterset</param>
|
||||
/// <returns>0 if they are the same, -1 if source is smaller, 1 if source is larger</returns>
|
||||
private int Compare(ParameterSetViewModel source, ParameterSetViewModel target)
|
||||
|
||||
@@ -374,7 +374,7 @@ namespace Microsoft.PowerShell.Commands.ShowCommandInternal
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Callled in response to a GUI event that requires the command to be run
|
||||
/// Called in response to a GUI event that requires the command to be run
|
||||
/// </summary>
|
||||
internal void OnRunSelectedCommand()
|
||||
{
|
||||
@@ -417,7 +417,7 @@ namespace Microsoft.PowerShell.Commands.ShowCommandInternal
|
||||
/// <param name="filterPattern">pattern corresponding to filter</param>
|
||||
/// <param name="commandName">command name string</param>
|
||||
/// <param name="filter">filter string</param>
|
||||
/// <returns>true if coparisonText matches str or pattern</returns>
|
||||
/// <returns>true if comparisonText matches str or pattern</returns>
|
||||
private static bool Matches(WildcardPattern filterPattern, string commandName, string filter)
|
||||
{
|
||||
if (filterPattern != null)
|
||||
|
||||
+3
-3
@@ -40,7 +40,7 @@ namespace Microsoft.PowerShell.Commands.ShowCommandInternal
|
||||
/// Initializes a new instance of the ParameterSetViewModel class.
|
||||
/// </summary>
|
||||
/// <param name="name">The name of the parameterSet</param>
|
||||
/// <param name="parameters">The array parametes of the parameterSet</param>
|
||||
/// <param name="parameters">The array parameters of the parameterSet</param>
|
||||
[SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Justification = "this type is internal, made public only for WPF Binding")]
|
||||
public ParameterSetViewModel(
|
||||
string name,
|
||||
@@ -233,12 +233,12 @@ namespace Microsoft.PowerShell.Commands.ShowCommandInternal
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
/// Gets the delimited poarameter if it needs delimitation and is not delimited
|
||||
/// Gets the delimited parameter if it needs delimitation and is not delimited
|
||||
/// </summary>
|
||||
/// <param name="parameterValue">value needing delimitation</param>
|
||||
/// <param name="openDelimiter">open delimitation</param>
|
||||
/// <param name="closeDelimiter">close delimitation</param>
|
||||
/// <returns>the delimited poarameter if it needs delimitation and is not delimited</returns>
|
||||
/// <returns>the delimited parameter if it needs delimitation and is not delimited</returns>
|
||||
private static string GetDelimitedParameter(string parameterValue, string openDelimiter, string closeDelimiter)
|
||||
{
|
||||
string parameterValueTrimmed = parameterValue.Trim();
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace Microsoft.PowerShell.Commands.Internal
|
||||
using Microsoft.PowerShell.Commands.ShowCommandInternal;
|
||||
|
||||
/// <summary>
|
||||
/// Implements thw WPF window part of the the ShowWindow option of get-help
|
||||
/// Implements the WPF window part of the the ShowWindow option of get-help
|
||||
/// </summary>
|
||||
internal static class HelpWindowHelper
|
||||
{
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace Microsoft.PowerShell.Commands.ShowCommandInternal
|
||||
using Microsoft.PowerShell.Commands.ShowCommandExtension;
|
||||
|
||||
/// <summary>
|
||||
/// Implements thw WPF window part of the show-command cmdlet
|
||||
/// Implements the WPF window part of the show-command cmdlet
|
||||
/// </summary>
|
||||
internal class ShowCommandHelper : IDisposable
|
||||
{
|
||||
@@ -414,7 +414,7 @@ Function PSGetSerializedShowCommandInfo
|
||||
|
||||
#region public Dispose
|
||||
/// <summary>
|
||||
/// Dispose method in IDisposeable
|
||||
/// Dispose method in IDisposable
|
||||
/// </summary>
|
||||
public void Dispose()
|
||||
{
|
||||
@@ -681,7 +681,7 @@ Function PSGetSerializedShowCommandInfo
|
||||
/// <summary>
|
||||
/// Gets an error message to be displayed when failed to import a module
|
||||
/// </summary>
|
||||
/// <param name="command">command belongiong to the module to import</param>
|
||||
/// <param name="command">command belonging to the module to import</param>
|
||||
/// <param name="module">module to import</param>
|
||||
/// <param name="error">error importing the module</param>
|
||||
/// <returns>an error message to be displayed when failed to import a module</returns>
|
||||
@@ -993,7 +993,7 @@ Function PSGetSerializedShowCommandInfo
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called from CallMethodThatShowsDialog as the thtead start when there is no host window
|
||||
/// Called from CallMethodThatShowsDialog as the thread start when there is no host window
|
||||
/// </summary>
|
||||
private void PlainInvokeAndShowDialog()
|
||||
{
|
||||
@@ -1252,7 +1252,7 @@ Function PSGetSerializedShowCommandInfo
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sets a succesfull dialog result and then closes the window
|
||||
/// Sets a successful dialog result and then closes the window
|
||||
/// </summary>
|
||||
/// <param name="sender">event sender</param>
|
||||
/// <param name="e">event arguments</param>
|
||||
|
||||
@@ -397,7 +397,7 @@ namespace Microsoft.Management.UI.Internal
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Add column defenitions to the underlying management list.
|
||||
/// Add column definitions to the underlying management list.
|
||||
/// </summary>
|
||||
/// <param name="propertyNames">An array of property names to add.</param>
|
||||
/// <param name="displayNames">An array of display names to add.</param>
|
||||
|
||||
Reference in new issue
Block a user