public ProductBacklog(Project parent, string name) : base(parent) { // TODO: Improve it with simpler handler or introduction of EntityMappedByConvention class. RegisterHandler( new TypeAndCallbackThresholdedActionBasedDomainEventHandler( (e) => OnStoryAdded((StoryAddedToProductBacklog) e), (e) => e is StoryAddedToProductBacklog, typeof (StoryAddedToProductBacklog))); _name = name; }
public Sprint(Project parent, Guid id, string name, DateTime from, DateTime to) : base(parent, id) { _stages = new List<Stage>(); _stories = new List<Story>(); }