Show / Hide Table of Contents

Interface IExtendedXmlCustomSerializer<T>

A strongly-typed v1 custom serializer.

Namespace: ExtendedXmlSerializer.ExtensionModel.Xml
Assembly: ExtendedXmlSerializer.dll
Syntax
public interface IExtendedXmlCustomSerializer<T>
Type Parameters
T

The type to serialize.

Methods

Deserialize(XElement)

Deserializes the document subtree from the provided element into a new instance.

Declaration
T Deserialize(XElement xElement)
Parameters
System.Xml.Linq.XElement xElement

The element subtree.

Returns
T

An instance from the provided element subtree.

Serializer(XmlWriter, T)

Serializes an instance.

Declaration
void Serializer(XmlWriter xmlWriter, T obj)
Parameters
System.Xml.XmlWriter xmlWriter

The writer holding the destination document.

T obj

The instance to serialize.

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