C# Класс BusinessLogic.Logic.Players.PlayerDeleter

Наследование: IPlayerDeleter
Показать файл Открыть проект

Открытые методы

Метод Описание
DeletePlayer ( int playerId, ApplicationUser currentUser ) : void
PlayerDeleter ( IDataContext dataContext, IChampionRecalculator championRecalculator, INemesisRecalculator nemesisRecalculator ) : System

Приватные методы

Метод Описание
ClearOutCurrentNemesis ( int nemesisId, ApplicationUser currentUser, HashSet playerIdsToClear ) : void
ClearOutPreviousNemesis ( int nemesisId, ApplicationUser currentUser ) : void
DeleteChampionRecords ( int playerId, ApplicationUser currentUser ) : void
DeletePlayerAchievements ( int playerId, ApplicationUser currentUser ) : void
DeletePlayerNemesesRecords ( int playerId, ApplicationUser currentUser ) : void
RecalculateChampions ( IEnumerable gameDefinitionIds, ApplicationUser currentUser ) : void
RecalculateNemesis ( IEnumerable playerIdsThatNeedNewNemesis, ApplicationUser currentUser ) : void
ValidatePlayer ( int playerId ) : void

Описание методов

DeletePlayer() публичный Метод

public DeletePlayer ( int playerId, ApplicationUser currentUser ) : void
playerId int
currentUser ApplicationUser
Результат void

PlayerDeleter() публичный Метод

public PlayerDeleter ( IDataContext dataContext, IChampionRecalculator championRecalculator, INemesisRecalculator nemesisRecalculator ) : System
dataContext IDataContext
championRecalculator IChampionRecalculator
nemesisRecalculator INemesisRecalculator
Результат System