Skip to content

Commit eb509ac

Browse files
committed
Added an overload for the constructor of MockFileVersionInfo
1 parent 5d8e168 commit eb509ac

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/TestableIO.System.IO.Abstractions.TestingHelpers/MockFileVersionInfo.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@ public MockFileVersionInfo(
6868
ProductPrivatePart = parsedProductVersion.PrivatePart;
6969
}
7070

71+
/// <inheritdoc />
72+
public MockFileVersionInfo(string fileName)
73+
{
74+
FileName = fileName;
75+
}
76+
7177
/// <inheritdoc/>
7278
public override string FileName { get; }
7379

0 commit comments

Comments
 (0)