1
0
mirror of https://github.com/ncblakely/GiantsTools synced 2024-11-24 23:25:37 +01:00
GiantsTools/Giants.Services/Core/DefaultDateTimeProvider.cs

12 lines
279 B
C#
Raw Normal View History

2020-08-09 01:31:16 +02:00
namespace Giants.Services.Core
{
using System;
public class DefaultDateTimeProvider : IDateTimeProvider
{
public static DefaultDateTimeProvider Instance { get; } = new DefaultDateTimeProvider();
public DateTime UtcNow => DateTime.UtcNow;
}
}