C# 클래스 BusinessLogic.Logic.Players.PlayerRetriever

상속: IPlayerRetriever
파일 보기 프로젝트 열기: NemeStats/NemeStats 1 사용 예제들

공개 메소드들

메소드 설명
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