refactoring the haircut messaging

This commit is contained in:
Paul Schneider 2017-06-02 21:34:18 +02:00
commit 8ec60de3f3
12 changed files with 199 additions and 80 deletions

View file

@ -4,11 +4,11 @@ namespace Yavsc.Models.Haircut
{
public class HairCutQueryEvent : RdvQueryProviderInfo, IEvent
{
public HairCutQueryEvent()
public HairCutQueryEvent(string subTopic)
{
Topic = "HairCutQuery";
}
Topic = GetType().Name+"/"+subTopic;
}
public string Message
{
get;
@ -27,9 +27,9 @@ namespace Yavsc.Models.Haircut
{
get;
set;
private set;
}
HairCutQuery Data { get; set; }
}
}
}