C# Class OrchardHUN.TrainingDemo.Services.DateTimeCachingService

Inheritance: IDateTimeCachingService
显示文件 Open project: Lombiq/Orchard-Training-Demo-Module

Public Methods

Method Description
DateTimeCachingService ( ICacheService cacheService, ICacheManager cacheManager, IClock clock, ISignals signals ) : System
GetCachedDateTime ( string service = "CacheService" ) : System.DateTime
InvalidateCachedDateTime ( ) : void

Method Details

DateTimeCachingService() public method

public DateTimeCachingService ( ICacheService cacheService, ICacheManager cacheManager, IClock clock, ISignals signals ) : System
cacheService ICacheService
cacheManager ICacheManager
clock IClock
signals ISignals
return System

GetCachedDateTime() public method

public GetCachedDateTime ( string service = "CacheService" ) : System.DateTime
service string
return System.DateTime

InvalidateCachedDateTime() public method

public InvalidateCachedDateTime ( ) : void
return void