コード例 #1
0
        private void NotifyProcessingStateChanged(SessionProcessingState newProcessingState)
        {
            var sessionId = this.GetPrimaryKey();

            this.GetStreamProvider("SMS").GetStream <SessionProcessingNotification>(sessionId, typeof(SessionProcessingNotification).FullName)
            .OnNextAsync(new SessionProcessingNotification(sessionId, newProcessingState))
            .Ignore();
        }
コード例 #2
0
 public SessionProcessingNotification(Guid sessionId, SessionProcessingState newProcessingState)
 {
     this.SessionId          = sessionId;
     this.NewProcessingState = newProcessingState;
 }