Namespace: Consultingwerk.Assertion
Class 
EventArgsAssert Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:EventArgsAssert
Purpose:Provides generic methods for validating of EventArgs object references
Description:Routines in this class typically raise an error condition
when the condition is not met.
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Sun Jul 03 09:28:36 CEST 2011
Notes:Static methods, throw error on failed test.



Top Method Summary
Options Name Purpose
+ IsValid (EventArgs, character) Validates if the passed in Consultingwerk.EventArgs provides a valid reference
+ IsValid (EventArgs, character) Validates if the passed in System.EventArgs provides a valid reference

Top Constructor Summary
Options Name Purpose
- EventArgsAssert () Disallow instance creation


Method Detail
Top

PUBLIC IsValid (EventArgs, character)

Purpose: Validates if the passed in Consultingwerk.EventArgs provides a valid reference
Notes:
Throws: Consultingwerk.Assertion.AssertException

Parameters:
e Consultingwerk.EventArgs
The reference to a Consultingwerk.EventArgs derived object
pcEventName CHARACTER
The name of the event that should be raised to include in the error message
Top

PUBLIC IsValid (EventArgs, character)

Purpose: Validates if the passed in System.EventArgs provides a valid reference
Notes:
Throws: Consultingwerk.Assertion.AssertException

Parameters:
e System.EventArgs
The reference to a System.EventArgs derived object
pcEventName CHARACTER
The name of the event that should be raised to include in the error message


Constructor Detail
Top

PRIVATE EventArgsAssert ()

Purpose: Disallow instance creation
Notes:



©2006-2016 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       26.08.2016 08:25:38