Add cross-section convert strategies
This commit is contained in:
@@ -8,13 +8,18 @@ namespace StructureHelperLogics.Models.CrossSections
|
||||
{
|
||||
public class CrossSection : ICrossSection
|
||||
{
|
||||
public ICrossSectionRepository SectionRepository { get; private set; }
|
||||
public ICrossSectionRepository SectionRepository { get; private set; } = new CrossSectionRepository();
|
||||
|
||||
public Guid Id { get; private set; }
|
||||
|
||||
public CrossSection()
|
||||
public CrossSection(Guid id)
|
||||
{
|
||||
SectionRepository = new CrossSectionRepository();
|
||||
Id = id;
|
||||
}
|
||||
|
||||
public CrossSection() : this(Guid.NewGuid())
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public object Clone()
|
||||
|
||||
Reference in New Issue
Block a user