Show / Hide Table of Contents

Class Assert.RaisedEvent<T>

Represents a raised event after the fact.

Inheritance
Object
Assert.RaisedEvent<T>
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 Source

RaisedEvent(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 Source

Arguments

The event arguments.

Declaration
public T Arguments { get; }
Property Value
Type Description
T
| Improve this Doc View Source

Sender

The sender of the event.

Declaration
public object Sender { get; }
Property Value
Type Description
Object
  • Improve this Doc
  • View Source
Back to top Generated by DocFX