IncludeAttribute Class

Summary

Marks an assembly, test fixture or test method as applying to a specific Culture.
Namespace
TCLite
Interfaces
Base 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["IncludeAttribute"] class Type type-node

Syntax

[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method | AttributeTargets.Assembly, AllowMultiple = false, Inherited = false)]
public class IncludeAttribute : TCLiteAttribute, IApplyToTest

Attributes

Type Description
AttributeUsageAttribute

Constructors

Name Summary
IncludeAttribute() Constructor with no cultures specified, for use with named property syntax.

Properties

Name Value Summary
Cultures string
OSPlatforms string

Methods

Name Value Summary
ApplyToTest(ITest) void
Causes a test to be skipped if this CultureAttribute is not satisfied.