Table of Contents

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

Unindexable

Properties

UnindexableFileNames

Gets the Unindexable file names configuration.

public static PpkOnDriveDC UnindexableFileNames { get; }

Property Value

PpkOnDriveDC

UnindexablePathEnds

Gets the Unindexable path ends configuration.

public static PpkOnDriveDC UnindexablePathEnds { get; }

Property Value

PpkOnDriveDC

UnindexablePathParts

Gets the Unindexable path parts configuration.

public static PpkOnDriveDC UnindexablePathParts { get; }

Property Value

PpkOnDriveDC

UnindexablePathStarts

Gets the Unindexable path starts configuration.

public static PpkOnDriveDC UnindexablePathStarts { get; }

Property Value

PpkOnDriveDC

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

path string

The file path to check.

fileName string

The file name to check.

sci_IsIndexed Func<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

path string

The 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

filePaths UnindexableFilesPaths

Unindexable file paths configuration