C# Class Machete.Service.WorkerCache

Mostrar archivo Open project: SavageLearning/Machete

Private Properties

Property Type Description
FillCache void
FillCache void

Public Methods

Method 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

Method Description
FillCache ( ) : void
FillCache ( MacheteContext db ) : void

Method Details

ExpireMembers() public static method

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

Initialize() public static method

public static Initialize ( MacheteContext db ) : void
db MacheteContext
return void

ReactivateMembers() public static method

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

Refresh() public static method

public static Refresh ( MacheteContext db ) : void
db MacheteContext
return void

getCache() public static method

public static getCache ( ) : IEnumerable
return IEnumerable