20240328-1
This commit is contained in:
@@ -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("ОШИБКА, ШЕФ!");
|
||||
|
||||
|
Reference in New Issue
Block a user