Exemplo n.º 1
0
 public bool Equals(ConsumerGroup group)
 {
     if (string.IsNullOrEmpty(this.Name))
         return false;
     if (string.IsNullOrEmpty(group.Name))
         return false;
     return this.Name.Equals(group.Name);
 }
Exemplo n.º 2
0
 public Topic AddConsumerGroup(ConsumerGroup consumerGroup)
 {
     ConsumerGroups.Add(consumerGroup);
     return this;
 }