20240328-1

This commit is contained in:
2024-03-28 16:05:03 +03:00
parent f19ee998af
commit 9a2b2f6842
3 changed files with 7 additions and 4 deletions

View File

@@ -16,7 +16,10 @@ public sealed partial class ActionStateSerialize: Form
Name = textBox1.Text.Length > 0 ? textBox1.Text : string.Empty
};
ActionState<DemoClass> state = new(demoClass);
ActionState<DemoClass> state = new()
{
Value = demoClass
};
state.AddError("ОШИБКА, ШЕФ!");