예제 #1
0
 /// <summary>
 /// Creates a new instance of the PubSubListenModel class.
 /// </summary>
 /// <param name="type">The type of topic</param>
 /// <param name="identifier">The identifier for the topic</param>
 public PubSubListenTopicModel(PubSubTopicsEnum type, string identifier)
 {
     this.Type       = type;
     this.Identifier = identifier;
 }
예제 #2
0
 /// <summary>
 /// Creates a new instance of the PubSubListenModel class.
 /// </summary>
 /// <param name="type">The type of topic</param>
 public PubSubListenTopicModel(PubSubTopicsEnum type)
 {
     this.Type = type;
 }