mirror of
https://github.com/n00mkrad/flowframes.git
synced 2025-12-23 19:59:31 +01:00
Case-sensitive rename operation (2/2)
This commit is contained in:
22
Code/MiscUtils/NmkdStopwatch.cs
Normal file
22
Code/MiscUtils/NmkdStopwatch.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
|
||||
namespace Flowframes.MiscUtils
|
||||
{
|
||||
class NmkdStopwatch
|
||||
{
|
||||
public Stopwatch sw = new Stopwatch();
|
||||
|
||||
public NmkdStopwatch (bool startOnCreation = true)
|
||||
{
|
||||
if (startOnCreation)
|
||||
sw.Restart();
|
||||
}
|
||||
|
||||
public string GetElapsedStr ()
|
||||
{
|
||||
return FormatUtils.TimeSw(sw);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user