예제 #1
0
        public static Comment AddComment(this IPartHolder holder)
        {
            var comment = new Comment();

            holder.Add(comment);

            return(comment);
        }
예제 #2
0
        public static Section AddSection(this IPartHolder holder, string fixtureName)
        {
            var section = new Section(fixtureName);

            holder.Add(section);

            return(section);
        }