// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using System.Collections;
namespace ICSharpCode.Core
{
///
/// Creates a string.
///
///
/// The string to return.
///
///
/// The string specified by 'text', passed through the StringParser.
///
public class StringDoozer : IDoozer
{
///
/// Gets if the doozer handles codon conditions on its own.
/// If this property return false, the item is excluded when the condition is not met.
///
public bool HandleConditions {
get {
return false;
}
}
public object BuildItem(BuildItemArgs args)
{
return StringParser.Parse(args.Codon.Properties["text"]);
}
}
}