Closed xbOnline closed 5 years ago
public Action<IAggregateRoot, IDomainEvent> GetInternalEventHandler(Type aggregateRootType, Type eventType) { IDictionary<Type, Action<IAggregateRoot, IDomainEvent>> eventHandlerDic; if (!_mappings.TryGetValue(aggregateRootType, out eventHandlerDic)) return null; Action<IAggregateRoot, IDomainEvent> eventHandler; return eventHandlerDic.TryGetValue(eventType, out eventHandler) ? eventHandler : null; }
以上是否应该将父类的handle一起加载?
fixed.
以上是否应该将父类的handle一起加载?