@@ -418,7 +418,7 @@ public bool InstallPackage(string packageId)
418418 /// <summary>
419419 /// Install a package using winget.
420420 /// </summary>
421- /// <param name="package">The <see cref="WGetNET.IWinGetPackage "/> for the installation.</param>
421+ /// <param name="package">The <see cref="WGetNET.WinGetPackage "/> for the installation.</param>
422422 /// <returns>
423423 /// <see langword="true"/> if the installation was successful or <see langword="false"/> if it failed.
424424 /// </returns>
@@ -431,7 +431,7 @@ public bool InstallPackage(string packageId)
431431 /// <exception cref="System.ArgumentNullException">
432432 /// A provided argument is null.
433433 /// </exception>
434- public bool InstallPackage ( IWinGetPackage package )
434+ public bool InstallPackage ( WinGetPackage package )
435435 {
436436 ArgsHelper . ThrowIfWinGetObjectIsNullOrEmpty ( package , "package" ) ;
437437
@@ -474,7 +474,7 @@ public async Task<bool> InstallPackageAsync(string packageId)
474474 /// <summary>
475475 /// Asynchronously install a package using winget.
476476 /// </summary>
477- /// <param name="package">The <see cref="WGetNET.IWinGetPackage "/> for the installation.</param>
477+ /// <param name="package">The <see cref="WGetNET.WinGetPackage "/> for the installation.</param>
478478 /// <returns>
479479 /// A <see cref="System.Threading.Tasks.Task"/>, containing the result.
480480 /// The result is <see langword="true"/> if the installation was successful or <see langword="false"/> if it failed.
@@ -488,7 +488,7 @@ public async Task<bool> InstallPackageAsync(string packageId)
488488 /// <exception cref="System.ArgumentNullException">
489489 /// A provided argument is null.
490490 /// </exception>
491- public async Task < bool > InstallPackageAsync ( IWinGetPackage package )
491+ public async Task < bool > InstallPackageAsync ( WinGetPackage package )
492492 {
493493 ArgsHelper . ThrowIfWinGetObjectIsNullOrEmpty ( package , "package" ) ;
494494
@@ -532,7 +532,7 @@ public bool UninstallPackage(string packageId)
532532 /// <summary>
533533 /// Uninstall a package using winget.
534534 /// </summary>
535- /// <param name="package">The <see cref="WGetNET.IWinGetPackage "/> for the uninstallation.</param>
535+ /// <param name="package">The <see cref="WGetNET.WinGetPackage "/> for the uninstallation.</param>
536536 /// <returns>
537537 /// <see langword="true"/> if the uninstallation was successful or <see langword="false"/> if it failed.
538538 /// </returns>
@@ -545,7 +545,7 @@ public bool UninstallPackage(string packageId)
545545 /// <exception cref="System.ArgumentNullException">
546546 /// A provided argument is null.
547547 /// </exception>
548- public bool UninstallPackage ( IWinGetPackage package )
548+ public bool UninstallPackage ( WinGetPackage package )
549549 {
550550 ArgsHelper . ThrowIfWinGetObjectIsNullOrEmpty ( package , "package" ) ;
551551
@@ -589,7 +589,7 @@ public async Task<bool> UninstallPackageAsync(string packageId)
589589 /// <summary>
590590 /// Asynchronously uninstall a package using winget.
591591 /// </summary>
592- /// <param name="package">The <see cref="WGetNET.IWinGetPackage "/> for the uninstallation.</param>
592+ /// <param name="package">The <see cref="WGetNET.WinGetPackage "/> for the uninstallation.</param>
593593 /// <returns>
594594 /// A <see cref="System.Threading.Tasks.Task"/>, containing the result.
595595 /// The result is <see langword="true"/> if the uninstallation was successful or <see langword="false"/> if it failed.
@@ -603,7 +603,7 @@ public async Task<bool> UninstallPackageAsync(string packageId)
603603 /// <exception cref="System.ArgumentNullException">
604604 /// A provided argument is null.
605605 /// </exception>
606- public async Task < bool > UninstallPackageAsync ( IWinGetPackage package )
606+ public async Task < bool > UninstallPackageAsync ( WinGetPackage package )
607607 {
608608 ArgsHelper . ThrowIfWinGetObjectIsNullOrEmpty ( package , "package" ) ;
609609
@@ -684,7 +684,7 @@ public bool UpgradePackage(string packageId)
684684 /// <summary>
685685 /// Upgrades a package using winget.
686686 /// </summary>
687- /// <param name="package">The <see cref="WGetNET.IWinGetPackage "/> that for the upgrade</param>
687+ /// <param name="package">The <see cref="WGetNET.WinGetPackage "/> that for the upgrade</param>
688688 /// <returns>
689689 /// <see langword="true"/> if the upgrade was successful or <see langword="false"/> if it failed.
690690 /// </returns>
@@ -697,7 +697,7 @@ public bool UpgradePackage(string packageId)
697697 /// <exception cref="System.ArgumentNullException">
698698 /// A provided argument is null.
699699 /// </exception>
700- public bool UpgradePackage ( IWinGetPackage package )
700+ public bool UpgradePackage ( WinGetPackage package )
701701 {
702702 ArgsHelper . ThrowIfWinGetObjectIsNullOrEmpty ( package , "package" ) ;
703703
@@ -740,7 +740,7 @@ public async Task<bool> UpgradePackageAsync(string packageId)
740740 /// <summary>
741741 /// Asynchronously upgrades a package using winget.
742742 /// </summary>
743- /// <param name="package">The <see cref="WGetNET.IWinGetPackage "/> that for the upgrade</param>
743+ /// <param name="package">The <see cref="WGetNET.WinGetPackage "/> that for the upgrade</param>
744744 /// <returns>
745745 /// A <see cref="System.Threading.Tasks.Task"/>, containing the result.
746746 /// The result is <see langword="true"/> if the upgrade was successful or <see langword="false"/> if it failed.
@@ -754,7 +754,7 @@ public async Task<bool> UpgradePackageAsync(string packageId)
754754 /// <exception cref="System.ArgumentNullException">
755755 /// A provided argument is null.
756756 /// </exception>
757- public async Task < bool > UpgradePackageAsync ( IWinGetPackage package )
757+ public async Task < bool > UpgradePackageAsync ( WinGetPackage package )
758758 {
759759 ArgsHelper . ThrowIfWinGetObjectIsNullOrEmpty ( package , "package" ) ;
760760
@@ -1201,7 +1201,7 @@ public bool Download(string packageId, DirectoryInfo directory)
12011201 /// <exception cref="System.ArgumentNullException">
12021202 /// A provided argument is null.
12031203 /// </exception>
1204- public bool Download ( IWinGetPackage package , string directory )
1204+ public bool Download ( WinGetPackage package , string directory )
12051205 {
12061206 ArgsHelper . ThrowIfWinGetObjectIsNullOrEmpty ( package , "package" ) ;
12071207
@@ -1236,7 +1236,7 @@ public bool Download(IWinGetPackage package, string directory)
12361236 /// <exception cref="System.ArgumentNullException">
12371237 /// A provided argument is null.
12381238 /// </exception>
1239- public bool Download ( IWinGetPackage package , DirectoryInfo directory )
1239+ public bool Download ( WinGetPackage package , DirectoryInfo directory )
12401240 {
12411241 ArgsHelper . ThrowIfWinGetObjectIsNullOrEmpty ( package , "package" ) ;
12421242 ArgsHelper . ThrowIfObjectIsNull ( directory , "directory" ) ;
@@ -1339,7 +1339,7 @@ public async Task<bool> DownloadAsync(string packageId, DirectoryInfo directory)
13391339 /// <exception cref="System.ArgumentNullException">
13401340 /// A provided argument is null.
13411341 /// </exception>
1342- public async Task < bool > DownloadAsync ( IWinGetPackage package , string directory )
1342+ public async Task < bool > DownloadAsync ( WinGetPackage package , string directory )
13431343 {
13441344 ArgsHelper . ThrowIfWinGetObjectIsNullOrEmpty ( package , "package" ) ;
13451345
@@ -1374,7 +1374,7 @@ public async Task<bool> DownloadAsync(IWinGetPackage package, string directory)
13741374 /// <exception cref="System.ArgumentNullException">
13751375 /// A provided argument is null.
13761376 /// </exception>
1377- public async Task < bool > DownloadAsync ( IWinGetPackage package , DirectoryInfo directory )
1377+ public async Task < bool > DownloadAsync ( WinGetPackage package , DirectoryInfo directory )
13781378 {
13791379 ArgsHelper . ThrowIfWinGetObjectIsNullOrEmpty ( package , "package" ) ;
13801380 ArgsHelper . ThrowIfObjectIsNull ( directory , "directory" ) ;
@@ -1541,7 +1541,7 @@ public bool PinAdd(string packageId, string version)
15411541 /// <exception cref="System.ArgumentNullException">
15421542 /// A provided argument is null.
15431543 /// </exception>
1544- public bool PinAdd ( IWinGetPackage package , bool blocking = false )
1544+ public bool PinAdd ( WinGetPackage package , bool blocking = false )
15451545 {
15461546 ArgsHelper . ThrowIfWinGetObjectIsNullOrEmpty ( package , "package" ) ;
15471547
@@ -1576,7 +1576,7 @@ public bool PinAdd(IWinGetPackage package, bool blocking = false)
15761576 /// <exception cref="System.ArgumentNullException">
15771577 /// A provided argument is null.
15781578 /// </exception>
1579- public bool PinAdd ( IWinGetPackage package , string version )
1579+ public bool PinAdd ( WinGetPackage package , string version )
15801580 {
15811581 ArgsHelper . ThrowIfWinGetObjectIsNullOrEmpty ( package , "package" ) ;
15821582
@@ -1692,7 +1692,7 @@ public async Task<bool> PinAddAsync(string packageId, string version)
16921692 /// <exception cref="System.ArgumentNullException">
16931693 /// A provided argument is null.
16941694 /// </exception>
1695- public async Task < bool > PinAddAsync ( IWinGetPackage package , bool blocking = false )
1695+ public async Task < bool > PinAddAsync ( WinGetPackage package , bool blocking = false )
16961696 {
16971697 ArgsHelper . ThrowIfWinGetObjectIsNullOrEmpty ( package , "package" ) ;
16981698
@@ -1728,7 +1728,7 @@ public async Task<bool> PinAddAsync(IWinGetPackage package, bool blocking = fals
17281728 /// <exception cref="System.ArgumentNullException">
17291729 /// A provided argument is null.
17301730 /// </exception>
1731- public async Task < bool > PinAddAsync ( IWinGetPackage package , string version )
1731+ public async Task < bool > PinAddAsync ( WinGetPackage package , string version )
17321732 {
17331733 ArgsHelper . ThrowIfWinGetObjectIsNullOrEmpty ( package , "package" ) ;
17341734
@@ -1841,7 +1841,7 @@ public bool PinAddInstalled(string packageId, string version)
18411841 /// <exception cref="System.ArgumentNullException">
18421842 /// A provided argument is null.
18431843 /// </exception>
1844- public bool PinAddInstalled ( IWinGetPackage package , bool blocking = false )
1844+ public bool PinAddInstalled ( WinGetPackage package , bool blocking = false )
18451845 {
18461846 ArgsHelper . ThrowIfWinGetObjectIsNullOrEmpty ( package , "package" ) ;
18471847
@@ -1876,7 +1876,7 @@ public bool PinAddInstalled(IWinGetPackage package, bool blocking = false)
18761876 /// <exception cref="System.ArgumentNullException">
18771877 /// A provided argument is null.
18781878 /// </exception>
1879- public bool PinAddInstalled ( IWinGetPackage package , string version )
1879+ public bool PinAddInstalled ( WinGetPackage package , string version )
18801880 {
18811881 ArgsHelper . ThrowIfWinGetObjectIsNullOrEmpty ( package , "package" ) ;
18821882
@@ -1992,7 +1992,7 @@ public async Task<bool> PinAddInstalledAsync(string packageId, string version)
19921992 /// <exception cref="System.ArgumentNullException">
19931993 /// A provided argument is null.
19941994 /// </exception>
1995- public async Task < bool > PinAddInstalledAsync ( IWinGetPackage package , bool blocking = false )
1995+ public async Task < bool > PinAddInstalledAsync ( WinGetPackage package , bool blocking = false )
19961996 {
19971997 ArgsHelper . ThrowIfWinGetObjectIsNullOrEmpty ( package , "package" ) ;
19981998
@@ -2028,7 +2028,7 @@ public async Task<bool> PinAddInstalledAsync(IWinGetPackage package, bool blocki
20282028 /// <exception cref="System.ArgumentNullException">
20292029 /// A provided argument is null.
20302030 /// </exception>
2031- public async Task < bool > PinAddInstalledAsync ( IWinGetPackage package , string version )
2031+ public async Task < bool > PinAddInstalledAsync ( WinGetPackage package , string version )
20322032 {
20332033 ArgsHelper . ThrowIfWinGetObjectIsNullOrEmpty ( package , "package" ) ;
20342034
@@ -2096,7 +2096,7 @@ public bool PinRemove(string packageId)
20962096 /// <exception cref="System.ArgumentNullException">
20972097 /// A provided argument is null.
20982098 /// </exception>
2099- public bool PinRemove ( IWinGetPackage package )
2099+ public bool PinRemove ( WinGetPackage package )
21002100 {
21012101 ArgsHelper . ThrowIfWinGetObjectIsNullOrEmpty ( package , "package" ) ;
21022102
@@ -2164,7 +2164,7 @@ public async Task<bool> PinRemoveAsync(string packageId)
21642164 /// <exception cref="System.ArgumentNullException">
21652165 /// A provided argument is null.
21662166 /// </exception>
2167- public async Task < bool > PinRemoveAsync ( IWinGetPackage package )
2167+ public async Task < bool > PinRemoveAsync ( WinGetPackage package )
21682168 {
21692169 ArgsHelper . ThrowIfWinGetObjectIsNullOrEmpty ( package , "package" ) ;
21702170
@@ -2230,7 +2230,7 @@ public bool PinRemoveInstalled(string packageId)
22302230 /// <exception cref="System.ArgumentNullException">
22312231 /// A provided argument is null.
22322232 /// </exception>
2233- public bool PinRemoveInstalled ( IWinGetPackage package )
2233+ public bool PinRemoveInstalled ( WinGetPackage package )
22342234 {
22352235 ArgsHelper . ThrowIfWinGetObjectIsNullOrEmpty ( package , "package" ) ;
22362236
@@ -2298,7 +2298,7 @@ public async Task<bool> PinRemoveInstalledAsync(string packageId)
22982298 /// <exception cref="System.ArgumentNullException">
22992299 /// A provided argument is null.
23002300 /// </exception>
2301- public async Task < bool > PinRemoveInstalledAsync ( IWinGetPackage package )
2301+ public async Task < bool > PinRemoveInstalledAsync ( WinGetPackage package )
23022302 {
23032303 ArgsHelper . ThrowIfWinGetObjectIsNullOrEmpty ( package , "package" ) ;
23042304
0 commit comments