Table of Contents

Interface IReference

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

The public interface for Reference

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

Properties

Anchor

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

[XmlAttribute(true)]
IClass Anchor { get; set; }

Property Value

IClass

DeclaringType

The DeclaringType property

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

Property Value

IReferenceType

IsContainment

The IsContainment property

[TypeConverter(typeof(LowercaseBooleanConverter))]
[XmlAttribute(true)]
bool IsContainment { get; set; }

Property Value

bool

Opposite

The Opposite property

[XmlAttribute(true)]
[XmlOpposite("Opposite")]
IReference Opposite { get; set; }

Property Value

IReference

ReferenceType

The ReferenceType property

[XmlAttribute(true)]
IReferenceType ReferenceType { get; set; }

Property Value

IReferenceType

Refines

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

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

Property Value

IReference

Events

AnchorChanged

Gets fired when the Anchor property changed its value

event EventHandler<ValueChangedEventArgs> AnchorChanged

Event Type

EventHandler<ValueChangedEventArgs>

AnchorChanging

Gets fired before the Anchor property changes its value

event EventHandler<ValueChangedEventArgs> AnchorChanging

Event Type

EventHandler<ValueChangedEventArgs>

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>

IsContainmentChanged

Gets fired when the IsContainment property changed its value

event EventHandler<ValueChangedEventArgs> IsContainmentChanged

Event Type

EventHandler<ValueChangedEventArgs>

IsContainmentChanging

Gets fired before the IsContainment property changes its value

event EventHandler<ValueChangedEventArgs> IsContainmentChanging

Event Type

EventHandler<ValueChangedEventArgs>

OppositeChanged

Gets fired when the Opposite property changed its value

event EventHandler<ValueChangedEventArgs> OppositeChanged

Event Type

EventHandler<ValueChangedEventArgs>

OppositeChanging

Gets fired before the Opposite property changes its value

event EventHandler<ValueChangedEventArgs> OppositeChanging

Event Type

EventHandler<ValueChangedEventArgs>

ReferenceTypeChanged

Gets fired when the ReferenceType property changed its value

event EventHandler<ValueChangedEventArgs> ReferenceTypeChanged

Event Type

EventHandler<ValueChangedEventArgs>

ReferenceTypeChanging

Gets fired before the ReferenceType property changes its value

event EventHandler<ValueChangedEventArgs> ReferenceTypeChanging

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>