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