enum sufix removed

This commit is contained in:
2026-02-08 21:58:31 +01:00
parent 37e73627b5
commit ca0f43a276
6 changed files with 6 additions and 6 deletions

View File

@@ -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,

View File

@@ -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; }

View File

@@ -16,5 +16,5 @@ public class Arrow : Shape
Thickness = thickness; Thickness = thickness;
} }
public override ShapeTypeEnum ShapeType => ShapeTypeEnum.Arrow; public override ShapeType ShapeType => ShapeType.Arrow;
} }

View File

@@ -16,5 +16,5 @@ public class Line : Shape
Thickness = thickness; Thickness = thickness;
} }
public override ShapeTypeEnum ShapeType => ShapeTypeEnum.Line; public override ShapeType ShapeType => ShapeType.Line;
} }

View File

@@ -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; }

View File

@@ -19,5 +19,5 @@ public class TextShape : Shape
TextShapeSize = textShapeSize; TextShapeSize = textShapeSize;
} }
public override ShapeTypeEnum ShapeType => ShapeTypeEnum.Text; public override ShapeType ShapeType => ShapeType.Text;
} }