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

Inherits Attribute.

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.. More...
 
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. More...
 

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