Constructor CollectionAttribute
- Namespace
- Xunit
- Assembly
- xunit.v3.core.dll
CollectionAttribute(string)
Initializes a new instance of the CollectionAttribute class, with the given collection name.
public CollectionAttribute(string name)
Parameters
namestringThe test collection name.
CollectionAttribute(Type)
Initializes a new instance of the CollectionAttribute class based on a collection definition type, with an auto-generated name based on that type. Equivalent to using CollectionAttribute<TCollectionDefinition>.
public CollectionAttribute(Type type)
Parameters
typeTypeThe type representing the collection fixture.