NAnt SDK Documentation - v0.92

ExpandProperties Class

Parses NAnt properties and expressions

For a list of all members of this type, see ExpandProperties Members.

System.Object
   NAnt.Core.Element
      NAnt.Core.Filters.ChainableReader
         NAnt.Core.Filters.Filter
            NAnt.Core.Filters.ExpandProperties

[Visual Basic]
<ElementName(Name:="expandproperties")>
Public Class ExpandProperties
    Inherits Filter
[C#]
[ElementName(Name="expandproperties")]
public class ExpandProperties : Filter

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

This filter parses any NAnt properties or expressions found in its input, inlining their values in its output.

Note: Due to limitations on buffering, expressions longer than 2048 characters are not guaranteed to be expanded.

Filters are intended to be used as a element of a FilterChain.

Example

Replace all properties with their corresponding values.

    
<expandproperties />
    
  

Requirements

Namespace: NAnt.Core.Filters

Assembly: NAnt.Core (in NAnt.Core.dll)

See Also

ExpandProperties Members | NAnt.Core.Filters Namespace