PropertyDictionary Class

Summary

Dictionary to collect a projects properties.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core
Base Types
  • DictionaryBase
graph BT Type-->Base0["DictionaryBase"] Type["PropertyDictionary"] class Type type-node

Syntax

[Serializable()]
public class PropertyDictionary : DictionaryBase

Attributes

Type Description
SerializableAttribute

Constructors

Name Summary
PropertyDictionary(Project) Initializes a new instance of the NAnt.Core.PropertyDictionary class holding properties for the given NAnt.Core.PropertyDictionary.Project instance.

Properties

Name Value Summary
Project Project
Gets the project for which the dictionary holds properties.
this[string] string
Indexer property.

Methods

Name Value Summary
Add(string, string) void
Adds a property to the collection.
AddReadOnly(string, string) void
Adds a property that cannot be changed.
Contains(string) bool
Determines whether a property already exists.
ExpandProperties(string, Location) string
Expands a string from known properties.
Inherit(PropertyDictionary, StringCollection) void
Inherits properties from an existing property dictionary Instance.
IsDynamicProperty(string) bool
Determines whether the specified property is listed as dynamic.
IsReadOnlyProperty(string) bool
Determines whether the specified property is listed as read-only.
MarkDynamic(string) void
Marks a property as a property of which the value is expanded at execution time.
OnClear() void
OnInsert(Object, Object) void
Performs additional custom processes before inserting a new element into the System.Collections.DictionaryBase instance.
OnRemove(Object, Object) void
Performs additional custom processes before removing an element from the System.Collections.DictionaryBase instance.
OnSet(Object, Object, Object) void
OnValidate(Object, Object) void
Performs additional custom processes when validating the element with the specified key and value.
Remove(string) void
Removes the property with the specified name.