Table of Contents

Method ForNotification

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

ForNotification<T>()

Gets fixtures that desire specific test lifecycle notifications.

public IReadOnlyCollection<T> ForNotification<T>() where T : INotifyLifecycle

Returns

IReadOnlyCollection<T>

Type Parameters

T

The notification type

Remarks

Note that this list includes all fixtures from the current mapping manager and all parent mapping managers.