Class ContentTypeSerializer<T>
- 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
IntermediateReaderformat
ContentSerializerAttributeexistingInstance
object
Returns
Deserialize(IntermediateReader, ContentSerializerAttribute, T)
protected abstract T Deserialize(IntermediateReader input, ContentSerializerAttribute format, T existingInstance)
Parameters
input
IntermediateReaderformat
ContentSerializerAttributeexistingInstance
T
Returns
- T
ObjectIsEmpty(object)
public override bool ObjectIsEmpty(object value)
Parameters
value
object
Returns
ObjectIsEmpty(T)
public virtual bool ObjectIsEmpty(T value)
Parameters
value
T
Returns
ScanChildren(IntermediateSerializer, ChildCallback, object)
protected override void ScanChildren(IntermediateSerializer serializer, ContentTypeSerializer.ChildCallback callback, object value)
Parameters
serializer
IntermediateSerializercallback
ContentTypeSerializer.ChildCallbackvalue
object
ScanChildren(IntermediateSerializer, ChildCallback, T)
protected virtual void ScanChildren(IntermediateSerializer serializer, ContentTypeSerializer.ChildCallback callback, T value)
Parameters
serializer
IntermediateSerializercallback
ContentTypeSerializer.ChildCallbackvalue
T
Serialize(IntermediateWriter, object, ContentSerializerAttribute)
protected override void Serialize(IntermediateWriter output, object value, ContentSerializerAttribute format)
Parameters
output
IntermediateWritervalue
objectformat
ContentSerializerAttribute
Serialize(IntermediateWriter, T, ContentSerializerAttribute)
protected abstract void Serialize(IntermediateWriter output, T value, ContentSerializerAttribute format)
Parameters
output
IntermediateWritervalue
Tformat
ContentSerializerAttribute