Table of Contents

Method RegisterCollectionDefinition

Namespace
Xunit.v3
Assembly
xunit.v3.core.aot.dll

RegisterCollectionDefinition(string?, CodeGenTestCollectionRegistration)

Registers a collection definition.

public static void RegisterCollectionDefinition(string? name, CodeGenTestCollectionRegistration registration)

Parameters

name string

The name of the collection definition, if customized

registration

The collection definition

Remarks

This is typically called when CollectionDefinitionAttribute is seen on a class.