Example #1
0
 public void Stop()
 {
     writeStrategy = new DoNotWrite();
     isStarted     = false;
     if (StopEvent != null)
     {
         StopEvent();
     }
 }
Example #2
0
 public void Start()
 {
     writeStrategy = new WriteToMemory();
     isStarted     = true;
     if (StartEvent != null)
     {
         StartEvent();
     }
 }
Example #3
0
 public void Stop()
 {
     writeStrategy = new DoNotWrite();
 }
Example #4
0
 public void Start()
 {
     writeStrategy = new WriteToMemory();
 }
Example #5
0
 public void Stop() {
     writeStrategy = new DoNotWrite();
     isStarted = false;
     if (StopEvent != null) StopEvent();
 }
Example #6
0
 public void Start() {
     writeStrategy = new WriteToMemory();
     isStarted = true;
     if (StartEvent != null) StartEvent();
 }
Example #7
0
 public void Stop()
 {
     writeStrategy = new DoNotWrite();
 }
Example #8
0
 public void Start()
 {
     writeStrategy = new WriteToMemory();
 }
 public NotifyProspectsWhenAccomodationIsSoldDomainEventHandler(WriteStrategy writeStrategy, PersonQueryExtended personQuery)
 {
     this.personQuery   = personQuery;
     this.writeStrategy = writeStrategy;
 }