Class UnindexableHelper
- Namespace
- SunamoDevCode
- Assembly
- SunamoDevCode.dll
Helper class for managing Unindexable paths and files configuration.
public class UnindexableHelper
- Inheritance
-
UnindexableHelper
- Inherited Members
- Extension Methods
Fields
Unindexable
Gets or sets the Unindexable configuration.
public static Unindexable Unindexable
Field Value
Properties
UnindexableFileNames
Gets the Unindexable file names configuration.
public static PpkOnDriveDC UnindexableFileNames { get; }
Property Value
UnindexablePathEnds
Gets the Unindexable path ends configuration.
public static PpkOnDriveDC UnindexablePathEnds { get; }
Property Value
UnindexablePathParts
Gets the Unindexable path parts configuration.
public static PpkOnDriveDC UnindexablePathParts { get; }
Property Value
UnindexablePathStarts
Gets the Unindexable path starts configuration.
public static PpkOnDriveDC UnindexablePathStarts { get; }
Property Value
Methods
IsToIndexed(string, string, Func<string, bool>)
Determines whether the specified file should be indexed based on path and file name rules.
public static bool IsToIndexed(string path, string fileName, Func<string, bool> sci_IsIndexed)
Parameters
pathstringThe file path to check.
fileNamestringThe file name to check.
sci_IsIndexedFunc<string, bool>Optional additional indexing check function.
Returns
- bool
True if the file should be indexed, false otherwise.
IsToIndexedFolder(string)
Determines whether the specified path should be indexed based on folder rules.
public static bool IsToIndexedFolder(string path)
Parameters
pathstringThe path to check.
Returns
- bool
True if the folder should be indexed, false otherwise.
Load(UnindexableFilesPaths)
Into A1 insert SearchCodeElementsUC .ufp
public static void Load(UnindexableFilesPaths filePaths)
Parameters
filePathsUnindexableFilesPathsUnindexable file paths configuration