Class FileSearchProviderBase
Base abstract class for file searching in windows file system.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.FileSearch
Assembly: Telerik.WinControls.UI.dll
Syntax
public abstract class FileSearchProviderBase : IFileSearchProvider, IDisposable
Constructors
FileSearchProviderBase()
Initializes a new instance of the File
Declaration
protected FileSearchProviderBase()
FileSearchProviderBase(SearchSettings)
Initializes a new instance of the File
Declaration
protected FileSearchProviderBase(SearchSettings settings)
Parameters
Search
|
Properties
SearchSettings
Gets or sets the search settings for this File
Declaration
public SearchSettings SearchSettings { get; set; }
Property Value
Implements
Methods
CancelCurrentSearchAsync()
Cancels the current search asynchronously. Should be invoked when search string is changed.
Declaration
public void CancelCurrentSearchAsync()
Implements
Dispose()
Declaration
public void Dispose()
Implements
GetPropertyValueProvider(OleDbDataReader)
Gets the IProperty
Declaration
protected abstract IPropertyValueProvider GetPropertyValueProvider(OleDbDataReader oleDbReader)
Parameters
System.
|
Returns
GetPropertyValueProvider(String)
Gets the IProperty
Declaration
protected abstract IPropertyValueProvider GetPropertyValueProvider(string pathToFileOrDir)
Parameters
System.
|
Returns
GetSearchQuery(String, String)
Gets the 'SQL'-like search query when searching in indexed locations.
Declaration
protected abstract string GetSearchQuery(string pattern, string dirPath)
Parameters
System.
|
System.
|
Returns
System.
|
SearchAsync(String, String)
Searches for string pattern in the specified directory.
Declaration
public void SearchAsync(string pattern, string dirPath)
Parameters
System.
|
System.
|
Implements
SearchAsyncWithTimer(String, String)
Performs async search with background timer which supports fast changing of the search parameters. Suitable when typing the search string in a TextBox.
Declaration
public void SearchAsyncWithTimer(string pattern, string dirPath)
Parameters
System.
|
System.
|
Implements
StopSearch()
Stops the current search operation and releases the resources.
Declaration
public void StopSearch()
Implements
Events
FileSearchCompleted
Fires when the current search operation is completed, whether cancelled or not.
Declaration
public event EventHandler<FileSearchCompletedEventArgs> FileSearchCompleted
Event Type
System.
|
Implements
FileSearchProgressChanged
Fires on every portion of files found. The size of the portion is determined by the ResultsChunkItemsCount property of the Search
Declaration
public event EventHandler<FileSearchProgressChangedEventArgs> FileSearchProgressChanged
Event Type
System.
|