SettingFieldEventArgs Class

Provides arguments for the CustomSerializerSurrogateSelector.SettingField event.

Definition

Namespace: KGySoft.Serialization.Binary
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
public class SettingFieldEventArgs : HandledEventArgs
Inheritance
Object    EventArgs    HandledEventArgs    SettingFieldEventArgs

Properties

Context Gets the context of this deserialization.
Entry Gets the current SerializationEntry of the Object being deserialized.
Field Gets or sets the field to be set. If and IgnoreNonExistingFields is , then a SerializationException will be thrown. You may either set this property by the matching field or set the Handled to to skip the default processing.
Default value: The field identified as the matching field, or , if such field was not found.
Object Gets the object that is being deserialized.
SerializationInfo Gets the SerializationInfo of the Object being deserialized.
Value Gets or sets the value to set.
To prevent setting any value make sure you set the Handled property to to omit the default deserialization logic.

Extension Methods

Convert Converts an Object specified in the obj parameter to the desired targetType.
See the Examples section of the generic ConvertTTarget(Object, CultureInfo) overload for an example.
(Defined by ObjectExtensions)
ConvertTTarget Converts an Object specified in the obj parameter to the desired TTarget.
(Defined by ObjectExtensions)
In Gets whether item is among the elements of set.
See the Examples section of the generic InT(T, T) overload for an example.
(Defined by ObjectExtensions)
TryConvert Tries to convert an Object specified in the obj parameter to the desired targetType.
See the Examples section of the ConvertTTarget(Object, CultureInfo) method for a related example.
(Defined by ObjectExtensions)
TryConvert Tries to convert an Object specified in the obj parameter to the desired targetType.
See the Examples section of the ConvertTTarget(Object, CultureInfo) method for a related example.
(Defined by ObjectExtensions)
TryConvertTTarget Tries to convert an Object specified in the obj parameter to the desired TTarget.
See the Examples section of the ConvertTTarget(Object, CultureInfo) method for a related example.
(Defined by ObjectExtensions)
TryConvertTTarget Tries to convert an Object specified in the obj parameter to the desired TTarget.
See the Examples section of the ConvertTTarget(Object, CultureInfo) method for a related example.
(Defined by ObjectExtensions)

See Also