C# 클래스 JustPressPlay.ViewModels.PlayersListViewModel

파일 보기 프로젝트 열기: RIT-MAGIC/JustPressPlay

공개 메소드들

메소드 설명
Populate ( int start = null, int count = null, int userID = null, bool friendsWith = null, int earnedAchievement = null, int earnedQuest = null, UnitOfWork work = null ) : PlayersListViewModel

Populates a list of players

메소드 상세

Populate() 공개 정적인 메소드

Populates a list of players
public static Populate ( int start = null, int count = null, int userID = null, bool friendsWith = null, int earnedAchievement = null, int earnedQuest = null, UnitOfWork work = null ) : PlayersListViewModel
start int The zero-based index of the first player to return
count int The total number of players to return
userID int The user ID for friend-related stuff
friendsWith bool True for friends, false for non-friends, null for everywhere
earnedAchievement int Only return players who earned the specified achievement (by id)
earnedQuest int Only return players who earned the specified quest (by id)
work JustPressPlay.Models.Repositories.UnitOfWork The Unit of Work to use. If null, one will be created
리턴 PlayersListViewModel