private void NotifyProcessingStateChanged(SessionProcessingState newProcessingState) { var sessionId = this.GetPrimaryKey(); this.GetStreamProvider("SMS").GetStream <SessionProcessingNotification>(sessionId, typeof(SessionProcessingNotification).FullName) .OnNextAsync(new SessionProcessingNotification(sessionId, newProcessingState)) .Ignore(); }
public SessionProcessingNotification(Guid sessionId, SessionProcessingState newProcessingState) { this.SessionId = sessionId; this.NewProcessingState = newProcessingState; }