C# 클래스 SecureDelete.FileSearch.FileSearcher

Provides support for searching files in directories and their subdirectories. Search can be performed asynchronously.
파일 보기 프로젝트 열기: gratianlup/SecureDelete 1 사용 예제들

공개 메소드들

메소드 설명
FileSearcher ( ) : System
SearchFiles ( string folder, string pattern, bool regexPattern, bool includeSubfolders ) : string[]

Search files

SearchFilesAsync ( string folder, string pattern, bool regexPattern, bool includeSubfolders ) : void

Search files asynchronously

Stop ( ) : void

비공개 메소드들

메소드 설명
GetStop ( ) : bool
InitializeRegex ( string pattern, bool compiled ) : void
MaximumWaitTimeExceeded ( ) : bool
ProcessFiles ( string files ) : string[]
ResetSearcher ( ) : void
SearchAsync ( object param ) : void
SearchFilesImpl ( string folder, string pattern, bool includeSubfolders, bool async ) : string[]
SendFiles ( string files, bool forced ) : void
SendLastSet ( ) : void
SendResultChunk ( string files, bool lastSet ) : void
SetStop ( bool value ) : void

메소드 상세

FileSearcher() 공개 메소드

public FileSearcher ( ) : System
리턴 System

SearchFiles() 공개 메소드

Search files
public SearchFiles ( string folder, string pattern, bool regexPattern, bool includeSubfolders ) : string[]
folder string The folder where to begin searching.
pattern string The pattern the files need to match (ex. *.txt).
regexPattern bool
includeSubfolders bool Specifies whether or not to search the subfolders.
리턴 string[]

SearchFilesAsync() 공개 메소드

Search files asynchronously
public SearchFilesAsync ( string folder, string pattern, bool regexPattern, bool includeSubfolders ) : void
folder string The folder where to begin searching.
pattern string The pattern the files need to match (ex. *.txt).
regexPattern bool
includeSubfolders bool Specifies whether or not to search the subfolders.
리턴 void

Stop() 공개 메소드

public Stop ( ) : void
리턴 void