![]() | Adding a Child Interface |
From Solution Explorer, double-click the Driver Designer node under the Nimbus node.
The IVI.NET Driver Designer tree view opens.
Expand the root node, which will be named after the driver assembly (e.g.: Acme.Acme4321).
Expand the Hierarchy node.
Right-click on the desired location within the hierarchy and choose Add Child Interface. You can add a new child interface directly below the Hierarchy node, or any user-defined interface reference property defined within the Hierarchy.
A new interface reference property is added with a default name and the tree node enters edit mode. Type the desired name for the reference property and hit the Enter key.
An interface will be added to the driver with a name based on the chosen property name, as follows:
I<driverName><propName>
This new interface will be defined in Interfaces.cs.
![]() |
---|
If the child interface is added at a level beneath a collection-style repeated capability Item property, then it is inherently part of the repeated capability. The interface will be a base interface of the repeated capability class and implemented on that class. Otherwise, the child interface is added as a base of the main driver class and implemented on that class. |