From: Richard B. <rb...@us...> - 2005-04-05 00:00:09
|
Update of /cvsroot/jcframework/Nunit/Interfaces In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16325/Interfaces Modified Files: IEmployee.vb Log Message: Extra tests for caching objects with event listeners. Index: IEmployee.vb =================================================================== RCS file: /cvsroot/jcframework/Nunit/Interfaces/IEmployee.vb,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- IEmployee.vb 25 Oct 2004 07:14:15 -0000 1.2 +++ IEmployee.vb 4 Apr 2005 23:59:52 -0000 1.3 @@ -7,6 +7,7 @@ Property Workers() As ArrayList Property Team() As InheritedClasses.CTeam Property TeamName() As String + Event NameChanged As EventHandler End Interface Public Class EmployeeClass @@ -18,6 +19,7 @@ Private m_children As ArrayList Private m_team As InheritedClasses.CTeam Private m_teamName As String + Public Event NameChanged As EventHandler Implements IEmployee.NameChanged Public Property Name() As String Implements IEmployee.Name Get @@ -25,6 +27,7 @@ End Get Set(ByVal Value As String) m_name = Value + RaiseEvent NameChanged(Me, New System.EventArgs) End Set End Property |