52 lines
1.1 KiB
C#
52 lines
1.1 KiB
C#
|
#region Using Statements
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
// This file is part of the ANX.Framework created by the
|
|||
|
// "ANX.Framework developer group" and released under the Ms-PL license.
|
|||
|
// For details see: http://anxframework.codeplex.com/license
|
|||
|
|
|||
|
namespace ANX.Framework.Content.Pipeline
|
|||
|
{
|
|||
|
public class ContentImporterAttribute : Attribute
|
|||
|
{
|
|||
|
public ContentImporterAttribute(string fileExtension)
|
|||
|
{
|
|||
|
FileExtensions = new string[] { fileExtension };
|
|||
|
}
|
|||
|
|
|||
|
public ContentImporterAttribute(params string[] fileExtensions)
|
|||
|
{
|
|||
|
FileExtensions = fileExtensions;
|
|||
|
}
|
|||
|
|
|||
|
public bool CacheImportedData
|
|||
|
{
|
|||
|
get;
|
|||
|
set;
|
|||
|
}
|
|||
|
|
|||
|
public string DefaultProcessor
|
|||
|
{
|
|||
|
get;
|
|||
|
set;
|
|||
|
}
|
|||
|
|
|||
|
public virtual string DisplayName
|
|||
|
{
|
|||
|
get;
|
|||
|
set;
|
|||
|
}
|
|||
|
|
|||
|
public IEnumerable<string> FileExtensions
|
|||
|
{
|
|||
|
get;
|
|||
|
private set;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|