Ensures that a read operation for a file does not occur while an AtomicWrite for the same file is in progress.
More...
Ensures that a read operation for a file does not occur while an AtomicWrite for the same file is in progress.
return File.ReadAllBytes(filePath);
AtomicRead([Localizable(false)] string path)
Prepares an atomic read operation.
Definition: AtomicRead.cs:24
◆ AtomicRead()
NanoByte.Common.Storage.AtomicRead.AtomicRead |
( |
[Localizable(false)] string |
path | ) |
|
|
inline |
Prepares an atomic read operation.
- Parameters
-
path | The path of the file that will be read. |
The documentation for this class was generated from the following file:
- Common/Storage/AtomicRead.cs