OpenTAP 9.34
API Reference
OpenTap.BeforeAttribute Class Reference

Ordering constraint for plugin types. This should be used 'before' something else. This is currently only support by implementations of IStringConvertProvider. If more than one of these attributes are used, it will try to find a type before all of them. More...

Public Member Functions

 BeforeAttribute (Type type)
 Creates a BeforeAttribute from a type parameter. This is the safest way, but requires a public C# type.
 
 BeforeAttribute (string typeName)
 Creates a BeforeAttribute from a string type name..
 
virtual bool Before (ITypeData other)
 returns true if the marked type should come before the 'other' type. This can method can be overridden for more custom 'before' behavior.
 

Detailed Description

Ordering constraint for plugin types. This should be used 'before' something else. This is currently only support by implementations of IStringConvertProvider. If more than one of these attributes are used, it will try to find a type before all of them.

Constructor & Destructor Documentation

◆ BeforeAttribute()

OpenTap.BeforeAttribute.BeforeAttribute ( string typeName)
inline

Creates a BeforeAttribute from a string type name..

Parameters
typeName

Member Function Documentation

◆ Before()

virtual bool OpenTap.BeforeAttribute.Before ( ITypeData other)
inlinevirtual

returns true if the marked type should come before the 'other' type. This can method can be overridden for more custom 'before' behavior.

Parameters
other
Returns

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