forked from PowerShell/PSScriptAnalyzer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPathResolver.cs
More file actions
19 lines (18 loc) · 922 Bytes
/
Copy pathPathResolver.cs
File metadata and controls
19 lines (18 loc) · 922 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic
{
internal static class PathResolver
{
/// <summary>
/// A shim around the GetResolvedProviderPathFromPSPath method from PSCmdlet to resolve relative path including wildcard support.
/// </summary>
/// <typeparam name="string"></typeparam>
/// <typeparam name="ProviderInfo"></typeparam>
/// <typeparam name="GetResolvedProviderPathFromPSPathDelegate"></typeparam>
/// <param name="input"></param>
/// <param name="output"></param>
/// <returns></returns>
internal delegate GetResolvedProviderPathFromPSPathDelegate GetResolvedProviderPathFromPSPath<in @string, ProviderInfo, out GetResolvedProviderPathFromPSPathDelegate>(@string input, out ProviderInfo output);
}
}