示例#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;
        }
示例#2
0
文件: Sprint.cs 项目: stgolem/Scrumr
 public Sprint(Project parent, Guid id, string name, DateTime from, DateTime to)
     : base(parent, id)
 {
     _stages = new List<Stage>();
     _stories = new List<Story>();
 }