|
14 | 14 | using System.Threading.Tasks; |
15 | 15 | using System.Collections; |
16 | 16 | using System.Management.Automation; |
| 17 | +using System.Collections.Concurrent; |
17 | 18 |
|
18 | 19 | namespace Microsoft.PowerShell.PSResourceGet.Cmdlets |
19 | 20 | { |
@@ -88,12 +89,12 @@ public V3ServerAPICalls(PSRepositoryInfo repository, PSCmdlet cmdletPassedIn, Ne |
88 | 89 |
|
89 | 90 | #region Overridden Methods |
90 | 91 |
|
91 | | - public override Task<FindResults> FindVersionAsync(string packageName, string version, ResourceType type) |
| 92 | + public override Task<FindResults> FindVersionAsync(string packageName, string version, ResourceType type, ConcurrentQueue<ErrorRecord> errorMsgs, ConcurrentQueue<string> debugMsgs) |
92 | 93 | { |
93 | 94 | throw new NotImplementedException("FindVersionAsync is not implemented for V3ServerAPICalls."); |
94 | 95 | } |
95 | 96 |
|
96 | | - public override Task<FindResults> FindVersionGlobbingAsync(string packageName, VersionRange versionRange, bool includePrerelease, ResourceType type, bool getOnlyLatest) |
| 97 | + public override Task<FindResults> FindVersionGlobbingAsync(string packageName, VersionRange versionRange, bool includePrerelease, ResourceType type, bool getOnlyLatest, ConcurrentQueue<ErrorRecord> errorMsgs, ConcurrentQueue<string> debugMsgs) |
97 | 98 | { |
98 | 99 | throw new NotImplementedException("FindVersionAsync is not implemented for V3ServerAPICalls."); |
99 | 100 | } |
@@ -165,7 +166,7 @@ public override FindResults FindName(string packageName, bool includePrerelease, |
165 | 166 | return FindNameHelper(packageName, tags: Utils.EmptyStrArray, includePrerelease, type, out errRecord); |
166 | 167 | } |
167 | 168 |
|
168 | | - public override Task<FindResults> FindNameAsync(string packageName, bool includePrerelease, ResourceType type) |
| 169 | + public override Task<FindResults> FindNameAsync(string packageName, bool includePrerelease, ResourceType type, ConcurrentQueue<ErrorRecord> errorMsgs, ConcurrentQueue<string> debugMsgs) |
169 | 170 | { |
170 | 171 | throw new NotImplementedException("FindVersionAsync is not implemented for V3ServerAPICalls."); |
171 | 172 | } |
|
0 commit comments