Table of Contents

Class Assert.RaisedEvent<T>

Namespace
Xunit
Assembly
xunit.v3.assert.dll

Represents a raised event after the fact.

public class Assert.RaisedEvent<T>

Type Parameters

T

The type of the event arguments.

Inheritance
Assert.RaisedEvent<T>
Inherited Members

Constructors

RaisedEvent(object?, T)

Creates a new instance of the Assert.RaisedEvent<T> class.

RaisedEvent(T)

Creates a new instance of the Assert.RaisedEvent<T> class.

Properties

Arguments

The event arguments.

Sender

The sender of the event. When the event is recorded via Action<T> rather than EventHandler<TEventArgs>, this value will always be null, since there is no sender value when using actions.