/// <summary>
 /// Initializes a new instance of the <see cref="AggregateRoot"/> class.
 /// </summary>
 /// <param name="options">The options.</param>
 public AggregateRoot(AggregateRootOptions options)
 {
     _useStorageBasedSequencing = ((options & AggregateRootOptions.UseStorageBasedSequencing) != 0);
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AggregateRoot"/> class.
 /// </summary>
 /// <param name="options">The options.</param>
 public AggregateRoot(AggregateRootOptions options)
 {
     _useStorageBasedSequencing = ((options & AggregateRootOptions.UseStorageBasedSequencing) != 0);
 }