Table of Contents

Class ContentTypeSerializer<T>

Namespace
Microsoft.Xna.Framework.Content.Pipeline.Serialization.Intermediate
Assembly
MonoGame.Framework.Content.Pipeline.dll
public abstract class ContentTypeSerializer<T> : ContentTypeSerializer

Type Parameters

T
Inheritance
ContentTypeSerializer<T>
Inherited Members

Constructors

ContentTypeSerializer()

protected ContentTypeSerializer()

ContentTypeSerializer(string)

protected ContentTypeSerializer(string xmlTypeName)

Parameters

xmlTypeName string

Methods

Deserialize(IntermediateReader, ContentSerializerAttribute, object)

protected override object Deserialize(IntermediateReader input, ContentSerializerAttribute format, object existingInstance)

Parameters

input IntermediateReader
format ContentSerializerAttribute
existingInstance object

Returns

object

Deserialize(IntermediateReader, ContentSerializerAttribute, T)

protected abstract T Deserialize(IntermediateReader input, ContentSerializerAttribute format, T existingInstance)

Parameters

input IntermediateReader
format ContentSerializerAttribute
existingInstance T

Returns

T

ObjectIsEmpty(object)

public override bool ObjectIsEmpty(object value)

Parameters

value object

Returns

bool

ObjectIsEmpty(T)

public virtual bool ObjectIsEmpty(T value)

Parameters

value T

Returns

bool

ScanChildren(IntermediateSerializer, ChildCallback, object)

protected override void ScanChildren(IntermediateSerializer serializer, ContentTypeSerializer.ChildCallback callback, object value)

Parameters

serializer IntermediateSerializer
callback ContentTypeSerializer.ChildCallback
value object

ScanChildren(IntermediateSerializer, ChildCallback, T)

protected virtual void ScanChildren(IntermediateSerializer serializer, ContentTypeSerializer.ChildCallback callback, T value)

Parameters

serializer IntermediateSerializer
callback ContentTypeSerializer.ChildCallback
value T

Serialize(IntermediateWriter, object, ContentSerializerAttribute)

protected override void Serialize(IntermediateWriter output, object value, ContentSerializerAttribute format)

Parameters

output IntermediateWriter
value object
format ContentSerializerAttribute

Serialize(IntermediateWriter, T, ContentSerializerAttribute)

protected abstract void Serialize(IntermediateWriter output, T value, ContentSerializerAttribute format)

Parameters

output IntermediateWriter
value T
format ContentSerializerAttribute