C# Class Machete.Service.WorkerCache

Afficher le fichier Open project: SavageLearning/Machete

Private Properties

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

Méthodes publiques

Méthode Description
ExpireMembers ( MacheteContext db ) : bool

Expires active workers based on expiration date

Initialize ( MacheteContext db ) : void
ReactivateMembers ( MacheteContext db ) : bool

Reactivates sanctioned workers based on reactivation date

Refresh ( MacheteContext db ) : void
getCache ( ) : IEnumerable

Private Methods

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

Method Details

ExpireMembers() public static méthode

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

Initialize() public static méthode

public static Initialize ( MacheteContext db ) : void
db MacheteContext
Résultat void

ReactivateMembers() public static méthode

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

Refresh() public static méthode

public static Refresh ( MacheteContext db ) : void
db MacheteContext
Résultat void

getCache() public static méthode

public static getCache ( ) : IEnumerable
Résultat IEnumerable