Show / Hide Table of Contents

Interface IClass

The public interface for Class

Inherited Members
IReferenceType.Events
IReferenceType.References
IStructuredType.Operations
IStructuredType.Attributes
IType.Namespace
IType.NamespaceChanging
IType.NamespaceChanged
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(Class))]
[XmlDefaultImplementationType(typeof(Class))]
[ModelRepresentationClass("http://nmf.codeplex.com/nmeta/#//Class")]
public interface IClass : IReferenceType, IStructuredType, IType, IMetaElement, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging

Properties

| Edit this page View Source

AttributeConstraints

The AttributeConstraints property

Declaration
[Browsable(false)]
[XmlAttribute(false)]
[Containment]
[XmlOpposite("DeclaringType")]
ICollectionExpression<IAttributeConstraint> AttributeConstraints { get; }
Property Value
Type Description
ICollectionExpression<IAttributeConstraint>
| Edit this page View Source

BaseTypes

The BaseTypes property

Declaration
[XmlAttribute(true)]
ICollectionExpression<IClass> BaseTypes { get; }
Property Value
Type Description
ICollectionExpression<IClass>
| Edit this page View Source

Identifier

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

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

IdentifierScope

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

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

This attribute is ignored when this class is not identified.

| Edit this page View Source

InstanceOf

The InstanceOf property

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

IsAbstract

The IsAbstract property

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

ReferenceConstraints

The ReferenceConstraints property

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

Events

| Edit this page View Source

IdentifierChanged

Gets fired when the Identifier property changed its value

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

IdentifierChanging

Gets fired before the Identifier property changes its value

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

IdentifierScopeChanged

Gets fired when the IdentifierScope property changed its value

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

IdentifierScopeChanging

Gets fired before the IdentifierScope property changes its value

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

InstanceOfChanged

Gets fired when the InstanceOf property changed its value

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

InstanceOfChanging

Gets fired before the InstanceOf property changes its value

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

IsAbstractChanged

Gets fired when the IsAbstract property changed its value

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

IsAbstractChanging

Gets fired before the IsAbstract property changes its value

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

Extension Methods

ModelExtensions.AncestorTree(IModelElement)
ModelExtensions.Ancestors(IModelElement)
ModelExtensions.Descendants(IModelElement)
ClassExtensions.IsAssignableFrom(IClass, IClass)
ClassExtensions.IsRefined(IClass, IAttribute)
ClassExtensions.IsRefined(IClass, IReference)
ClassExtensions.LookupAttribute(IClass, string)
ClassExtensions.LookupOperation(IClass, string)
ClassExtensions.LookupReference(IClass, string)
ClassExtensions.RetrieveIdentifier(IClass)
TypeExtensions.Parse(IType, string)
TypeExtensions.Serialize(IType, object)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX