Method | Description | |
---|---|---|
FileWriter ( IArguments arguments, IFileSystemHelper fileSystemHelper ) : System |
Creates a new instance of the FileWriter class.
|
|
Write ( string fileName, Action |
Writes the content supplied via contentWriter to the file specified via fileName.
|
Method | Description | |
---|---|---|
GetDefaultPath ( ) : string | ||
GetTargetFileName ( string fileName ) : string | ||
GetTargetPath ( ) : string |
public FileWriter ( IArguments arguments, IFileSystemHelper fileSystemHelper ) : System | ||
arguments | IArguments | /// Specifies the arguments for this writer. /// |
fileSystemHelper | IFileSystemHelper | /// Specifies the helper for /// |
return | System |
public Write ( string fileName, Action |
||
fileName | string | Specifies the filename to write to. |
contentWriter | Action |
Specifies the writer handler which is called /// to fill the file with content. |
return | void |