Exemple #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="ObservableAggregateRootEntity"/> class.
        /// </summary>
        protected ObservableAggregateRootEntity()
        {
            _router   = new InstanceEventRouter();
            _recorder = new EventRecorder();

            _observers = ImmutableObserverList.Empty;
            _disposed  = false;
        }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AggregateRootEntity"/> class.
 /// </summary>
 protected AggregateRootEntity()
 {
     _router   = new InstanceEventRouter();
     _recorder = new EventRecorder();
 }
Exemple #3
0
 public AggregateRoot()
 {
     _recorder = new EventRecorder();
     _router   = new InstanceEventRouter();
 }