protected void InitializeHandlers() { foreach (var handler in _mappingStrategy.GetEventHandlers(this)) { RegisterHandler(handler); } }
private void InitializeEventHandlers(IEventHandlerMappingStrategy eventHandlerMappingStrategy) { foreach (var eventHandler in eventHandlerMappingStrategy.GetEventHandlers(this)) { AddEventHandler(eventHandler); } }