예제 #1
0
        /// <summary>
        /// Migrates the commit <paramref name="headers"/> and <paramref name="events"/> for the specified <paramref name="id"/>.
        /// </summary>
        /// <param name="id">The unique commit identifier.</param>
        /// <param name="headers">The new commit headers.</param>
        /// <param name="events">The new commit events.</param>
        public void Migrate(Int64 id, HeaderCollection headers, EventCollection events)
        {
            eventStore.Migrate(id, headers, events);

            statistics.IncrementUpdateCount();
        }