C# Класс NuBot.Automation.RobotEngine

Наследование: IRobotEngine
Показать файл Открыть проект

Открытые методы

Метод Описание
RegisterExecutor ( IContextExecutor executor ) : void
RobotEngine ( IAdapter adapter, IHttpServer httpServer, Func robotFunc, Func parts ) : NuBot.Adapters
RunAsync ( CancellationToken cancellationToken ) : Task

Приватные методы

Метод Описание
OnChannelJoinMessage ( IChannelJoinMessage message ) : void
OnChannelLeaveMessage ( IChannelLeaveMessage message ) : void
OnHttpRequest ( HttpListenerContext context ) : void
OnTextMessage ( ITextMessage message ) : void
RunExecutors ( IEnumerable executors, object dataSource = null ) : void

Описание методов

RegisterExecutor() публичный Метод

public RegisterExecutor ( IContextExecutor executor ) : void
executor IContextExecutor
Результат void

RobotEngine() публичный Метод

public RobotEngine ( IAdapter adapter, IHttpServer httpServer, Func robotFunc, Func parts ) : NuBot.Adapters
adapter IAdapter
httpServer IHttpServer
robotFunc Func
parts Func
Результат NuBot.Adapters

RunAsync() публичный Метод

public RunAsync ( CancellationToken cancellationToken ) : Task
cancellationToken System.Threading.CancellationToken
Результат Task