/// <summary>
        /// Configures Rebus to store saga data in MongoDB, in the database specified by the connection string
        /// </summary>
        public static MongoDbSagaPersisterConfigurationBuilder StoreInMongoDb(
            this RebusSagasConfigurer configurer,
            string connectionString)
        {
            var persister = new MongoDbSagaPersister(connectionString);

            configurer.Use(persister);
            return(new MongoDbSagaPersisterConfigurationBuilder(persister));
        }
 internal MongoDbSagaPersisterConfigurationBuilder(MongoDbSagaPersister mongoDbSagaPersister)
 {
     this.mongoDbSagaPersister = mongoDbSagaPersister;
 }