|
OSDP.Net 5.2.1
A .NET library for implementing the Open Supervised Device Protocol (OSDP)
|
Abstraction for file system operations to enable testing without actual file I/O. More...
Public Member Functions | |
| void | CreateDirectory (string path) |
| Creates all directories in the specified path. | |
| StreamWriter | CreateStreamWriter (string path, bool append) |
| Creates a StreamWriter for the specified file path. | |
| string | GetDirectoryName (string path) |
| Gets the directory name from a file path. | |
Abstraction for file system operations to enable testing without actual file I/O.
Definition at line 8 of file IFileSystem.cs.
| void OSDP.Net.Tracing.IFileSystem.CreateDirectory | ( | string | path | ) |
Creates all directories in the specified path.
| path | The directory path to create. |
| StreamWriter OSDP.Net.Tracing.IFileSystem.CreateStreamWriter | ( | string | path, |
| bool | append ) |
Creates a StreamWriter for the specified file path.
| path | The file path. |
| append | If true, appends to the file; otherwise creates new file. |
| string OSDP.Net.Tracing.IFileSystem.GetDirectoryName | ( | string | path | ) |
Gets the directory name from a file path.
| path | The file path. |