Did a lot of work just unit testing left
This commit is contained in:
14
Shapes/ShapeFactory.cs
Normal file
14
Shapes/ShapeFactory.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.IO;
|
||||
|
||||
namespace Shapes
|
||||
{
|
||||
public class ShapeFactory
|
||||
{
|
||||
public T GetShapeFromFile<T>(FileStream fileStream)
|
||||
{
|
||||
FileIO fi = new FileIO();
|
||||
return fi.GetShapeFromFile<T>(fileStream);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user