Class KeyIndex
public static class KeyIndex
- Inheritance
-
KeyIndex
- Inherited Members
Properties
IsPopulated
public static bool IsPopulated { get; }
Property Value
Methods
ClearFile(string)
Removes all index entries associated with the specified file path.
public static void ClearFile(string filePath)
Parameters
filePathstringThe path of the file whose related index entries are to be cleared. Cannot be null or empty.
Remarks
Call this method before re-analyzing a file to ensure that outdated or stale index entries are removed. This helps maintain the accuracy of the index when files are updated or reprocessed.
FindDeclaration(string?, string?, string)
public static KeyLocation? FindDeclaration(string? @namespace, string? className, string identifier)
Parameters
Returns
Register(string?, string?, string, KeyLocation)
public static void Register(string? @namespace, string? className, string identifier, KeyLocation keyLocation)
Parameters
namespacestringclassNamestringidentifierstringkeyLocationKeyLocation