Constructor RaisedEvent
- Namespace
- Xunit
- Assembly
- xunit.v3.assert.dll
RaisedEvent(T)
Creates a new instance of the Assert.RaisedEvent<T> class.
public RaisedEvent(T args)
Parameters
argsTThe event arguments
RaisedEvent(object?, T)
Creates a new instance of the Assert.RaisedEvent<T> class.
public RaisedEvent(object? sender, T args)
Parameters
senderobjectThe sender of the event.
argsTThe event arguments