C# 클래스 Noobot.Core.NoobotCore

상속: INoobotCore
파일 보기 프로젝트 열기: noobot/noobot 1 사용 예제들

공개 메소드들

메소드 설명
Connect ( ) : System.Threading.Tasks.Task
Disconnect ( ) : void
GetBotUserName ( ) : string
GetChannelId ( string channelName ) : string
GetUserIdForUsername ( string username ) : string
ListChannels ( ) : string>.Dictionary
MessageReceived ( SlackMessage message ) : System.Threading.Tasks.Task
NoobotCore ( IConfigReader configReader, ILog log, INoobotContainer container ) : System
Ping ( ) : System.Threading.Tasks.Task
SendMessage ( Noobot.Core.MessagingPipeline.Response.ResponseMessage responseMessage ) : System.Threading.Tasks.Task

비공개 메소드들

메소드 설명
GetAttachmentFields ( Noobot.Core.MessagingPipeline.Response.Attachment attachment ) : IList
GetAttachments ( Noobot.Core.MessagingPipeline.Response.Attachment attachment ) : IList
GetChatHub ( Noobot.Core.MessagingPipeline.Response.ResponseMessage responseMessage ) : Task
GetUserChannel ( SlackMessage message ) : Task
GetUserChatHub ( string userId, bool joinChannel = true ) : Task
GetUsername ( SlackMessage message ) : string
OnDisconnect ( ) : void
Reconnect ( ) : void
StartPlugins ( ) : void

TODO: Move these methods into container?

StopPlugins ( ) : void

TODO: Move these methods into container?

메소드 상세

Connect() 공개 메소드

public Connect ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

Disconnect() 공개 메소드

public Disconnect ( ) : void
리턴 void

GetBotUserName() 공개 메소드

public GetBotUserName ( ) : string
리턴 string

GetChannelId() 공개 메소드

public GetChannelId ( string channelName ) : string
channelName string
리턴 string

GetUserIdForUsername() 공개 메소드

public GetUserIdForUsername ( string username ) : string
username string
리턴 string

ListChannels() 공개 메소드

public ListChannels ( ) : string>.Dictionary
리턴 string>.Dictionary

MessageReceived() 공개 메소드

public MessageReceived ( SlackMessage message ) : System.Threading.Tasks.Task
message SlackConnector.Models.SlackMessage
리턴 System.Threading.Tasks.Task

NoobotCore() 공개 메소드

public NoobotCore ( IConfigReader configReader, ILog log, INoobotContainer container ) : System
configReader IConfigReader
log ILog
container INoobotContainer
리턴 System

Ping() 공개 메소드

public Ping ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

SendMessage() 공개 메소드

public SendMessage ( Noobot.Core.MessagingPipeline.Response.ResponseMessage responseMessage ) : System.Threading.Tasks.Task
responseMessage Noobot.Core.MessagingPipeline.Response.ResponseMessage
리턴 System.Threading.Tasks.Task