November Happy Hour will be moved to Thursday December 5th.

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.