Show / Hide Table of Contents

Class TypeRegistrationContext<T>

Used to establish a content regstration context for a type configuration. Using this context you can further establish registration contexts for serializers or converters.

Inheritance
System.Object
TypeRegistrationContext<T>
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.Configuration
Assembly: ExtendedXmlSerializer.dll
Syntax
public sealed class TypeRegistrationContext<T>
Type Parameters
T

The type under configuration.

Constructors

TypeRegistrationContext(ITypeConfiguration<T>)

Creates a new instance.

Declaration
public TypeRegistrationContext(ITypeConfiguration<T> configuration)
Parameters
ITypeConfiguration<T> configuration

The type configuration to configure.

Methods

Converter()

Establishes a Converter-registration context.

Declaration
public TypeConverterRegistrationContext<T> Converter()
Returns
TypeConverterRegistrationContext<T>

A context to perform operations on converter registrations for the captured type configuration.

Serializer()

Establishes a Serializer-registration context.

Declaration
public TypeSerializationRegistrationContext<T> Serializer()
Returns
TypeSerializationRegistrationContext<T>

A context to perform operations on serializer registrations for the captured type configuration.

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.If<TParameter, TResult>(TResult, ISpecification<TParameter>)
ExtensionMethodsForCoreSources.Let<TSpecification, TInstance>(TInstance, ISpecification<TSpecification>, TInstance)
Back to top Generated by DocFX