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