Open sandboxFocus

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.

NonCompileTimeSerializedAttribute

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

ReferenceTypeSerializer

ReferenceTypeSerializer<T>

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.

ICompileTimeSerializable

Marks the implementing type as being serializable. Aspects and fabrics are typically serialized when they affect a different project than the current one (by inheritance or reference validation). Serialized objects may be deserialized on a different machine than the one on which they have been serialized, and a long time after.

ICompileTimeSerializationCallback

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.