메소드 | 설명 | |
---|---|---|
DeleteDirectory ( |
Robustly deletes a directory including all subdirectories and contents
|
|
GetDirectories ( |
Gets list of subdirectories of specified directory, optionally filtered by specified input parameters
|
|
GetFiles ( |
Gets list of files in specified directory, optionally filtered by specified input parameters
|
|
Start ( ) : |
Performs one-way synchronization from source directory tree to destination directory tree
|
|
Start ( |
Performs one-way synchronization from source directory tree to destination directory tree
|
|
Sync ( ) : System |
Initializes a new instance of Synchonizer object.
|
|
Sync ( string sourceDirectory, string destinationDirectory ) : System |
Initializes a new instance of Synchonizer object.
|
메소드 | 설명 | |
---|---|---|
PrintUsage ( ) : void |
Prints usage
|
|
ProcessDirectory ( string srcDir, string destDir, |
Recursively performs one-way synchronization from a single source to destination directory
|
|
ShouldExclude ( |
For a given include and exclude list of regex's and a name to match, determines if the named item should be excluded
|
|
Trace ( string message ) : void |
Trace message
|
|
Validate ( string srcDir, string destDir, |
Validate folder and parameters
|
public DeleteDirectory ( |
||
directory | ||
리턴 | void |
public GetDirectories ( |
||
directoryInfo | ||
inputParams | ||
results | ||
리턴 | System.IO.DirectoryInfo[] |
public GetFiles ( |
||
directoryInfo | ||
inputParams | ||
results | ||
리턴 | System.IO.FileInfo[] |
public Start ( |
||
configuration | ||
리턴 |
public Sync ( string sourceDirectory, string destinationDirectory ) : System | ||
sourceDirectory | string | |
destinationDirectory | string | |
리턴 | System |