Summary
Indicates that the value of the property to which the attribute is
assigned, can be configured on the framework-level in the NAnt application
configuration file.
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core .Attributes - Base Types
-
- Attribute
graph BT
Type-->Base0["Attribute"]
Type["FrameworkConfigurableAttribute"]
class Type type-node
Syntax
[AttributeUsage(AttributeTargets.Property, Inherited = true)]
public sealed class FrameworkConfigurableAttribute : Attribute
Examples
The following example shows a property of which the value can be configured for a specific framework in the NAnt configuration file.
[FrameworkConfigurable("exename", Required=true)]
public virtual string ExeName {
get { return _exeName; }
set { _exeName = value; }
}
Attributes
Type | Description |
---|---|
Attribute |
Constructors
Name | Summary |
---|---|
Framework |
Initializes a new instance of the NAnt.Core.Attributes.FrameworkConfigurableAttribute
with the specified attribute name.
|
Properties
Name | Value | Summary |
---|---|---|
ExpandProperties | bool |
Gets or sets a value indicating whether property references should
be expanded.
|
Name | string |
Gets or sets the name of the framework configuration attribute.
|
Required | bool |
Gets or sets a value indicating whether the configuration attribute
is required.
|