events refactoring
This commit is contained in:
parent
4475dca3fa
commit
d11fed8d32
13 changed files with 98 additions and 89 deletions
14
Yavsc/Interfaces/IEvent.cs
Normal file
14
Yavsc/Interfaces/IEvent.cs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
|
||||
|
||||
public interface IEvent {
|
||||
/// <summary>
|
||||
/// An acceptable topic for this event to be.
|
||||
/// Should return something like the class name
|
||||
/// of this object
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
string Topic { get; set ; }
|
||||
string Sender { get; set ; }
|
||||
|
||||
string Message { get; set; }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue