Свойство | Type | Description | |
---|---|---|---|
ToQuestionResults | List |
Méthode | 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 |
Méthode | Description | |
---|---|---|
ToQuestionResults ( IEnumerable |
public DeleteAnswer ( long questionId, long answerId ) : void | ||
questionId | long | |
answerId | long | |
Résultat | void |
public DeleteQuestion ( long questionId ) : void | ||
questionId | long | |
Résultat | void |
public GetAnswersForQuestion ( long questionId ) : List |
||
questionId | long | |
Résultat | List |
public GetOrCreateUser ( RedisStackOverflow.ServiceModel.User user ) : RedisStackOverflow.ServiceModel.User | ||
user | RedisStackOverflow.ServiceModel.User | |
Résultat | RedisStackOverflow.ServiceModel.User |
public GetQuestion ( long questionId ) : RedisStackOverflow.ServiceModel.QuestionResult | ||
questionId | long | |
Résultat | RedisStackOverflow.ServiceModel.QuestionResult |
public GetQuestionStats ( long questionId ) : RedisStackOverflow.ServiceModel.QuestionStat | ||
questionId | long | |
Résultat | RedisStackOverflow.ServiceModel.QuestionStat |
public GetQuestionsByUser ( long userId ) : List |
||
userId | long | |
Résultat | List |
public GetQuestionsTaggedWith ( string tagName ) : List |
||
tagName | string | |
Résultat | List |
public GetRecentQuestionResults ( int skip, int take ) : List |
||
skip | int | |
take | int | |
Résultat | List |
public GetSiteStats ( ) : RedisStackOverflow.ServiceModel.SiteStats | ||
Résultat | RedisStackOverflow.ServiceModel.SiteStats |
public GetTagsByPopularity ( int skip, int take ) : List |
||
skip | int | |
take | int | |
Résultat | List |
public GetUserStats ( long userId ) : RedisStackOverflow.ServiceModel.UserStat | ||
userId | long | |
Résultat | RedisStackOverflow.ServiceModel.UserStat |
public GetUsersByIds ( IEnumerable |
||
userIds | IEnumerable |
|
Résultat | List |
public Repository ( IRedisClientsManager redisManager ) : System | ||
redisManager | IRedisClientsManager | |
Résultat | System |
public StoreAnswer ( RedisStackOverflow.ServiceModel.Answer answer ) : void | ||
answer | RedisStackOverflow.ServiceModel.Answer | |
Résultat | void |
public StoreQuestion ( RedisStackOverflow.ServiceModel.Question question ) : void | ||
question | RedisStackOverflow.ServiceModel.Question | |
Résultat | void |
public VoteAnswerDown ( long userId, long answerId ) : void | ||
userId | long | |
answerId | long | |
Résultat | void |
public VoteAnswerUp ( long userId, long answerId ) : void | ||
userId | long | |
answerId | long | |
Résultat | void |
public VoteQuestionDown ( long userId, long questionId ) : void | ||
userId | long | |
questionId | long | |
Résultat | void |
public VoteQuestionUp ( long userId, long questionId ) : void | ||
userId | long | |
questionId | long | |
Résultat | void |