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

Class TimeProvider

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.

Inheritance
System.Object
TimeProvider
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Framework
Assembly: EPiServer.Framework.dll
Version: 11.20.7
Syntax
public static class TimeProvider

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.