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

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

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

Метод Описание
GetAllPlayers ( int gamingGroupId, bool includeInactive = true ) : List
GetAllPlayersWithNemesisInfo ( int gamingGroupId, IDateRangeFilter dateRangeFilter = null ) : List
GetPlayerDetails ( int playerId, int numberOfRecentGamesToRetrieve ) : PlayerDetails
GetPlayerIdForCurrentUser ( string applicationUserId, int gamingGroupId ) : int
GetPlayerQuickStatsForUser ( string applicationUserId, int gamingGroupId ) : PlayerQuickStats
GetPlayerStatistics ( int playerId ) : PlayerStatistics
GetPlayers ( List ids ) : List
GetPlayersToCreate ( string currentUserId, int currentGamingGroupId ) : PlayersToCreateModel
PlayerRetriever ( IDataContext dataContext, IPlayerRepository playerRepository, IPlayedGameRetriever playedGameRetriever ) : BusinessLogic.DataAccess

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

Метод Описание
GetAllPlayersInGamingGroupQueryable ( int gamingGroupId ) : IQueryable
GetChampionedGames ( int playerId ) : List
GetFormerChampionedGames ( int playerId ) : List
GetGameDefinitionTotals ( int playerId ) : GameDefinitionTotals
GetMinions ( int nemesisPlayerId ) : List
GetNemePointsSummary ( int playerId ) : NemePointsSummary
GetPlayerGameResultsWithPlayedGameAndGameDefinition ( int playerID, int numberOfRecentGamesToRetrieve ) : List
GetPlayerInfoForUser ( Player p ) : PlayerInfoForUser
GetPlayersToCreateQueryable ( Player currentUserPlayer, int gaminggruopid ) : IQueryable
GetTopLevelTotals ( GameDefinitionTotals gameDefinitionTotals ) : TopLevelTotals
PopulateAchivements ( List playersWithNemesis ) : void
PopulateNemePointsSummary ( int gamingGroupId, List playersWithNemesis, IDateRangeFilter dateRangeFilter ) : void
ValidatePlayerWasFound ( int playerId, Player returnPlayer ) : void

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

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

public GetAllPlayers ( int gamingGroupId, bool includeInactive = true ) : List
gamingGroupId int
includeInactive bool
Результат List

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

public GetAllPlayersWithNemesisInfo ( int gamingGroupId, IDateRangeFilter dateRangeFilter = null ) : List
gamingGroupId int
dateRangeFilter IDateRangeFilter
Результат List

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

public GetPlayerDetails ( int playerId, int numberOfRecentGamesToRetrieve ) : PlayerDetails
playerId int
numberOfRecentGamesToRetrieve int
Результат BusinessLogic.Models.Players.PlayerDetails

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

public GetPlayerIdForCurrentUser ( string applicationUserId, int gamingGroupId ) : int
applicationUserId string
gamingGroupId int
Результат int

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

public GetPlayerQuickStatsForUser ( string applicationUserId, int gamingGroupId ) : PlayerQuickStats
applicationUserId string
gamingGroupId int
Результат BusinessLogic.Models.Players.PlayerQuickStats

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

public GetPlayerStatistics ( int playerId ) : PlayerStatistics
playerId int
Результат BusinessLogic.Models.Players.PlayerStatistics

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

public GetPlayers ( List ids ) : List
ids List
Результат List

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

public GetPlayersToCreate ( string currentUserId, int currentGamingGroupId ) : PlayersToCreateModel
currentUserId string
currentGamingGroupId int
Результат BusinessLogic.Models.Players.PlayersToCreateModel

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

public PlayerRetriever ( IDataContext dataContext, IPlayerRepository playerRepository, IPlayedGameRetriever playedGameRetriever ) : BusinessLogic.DataAccess
dataContext IDataContext
playerRepository IPlayerRepository
playedGameRetriever IPlayedGameRetriever
Результат BusinessLogic.DataAccess