C# Class NodeAssets.Core.Pile

Inheritance: IPile
ファイルを表示 Open project: ajorkowski/NodeAssets Class Usage Examples

Public Methods

Method Description
AddDirectory ( string directory, bool recursive ) : IPile
AddDirectory ( string directory, bool recursive, Regex allowedFilePattern ) : IPile
AddDirectory ( string pile, string directory, bool recursive ) : IPile
AddDirectory ( string pile, string directory, bool recursive, Regex allowedFilePattern ) : IPile
AddFile ( string fileName ) : IPile
AddFile ( string pile, string fileName ) : IPile
AddUrl ( string url ) : IPile
AddUrl ( string pile, string url ) : IPile
FindAllPiles ( ) : IEnumerable
FindFileHash ( FileInfo file ) : string
FindFiles ( string pile ) : IEnumerable
FindUrls ( string pile ) : IEnumerable
Pile ( bool watchFiles ) : System

Protected Methods

Method Description
OnFileCreated ( string pile, FileInfo info ) : void
OnFileDeleted ( string pile, FileInfo info ) : void
OnFileUpdated ( string pile, FileInfo info ) : void

Private Methods

Method Description
AddDirectory ( string pile, DirectoryInfo info, bool recursive, Regex filePattern ) : void
AddFile ( string pile, FileInfo info ) : void
GetFileHash ( FileInfo info ) : string

Method Details

AddDirectory() public method

public AddDirectory ( string directory, bool recursive ) : IPile
directory string
recursive bool
return IPile

AddDirectory() public method

public AddDirectory ( string directory, bool recursive, Regex allowedFilePattern ) : IPile
directory string
recursive bool
allowedFilePattern System.Text.RegularExpressions.Regex
return IPile

AddDirectory() public method

public AddDirectory ( string pile, string directory, bool recursive ) : IPile
pile string
directory string
recursive bool
return IPile

AddDirectory() public method

public AddDirectory ( string pile, string directory, bool recursive, Regex allowedFilePattern ) : IPile
pile string
directory string
recursive bool
allowedFilePattern System.Text.RegularExpressions.Regex
return IPile

AddFile() public method

public AddFile ( string fileName ) : IPile
fileName string
return IPile

AddFile() public method

public AddFile ( string pile, string fileName ) : IPile
pile string
fileName string
return IPile

AddUrl() public method

public AddUrl ( string url ) : IPile
url string
return IPile

AddUrl() public method

public AddUrl ( string pile, string url ) : IPile
pile string
url string
return IPile

FindAllPiles() public method

public FindAllPiles ( ) : IEnumerable
return IEnumerable

FindFileHash() public method

public FindFileHash ( FileInfo file ) : string
file System.IO.FileInfo
return string

FindFiles() public method

public FindFiles ( string pile ) : IEnumerable
pile string
return IEnumerable

FindUrls() public method

public FindUrls ( string pile ) : IEnumerable
pile string
return IEnumerable

OnFileCreated() protected method

protected OnFileCreated ( string pile, FileInfo info ) : void
pile string
info FileInfo
return void

OnFileDeleted() protected method

protected OnFileDeleted ( string pile, FileInfo info ) : void
pile string
info FileInfo
return void

OnFileUpdated() protected method

protected OnFileUpdated ( string pile, FileInfo info ) : void
pile string
info FileInfo
return void

Pile() public method

public Pile ( bool watchFiles ) : System
watchFiles bool
return System