Продолжаем работать с билдером

This commit is contained in:
2025-10-07 18:28:45 +04:00
parent 95345c940f
commit 99952c66e3
15 changed files with 1055 additions and 517 deletions
@@ -0,0 +1,22 @@
namespace Pf2e.Web.Helpers.Serialization;
/// <summary>
/// Информация о поле.
/// </summary>
public class FieldDefinition
{
/// <summary>
/// Название поля.
/// </summary>
public string Name { get; set; } = string.Empty;
/// <summary>
/// Тип поля.
/// </summary>
public required Type Type { get; set; }
/// <summary>
/// Форматтер значения поля.
/// </summary>
public Func<object, string>? ValueFormatter { get; set; } = null;
}