Adding an Interface Implication

Meta Data Services Programming

Meta Data Services Programming

Adding an Interface Implication

Interface implication is defined through IInterfaceDef2. This interface supports two collections that determine implication: Implies and ImpliedBy. These collections allow you to define both directions of an implication.

During a commit of any transaction that includes an interface that has an Implies collection attached to it, the repository engine adds all implied interfaces to an existing class and then recalculates the class. The result of the recalculation is the same as if the class implemented the implied interface directly.

See Also

Defining Inheritance

Interface Implication

IInterfaceDef2 Interface