public ChatMessageHandlerTickable(IChatTextMessageRecievedEventSubscribable subscriptionService, ILog logger, [NotNull] IChatMessageBoxReciever chatReciever) : base(subscriptionService, false, logger) //don't service all at once, for performance reasons. { ChatReciever = chatReciever ?? throw new ArgumentNullException(nameof(chatReciever)); }
/// <inheritdoc /> public ChatMessageHandlerTickable([NotNull] Queue <TextChatEventData> chatEventQueue, [NotNull] IChatMessageBoxReciever chatReciever) { ChatEventQueue = chatEventQueue ?? throw new ArgumentNullException(nameof(chatEventQueue)); ChatReciever = chatReciever ?? throw new ArgumentNullException(nameof(chatReciever)); }