Class TimeProvider

Inheritance
System.Object
TimeProvider
Namespace: EPiServer.Framework
Assembly: EPiServer.Framework.dll
Version: 12.0.3
Syntax
public static class TimeProvider : Object

Properties

Current

Get the current ITimeProvider instance.

Declaration
public static ITimeProvider Current { get; set; }
Property Value
Type Description
ITimeProvider
Remarks

Avoid whenever possible and inject ITimeProvider in constructor instead.