Table of Contents

Class XmlImporter

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

Implements an importer for reading intermediate XML files. This is a wrapper around IntermediateSerializer.

[ContentImporter(".xml", DisplayName = "Xml Importer - MonoGame", DefaultProcessor = "PassThroughProcessor")]
public class XmlImporter : ContentImporter<object>, IContentImporter
Inheritance
XmlImporter
Implements
Inherited Members

Methods

Import(string, ContentImporterContext)

Called by the XNA Framework when importing an intermediate file to be used as a game asset. This is the method called by the XNA Framework when an asset is to be imported into an object that can be recognized by the Content Pipeline.

public override object Import(string filename, ContentImporterContext context)

Parameters

filename string

Name of a game asset file.

context ContentImporterContext

Contains information for importing a game asset, such as a logger interface.

Returns

object

The imported game asset.