C# 클래스 Blog.Services.Implementation.ChatMessagesService

상속: BaseService, IChatMessagesService
파일 보기 프로젝트 열기: jsnmgpnty/Blogness2.0

공개 메소드들

메소드 설명
AddChatMessage ( ChatMessage chatMessage ) : ChatMessage
ChatMessagesService ( IChatMessagesLogic chatMessagesLogic, IRedisService redisService ) : System
GetChatMessagesByUserIds ( int fromUserId, int toUserId ) : List
GetChatMessagesByUsernames ( string fromUsername, string toUsername ) : List
GetChatMessagesListByUserId ( int userId ) : ChatMessagesList
GetChatMessagesListByUsername ( string username ) : ChatMessagesList
GetMoreChatMessagesByUserIds ( int fromUserId, int toUserId, int skip = 25 ) : List
GetMoreChatMessagesByUsernames ( string fromUsername, string toUsername, int skip = 25 ) : List

메소드 상세

AddChatMessage() 공개 메소드

public AddChatMessage ( ChatMessage chatMessage ) : ChatMessage
chatMessage Blog.Common.Contracts.ChatMessage
리턴 Blog.Common.Contracts.ChatMessage

ChatMessagesService() 공개 메소드

public ChatMessagesService ( IChatMessagesLogic chatMessagesLogic, IRedisService redisService ) : System
chatMessagesLogic IChatMessagesLogic
redisService IRedisService
리턴 System

GetChatMessagesByUserIds() 공개 메소드

public GetChatMessagesByUserIds ( int fromUserId, int toUserId ) : List
fromUserId int
toUserId int
리턴 List

GetChatMessagesByUsernames() 공개 메소드

public GetChatMessagesByUsernames ( string fromUsername, string toUsername ) : List
fromUsername string
toUsername string
리턴 List

GetChatMessagesListByUserId() 공개 메소드

public GetChatMessagesListByUserId ( int userId ) : ChatMessagesList
userId int
리턴 Blog.Common.Contracts.ViewModels.ChatMessagesList

GetChatMessagesListByUsername() 공개 메소드

public GetChatMessagesListByUsername ( string username ) : ChatMessagesList
username string
리턴 Blog.Common.Contracts.ViewModels.ChatMessagesList

GetMoreChatMessagesByUserIds() 공개 메소드

public GetMoreChatMessagesByUserIds ( int fromUserId, int toUserId, int skip = 25 ) : List
fromUserId int
toUserId int
skip int
리턴 List

GetMoreChatMessagesByUsernames() 공개 메소드

public GetMoreChatMessagesByUsernames ( string fromUsername, string toUsername, int skip = 25 ) : List
fromUsername string
toUsername string
skip int
리턴 List