Table of Contents

Interface IType

Namespace
NMF.Interop.Cmof
Assembly
NMF.UMLInterop.dll

The public interface for Type

[DefaultImplementationType(typeof(Type))]
[XmlDefaultImplementationType(typeof(Type))]
[ModelRepresentationClass("http://www.omg.org/spec/MOF/20131001/cmof.xmi#//Type")]
public interface IType : IPackageableElement, INamedElement, IElement, IObject, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
Inherited Members

Properties

Package

Specifies the owning package of this classifier, if any.

[Browsable(false)]
[XmlElementName("package")]
[XmlAttribute(true)]
[XmlOpposite("ownedType")]
IPackage Package { get; set; }

Property Value

IPackage

Methods

ConformsTo(IType)

The query conformsTo() gives true for a type that conforms to another. By default, two types do not conform to each other. This query is intended to be redefined for specific conformance situations. result = false

bool ConformsTo(IType other)

Parameters

other IType

Returns

bool

IsInstance(IObject)

bool IsInstance(IObject @object)

Parameters

object IObject

Returns

bool