C# Class JustPressPlay.ViewModels.AchievementsListViewModel

Datei anzeigen Open project: RIT-MAGIC/JustPressPlay

Private Properties

Property Type Description

Public Methods

Method Description
Populate ( int userID = null, int questID = null, bool achievementsEarned = null, bool inactiveAchievements = false, bool createPoints = null, bool explorePoints = null, bool learnPoints = null, bool socializePoints = null, int start = null, int count = null, String search = null, UnitOfWork work = null ) : AchievementsListViewModel

Populates a view model with a list of achievements

Method Details

Populate() public static method

Populates a view model with a list of achievements
public static Populate ( int userID = null, int questID = null, bool achievementsEarned = null, bool inactiveAchievements = false, bool createPoints = null, bool explorePoints = null, bool learnPoints = null, bool socializePoints = null, int start = null, int count = null, String search = null, UnitOfWork work = null ) : AchievementsListViewModel
userID int The id of a user for user-related searches
questID int Use this to return only achievements related to a particular quest.
achievementsEarned bool True for earned achievements, false for unearned, null for all. UserID required.
inactiveAchievements bool Should inactive achievements be returned? Default is false.
createPoints bool Require create points?
explorePoints bool Require explore points?
learnPoints bool Require learn points?
socializePoints bool Require socialize points?
start int
count int
search String A string for searching
work JustPressPlay.Models.Repositories.UnitOfWork The unit of work for DB access. If null, one will be created.
return AchievementsListViewModel