コード例 #1
0
 /// <summary>
 /// Persists the specified aggregate commit.
 /// </summary>
 /// <param name="aggregateCommit">The aggregate commit.</param>
 public void Append(AggregateCommit aggregateCommit)
 {
     eventStoreStorage.Flush(aggregateCommit);
 }
コード例 #2
0
        /// <summary>
        /// Persists the specified aggregate commit.
        /// </summary>
        /// <param name="aggregateCommit">The aggregate commit.</param>
        public Task AppendAsync(AggregateCommit aggregateCommit)
        {
            eventStoreStorage.Flush(aggregateCommit);

            return(Task.CompletedTask);
        }