C# Класс RavenOverflow.FakeData.FakeQuestions

Показать файл Открыть проект

Открытые методы

Метод Описание
CreateAFakeQuestion ( string userId, IList answerUserIds ) : RavenOverflow.Core.Entities.Question
CreateFakeQuestions ( IList userIds = null, int numberOfFakeQuestions = 50 ) : ICollection

Приватные методы

Метод Описание
CreateAFakeAnswer ( System.DateTime questionCreatedOn, string userId ) : Answer
CreateAFakeComment ( System.DateTime questionCreatedOn ) : RavenOverflow.Core.Entities.Comment
CreateAFakeVote ( ) : RavenOverflow.Core.Entities.Vote
CreateFixedFakeQuestions ( IList userIds ) : IList

Описание методов

CreateAFakeQuestion() публичный статический Метод

public static CreateAFakeQuestion ( string userId, IList answerUserIds ) : RavenOverflow.Core.Entities.Question
userId string
answerUserIds IList
Результат RavenOverflow.Core.Entities.Question

CreateFakeQuestions() публичный статический Метод

public static CreateFakeQuestions ( IList userIds = null, int numberOfFakeQuestions = 50 ) : ICollection
userIds IList
numberOfFakeQuestions int
Результат ICollection