From: Mike C. <mc...@us...> - 2007-06-04 11:57:13
|
Update of /cvsroot/nmock/nmock2/src/NMock2/Syntax In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv12889/src/NMock2/Syntax Added Files: IEventSyntax.cs IEventArgumentSyntax.cs Log Message: Support for raising events on mock objects (feature request 1653526; patch contributed by Steve Mitcham) --- NEW FILE: IEventArgumentSyntax.cs --- namespace NMock2.Syntax { public interface IEventArgumentSyntax { void With(params object[] args); } } --- NEW FILE: IEventSyntax.cs --- using NMock2.Syntax; namespace NMock2.Syntax { public interface IEventSyntax { IEventArgumentSyntax On(object o); } } |