Contentless/Contentless/ImporterInfo.cs

20 lines
422 B
C#
Raw Normal View History

using System;
using Microsoft.Xna.Framework.Content.Pipeline;
2022-09-25 23:29:02 +02:00
namespace Contentless;
2022-09-25 23:29:02 +02:00
public class ImporterInfo {
2022-09-25 23:29:02 +02:00
public readonly ContentImporterAttribute Importer;
public readonly Type Type;
2022-09-25 23:29:02 +02:00
public ImporterInfo(ContentImporterAttribute importer, Type type) {
this.Importer = importer;
this.Type = type;
}
2022-09-25 23:29:02 +02:00
public override string ToString() {
return this.Type.Name;
}
2022-09-25 23:29:02 +02:00
}