xUnit.net
Public Member Functions | Properties | List of all members
Xunit.Assert.RaisedEvent< T > Class Template Reference

Represents a raised event after the fact. More...

Public Member Functions

 RaisedEvent (object sender, T args)
 Creates a new instance of the RaisedEvent<T> class. More...
 

Properties

object Sender [get]
 The sender of the event. More...
 
Arguments [get]
 The event arguments. More...
 

Detailed Description

Represents a raised event after the fact.

Template Parameters
TThe type of the event arguments.
Type Constraints
T :EventArgs 

Constructor & Destructor Documentation

◆ RaisedEvent()

Xunit.Assert.RaisedEvent< T >.RaisedEvent ( object  sender,
args 
)
inline

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

Parameters
senderThe sender of the event.
argsThe event arguments

Property Documentation

◆ Arguments

T Xunit.Assert.RaisedEvent< T >.Arguments
get

The event arguments.

◆ Sender

object Xunit.Assert.RaisedEvent< T >.Sender
get

The sender of the event.


The documentation for this class was generated from the following file: