enum sufix removed
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
namespace AipsCore.Domain.Models.Shape.Enums;
|
namespace AipsCore.Domain.Models.Shape.Enums;
|
||||||
|
|
||||||
public enum ShapeTypeEnum
|
public enum ShapeType
|
||||||
{
|
{
|
||||||
Rectangle,
|
Rectangle,
|
||||||
Line,
|
Line,
|
||||||
@@ -11,7 +11,7 @@ public abstract class Shape
|
|||||||
|
|
||||||
public WhiteboardId WhiteboardId { get; private set; }
|
public WhiteboardId WhiteboardId { get; private set; }
|
||||||
|
|
||||||
public abstract ShapeTypeEnum ShapeType { get; }
|
public abstract ShapeType ShapeType { get; }
|
||||||
|
|
||||||
public Position Position { get; private set; }
|
public Position Position { get; private set; }
|
||||||
|
|
||||||
|
|||||||
@@ -16,5 +16,5 @@ public class Arrow : Shape
|
|||||||
Thickness = thickness;
|
Thickness = thickness;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override ShapeTypeEnum ShapeType => ShapeTypeEnum.Arrow;
|
public override ShapeType ShapeType => ShapeType.Arrow;
|
||||||
}
|
}
|
||||||
@@ -16,5 +16,5 @@ public class Line : Shape
|
|||||||
Thickness = thickness;
|
Thickness = thickness;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override ShapeTypeEnum ShapeType => ShapeTypeEnum.Line;
|
public override ShapeType ShapeType => ShapeType.Line;
|
||||||
}
|
}
|
||||||
@@ -7,7 +7,7 @@ namespace AipsCore.Domain.Models.Shape.Sub.Rectangle;
|
|||||||
|
|
||||||
public class Rectangle : Shape
|
public class Rectangle : Shape
|
||||||
{
|
{
|
||||||
public override ShapeTypeEnum ShapeType => ShapeTypeEnum.Rectangle;
|
public override ShapeType ShapeType => ShapeType.Rectangle;
|
||||||
|
|
||||||
public Position EndPosition { get; }
|
public Position EndPosition { get; }
|
||||||
|
|
||||||
|
|||||||
@@ -19,5 +19,5 @@ public class TextShape : Shape
|
|||||||
TextShapeSize = textShapeSize;
|
TextShapeSize = textShapeSize;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override ShapeTypeEnum ShapeType => ShapeTypeEnum.Text;
|
public override ShapeType ShapeType => ShapeType.Text;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user