Restructure solution layout by module
This commit is contained in:
11
src/Scheduler/StellaOps.Scheduler.WebService/ISystemClock.cs
Normal file
11
src/Scheduler/StellaOps.Scheduler.WebService/ISystemClock.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
namespace StellaOps.Scheduler.WebService;
|
||||
|
||||
public interface ISystemClock
|
||||
{
|
||||
DateTimeOffset UtcNow { get; }
|
||||
}
|
||||
|
||||
public sealed class SystemClock : ISystemClock
|
||||
{
|
||||
public DateTimeOffset UtcNow => DateTimeOffset.UtcNow;
|
||||
}
|
||||
Reference in New Issue
Block a user