2012-08-21 08:17:17 +00:00
|
|
|
|
#region Using Statements
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
2012-10-05 11:11:31 +00:00
|
|
|
|
using System.ComponentModel;
|
2012-08-21 08:17:17 +00:00
|
|
|
|
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.Tasks
|
|
|
|
|
{
|
2015-04-08 14:50:03 +02:00
|
|
|
|
[Serializable]
|
|
|
|
|
public class BuildItem : ICloneable
|
2012-08-21 08:17:17 +00:00
|
|
|
|
{
|
2015-04-08 14:50:03 +02:00
|
|
|
|
public BuildItem()
|
|
|
|
|
{
|
|
|
|
|
ProcessorParameters = new OpaqueDataDictionary();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected BuildItem(BuildItem original)
|
|
|
|
|
{
|
|
|
|
|
this.SourceFilename = original.SourceFilename;
|
|
|
|
|
this.AssetName = original.AssetName;
|
|
|
|
|
this.ImporterName = original.ImporterName;
|
|
|
|
|
this.ProcessorName = original.ProcessorName;
|
|
|
|
|
this.ProcessorParameters = new OpaqueDataDictionary(original.ProcessorParameters);
|
|
|
|
|
}
|
2012-08-27 05:33:46 +00:00
|
|
|
|
|
|
|
|
|
public String SourceFilename
|
|
|
|
|
{
|
|
|
|
|
get;
|
|
|
|
|
set;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String AssetName
|
|
|
|
|
{
|
|
|
|
|
get;
|
|
|
|
|
set;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string ImporterName
|
|
|
|
|
{
|
|
|
|
|
get;
|
|
|
|
|
set;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string ProcessorName
|
2012-08-21 08:17:17 +00:00
|
|
|
|
{
|
|
|
|
|
get;
|
|
|
|
|
set;
|
|
|
|
|
}
|
|
|
|
|
|
2015-04-08 14:50:03 +02:00
|
|
|
|
public OpaqueDataDictionary ProcessorParameters
|
2012-08-22 10:34:39 +00:00
|
|
|
|
{
|
|
|
|
|
get;
|
2015-04-08 14:50:03 +02:00
|
|
|
|
private set;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public virtual object Clone()
|
|
|
|
|
{
|
|
|
|
|
return new BuildItem(this);
|
2012-08-22 10:34:39 +00:00
|
|
|
|
}
|
2012-08-21 08:17:17 +00:00
|
|
|
|
}
|
|
|
|
|
}
|