/// <summary> /// Constructor, /// Instances of this class are meant to be created automatically by nhibernate when /// a Session Factory using this class as ContextSessionProvider is built. /// </summary> /// <param name="factory"></param> public ConversationSessionContext(ISessionFactoryImplementor factory) { factory.ThrowIfNull("factory"); Factory = factory; }