/// <summary>
        /// Initializes a new instance of the <see cref="PersistenceAction"/> class.
        /// </summary>
        /// <param name="mongoSession">The mongo session.</param>
        /// <param name="mongoSessionCache">The mongo session cache.</param>
        /// <param name="changeTracker">The change tracker.</param>
        public PersistenceAction(IMongoSessionImplementor mongoSession, IMongoSessionCache mongoSessionCache, IChangeTracker changeTracker)
        {
            if (mongoSession == null)
                throw new ArgumentNullException("mongoSession");
            if (mongoSessionCache == null)
                throw new ArgumentNullException("mongoSessionCache");
            if (changeTracker == null)
                throw new ArgumentNullException("changeTracker");

            this.ChangeTracker = changeTracker;
            this.MongoSessionCache = mongoSessionCache;
            this.MongoSession = mongoSession;
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="FindOneAction"/> class.
 /// </summary>
 /// <param name="mongoSession">The mongoSession.</param>
 /// <param name="mongoSessionCache">The mongo session cache.</param>
 /// <param name="changeTracker">The change tracker.</param>
 public FindOneAction(IMongoSessionImplementor mongoSession, IMongoSessionCache mongoSessionCache, IChangeTracker changeTracker)
     : base(mongoSession, mongoSessionCache, changeTracker)
 {
 }