Method | Description | |
---|---|---|
Add ( string name, string value ) : void |
Adds a property to the collection.
|
|
AddReadOnly ( string name, string value ) : void |
Adds a property that cannot be changed. Properties added with this method can never be changed. Note that they are removed if the DictionaryBase.Clear method is called. |
|
Contains ( string name ) : bool |
Determines whether a property already exists.
|
|
ExpandProperties ( string input, |
Expands a string from known properties.
|
|
Inherit ( |
Inherits properties from an existing property dictionary Instance.
|
|
IsDynamicProperty ( string name ) : bool |
Determines whether the specified property is listed as dynamic.
|
|
IsReadOnlyProperty ( string name ) : bool |
Determines whether the specified property is listed as read-only.
|
|
MarkDynamic ( string name ) : void |
Marks a property as a property of which the value is expanded at execution time.
|
|
PropertyDictionary ( |
Initializes a new instance of the PropertyDictionary class holding properties for the given Project instance.
|
|
Remove ( string name ) : void |
Removes the property with the specified name.
|
|
this ( string name ) : string |
Indexer property.
|
Method | Description | |
---|---|---|
OnClear ( ) : void | ||
OnInsert ( object key, object value ) : void |
Performs additional custom processes before inserting a new element into the DictionaryBase instance.
|
|
OnRemove ( object key, object value ) : void |
Performs additional custom processes before removing an element from the DictionaryBase instance.
|
|
OnSet ( object key, object oldValue, object newValue ) : void | ||
OnValidate ( object key, object value ) : void |
Performs additional custom processes when validating the element with the specified key and value.
|
Method | Description | |
---|---|---|
CheckDeprecation ( string name ) : void |
Checks whether the specified property is deprecated.
|
|
CreateCircularException ( string end, |
Builds an appropriate exception detailing a specified circular reference.
|
|
EvaluateEmbeddedExpressions ( string input, |
Evaluates the given expression string and returns the result
|
|
ExpandProperties ( string input, |
Expands a string from known properties.
|
|
GetPropertyValue ( string propertyName ) : string | ||
ValidatePropertyName ( string propertyName, |
||
ValidatePropertyValue ( object value, |
public Add ( string name, string value ) : void | ||
name | string | The name of the property. |
value | string | The value to assign to the property. |
return | void |
public AddReadOnly ( string name, string value ) : void | ||
name | string | The name of the property. |
value | string | The value to assign to the property. |
return | void |
public Contains ( string name ) : bool | ||
name | string | The name of the property to check. |
return | bool |
public ExpandProperties ( string input, |
||
input | string | The replacement tokens. |
location | The |
|
return | string |
public Inherit ( |
||
source | Property list to inherit. | |
excludes | The list of properties to exclude during inheritance. | |
return | void |
public IsDynamicProperty ( string name ) : bool | ||
name | string | The name of the property to check. |
return | bool |
public IsReadOnlyProperty ( string name ) : bool | ||
name | string | The name of the property to check. |
return | bool |
public MarkDynamic ( string name ) : void | ||
name | string | The name of the property to mark as dynamic. |
return | void |
protected OnInsert ( object key, object value ) : void | ||
key | object | The key of the element to insert. |
value | object | The value of the element to insert. |
return | void |
protected OnRemove ( object key, object value ) : void | ||
key | object | The key of the element to remove. |
value | object | The value of the element to remove. |
return | void |
protected OnSet ( object key, object oldValue, object newValue ) : void | ||
key | object | |
oldValue | object | |
newValue | object | |
return | void |
protected OnValidate ( object key, object value ) : void | ||
key | object | The key of the element to validate. |
value | object | The value of the element to validate. |
return | void |
public PropertyDictionary ( |
||
project | The project for which the dictionary will hold properties. | |
return | System |
public Remove ( string name ) : void | ||
name | string | The name of the property to remove. |
return | void |