We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b36f9a commit 9d23a61Copy full SHA for 9d23a61
README.md
@@ -19,13 +19,13 @@ Install-Package deadlock-dotnet-sdk
19
To find all the `FileLocker` objects that are locking a file, you can make use of the `FindLockingProcesses` method:
20
```c#
21
string path = @"C:\...\file.txt";
22
-var lockers = DeadLock.FindLockingProcesses(path);
+List<FileLocker> lockers = DeadLock.FindLockingProcesses(path);
23
```
24
25
You can also run the code asynchronously by calling the `FindLockingProcessesAsync` method`:
26
27
28
-var lockers = await DeadLock.FindLockingProcessesAsync(path);
+List<FileLocker> lockers = await DeadLock.FindLockingProcessesAsync(path);
29
30
31
### Unlocking a file
0 commit comments