C# Class XRefresh.Scanner

ファイルを表示 Open project: binaryage/xrefresh Class Usage Examples

Public Methods

Method Description
GetDescription ( ) : string
GetImageIndex ( ) : int
GetName ( ) : string
HasExtCache ( string path ) : bool
Scan ( string path ) : bool
SetFolder ( Model folder ) : void
SetupFilters ( ) : void
SuggestName ( string path ) : string

Protected Methods

Method Description
AddExclude ( string mask ) : void
AddExclude ( string mask, string info ) : void
AddInclude ( string mask ) : void
AddInclude ( string mask, string info ) : void
ContainsAtLeastNumFiles ( string root, string pattern, int num ) : bool
ContainsDir ( string root, string path ) : int
ContainsFile ( string root, string path ) : int

Private Methods

Method Description
BuildExtCache ( string f ) : void
BuildExtCacheWorker ( String folder, int>.Dictionary dict, int rootLen ) : void

Method Details

AddExclude() protected method

protected AddExclude ( string mask ) : void
mask string
return void

AddExclude() protected method

protected AddExclude ( string mask, string info ) : void
mask string
info string
return void

AddInclude() protected method

protected AddInclude ( string mask ) : void
mask string
return void

AddInclude() protected method

protected AddInclude ( string mask, string info ) : void
mask string
info string
return void

ContainsAtLeastNumFiles() protected method

protected ContainsAtLeastNumFiles ( string root, string pattern, int num ) : bool
root string
pattern string
num int
return bool

ContainsDir() protected method

protected ContainsDir ( string root, string path ) : int
root string
path string
return int

ContainsFile() protected method

protected ContainsFile ( string root, string path ) : int
root string
path string
return int

GetDescription() public method

public GetDescription ( ) : string
return string

GetImageIndex() public method

public GetImageIndex ( ) : int
return int

GetName() public method

public GetName ( ) : string
return string

HasExtCache() public method

public HasExtCache ( string path ) : bool
path string
return bool

Scan() public method

public Scan ( string path ) : bool
path string
return bool

SetFolder() public method

public SetFolder ( Model folder ) : void
folder Model
return void

SetupFilters() public method

public SetupFilters ( ) : void
return void

SuggestName() public method

public SuggestName ( string path ) : string
path string
return string