Skip to content

Commit a251642

Browse files
authored
Update ReportTimer.cs
Put the class in a namespace.
1 parent 634845e commit a251642

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

CSF.Screenplay/Reporting/ReportTimer.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
using System;
22
using System.Diagnostics;
3+
4+
namespace CSF.Screenplay.Reporting
5+
{
36
/// <summary>
47
/// Default implementation of <see cref="IMeasuresTime"/> which uses a <see cref="Stopwatch"/>.
58
/// </summary>
@@ -29,4 +32,5 @@ public TimeSpan GetCurrentTime()
2932
if(!stopwatch.IsRunning) throw new InvalidOperationException($"The {nameof(GetCurrentTime)} method may not be used before {nameof(BeginTiming)}.");
3033
return stopwatch.Elapsed;
3134
}
32-
}
35+
}
36+
}

0 commit comments

Comments
 (0)