Partager via


ExpectedEvent Members

Describes an event that a test expects from the system under test. This structure supports the generated test cases and is not intended to be used directly from your code.

The following tables list the members exposed by the ExpectedEvent type.

Public Constructors

  Name Description
  ExpectedEvent Initializes a new instance of the ExpectedEvent structure.

Top

Public Properties

  Name Description
public property Checker Gets the method to call when the event arrives.
public property Event Gets the reflection information for the event.
public property Target Gets the object that is expected to raise the event.

Top

Public Methods

(see also Protected Methods)

  Name Description
public method Equals  Overridden. (Inherited from Object)
public method GetHashCode  Overridden. (Inherited from Object)
public method GetType  (Inherited from Object)
public method ToString Overridden. Returns a string that represents the event.

Top

Protected Methods

  Name Description
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)

Top

See Also

Reference

ExpectedEvent Structure
Microsoft.SpecExplorer.Runtime.Testing Namespace