Provides a base class for the Category attribute.
<AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple := True)> _ Public MustInherit Class TestCategoryBaseAttribute _ Inherits Attribute
[AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple = true)] public abstract class TestCategoryBaseAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Method, AllowMultiple = true)] public ref class TestCategoryBaseAttribute abstract : public Attribute
[<AbstractClass>] [<AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple = true)>] type TestCategoryBaseAttribute = class inherit Attribute end
public abstract class TestCategoryBaseAttribute extends Attribute
The TestCategoryBaseAttribute type exposes the following members.
The purpose for this attribute is to let users create their own implementation of test categories. The TestCategories property is a collection instead of a string so that it gives more flexibility to the user. For example, the implementation may be based on enums. These values can be combined by using the bitwise OR operation, in which case it makes sense to have a single attribute instead of multiple ones on the same test.