Constructor CollectionBehaviorAttribute
- Namespace
- Xunit
- Assembly
- xunit.v3.core.dll
CollectionBehaviorAttribute()
Initializes a new instance of the CollectionBehaviorAttribute class. Uses the default collection behavior (CollectionPerClass).
public CollectionBehaviorAttribute()
CollectionBehaviorAttribute(CollectionBehavior)
Initializes a new instance of the CollectionBehaviorAttribute class with the given built-in collection behavior.
public CollectionBehaviorAttribute(CollectionBehavior collectionBehavior)
Parameters
collectionBehaviorThe collection behavior for the assembly.
CollectionBehaviorAttribute(Type)
Initializes a new instance of the CollectionBehaviorAttribute class with the given custom collection behavior.
public CollectionBehaviorAttribute(Type collectionFactoryType)
Parameters
collectionFactoryTypeTypeThe factory type