Base abstract class for file searching in windows file system.
Definition
Namespace:Telerik.Windows.Controls.FileSearch
Assembly:Telerik.Windows.Controls.dll
Syntax:
public abstract class FileSearchProviderBase : IFileSearchProvider, IDisposable
Inheritance: objectFileSearchProviderBase
Derived Classes:
Implements:
Constructors
Initializes a new instance of the FileSearchProviderBase class.
protected FileSearchProviderBase()
Initializes a new instance of the FileSearchProviderBase class.
Properties
Gets or sets the search settings for this FileSearchProvider instance.
public SearchSettings SearchSettings { get; set; }
Implements:
Methods
Cancels the current search asynchronously. Should be invoked when search string is changed.
public void CancelCurrentSearchAsync()
Implements:
public void Dispose()
Implements:
Gets the IPropertyValueProvider associated with the current OleDbDataReader when searching in indexed locations.
protected abstract IPropertyValueProvider GetPropertyValueProvider(OleDbDataReader oleDbReader)
Gets the IPropertyValueProvider associated with the current file result when searching in non-indexed locations.
protected abstract IPropertyValueProvider GetPropertyValueProvider(string pathToFileOrDir)
Stops the current search operation and releases the resources.
public void StopSearch()
Implements:
Events
Fires when the current search operation is completed, whether cancelled or not.
public event EventHandler<FileSearchCompletedEventArgs> FileSearchCompleted
Implements:
Fires on every portion of files found. The size of the portion is determined by the ResultsChunkItemsCount property of the SearchSettings.
public event EventHandler<FileSearchProgressChangedEventArgs> FileSearchProgressChanged
Implements: