C# 클래스 JustPressPlay.ViewModels.QuestsListViewModel

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

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Populate ( int userID = null, bool completedQuests = false, bool partiallyCompletedQuests = false, bool incompleteQuests = false, bool inactiveQuests = false, bool trackedQuests = false, bool userGeneratedQuests = false, int start = null, int count = null, String search = null, UnitOfWork work = null ) : QuestsListViewModel

Populates a view model with a list of quests

메소드 상세

Populate() 공개 정적인 메소드

Populates a view model with a list of quests
public static Populate ( int userID = null, bool completedQuests = false, bool partiallyCompletedQuests = false, bool incompleteQuests = false, bool inactiveQuests = false, bool trackedQuests = false, bool userGeneratedQuests = false, int start = null, int count = null, String search = null, UnitOfWork work = null ) : QuestsListViewModel
userID int The id of a user for user-related searches
completedQuests bool Only include completed quests?
partiallyCompletedQuests bool Only include partially completed quests?
incompleteQuests bool Only include fully incomplete quests?
inactiveQuests bool Include inactive quests?
trackedQuests bool Show only tracked quests?
userGeneratedQuests bool Include user generated quests?
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.
리턴 QuestsListViewModel