Metalama 1.0 / / Metalama Documentation / Aspect API Documentation / Metalama.​Framework.​Serialization

Namespace Metalama.Framework.Serialization

Classes

ImportSerializerAttribute

Custom attribute that, when applied to a serializable type, specifies that the serializer of this type has a dependency on another serializer. The custom attribute can be applied at assembly level; it then applies to all serializable types in this assembly.

LamaNonSerializedAttribute

An attribute that marks a field of a type that implements ILamaSerializable as non-serialized.

ReferenceTypeSerializer

ValueTypeSerializer<T>

Interfaces

IArgumentsReader

Provides read access to the collection of deserialized arguments.

IArgumentsWriter

Provides write access to a collection of arguments that need to be serialized.

ILamaSerializable

Marks the implementing type as being serializable (TODO).

ILamaSerializationCallback

Interface that can be implemented by serializable classes. It defines methods OnDeserialized() and OnSerializing() called during serialization.

ISerializer

Defines the semantics of an object serializer.

ISerializerFactory

Defines a method CreateSerializer(Type), which creates instances of the ISerializer interface for given object types.