Метод | Описание | |
---|---|---|
GetTotalVotesForComment ( System.Guid commentId, int &upVotes, int &downVotes ) : void | ||
GetTotalVotesForPost ( System.Guid postId, int &upVotes, int &downVotes ) : void | ||
GetVoteForUserOnComment ( System.Guid userId, System.Guid commentId ) : VoteType? | ||
GetVoteForUserOnPost ( System.Guid userId, System.Guid postId ) : VoteType? | ||
GetVotesOnCommentsByUser ( System.Guid userId, List |
||
GetVotesOnPostsByUser ( System.Guid userId, List |
||
UnVoteComment ( System.Guid commentId, System.Guid userId ) : void | ||
UnVotePost ( System.Guid postId, System.Guid userId ) : void | ||
VoteForComment ( System.Guid commentId, System.Guid userId, string ipAddress, VoteType voteType, System.DateTime dateCasted ) : void | ||
VoteForPost ( System.Guid postId, System.Guid userId, string ipAddress, VoteType voteType, System.DateTime dateCasted ) : void | ||
VoteService ( IDbConnectionProvider conn ) : System |
public GetTotalVotesForComment ( System.Guid commentId, int &upVotes, int &downVotes ) : void | ||
commentId | System.Guid | |
upVotes | int | |
downVotes | int | |
Результат | void |
public GetTotalVotesForPost ( System.Guid postId, int &upVotes, int &downVotes ) : void | ||
postId | System.Guid | |
upVotes | int | |
downVotes | int | |
Результат | void |
public GetVoteForUserOnComment ( System.Guid userId, System.Guid commentId ) : VoteType? | ||
userId | System.Guid | |
commentId | System.Guid | |
Результат | VoteType? |
public GetVoteForUserOnPost ( System.Guid userId, System.Guid postId ) : VoteType? | ||
userId | System.Guid | |
postId | System.Guid | |
Результат | VoteType? |
public GetVotesOnCommentsByUser ( System.Guid userId, List |
||
userId | System.Guid | |
comments | List |
|
Результат | VoteType>.Dictionary |
public GetVotesOnPostsByUser ( System.Guid userId, List |
||
userId | System.Guid | |
posts | List |
|
Результат | VoteType>.Dictionary |
public UnVoteComment ( System.Guid commentId, System.Guid userId ) : void | ||
commentId | System.Guid | |
userId | System.Guid | |
Результат | void |
public UnVotePost ( System.Guid postId, System.Guid userId ) : void | ||
postId | System.Guid | |
userId | System.Guid | |
Результат | void |
public VoteForComment ( System.Guid commentId, System.Guid userId, string ipAddress, VoteType voteType, System.DateTime dateCasted ) : void | ||
commentId | System.Guid | |
userId | System.Guid | |
ipAddress | string | |
voteType | VoteType | |
dateCasted | System.DateTime | |
Результат | void |
public VoteForPost ( System.Guid postId, System.Guid userId, string ipAddress, VoteType voteType, System.DateTime dateCasted ) : void | ||
postId | System.Guid | |
userId | System.Guid | |
ipAddress | string | |
voteType | VoteType | |
dateCasted | System.DateTime | |
Результат | void |
public VoteService ( IDbConnectionProvider conn ) : System | ||
conn | IDbConnectionProvider | |
Результат | System |