Constructor AgentAnswerJournal
- Namespace
- MailFathom.Application.Agent.Answering
- Assembly
- MailFathom.Application.dll
AgentAnswerJournal(AgentConversationId, UserId, AgentMessageId, long, IAgentConversationStore, ClientSignals, IUserLanguages, TimeProvider)
Initializes the journal of one answer the conversation has already opened.
public AgentAnswerJournal(AgentConversationId conversation, UserId user, AgentMessageId answer, long openedAt, IAgentConversationStore store, ClientSignals signals, IUserLanguages languages, TimeProvider timeProvider)
Parameters
conversationAgentConversationIdThe conversation the answer belongs to.
userUserIdWhose conversation it is.
answerAgentMessageIdThe answer being composed.
openedAtlongThe place the answer was opened at, which is where reading the person's further instructions begins.
storeIAgentConversationStoreWhere the conversation is held.
signalsClientSignalsAnnounces that the conversation advanced.
languagesIUserLanguagesResolves the language the status line is written in.
timeProviderTimeProviderStamps each write.
Exceptions
- ArgumentNullException
Thrown when a collaborator is null.
- ArgumentOutOfRangeException
Thrown when
openedAtis not a written place.