public TriangleService() { _isValidHandler.SetSuccessor(_isEquilateralHandler); _isEquilateralHandler.SetSuccessor(_isIsoscelesHandler); _isIsoscelesHandler.SetSuccessor(_isScaleneHandler); }