C# Class AOUT.CH5.Logan.Tests.EventExpectation

Inheritance: IDisposable
Afficher le fichier Open project: royosherove/aout1 Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void
ExpectEvent ( object target, string eventName ) : void
ExpectNoFire ( object target, string eventName ) : void
MyEventCallback ( Type eventType, object args ) : void
Verify ( ) : void

Private Methods

Méthode Description
registerLocallyForEvent ( EventInfo eventInfo, object target ) : MethodInfo
subscribeToEvent ( object target, string eventName ) : void

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

ExpectEvent() public méthode

public ExpectEvent ( object target, string eventName ) : void
target object
eventName string
Résultat void

ExpectNoFire() public méthode

public ExpectNoFire ( object target, string eventName ) : void
target object
eventName string
Résultat void

MyEventCallback() public méthode

public MyEventCallback ( Type eventType, object args ) : void
eventType System.Type
args object
Résultat void

Verify() public méthode

public Verify ( ) : void
Résultat void