示例#1
0
        public static MidPoint CreateMidPoint(Drawing drawing, IList <IFigure> dependencies)
        {
            MidPoint result = new MidPoint()
            {
                Drawing = drawing, Dependencies = dependencies
            };

            return(result);
        }
示例#2
0
文件: Factory.cs 项目: ondrej11/o106
 public static MidPoint CreateMidPoint(Drawing drawing, IList<IFigure> dependencies)
 {
     MidPoint result = new MidPoint() { Drawing = drawing, Dependencies = dependencies };
     return result;
 }
示例#3
0
        protected override IEnumerable <IFigure> CreateFigures()
        {
            MidPoint result = Factory.CreateMidPoint(Drawing, FoundDependencies);

            yield return(result);
        }
示例#4
0
        public static MidPoint CreateMidPoint(IFigureList dependencies)
        {
            MidPoint result = new MidPoint(dependencies);

            return(result);
        }
示例#5
0
 public static MidPoint CreateMidPoint(IFigureList dependencies)
 {
     MidPoint result = new MidPoint(dependencies);
     return result;
 }