OpenTAP 9.34
API Reference
OpenTap.ResourceOpenAttribute Class Reference

Indicates how a IResource property should be handled when being opened or closed. By default the resources will be opened in sequence, so any referenced resources are open before Open() and until after Close(). More...

Public Member Functions

 ResourceOpenAttribute (ResourceOpenBehavior behavior)
 Creates a new ResourceOpen attribute for a resource property.
 

Public Attributes

readonly ResourceOpenBehavior Behavior
 Behavior of how the resource should be handled.
 

Detailed Description

Indicates how a IResource property should be handled when being opened or closed. By default the resources will be opened in sequence, so any referenced resources are open before Open() and until after Close().

Constructor & Destructor Documentation

◆ ResourceOpenAttribute()

OpenTap.ResourceOpenAttribute.ResourceOpenAttribute ( ResourceOpenBehavior behavior)
inline

Creates a new ResourceOpen attribute for a resource property.

Parameters
behavior

OpenTAP 9.34 API built Wed Jul 1 2026 09:21:15