Interface IWritableFileLocator
The writable file locator interface.
Inherited Members
Namespace: JeremyAnsel.IO.Locator
Assembly: JeremyAnsel.IO.Locator.dll
Syntax
public interface IWritableFileLocator : IDisposable
Methods
| Edit this page View SourceCreate(string)
Create a file.
Declaration
void Create(string path)
Parameters
Type | Name | Description |
---|---|---|
string | path | A path. |
Write(string, Stream?)
Write a file.
Declaration
void Write(string path, Stream? data)
Parameters
Type | Name | Description |
---|---|---|
string | path | A path. |
Stream | data | The data. |
WriteAll(IFileLocator?)
Write the files from a file locator.
Declaration
void WriteAll(IFileLocator? locator)
Parameters
Type | Name | Description |
---|---|---|
IFileLocator | locator | A file locator. |
WriteAll(IFileLocator?, string)
Write the files from a file locator.
Declaration
void WriteAll(IFileLocator? locator, string root)
Parameters
Type | Name | Description |
---|---|---|
IFileLocator | locator | A file locator. |
string | root | The root path. |