Show / Hide Table of Contents

Interface IAttribute

The public interface for Attribute

Inherited Members
ITypedElement.IsOrdered
ITypedElement.IsUnique
ITypedElement.LowerBound
ITypedElement.UpperBound
ITypedElement.Type
ITypedElement.IsOrderedChanging
ITypedElement.IsOrderedChanged
ITypedElement.IsUniqueChanging
ITypedElement.IsUniqueChanged
ITypedElement.LowerBoundChanging
ITypedElement.LowerBoundChanged
ITypedElement.UpperBoundChanging
ITypedElement.UpperBoundChanged
ITypedElement.TypeChanging
ITypedElement.TypeChanged
IMetaElement.Name
IMetaElement.Summary
IMetaElement.Remarks
IMetaElement.NameChanging
IMetaElement.NameChanged
IMetaElement.SummaryChanging
IMetaElement.SummaryChanged
IMetaElement.RemarksChanging
IMetaElement.RemarksChanged
IModelElement.Delete()
IModelElement.Deleted
IModelElement.Deleting
IModelElement.IsIdentified
IModelElement.ToIdentifierString()
IModelElement.RelativeUri
IModelElement.AbsoluteUri
IModelElement.Resolve(Uri)
IModelElement.GetContainerReference(IModelElement, out int)
IModelElement.Model
IModelElement.Parent
IModelElement.ParentChanged
IModelElement.Children
IModelElement.ReferencedElements
IModelElement.Extensions
IModelElement.GetExtension<T>()
IModelElement.GetClass()
IModelElement.GetAttributeValue(IAttribute, int)
IModelElement.GetAttributeValues(IAttribute)
IModelElement.CallOperation(IOperation, params object[])
IModelElement.GetReferencedElement(IReference, int)
IModelElement.SetReferencedElement(IReference, IModelElement)
IModelElement.GetReferencedElements(IReference)
IModelElement.SetAttributeValue(IAttribute, object)
IModelElement.Freeze()
IModelElement.Lock()
IModelElement.Unlock()
IModelElement.TryUnlock()
IModelElement.IsFrozen
IModelElement.IsLocked
IModelElement.BubbledChange
INotifyPropertyChanged.PropertyChanged
INotifyPropertyChanging.PropertyChanging
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 Source

DeclaringType

The type that declared this attribute

Declaration
[Browsable(false)]
[XmlAttribute(true)]
[XmlOpposite("Attributes")]
IStructuredType DeclaringType { get; set; }
Property Value
Type Description
IStructuredType
| Edit this page View Source

DefaultValue

The default value for this attribute

Declaration
[XmlAttribute(true)]
string DefaultValue { get; set; }
Property Value
Type Description
string
| Edit this page View Source

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 Source

DeclaringTypeChanged

Gets fired when the DeclaringType property changed its value

Declaration
event EventHandler<ValueChangedEventArgs> DeclaringTypeChanged
Event Type
Type Description
EventHandler<ValueChangedEventArgs>
| Edit this page View Source

DeclaringTypeChanging

Gets fired before the DeclaringType property changes its value

Declaration
event EventHandler<ValueChangedEventArgs> DeclaringTypeChanging
Event Type
Type Description
EventHandler<ValueChangedEventArgs>
| Edit this page View Source

DefaultValueChanged

Gets fired when the DefaultValue property changed its value

Declaration
event EventHandler<ValueChangedEventArgs> DefaultValueChanged
Event Type
Type Description
EventHandler<ValueChangedEventArgs>
| Edit this page View Source

DefaultValueChanging

Gets fired before the DefaultValue property changes its value

Declaration
event EventHandler<ValueChangedEventArgs> DefaultValueChanging
Event Type
Type Description
EventHandler<ValueChangedEventArgs>
| Edit this page View Source

RefinesChanged

Gets fired when the Refines property changed its value

Declaration
event EventHandler<ValueChangedEventArgs> RefinesChanged
Event Type
Type Description
EventHandler<ValueChangedEventArgs>
| Edit this page View Source

RefinesChanging

Gets fired before the Refines property changes its value

Declaration
event EventHandler<ValueChangedEventArgs> RefinesChanging
Event Type
Type Description
EventHandler<ValueChangedEventArgs>

Extension Methods

ModelExtensions.AncestorTree(IModelElement)
ModelExtensions.Ancestors(IModelElement)
ModelExtensions.Descendants(IModelElement)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX