OpenTAP 9.27
API Reference
Public Member Functions | Public Attributes | List of all members
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...

Inherits Attribute.

Public Member Functions

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

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.27 API built Wed Nov 27 2024 13:14:46