C# Class BusinessLogic.Logic.Nemeses.NemesisRecalculator

Inheritance: INemesisRecalculator
Mostrar archivo Open project: NemeStats/NemeStats Class Usage Examples

Public Methods

Method Description
NemesisRecalculator ( IDataContext dataContext, IPlayerRepository playerRepository ) : BusinessLogic.DataAccess
RecalculateAllNemeses ( ) : void
RecalculateNemesis ( int playerId, ApplicationUser currentUser ) : Nemesis

Private Methods

Method Description
ClearNemesisId ( ApplicationUser currentUser, Player minionPlayer ) : void
UpdateExistingNemesisIfNeeded ( ApplicationUser currentUser, Nemesis existingNemesis, Nemesis newNemesis ) : Nemesis

Method Details

NemesisRecalculator() public method

public NemesisRecalculator ( IDataContext dataContext, IPlayerRepository playerRepository ) : BusinessLogic.DataAccess
dataContext IDataContext
playerRepository IPlayerRepository
return BusinessLogic.DataAccess

RecalculateAllNemeses() public method

public RecalculateAllNemeses ( ) : void
return void

RecalculateNemesis() public method

public RecalculateNemesis ( int playerId, ApplicationUser currentUser ) : Nemesis
playerId int
currentUser ApplicationUser
return Nemesis