Exemple #1
0
            public PersistenceConversationCaregiver(PersistenceConversationalModel pcm, ConversationEndMode endMode)
            {
                this.pcm     = pcm;
                this.endMode = endMode;
                string        convId = pcm.GetConvesationId();
                IConversation c      = pcm.cca.Container.Get(convId) ?? pcm.cf.CreateConversation(convId);

                pcm.cca.Container.SetAsCurrent(c);
                c.Resume();
            }
Exemple #2
0
 protected IDisposable GetConversationCaregiver(ConversationEndMode endMode)
 {
     return(new PersistenceConversationCaregiver(this, endMode));
 }