Table of Contents

Class KeyIndex

Namespace
Tlumach.Base
Assembly
Tlumach.Base.dll
public static class KeyIndex
Inheritance
KeyIndex
Inherited Members

Properties

IsPopulated

public static bool IsPopulated { get; }

Property Value

bool

Methods

ClearFile(string)

Removes all index entries associated with the specified file path.

public static void ClearFile(string filePath)

Parameters

filePath string

The 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

namespace string
className string
identifier string

Returns

KeyLocation

Register(string?, string?, string, KeyLocation)

public static void Register(string? @namespace, string? className, string identifier, KeyLocation keyLocation)

Parameters

namespace string
className string
identifier string
keyLocation KeyLocation