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

Inheritance: IDisposable
Show file Open project: royosherove/aout1 Class Usage Examples

Public Methods

Method 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

Method Description
registerLocallyForEvent ( EventInfo eventInfo, object target ) : MethodInfo
subscribeToEvent ( object target, string eventName ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

ExpectEvent() public method

public ExpectEvent ( object target, string eventName ) : void
target object
eventName string
return void

ExpectNoFire() public method

public ExpectNoFire ( object target, string eventName ) : void
target object
eventName string
return void

MyEventCallback() public method

public MyEventCallback ( Type eventType, object args ) : void
eventType System.Type
args object
return void

Verify() public method

public Verify ( ) : void
return void