Add Design Patterns
This commit is contained in:
7
VisitorLib/IShapeVisitor.cs
Normal file
7
VisitorLib/IShapeVisitor.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace VisitorLib;
|
||||
|
||||
public interface IShapeVisitor
|
||||
{
|
||||
void VisitRectangle(Rectangle rectangle);
|
||||
void VisitCircle(Circle rectangle);
|
||||
}
|
||||
Reference in New Issue
Block a user