|
/*
* Copyright 2008 Oculo Consulting Limited
*
*/
using System;
namespace ResponsibilitiesExample
{
public class MessageForwardedEventArgs : EventArgs
{
public readonly IMessage Message;
public MessageForwardedEventArgs(IMessage message)
{
Message = message;
}
}
public interface IMessageQueue : IMessageHandler
{
event EventHandler<MessageForwardedEventArgs> MessageForwarded;
void Purge();
int MessageCount
{
get;
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Matthew Cannon is a software developer and architect who has for the last 10 years focused on object-oriented design. His areas of interest are OOD, patterns, Agile practices, C# and all things .Net.