C# Class Geta.CacheManager.Core.Services.CacheService

Afficher le fichier Open project: Geta/CacheManager

Private Properties

Свойство Type Description
GetCacheItems IEnumerable
GetObjectCreatedDate System.DateTime
GetObjectExpirationDate System.DateTime
GetObjectSize long

Méthodes publiques

Méthode Description
DeleteCache ( List cacheList = null ) : void
GetCacheList ( CacheSortEnum sortBy = CacheSortEnum.Size, bool ascending = false, int pageNumber = 1, int pageSize = 10 ) : CacheListModel

Private Methods

Méthode Description
GetCacheItems ( ) : IEnumerable
GetObjectCreatedDate ( DictionaryEntry entry ) : System.DateTime
GetObjectExpirationDate ( DictionaryEntry entry ) : System.DateTime
GetObjectSize ( object obj ) : long

Method Details

DeleteCache() public static méthode

public static DeleteCache ( List cacheList = null ) : void
cacheList List
Résultat void

GetCacheList() public static méthode

public static GetCacheList ( CacheSortEnum sortBy = CacheSortEnum.Size, bool ascending = false, int pageNumber = 1, int pageSize = 10 ) : CacheListModel
sortBy CacheSortEnum
ascending bool
pageNumber int
pageSize int
Résultat Geta.CacheManager.Core.Models.CacheListModel