Files
StructureHelper/StructureHelperLogics/Models/CrossSections/CrossSection.cs
Evgeny Redikultsev 65253a907b Add trace crack result
2024-12-30 15:42:57 +05:00

33 lines
798 B
C#

using StructureHelperCommon.Infrastructures.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StructureHelperLogics.Models.CrossSections
{
public class CrossSection : ICrossSection
{
public ICrossSectionRepository SectionRepository { get; set; } = new CrossSectionRepository();
public Guid Id { get; private set; }
public CrossSection(Guid id)
{
Id = id;
}
public CrossSection() : this(Guid.NewGuid())
{
}
public object Clone()
{
ICloneStrategy<ICrossSection> cloneStrategy = new CrossSectionCloneStrategy();
return cloneStrategy.GetClone(this);
}
}
}