Show / Hide Table of Contents

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.

Implements
IParameterizedSource<TParameter, TResult>.Get(TParameter)

Extension Methods

ExtensionMethods.Return<T, TOut>(T, TOut)
ExtensionMethods.To<T>(Object)
ExtensionMethods.AsValid<T>(Object, String)
ExtensionMethodsForAttachedProperties.Get<TType, TValue>(TType, Property<TType, TValue>)
ExtensionMethodsForAttachedProperties.Set<TType, TValue>(TType, Property<TType, TValue>, TValue)
ExtensionMethodsForCoreSources.Get<T>(IParameterizedSource<TypeInfo, T>, Type)
ExtensionMethodsForCoreSources.To<TParameter, TResult, TTo>(IParameterizedSource<TParameter, TResult>, IParameterizedSource<TResult, TTo>)
ExtensionMethodsForCoreSources.In<TFrom, TTo, TResult>(IParameterizedSource<TTo, TResult>, IParameterizedSource<TFrom, TTo>)
ExtensionMethodsForCoreSources.If<TParameter, TResult>(IParameterizedSource<TParameter, TResult>, ISpecification<TParameter>)
ExtensionMethodsForCoreSources.If<TParameter, TResult>(TResult, ISpecification<TParameter>)
ExtensionMethodsForCoreSources.Let<TParameter, TResult>(IParameterizedSource<TParameter, TResult>, ISpecification<TParameter>, IParameterizedSource<TParameter, TResult>)
ExtensionMethodsForCoreSources.Let<TParameter, TResult>(IParameterizedSource<TParameter, TResult>, ISpecification<TParameter>, ISpecification<TResult>, IParameterizedSource<TParameter, TResult>)
ExtensionMethodsForCoreSources.Let<TParameter, TResult>(IParameterizedSource<TParameter, TResult>, ISpecification<TParameter>, TResult)
ExtensionMethodsForCoreSources.Let<TSpecification, TInstance>(TInstance, ISpecification<TSpecification>, TInstance)
ExtensionMethodsForCoreSources.Or<TParameter, TResult>(IParameterizedSource<TParameter, TResult>, IParameterizedSource<TParameter, TResult>)
ExtensionMethodsForCoreSources.Build<TParameter, TResult>(IParameterizedSource<TParameter, TResult>, TParameter)
ExtensionMethodsForCoreSources.FixedSelection<TParameter, TResult>(IParameterizedSource<TParameter, TResult>, TParameter)
ExtensionMethodsForCoreSources.ToSelectionDelegate<TParameter, TResult>(IParameterizedSource<TParameter, TResult>)
ExtensionMethodsForCoreSources.ToDelegate<TParameter, TResult>(IParameterizedSource<TParameter, TResult>)
ExtensionMethodsForCoreSources.Fix<TParameter, TResult>(IParameterizedSource<TParameter, TResult>, TParameter)
ExtensionMethodsForCoreSpecifications.IfAssigned<TParameter, TResult>(IParameterizedSource<TParameter, TResult>)
Back to top Generated by DocFX