Table of Contents

Interface IAttribute

Namespace
NMF.Models.Meta
Assembly
NMF.Models.dll

The public interface for Attribute

[DefaultImplementationType(typeof(Attribute))]
[XmlDefaultImplementationType(typeof(Attribute))]
[ModelRepresentationClass("http://nmf.codeplex.com/nmeta/#//Attribute")]
public interface IAttribute : ITypedElement, IMetaElement, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
Inherited Members
Extension Methods

Properties

DeclaringType

The type that declared this attribute

[Browsable(false)]
[XmlAttribute(true)]
[XmlOpposite("Attributes")]
IStructuredType DeclaringType { get; set; }

Property Value

IStructuredType

DefaultValue

The default value for this attribute

[XmlAttribute(true)]
string DefaultValue { get; set; }

Property Value

string

Refines

Gets or sets the attribute that is implemented by the current attribute

[XmlAttribute(true)]
IAttribute Refines { get; set; }

Property Value

IAttribute

Events

DeclaringTypeChanged

Gets fired when the DeclaringType property changed its value

event EventHandler<ValueChangedEventArgs> DeclaringTypeChanged

Event Type

EventHandler<ValueChangedEventArgs>

DeclaringTypeChanging

Gets fired before the DeclaringType property changes its value

event EventHandler<ValueChangedEventArgs> DeclaringTypeChanging

Event Type

EventHandler<ValueChangedEventArgs>

DefaultValueChanged

Gets fired when the DefaultValue property changed its value

event EventHandler<ValueChangedEventArgs> DefaultValueChanged

Event Type

EventHandler<ValueChangedEventArgs>

DefaultValueChanging

Gets fired before the DefaultValue property changes its value

event EventHandler<ValueChangedEventArgs> DefaultValueChanging

Event Type

EventHandler<ValueChangedEventArgs>

RefinesChanged

Gets fired when the Refines property changed its value

event EventHandler<ValueChangedEventArgs> RefinesChanged

Event Type

EventHandler<ValueChangedEventArgs>

RefinesChanging

Gets fired before the Refines property changes its value

event EventHandler<ValueChangedEventArgs> RefinesChanging

Event Type

EventHandler<ValueChangedEventArgs>