public TriangleDeterminatorService(ITriangleValidator validator)
 {
     _validator = validator;
 }
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="triangleValidator">Validator for triangle data</param>
 public TriangleTypeChecker(ITriangleValidator triangleValidator)
 {
     _triangleValidator = triangleValidator;
 }
示例#3
0
 public TrianglePerimeterCalculator(ITriangleValidator triangleValidator)
 {
     _triangleValidator = triangleValidator;
 }