renaming topic constants
This commit is contained in:
@ -33,7 +33,7 @@ namespace Yavsc.Models.Messaging
|
||||
|
||||
public RdvQueryEvent(string subTopic)
|
||||
{
|
||||
Topic = MessagingConstants.TopicRdvQuery;
|
||||
Topic = Topics.RdvQuery;
|
||||
SubTopic = subTopic;
|
||||
}
|
||||
|
||||
|
@ -1,9 +1,10 @@
|
||||
namespace Yavsc.Abstract.Messaging
|
||||
{
|
||||
public static class MessagingConstants {
|
||||
public static readonly string TopicGeneral = "/topic/general";
|
||||
public static readonly string TopicRdvQuery = "/topic/RdvQuery";
|
||||
public static readonly string TopicEstimation = "/topic/Estimation";
|
||||
public static readonly string TopicHairCutQuery = "/topic/HairCutQuery";
|
||||
public static class Topics {
|
||||
public static readonly string General = "/topic/general";
|
||||
public static readonly string RdvQuery = "/topic/RdvQuery";
|
||||
public static readonly string Estimation = "/topic/Estimation";
|
||||
public static readonly string HairCutQuery = "/topic/HairCutQuery";
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user