Summary
Attaches information to a test assembly, fixture or method as a name/value pair.
- Namespace
- TCLite
- Interfaces
- Base Types
-
- object
- Attribute
- TCLiteAttribute
- Derived Types
graph BT
Type-->Base0["TCLiteAttribute"]
click Base0 "/tc-lite/api/TCLite/TCLiteAttribute"
Base0-->Base1["Attribute"]
Base1-->Base2["object"]
Type-.->Interface0["IApplyToTest"]
click Interface0 "/tc-lite/api/TCLite.Interfaces/IApplyToTest"
Type["PropertyAttribute"]
class Type type-node
Derived0["DescriptionAttribute"]-->Type
click Derived0 "/tc-lite/api/TCLite/DescriptionAttribute"
Syntax
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method | AttributeTargets.Assembly, AllowMultiple = true, Inherited = true)]
public class PropertyAttribute : TCLiteAttribute, IApplyToTest
Attributes
Type | Description |
---|---|
Attribute |
Constructors
Name | Summary |
---|---|
PropertyAttribute |
Constructor for use by derived classes that use the name of the type as the property name. Derived classes must ensure that the Type of the property value is a standard type supported by the BCL. Any custom types will cause a serialization Exception when in the client. |
PropertyAttribute |
Construct a PropertyAttribute with a name and double value |
PropertyAttribute |
Construct a PropertyAttribute with a name and int value |
PropertyAttribute |
Construct a PropertyAttribute with a name and string value |
Properties
Methods
Name | Value | Summary |
---|---|---|
ApplyToTest |
void |
Modifies a test by adding properties to it.
|