Property | Type | Description | |
---|---|---|---|
ToQuestionResults | List |
Method | Description | |
---|---|---|
DeleteAnswer ( long questionId, long answerId ) : void |
Delete Answer by performing compensating actions to StoreAnswer() to keep the datastore in a consistent state
|
|
DeleteQuestion ( long questionId ) : void |
Delete question by performing compensating actions to StoreQuestion() to keep the datastore in a consistent state
|
|
GetAllQuestions ( ) : List |
||
GetAnswersForQuestion ( long questionId ) : List |
||
GetOrCreateUser ( RedisStackOverflow.ServiceModel.User user ) : RedisStackOverflow.ServiceModel.User | ||
GetQuestion ( long questionId ) : RedisStackOverflow.ServiceModel.QuestionResult | ||
GetQuestionStats ( long questionId ) : RedisStackOverflow.ServiceModel.QuestionStat | ||
GetQuestionsByUser ( long userId ) : List |
||
GetQuestionsTaggedWith ( string tagName ) : List |
||
GetRecentQuestionResults ( int skip, int take ) : List |
||
GetSiteStats ( ) : RedisStackOverflow.ServiceModel.SiteStats | ||
GetTagsByPopularity ( int skip, int take ) : List |
||
GetUserStats ( long userId ) : RedisStackOverflow.ServiceModel.UserStat | ||
GetUsersByIds ( IEnumerable |
||
Repository ( IRedisClientsManager redisManager ) : System | ||
StoreAnswer ( RedisStackOverflow.ServiceModel.Answer answer ) : void | ||
StoreQuestion ( RedisStackOverflow.ServiceModel.Question question ) : void | ||
VoteAnswerDown ( long userId, long answerId ) : void | ||
VoteAnswerUp ( long userId, long answerId ) : void | ||
VoteQuestionDown ( long userId, long questionId ) : void | ||
VoteQuestionUp ( long userId, long questionId ) : void |
Method | Description | |
---|---|---|
ToQuestionResults ( IEnumerable |
public DeleteAnswer ( long questionId, long answerId ) : void | ||
questionId | long | |
answerId | long | |
return | void |
public DeleteQuestion ( long questionId ) : void | ||
questionId | long | |
return | void |
public GetAnswersForQuestion ( long questionId ) : List |
||
questionId | long | |
return | List |
public GetOrCreateUser ( RedisStackOverflow.ServiceModel.User user ) : RedisStackOverflow.ServiceModel.User | ||
user | RedisStackOverflow.ServiceModel.User | |
return | RedisStackOverflow.ServiceModel.User |
public GetQuestion ( long questionId ) : RedisStackOverflow.ServiceModel.QuestionResult | ||
questionId | long | |
return | RedisStackOverflow.ServiceModel.QuestionResult |
public GetQuestionStats ( long questionId ) : RedisStackOverflow.ServiceModel.QuestionStat | ||
questionId | long | |
return | RedisStackOverflow.ServiceModel.QuestionStat |
public GetQuestionsByUser ( long userId ) : List |
||
userId | long | |
return | List |
public GetQuestionsTaggedWith ( string tagName ) : List |
||
tagName | string | |
return | List |
public GetRecentQuestionResults ( int skip, int take ) : List |
||
skip | int | |
take | int | |
return | List |
public GetSiteStats ( ) : RedisStackOverflow.ServiceModel.SiteStats | ||
return | RedisStackOverflow.ServiceModel.SiteStats |
public GetTagsByPopularity ( int skip, int take ) : List |
||
skip | int | |
take | int | |
return | List |
public GetUserStats ( long userId ) : RedisStackOverflow.ServiceModel.UserStat | ||
userId | long | |
return | RedisStackOverflow.ServiceModel.UserStat |
public GetUsersByIds ( IEnumerable |
||
userIds | IEnumerable |
|
return | List |
public Repository ( IRedisClientsManager redisManager ) : System | ||
redisManager | IRedisClientsManager | |
return | System |
public StoreAnswer ( RedisStackOverflow.ServiceModel.Answer answer ) : void | ||
answer | RedisStackOverflow.ServiceModel.Answer | |
return | void |
public StoreQuestion ( RedisStackOverflow.ServiceModel.Question question ) : void | ||
question | RedisStackOverflow.ServiceModel.Question | |
return | void |
public VoteAnswerDown ( long userId, long answerId ) : void | ||
userId | long | |
answerId | long | |
return | void |
public VoteAnswerUp ( long userId, long answerId ) : void | ||
userId | long | |
answerId | long | |
return | void |
public VoteQuestionDown ( long userId, long questionId ) : void | ||
userId | long | |
questionId | long | |
return | void |
public VoteQuestionUp ( long userId, long questionId ) : void | ||
userId | long | |
questionId | long | |
return | void |