C# Class LiskovSubstitutionPrinciple.RectangleFactory

Show file Open project: 7digital/Liskov Class Usage Examples

Public Methods

Method Description
GetNewRectangle ( ) : Rectangle
GetNewSquare ( ) : Rectangle

Method Details

GetNewRectangle() public static method

public static GetNewRectangle ( ) : Rectangle
return Rectangle

GetNewSquare() public static method

public static GetNewSquare ( ) : Rectangle
return Rectangle