Add trace crack result

This commit is contained in:
Evgeny Redikultsev
2024-12-30 15:42:57 +05:00
parent ba70e0d214
commit 65253a907b
42 changed files with 685 additions and 125 deletions

View File

@@ -9,8 +9,6 @@ namespace StructureHelperLogics.Models.CrossSections
{
public class CrossSection : ICrossSection
{
private ICloneStrategy<ICrossSection> cloneStrategy;
private IUpdateStrategy<ICrossSection> updateStrategy = new CrossSectionUpdateStrategy();
public ICrossSectionRepository SectionRepository { get; set; } = new CrossSectionRepository();
public Guid Id { get; private set; }
@@ -27,7 +25,7 @@ namespace StructureHelperLogics.Models.CrossSections
public object Clone()
{
cloneStrategy = new CrossSectionCloneStrategy();
ICloneStrategy<ICrossSection> cloneStrategy = new CrossSectionCloneStrategy();
return cloneStrategy.GetClone(this);
}
}