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. |