Files
StructureHelper/StructureHelperLogics/Models/CrossSections/RepositoryOperationsLogic.cs
Evgeny Redikultsev f937b9f373 Change field viewer
2025-12-13 20:13:45 +05:00

19 lines
666 B
C#

using StructureHelperCommon.Infrastructures.Interfaces;
using StructureHelperLogics.NdmCalculations.Primitives;
namespace StructureHelperLogics.Models.CrossSections
{
public class RepositoryOperationsLogic : IRepositoryOperationsLogic
{
private ICrossSectionRepository repository;
private RepositoryPrimitiveOperation primitiveLogic;
public RepositoryOperationsLogic(ICrossSectionRepository repository)
{
this.repository = repository;
}
public IRepositoryOperation<ICrossSectionRepository, INdmPrimitive> Primitives => primitiveLogic ??= new RepositoryPrimitiveOperation(repository);
}
}