Options for primitive series in limit curves were added

This commit is contained in:
Evgeny Redikultsev
2024-01-20 15:12:07 +05:00
parent d0f3ead51f
commit 3a1cf5fa71
40 changed files with 480 additions and 328 deletions

View File

@@ -24,5 +24,6 @@
public static string ExpectedWas(System.Type expected, System.Type was) => $"{DataIsInCorrect}: Expected {expected}, but was {was}";
public static string ExpectedWas(System.Type expected, object obj) => ExpectedWas(expected, obj.GetType());
public static string NullReference => "#0018: Null reference";
public static string ObjectNotFound => "#0018: Object not found";
}
}

View File

@@ -0,0 +1,25 @@
using StructureHelperCommon.Infrastructures.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StructureHelperCommon.Models.Parameters
{
public class NamedCollection<T> : ISaveable
{
public Guid Id { get; }
public string Name { get; set; }
public List<T> Collection { get; set; }
public NamedCollection(Guid id)
{
Id = id;
Name = string.Empty;
Collection = new List<T>();
}
public NamedCollection() : this(Guid.NewGuid())
{
}
}
}

View File

@@ -0,0 +1,22 @@
using StructureHelperCommon.Infrastructures.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StructureHelperCommon.Models.Parameters
{
public class NamedValue<T> : ISaveable
{
public Guid Id { get; }
public string Name { get; set; }
public T Value { get; set; }
public NamedValue(Guid id)
{
Id = id;
}
public NamedValue() : this (Guid.NewGuid())
{ }
}
}

View File

@@ -15,8 +15,4 @@
</Reference>
</ItemGroup>
<ItemGroup>
<Folder Include="Infrastructures\Predicates\" />
</ItemGroup>
</Project>