renaming topic constants

This commit is contained in:
2019-09-17 11:37:36 +01:00
parent d36c594027
commit 5178629314
3 changed files with 8 additions and 7 deletions

View File

@ -33,7 +33,7 @@ namespace Yavsc.Models.Messaging
public RdvQueryEvent(string subTopic) public RdvQueryEvent(string subTopic)
{ {
Topic = MessagingConstants.TopicRdvQuery; Topic = Topics.RdvQuery;
SubTopic = subTopic; SubTopic = subTopic;
} }

View File

@ -1,9 +1,10 @@
namespace Yavsc.Abstract.Messaging namespace Yavsc.Abstract.Messaging
{ {
public static class MessagingConstants { public static class Topics {
public static readonly string TopicGeneral = "/topic/general"; public static readonly string General = "/topic/general";
public static readonly string TopicRdvQuery = "/topic/RdvQuery"; public static readonly string RdvQuery = "/topic/RdvQuery";
public static readonly string TopicEstimation = "/topic/Estimation"; public static readonly string Estimation = "/topic/Estimation";
public static readonly string TopicHairCutQuery = "/topic/HairCutQuery"; public static readonly string HairCutQuery = "/topic/HairCutQuery";
} }
} }

View File

@ -1 +1 @@
1.0.6-rc07 1.0.6-rc08