C# Class Machete.Data.WorkerCache

Inheritance: IWorkerCache
Afficher le fichier Open project: SavageLearning/Machete

Private Properties

Свойство Type Description
FillCache void
GetDB MacheteContext

Méthodes publiques

Méthode Description
Dispose ( ) : void
ExpireMembers ( ) : bool

Expires active workers based on expiration date

GetCache ( ) : IEnumerable
ReactivateMembers ( ) : bool

Reactivates sanctioned workers based on reactivation date

Refresh ( ) : void
WorkerCache ( Func factory ) : System

Private Methods

Méthode Description
FillCache ( ) : void
GetDB ( ) : MacheteContext

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

ExpireMembers() public méthode

Expires active workers based on expiration date
public ExpireMembers ( ) : bool
Résultat bool

GetCache() public méthode

public GetCache ( ) : IEnumerable
Résultat IEnumerable

ReactivateMembers() public méthode

Reactivates sanctioned workers based on reactivation date
public ReactivateMembers ( ) : bool
Résultat bool

Refresh() public méthode

public Refresh ( ) : void
Résultat void

WorkerCache() public méthode

public WorkerCache ( Func factory ) : System
factory Func
Résultat System