2019-10-08 15:46:34 +02:00
|
|
|
using System;
|
|
|
|
using Microsoft.Xna.Framework.Content.Pipeline;
|
|
|
|
|
2022-09-25 23:29:02 +02:00
|
|
|
namespace Contentless;
|
2019-10-08 15:46:34 +02:00
|
|
|
|
2022-09-25 23:29:02 +02:00
|
|
|
public class ImporterInfo {
|
2019-10-08 15:46:34 +02:00
|
|
|
|
2022-09-25 23:29:02 +02:00
|
|
|
public readonly ContentImporterAttribute Importer;
|
|
|
|
public readonly Type Type;
|
2019-10-08 15:46:34 +02:00
|
|
|
|
2022-09-25 23:29:02 +02:00
|
|
|
public ImporterInfo(ContentImporterAttribute importer, Type type) {
|
|
|
|
this.Importer = importer;
|
|
|
|
this.Type = type;
|
|
|
|
}
|
2020-10-07 04:01:10 +02:00
|
|
|
|
2022-09-25 23:29:02 +02:00
|
|
|
public override string ToString() {
|
|
|
|
return this.Type.Name;
|
2019-10-08 15:46:34 +02:00
|
|
|
}
|
2022-09-25 23:29:02 +02:00
|
|
|
|
2019-10-08 15:46:34 +02:00
|
|
|
}
|