public void Initialize() { if (!_initialized) { _eventDispatcher.Initialize(purgeExistingViews: true); _initialized = true; } }
/// <summary> /// Initializes the event dispatcher, giving e.g. views a chance to catch up to the current state /// </summary> public CommandProcessor Initialize() { _logger.Info("Initializing event dispatcher"); _eventDispatcher.Initialize(Options.PurgeExistingViews); return(this); }
public void Initialize(bool purgeExistingViews = false) { _innerEventDispatcher.Initialize(purgeExistingViews); _workerThread.Start(); }
public void Initialize(IEventStore eventStore, bool purgeExistingViews = false) { _innerEventDispatcher.Initialize(eventStore, purgeExistingViews); }
public void Initialize(bool purgeExistingViews = false) { _innerEventDispatcher.Initialize(purgeExistingViews); }