30 lines
602 B
C#
30 lines
602 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace CadParamPluging.Common
|
|
{
|
|
[Serializable]
|
|
public class TemplateSchemas
|
|
{
|
|
public List<TemplateSchemaDefinition> Items { get; set; }
|
|
|
|
public TemplateSchemas()
|
|
{
|
|
Items = new List<TemplateSchemaDefinition>();
|
|
}
|
|
|
|
public void Normalize()
|
|
{
|
|
if (Items == null)
|
|
{
|
|
Items = new List<TemplateSchemaDefinition>();
|
|
}
|
|
|
|
foreach (var it in Items)
|
|
{
|
|
it?.Normalize();
|
|
}
|
|
}
|
|
}
|
|
}
|