Skip to content

Commit 9d23a61

Browse files
committed
* Updated README.md
1 parent 2b36f9a commit 9d23a61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ Install-Package deadlock-dotnet-sdk
1919
To find all the `FileLocker` objects that are locking a file, you can make use of the `FindLockingProcesses` method:
2020
```c#
2121
string path = @"C:\...\file.txt";
22-
var lockers = DeadLock.FindLockingProcesses(path);
22+
List<FileLocker> lockers = DeadLock.FindLockingProcesses(path);
2323
```
2424

2525
You can also run the code asynchronously by calling the `FindLockingProcessesAsync` method`:
2626
```c#
2727
string path = @"C:\...\file.txt";
28-
var lockers = await DeadLock.FindLockingProcessesAsync(path);
28+
List<FileLocker> lockers = await DeadLock.FindLockingProcessesAsync(path);
2929
```
3030

3131
### Unlocking a file

0 commit comments

Comments
 (0)