Class Assert.RaisedEvent<T>
Represents a raised event after the fact.
Namespace: Xunit
Assembly: xunit.assert.dll
Syntax
public class RaisedEvent<T> : object where T : EventArgs
Type Parameters
Name | Description |
---|---|
T | The type of the event arguments. |
Constructors
| Improve this Doc View SourceRaisedEvent(Object, T)
Creates a new instance of the Assert.RaisedEvent<T> class.
Declaration
public RaisedEvent(object sender, T args)
Parameters
Type | Name | Description |
---|---|---|
Object | sender | The sender of the event. |
T | args | The event arguments |
Properties
| Improve this Doc View SourceArguments
The event arguments.
Declaration
public T Arguments { get; }
Property Value
Type | Description |
---|---|
T |
Sender
The sender of the event.
Declaration
public object Sender { get; }
Property Value
Type | Description |
---|---|
Object |