forked from MonoGame/MonoGame
-
Notifications
You must be signed in to change notification settings - Fork 0
/
XmlImporter.cs
34 lines (31 loc) · 1.44 KB
/
XmlImporter.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// MonoGame - Copyright (C) The MonoGame Team
// This file is subject to the terms and conditions defined in
// file 'LICENSE.txt', which is part of this source code package.
using System;
using Microsoft.Xna.Framework.Content.Pipeline.Graphics;
namespace Microsoft.Xna.Framework.Content.Pipeline
{
/// <summary>
/// Implements an importer for reading intermediate XML files. This is a wrapper around IntermediateSerializer.
/// </summary>
[ContentImporter(".xml", DisplayName = "Xml Importer - MonoGame", DefaultProcessor = "ModelProcessor")]
public class XmlImporter : ContentImporter<object>
{
/// <summary>
/// Initializes a new instance of XmlImporter.
/// </summary>
public XmlImporter()
{
}
/// <summary>
/// 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.
/// </summary>
/// <param name="filename">Name of a game asset file.</param>
/// <param name="context">Contains information for importing a game asset, such as a logger interface.</param>
/// <returns>Resulting game asset.</returns>
public override object Import(string filename, ContentImporterContext context)
{
throw new NotImplementedException();
}
}
}