C# 클래스 SecureDelete.FileSearch.FileFilter

상속: ICloneable
파일 보기 프로젝트 열기: gratianlup/SecureDelete 1 사용 예제들

공개 메소드들

메소드 설명
AddFilter ( FilterBase filter ) : void

Add the Filter

Trows an exception if the Filter is already in added.

AllowFile ( string file ) : bool

Checks if the file matches the conditions imposed by the filters

Clone ( ) : object
FileFilter ( ) : System
GetFilter ( int index ) : FilterBase

Get the Filter

GetFilters ( Type filterType ) : SecureDelete.FileSearch.FilterBase[]

Get all filters matching the specified Type

RemoveAllFilters ( ) : void

Remove all filters

RemoveFilter ( FilterBase filter ) : bool

Remove the Filter

비공개 메소드들

메소드 설명
DisposeHelperObject ( ) : void
EvaluateTree ( string file ) : bool
EvaluateTreeRecursive ( ExpressionNode node, string file ) : bool
ValidateTree ( ) : bool

메소드 상세

AddFilter() 공개 메소드

Add the Filter
Trows an exception if the Filter is already in added.
public AddFilter ( FilterBase filter ) : void
filter FilterBase
리턴 void

AllowFile() 공개 메소드

Checks if the file matches the conditions imposed by the filters
public AllowFile ( string file ) : bool
file string The file to check.
리턴 bool

Clone() 공개 메소드

public Clone ( ) : object
리턴 object

FileFilter() 공개 메소드

public FileFilter ( ) : System
리턴 System

GetFilter() 공개 메소드

Get the Filter
public GetFilter ( int index ) : FilterBase
index int The index where the Filter is located.
리턴 FilterBase

GetFilters() 공개 메소드

Get all filters matching the specified Type
public GetFilters ( Type filterType ) : SecureDelete.FileSearch.FilterBase[]
filterType System.Type The Type of the Filter.
리턴 SecureDelete.FileSearch.FilterBase[]

RemoveAllFilters() 공개 메소드

Remove all filters
public RemoveAllFilters ( ) : void
리턴 void

RemoveFilter() 공개 메소드

Remove the Filter
public RemoveFilter ( FilterBase filter ) : bool
filter FilterBase
리턴 bool