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