Class ContentTypeReader<T>
Defines the core behavior of content type readers used for reading a specific managed type from an .xnb binary format and provides a base for derived classes. Derive from this class to add new data types to the content pipeline system.
public abstract class ContentTypeReader<T> : ContentTypeReader
Type Parameters
T
The managed type to read.
- Inheritance
-
ContentTypeReader<T>
- Inherited Members
Constructors
ContentTypeReader()
protected ContentTypeReader()
Methods
Read(ContentReader, object)
protected override object Read(ContentReader input, object existingInstance)
Parameters
input
ContentReaderexistingInstance
object
Returns
Read(ContentReader, T)
protected abstract T Read(ContentReader input, T existingInstance)
Parameters
input
ContentReaderexistingInstance
T
Returns
- T