示例#1
0
 public PolyServiceTests()
 {
     _polyService   = new PolyService();
     _polygonPoints = new Point[]
     {
         new Point {
             X = 143, Y = 100
         },
         new Point {
             X = 95, Y = 270
         },
         new Point {
             X = 95, Y = 317
         },
         new Point {
             X = 425, Y = 155
         },
         new Point {
             X = 269, Y = 57
         }
     };
 }
示例#2
0
 public PolyController(IPolyService polyService)
 {
     _polyService = polyService;
 }