Class TimeOfDayCriterion.ServerCurrentTimeProvider

Inheritance
System.Object
TimeOfDayCriterion.ServerCurrentTimeProvider
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.Personalization.VisitorGroups.Criteria
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
[ServiceConfiguration(ServiceType = typeof(ICurrentTimeProvider), Lifecycle = ServiceInstanceScope.Singleton)]
public class ServerCurrentTimeProvider : ICurrentTimeProvider

Constructors

ServerCurrentTimeProvider()

Declaration
public ServerCurrentTimeProvider()

Methods

GetNow(HttpRequestBase)

Declaration
public DateTime GetNow(HttpRequestBase request)
Parameters
Type Name Description
System.Web.HttpRequestBase request
Returns
Type Description
System.DateTime

Implements

Extension Methods