Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
msftrubengu committed Sep 20, 2023
1 parent 034c019 commit 29b2ce9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ protected IReadOnlyList<MatchResult> FindPackages(

/// <summary>
/// Sets the find package options for a query input.
/// DO NOT pass PackageFieldMatchOption WinRT enum type in this method.
/// That will cause the type to attempt to be loaded in the construction
/// of this method and throw a different exception for Windows PowerShell.
/// </summary>
/// <param name="options">The options object.</param>
/// <param name="match">The match type as string.</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ internal InstallCommand(PSCmdlet psCmdlet)

/// <summary>
/// Gets the install options from the configured parameters.
/// DO NOT pass PackageInstallMode WinRT enum type in this method.
/// That will cause the type to attempt to be loaded in the construction
/// of this method and throw a different exception for Windows PowerShell.
/// </summary>
/// <param name="version">The <see cref="PackageVersionId" /> to install.</param>
/// <param name="mode">Package install mode as string.</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ protected void GetPackageAndExecute(

/// <summary>
/// Sets the find package options for a query input that is looking for a specific package.
/// DO NOT pass PackageFieldMatchOption WinRT enum type in this method.
/// That will cause the type to attempt to be loaded in the construction
/// of this method and throw a different exception for Windows PowerShell.
/// </summary>
/// <param name="options">The options object.</param>
/// <param name="match">The match type.</param>
Expand Down

0 comments on commit 29b2ce9

Please sign in to comment.