File: Internal\Clock.cs
Web Access
Project: src\src\libraries\Microsoft.Extensions.FileProviders.Physical\src\Microsoft.Extensions.FileProviders.Physical.csproj (Microsoft.Extensions.FileProviders.Physical)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using System;
 
namespace Microsoft.Extensions.FileProviders.Physical
{
    internal sealed class Clock : IClock
    {
        public static readonly Clock Instance = new Clock();
 
        private Clock()
        {
        }
 
        public DateTime UtcNow => DateTime.UtcNow;
    }
}