Interface IAttribute
The public interface for Attribute
Inherited Members
Namespace: NMF.Models.Meta
Assembly: NMF.Models.dll
Syntax
[DefaultImplementationType(typeof(Attribute))]
[XmlDefaultImplementationType(typeof(Attribute))]
[ModelRepresentationClass("http://nmf.codeplex.com/nmeta/#//Attribute")]
public interface IAttribute : ITypedElement, IMetaElement, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
Properties
| Edit this page View SourceDeclaringType
The type that declared this attribute
Declaration
[Browsable(false)]
[XmlAttribute(true)]
[XmlOpposite("Attributes")]
IStructuredType DeclaringType { get; set; }
Property Value
Type | Description |
---|---|
IStructuredType |
DefaultValue
The default value for this attribute
Declaration
[XmlAttribute(true)]
string DefaultValue { get; set; }
Property Value
Type | Description |
---|---|
string |
Refines
Gets or sets the attribute that is implemented by the current attribute
Declaration
[XmlAttribute(true)]
IAttribute Refines { get; set; }
Property Value
Type | Description |
---|---|
IAttribute |
Events
| Edit this page View SourceDeclaringTypeChanged
Gets fired when the DeclaringType property changed its value
Declaration
event EventHandler<ValueChangedEventArgs> DeclaringTypeChanged
Event Type
Type | Description |
---|---|
EventHandler<ValueChangedEventArgs> |
DeclaringTypeChanging
Gets fired before the DeclaringType property changes its value
Declaration
event EventHandler<ValueChangedEventArgs> DeclaringTypeChanging
Event Type
Type | Description |
---|---|
EventHandler<ValueChangedEventArgs> |
DefaultValueChanged
Gets fired when the DefaultValue property changed its value
Declaration
event EventHandler<ValueChangedEventArgs> DefaultValueChanged
Event Type
Type | Description |
---|---|
EventHandler<ValueChangedEventArgs> |
DefaultValueChanging
Gets fired before the DefaultValue property changes its value
Declaration
event EventHandler<ValueChangedEventArgs> DefaultValueChanging
Event Type
Type | Description |
---|---|
EventHandler<ValueChangedEventArgs> |
RefinesChanged
Gets fired when the Refines property changed its value
Declaration
event EventHandler<ValueChangedEventArgs> RefinesChanged
Event Type
Type | Description |
---|---|
EventHandler<ValueChangedEventArgs> |
RefinesChanging
Gets fired before the Refines property changes its value
Declaration
event EventHandler<ValueChangedEventArgs> RefinesChanging
Event Type
Type | Description |
---|---|
EventHandler<ValueChangedEventArgs> |