Table of Contents

Interface IClass

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

The public interface for Class

[DefaultImplementationType(typeof(Class))]
[XmlDefaultImplementationType(typeof(Class))]
[ModelRepresentationClass("http://nmf.codeplex.com/nmeta/#//Class")]
public interface IClass : IReferenceType, IStructuredType, IType, IMetaElement, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
Inherited Members
Extension Methods

Properties

AttributeConstraints

The AttributeConstraints property

[Browsable(false)]
[XmlAttribute(false)]
[Containment]
[XmlOpposite("DeclaringType")]
ICollectionExpression<IAttributeConstraint> AttributeConstraints { get; }

Property Value

ICollectionExpression<IAttributeConstraint>

BaseTypes

The BaseTypes property

[XmlAttribute(true)]
ICollectionExpression<IClass> BaseTypes { get; }

Property Value

ICollectionExpression<IClass>

Identifier

Gets or sets the attribute that will identify instances of this class

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

Property Value

IAttribute

IdentifierScope

Specifies whether the identifier is valid only in the scope of its container or on a global scope.

[XmlAttribute(true)]
IdentifierScope IdentifierScope { get; set; }

Property Value

IdentifierScope

Remarks

This attribute is ignored when this class is not identified.

InstanceOf

The InstanceOf property

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

Property Value

IClass

IsAbstract

The IsAbstract property

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

Property Value

bool

ReferenceConstraints

The ReferenceConstraints property

[Browsable(false)]
[XmlAttribute(false)]
[Containment]
[XmlOpposite("DeclaringType")]
ICollectionExpression<IReferenceConstraint> ReferenceConstraints { get; }

Property Value

ICollectionExpression<IReferenceConstraint>

Events

IdentifierChanged

Gets fired when the Identifier property changed its value

event EventHandler<ValueChangedEventArgs> IdentifierChanged

Event Type

EventHandler<ValueChangedEventArgs>

IdentifierChanging

Gets fired before the Identifier property changes its value

event EventHandler<ValueChangedEventArgs> IdentifierChanging

Event Type

EventHandler<ValueChangedEventArgs>

IdentifierScopeChanged

Gets fired when the IdentifierScope property changed its value

event EventHandler<ValueChangedEventArgs> IdentifierScopeChanged

Event Type

EventHandler<ValueChangedEventArgs>

IdentifierScopeChanging

Gets fired before the IdentifierScope property changes its value

event EventHandler<ValueChangedEventArgs> IdentifierScopeChanging

Event Type

EventHandler<ValueChangedEventArgs>

InstanceOfChanged

Gets fired when the InstanceOf property changed its value

event EventHandler<ValueChangedEventArgs> InstanceOfChanged

Event Type

EventHandler<ValueChangedEventArgs>

InstanceOfChanging

Gets fired before the InstanceOf property changes its value

event EventHandler<ValueChangedEventArgs> InstanceOfChanging

Event Type

EventHandler<ValueChangedEventArgs>

IsAbstractChanged

Gets fired when the IsAbstract property changed its value

event EventHandler<ValueChangedEventArgs> IsAbstractChanged

Event Type

EventHandler<ValueChangedEventArgs>

IsAbstractChanging

Gets fired before the IsAbstract property changes its value

event EventHandler<ValueChangedEventArgs> IsAbstractChanging

Event Type

EventHandler<ValueChangedEventArgs>