Пример #1
0
        /// <summary>
        /// Parse element in order to read productn name, list of user stories and list of prototypes
        /// </summary>
        /// <param name="element">Line to prase element</param>
        public void ReadRequirement(string element)
        {
            string[] data = element.Split(',');
            ProductName = data[0];
            string[] currentUserStories = data[1].Split('/');
            string[] currentPrototype   = data[2].Split('/');
            foreach (string userStory in currentUserStories)
            {
                UserStory current = new UserStory(userStory);
                UserStories.Add(current);
            }

            foreach (string prototype in currentPrototype)
            {
                Prototype current = new Prototype(prototype);
                Prototypes.Add(current);
            }
        }
Пример #2
0
 public void AddUserStory(UserStory obj)
 {
     UserStories.Add(obj);
 }