Show / Hide Table of Contents

Interface IReference

The public interface for Reference

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(Reference))]
[XmlDefaultImplementationType(typeof(Reference))]
[ModelRepresentationClass("http://nmf.codeplex.com/nmeta/#//Reference")]
public interface IReference : ITypedElement, IMetaElement, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging

Properties

| Edit this page View Source

Anchor

The least common anchestor of an instance and its referenced element, if statically known

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

DeclaringType

The DeclaringType property

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

IsContainment

The IsContainment property

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

Opposite

The Opposite property

Declaration
[XmlAttribute(true)]
[XmlOpposite("Opposite")]
IReference Opposite { get; set; }
Property Value
Type Description
IReference
| Edit this page View Source

ReferenceType

The ReferenceType property

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

Refines

The reference that is refined by the current reference, only applicable if the reference is part of a class

Declaration
[XmlAttribute(true)]
IReference Refines { get; set; }
Property Value
Type Description
IReference

Events

| Edit this page View Source

AnchorChanged

Gets fired when the Anchor property changed its value

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

AnchorChanging

Gets fired before the Anchor property changes its value

Declaration
event EventHandler<ValueChangedEventArgs> AnchorChanging
Event Type
Type Description
EventHandler<ValueChangedEventArgs>
| 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

IsContainmentChanged

Gets fired when the IsContainment property changed its value

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

IsContainmentChanging

Gets fired before the IsContainment property changes its value

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

OppositeChanged

Gets fired when the Opposite property changed its value

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

OppositeChanging

Gets fired before the Opposite property changes its value

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

ReferenceTypeChanged

Gets fired when the ReferenceType property changed its value

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

ReferenceTypeChanging

Gets fired before the ReferenceType property changes its value

Declaration
event EventHandler<ValueChangedEventArgs> ReferenceTypeChanging
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)
ClassExtensions.IsContainerReference(IReference)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX