20240326-1
This commit is contained in:
2
demo/ActionStateSerialize.Designer.cs
generated
2
demo/ActionStateSerialize.Designer.cs
generated
@@ -1,6 +1,6 @@
|
||||
namespace demo;
|
||||
|
||||
partial class ActionStateSerialize
|
||||
sealed partial class ActionStateSerialize
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace demo;
|
||||
|
||||
public partial class ActionStateSerialize: Form
|
||||
public sealed partial class ActionStateSerialize: Form
|
||||
{
|
||||
public ActionStateSerialize ()
|
||||
{
|
||||
@@ -16,7 +16,7 @@ public partial class ActionStateSerialize: Form
|
||||
Name = textBox1.Text.Length > 0 ? textBox1.Text : string.Empty
|
||||
};
|
||||
|
||||
ActionState<DemoClass> state = new();
|
||||
ActionState<DemoClass> state = new(demoClass);
|
||||
|
||||
state.AddError("ОШИБКА, ШЕФ!");
|
||||
|
||||
|
Reference in New Issue
Block a user