C# Class RavenOverflow.FakeData.FakeQuestions

Afficher le fichier Open project: PureKrome/RavenOverflow

Méthodes publiques

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

Private Methods

Méthode 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 méthode

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

CreateFakeQuestions() public static méthode

public static CreateFakeQuestions ( IList userIds = null, int numberOfFakeQuestions = 50 ) : ICollection
userIds IList
numberOfFakeQuestions int
Résultat ICollection