C# Class RavenOverflow.FakeData.FakeQuestions

显示文件 Open project: PureKrome/RavenOverflow

Public Methods

Method Description
CreateAFakeQuestion ( string userId, IList answerUserIds ) : RavenOverflow.Core.Entities.Question
CreateFakeQuestions ( IList userIds = null, int numberOfFakeQuestions = 50 ) : ICollection

Private Methods

Method Description
CreateAFakeAnswer ( System.DateTime questionCreatedOn, string userId ) : Answer
CreateAFakeComment ( System.DateTime questionCreatedOn ) : RavenOverflow.Core.Entities.Comment
CreateAFakeVote ( ) : RavenOverflow.Core.Entities.Vote
CreateFixedFakeQuestions ( IList userIds ) : IList

Method Details

CreateAFakeQuestion() public static method

public static CreateAFakeQuestion ( string userId, IList answerUserIds ) : RavenOverflow.Core.Entities.Question
userId string
answerUserIds IList
return RavenOverflow.Core.Entities.Question

CreateFakeQuestions() public static method

public static CreateFakeQuestions ( IList userIds = null, int numberOfFakeQuestions = 50 ) : ICollection
userIds IList
numberOfFakeQuestions int
return ICollection