Interface IType
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
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
otherIType
Returns
IsInstance(IObject)
bool IsInstance(IObject @object)
Parameters
objectIObject
Returns
Events
ConformsToCalled
Gets fired after the operation conformsTo got called
event EventHandler<OperationCallEventArgs> ConformsToCalled
Event Type
ConformsToCalling
Gets fired before the operation conformsTo gets called
event EventHandler<OperationCallEventArgs> ConformsToCalling
Event Type
IsInstanceCalled
Gets fired after the operation isInstance got called
event EventHandler<OperationCallEventArgs> IsInstanceCalled
Event Type
IsInstanceCalling
Gets fired before the operation isInstance gets called
event EventHandler<OperationCallEventArgs> IsInstanceCalling
Event Type
PackageChanged
Gets fired when the Package property changed its value
event EventHandler<ValueChangedEventArgs> PackageChanged
Event Type
PackageChanging
Gets fired before the Package property changes its value
event EventHandler<ValueChangedEventArgs> PackageChanging