Options for primitive series in limit curves were added
This commit is contained in:
@@ -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";
|
||||
}
|
||||
}
|
||||
|
||||
25
StructureHelperCommon/Models/Parameters/NamedCollection.cs
Normal file
25
StructureHelperCommon/Models/Parameters/NamedCollection.cs
Normal 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())
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
22
StructureHelperCommon/Models/Parameters/NamedValue.cs
Normal file
22
StructureHelperCommon/Models/Parameters/NamedValue.cs
Normal 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())
|
||||
{ }
|
||||
}
|
||||
}
|
||||
@@ -15,8 +15,4 @@
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="Infrastructures\Predicates\" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
Reference in New Issue
Block a user