コード例 #1
0
ファイル: PolyServiceTests.cs プロジェクト: rv82/Poly
 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
ファイル: PolyController.cs プロジェクト: rv82/Poly
 public PolyController(IPolyService polyService)
 {
     _polyService = polyService;
 }