Table of Contents

Class SerializedInterface<T>

Namespace
DMediatR
Assembly
DMediatR.dll

Interface custom serialization is orthogonal to a CustomSerializer class hierarchy: Serializable classes can implement multiple interfaces, which in turn require e.g. specific members which must be dehydrated before serialization.

public abstract class SerializedInterface<T> : ISerializedInterface

Type Parameters

T
Inheritance
SerializedInterface<T>
Implements
Derived
Inherited Members

Methods

Dehydrate(object)

public void Dehydrate(object obj)

Parameters

obj object

Dehydrate(T)

protected virtual void Dehydrate(T obj)

Parameters

obj T

Rehydrate(object)

public void Rehydrate(object obj)

Parameters

obj object

Rehydrate(T)

protected virtual void Rehydrate(T obj)

Parameters

obj T