ReferenceTypeSerializer.SerializeObject Method |
Serializes an object
Namespace: PostSharp.Serialization
Assembly: PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public abstract void SerializeObject( Object obj, IArgumentsWriter constructorArguments, IArgumentsWriter initializationArguments )
Parameters
- obj
- Type: System.Object
- constructorArguments
- Type: PostSharp.Serialization.IArgumentsWriter
Gives access to arguments that will be passed to the CreateInstance(Type, IArgumentsReader) method during deserialization. - initializationArguments
- Type: PostSharp.Serialization.IArgumentsWriter
Gives access to arguments that will be passed to the DeserializeFields(Object, IArgumentsReader) method during deserialization.