1, How to mark a evet as no-serizalizable?
To apply the NonSerializedAttribute class to an event, set the attribute location to field, as shown in the following C# code.
[field:NonSerializedAttribute()] public event ChangedEventHandler Changed;
1, How to mark a evet as no-serizalizable?
To apply the NonSerializedAttribute class to an event, set the attribute location to field, as shown in the following C# code.
[field:NonSerializedAttribute()] public event ChangedEventHandler Changed;