Class ContentTypeSerializer
- Assembly
- MonoGame.Framework.Content.Pipeline.dll
public abstract class ContentTypeSerializer
- Inheritance
-
ContentTypeSerializer
- Derived
- Inherited Members
Constructors
ContentTypeSerializer(Type, string)
protected ContentTypeSerializer(Type targetType, string xmlTypeName)
Parameters
Properties
CanDeserializeIntoExistingObject
public virtual bool CanDeserializeIntoExistingObject { get; }
Property Value
TargetType
public Type TargetType { get; }
Property Value
XmlTypeName
public string XmlTypeName { get; }
Property Value
Methods
Deserialize(IntermediateReader, ContentSerializerAttribute, object)
protected abstract object Deserialize(IntermediateReader input, ContentSerializerAttribute format, object existingInstance)
Parameters
input
IntermediateReaderformat
ContentSerializerAttributeexistingInstance
object
Returns
Initialize(IntermediateSerializer)
protected virtual void Initialize(IntermediateSerializer serializer)
Parameters
serializer
IntermediateSerializer
ObjectIsEmpty(object)
public virtual bool ObjectIsEmpty(object value)
Parameters
value
object
Returns
ScanChildren(IntermediateSerializer, ChildCallback, object)
protected virtual void ScanChildren(IntermediateSerializer serializer, ContentTypeSerializer.ChildCallback callback, object value)
Parameters
serializer
IntermediateSerializercallback
ContentTypeSerializer.ChildCallbackvalue
object
Serialize(IntermediateWriter, object, ContentSerializerAttribute)
protected abstract void Serialize(IntermediateWriter output, object value, ContentSerializerAttribute format)
Parameters
output
IntermediateWritervalue
objectformat
ContentSerializerAttribute