Table of Contents

Class ContentTypeReader<T>

Namespace
Microsoft.Xna.Framework.Content
Assembly
MonoGame.Framework.dll

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 ContentReader
existingInstance object

Returns

object

Read(ContentReader, T)

protected abstract T Read(ContentReader input, T existingInstance)

Parameters

input ContentReader
existingInstance T

Returns

T