Example #1
0
        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;
        }
Example #2
0
 public Sprint(Project parent, Guid id, string name, DateTime from, DateTime to)
     : base(parent, id)
 {
     _stages = new List<Stage>();
     _stories = new List<Story>();
 }