forked from PowerShell/PSScriptAnalyzer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIExternalRule.cs
More file actions
29 lines (26 loc) · 879 Bytes
/
Copy pathIExternalRule.cs
File metadata and controls
29 lines (26 loc) · 879 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic
{
/// <summary>
/// Represents an interface for an external analyzer rule.
/// </summary>
internal interface IExternalRule : IRule
{
/// <summary>
/// Adds module name (source name) to handle ducplicate function names in different modules.
/// </summary>
/// <returns></returns>
string GetFullName();
/// <summary>
/// GetParameter: Retrieves AstType parameter
/// </summary>
/// <returns>string</returns>
string GetParameter();
/// <summary>
/// GetFullModulePath: Retrieves full module path.
/// </summary>
/// <returns>string</returns>
string GetFullModulePath();
}
}