1
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
2
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
5
using System.Collections;
7
namespace ICSharpCode.Core
12
/// <attribute name="text" use="required">
13
/// The string to return.
16
/// The string specified by 'text', passed through the StringParser.
18
public class StringDoozer : IDoozer
21
/// Gets if the doozer handles codon conditions on its own.
22
/// If this property return false, the item is excluded when the condition is not met.
24
public bool HandleConditions {
30
public object BuildItem(BuildItemArgs args)
32
return StringParser.Parse(args.Codon.Properties["text"]);