using System;
using System.Xml;

namespace nft.framework.plugin
{
	/// <summary>
	/// CtbContributionDefiner defines new Contribution class.
	/// (for the needs to distinguish other stereotyped contributions.)
	/// </summary>
    [PrimitiveContribution]
	public class CtbContributionDefiner : Contribution
	{
        public CtbContributionDefiner(Plugin p, ParamsReader e)
            : base(p, e)
		{
			//e.SelectSingleNode("implementesion");
		}
		
		public Type DefinedType
		{
			get{ 
				IContributionFactory factory = PluginManager.theInstance.GetContributionFactory(this.name);
				return factory.OutputType; 
			}
		}
	}
}
