C# 클래스 JustPressPlay.ViewModels.EarningCommentsViewModel

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

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Populate ( int id = null, bool isAchievement = true, int instanceID = null, int achievementID = null, int questID = null, int start = null, int count = null, bool includeDeleted = null, UnitOfWork work = null ) : EarningCommentsViewModel

Returns a populated list of earning comments TODO: Test once we have comments!

메소드 상세

Populate() 공개 정적인 메소드

Returns a populated list of earning comments TODO: Test once we have comments!
public static Populate ( int id = null, bool isAchievement = true, int instanceID = null, int achievementID = null, int questID = null, int start = null, int count = null, bool includeDeleted = null, UnitOfWork work = null ) : EarningCommentsViewModel
id int The id of the user who's achievement the comments are on (requires 'achievementID' to be present as well)
isAchievement bool
instanceID int
achievementID int The id of the achievement template the comments are on (requires 'id' to be present as well)
questID int
start int The zero-based index of the first comment to get
count int How many comments should be returned?
includeDeleted bool Should deleted comments be included? TODO: Require specific roles for this!
work JustPressPlay.Models.Repositories.UnitOfWork The unit of work for DB access. If null, one will be created
리턴 EarningCommentsViewModel