Class RuntimeSerializers
A specialized implementation of ISerializers for runtime selection of a serializer when no other serializers can be located.
Inheritance
System.Object
RuntimeSerializers
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ExtendedXmlSerializer.ContentModel
Assembly: ExtendedXmlSerializer.dll
Syntax
public sealed class RuntimeSerializers : ISerializers, IParameterizedSource<TypeInfo, ISerializer>
Constructors
RuntimeSerializers(ISerializers)
Creates an instance.
Declaration
public RuntimeSerializers(ISerializers serializers)
Parameters
ISerializers
serializers
The serializer selector to decorate. |
RuntimeSerializers(ISpecification<TypeInfo>, ISerializers)
Creates an instance.
Declaration
public RuntimeSerializers(ISpecification<TypeInfo> specification, ISerializers serializers)
Parameters
ISpecification<System.Reflection.TypeInfo>
specification
The specification to determine whether to use the provided serializer selector or this instance. |
ISerializers
serializers
The serializer selector to decorate. |
Methods
Get(TypeInfo)
Performs the selection.
Declaration
public ISerializer Get(TypeInfo parameter)
Parameters
System.Reflection.TypeInfo
parameter
|
Returns
ISerializer
A value of the return type. |